:root {
  color-scheme: light;
  font: 100%/1.5 system-ui, sans-serif;
  color: #20211e;
  background: #f4f3ee;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100svh;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
}
.card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid #dddcd3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 55px #20211e14;
}
.brand {
  min-height: 118px;
  display: grid;
  place-items: center;
  background: #11120f;
  border-bottom: 4px solid #f6cf36;
  padding: 14px;
}
.brand img { width: 110px; height: auto; display: block; }
section { padding: 24px clamp(19px, 6vw, 36px); }
.label { color: #55564e; font-weight: 650; font-size: .9rem; margin: 0 0 4px; }
h1 { margin: 0 0 20px; font-size: 2rem; line-height: 1.12; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 1rem; }
p { margin: 8px 0 14px; }
form { display: grid; gap: 8px; }
label { font-weight: 650; font-size: .92rem; }
input {
  width: 100%;
  height: 47px;
  border: 1px solid #9b9d91;
  border-radius: 9px;
  padding: 8px 12px;
  font: inherit;
  color: inherit;
  background: #fff;
}
button {
  min-height: 46px;
  border: 1px solid #dbaf18;
  border-radius: 9px;
  background: #f6cf36;
  color: #231f12;
  font: inherit;
  font-weight: 720;
  padding: 9px 13px;
  cursor: pointer;
}
button:hover { background: #ffdc5a; }
button:disabled { opacity: .65; cursor: default; }
.secondary { background: #fff; color: #20211e; border-color: #91948a; }
.secondary:hover { background: #f4f3ee; }
.link {
  min-height: 32px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #655019;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link:hover { background: transparent; color: #302509; }
.recovery-link { justify-self: start; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.divider { display: flex; align-items: center; gap: 12px; color: #606157; font-size: .86rem; }
.divider::before, .divider::after { content: ''; height: 1px; background: #ddded7; flex: 1; }
.hint { color: #56584e; font-size: .88rem; margin: 0 0 4px; }
.status { color: #28462e; margin: 12px 0 0; }
.status:empty { display: none; }
.status.error { color: #9b251b; }
footer { border-top: 1px solid #e9e8df; background: #fbfaf7; color: #56584e; padding: 11px 20px; text-align: center; font-size: .875rem; }
.sample { background: #f8f7f2; border-left: 3px solid #f6cf36; padding: 12px 14px; margin: 18px 0 24px; }
.sample p { margin: 3px 0 0; }
.workspace button { width: 100%; margin-top: 8px; }
:focus-visible { outline: 3px solid #795a00; outline-offset: 3px; }
