/* GreenHold website: shared styles for the account, verify, reset and privacy pages. Dark theme, system fonts, no external requests. */

:root {
  color-scheme: dark;
  --bg: #0a130d;
  --surface: #122018;
  --surface-2: #19291f;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #eef3ec;
  --text-soft: #cfdccf;
  --muted: #a3b7a6;
  --accent: #6bbf59;
  --accent-2: #8fd67f;
  --accent-ink: #0a140c;
  --danger: #e5604f;
  --danger-text: #ffa598;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -12px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 520px at 85% -8%, rgba(107, 191, 89, .10), transparent 62%), var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Noto Sans", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #b5eaa8; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* icons (stroke icons from the inline sprite) */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* focus */
a:focus-visible, button:focus-visible, summary:focus-visible, [role="tab"]:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 8px; }

/* brand + top bars */
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.brand:hover { color: var(--text); }
.topbar {
  position: sticky; top: var(--bar-h, 0px); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 19, 13, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav { display: flex; align-items: center; gap: .25rem; }
.topnav a { padding: .45rem .8rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .925rem; }
.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* buttons */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.3rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-weight: 650; line-height: 1; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .06s;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-primary { background: linear-gradient(180deg, #7ccd69, #58a946); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .28) inset, 0 8px 18px -6px rgba(88, 169, 70, .55); }
.btn-primary:hover { background: linear-gradient(180deg, #8bd878, #62b650); color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, .035); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: var(--text); }
.btn-danger { background: transparent; border-color: rgba(229, 96, 79, .55); color: var(--danger-text); }
.btn-danger:hover { background: rgba(229, 96, 79, .14); color: #ffc0b6; }
.btn-danger.solid { background: #c4432f; border-color: #c4432f; color: #fff; }
.btn-danger.solid:hover { background: #d4503b; color: #fff; }
.btn-sm { --h: 36px; padding: 0 .95rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* cards */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 55%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.card > h2, .card-title { margin: 0 0 .2rem; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.card > h2 .ico, .card-title .ico { color: var(--accent); }
.sub { margin: 0 0 1.1rem; color: var(--muted); font-size: .925rem; }
.small { color: var(--muted); font-size: .875rem; }

/* forms */
.field { margin-top: 1rem; }
.field label, .label { display: block; margin: 0 0 .4rem; font-size: .875rem; font-weight: 600; color: var(--text-soft); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .4rem; }
.label-row label { margin: 0; }
.input { position: relative; }
.input input {
  width: 100%; height: 46px; padding: 0 .95rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #091109; color: var(--text); font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input input::placeholder { color: #6c8170; }
.input input:hover { border-color: rgba(255, 255, 255, .26); }
.input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(107, 191, 89, .2); }
.input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #091109 inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.input.has-toggle input { padding-right: 3rem; }
.toggle {
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
}
.toggle:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.field.invalid .input input { border-color: var(--danger); }
.field.invalid .input input:focus { box-shadow: 0 0 0 4px rgba(229, 96, 79, .22); }
.field-error { margin: .4rem 0 0; font-size: .85rem; color: var(--danger-text); }
.hint { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); }
.devnote { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.devnote .ico { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; }
.devnote.boxed { padding: .7rem .85rem; border: 1px solid rgba(232, 184, 74, .38); border-radius: var(--radius-sm); background: rgba(232, 184, 74, .08); color: #f1d98e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.25rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-2); font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 4px; }
.link-btn:hover { color: #b5eaa8; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* password strength */
.meter-row { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; }
.meter { display: flex; flex: 1; gap: 4px; }
.meter i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background .2s; }
.meter[data-level="1"] i:nth-child(-n+1) { background: #e5604f; }
.meter[data-level="2"] i:nth-child(-n+2) { background: #e8b84a; }
.meter[data-level="3"] i:nth-child(-n+3) { background: #a3cf5a; }
.meter[data-level="4"] i { background: var(--accent); }
.meter-label { min-width: 4.6rem; min-height: 1.2em; margin: 0; text-align: right; font-size: .8rem; color: var(--muted); }

/* alerts + pills */
.alert { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0 0; padding: .75rem .9rem; border: 1px solid; border-radius: var(--radius-sm); font-size: .925rem; line-height: 1.45; }
.alert .ico { width: 1.25rem; height: 1.25rem; margin-top: .05rem; }
.alert.is-error { background: rgba(229, 96, 79, .12); border-color: rgba(229, 96, 79, .42); color: #ffb9ae; }
.alert.is-ok { background: rgba(107, 191, 89, .12); border-color: rgba(107, 191, 89, .42); color: #bdecb2; }
.alert.is-info { background: rgba(120, 170, 220, .10); border-color: rgba(120, 170, 220, .36); color: #c0d9f2; }
.alert.is-warn { background: rgba(232, 184, 74, .10); border-color: rgba(232, 184, 74, .42); color: #f3d98f; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .12rem .65rem; border: 1px solid; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.pill.ok { color: #bdecb2; background: rgba(107, 191, 89, .12); border-color: rgba(107, 191, 89, .42); }
.pill.warn { color: #f3d98f; background: rgba(232, 184, 74, .10); border-color: rgba(232, 184, 74, .42); }
.pill.owner { color: #f3d98f; background: rgba(232, 184, 74, .12); border-color: rgba(232, 184, 74, .5); }
.pill.owner::before { display: none; }
.pill .ico { width: .95em; height: .95em; }
.pill.muted { color: var(--muted); background: rgba(255, 255, 255, .04); border-color: var(--line-strong); }
.badge { display: inline-block; padding: .3rem .85rem; border: 1px solid rgba(107, 191, 89, .55); border-radius: 999px; background: rgba(10, 19, 13, .55); color: var(--accent-2); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

/* ---------- boot spinner (no flash of the wrong view) ---------- */
.boot { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--bg); }
body:not(.is-loading) .boot { display: none; }
.spinner { width: 36px; height: 36px; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- logged-out: split screen ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.auth-hero {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, rgba(10, 19, 13, .50) 0%, rgba(10, 19, 13, .30) 32%, rgba(10, 19, 13, .94) 100%), url(img/night.jpg) center 38% / cover;
  border-right: 1px solid var(--line);
}
.auth-hero .brand { font-size: 1.55rem; }
.auth-hero h2 { margin: 1.1rem 0 .7rem; font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.auth-hero p { max-width: 30rem; margin: 0; font-size: 1.1rem; color: #d1ddd1; }
.feat { display: grid; gap: .85rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.feat li { display: flex; align-items: center; gap: .85rem; color: #dfe9df; }
.feat .ico { box-sizing: content-box; width: 1.35rem; height: 1.35rem; padding: .55rem; border: 1px solid rgba(107, 191, 89, .3); border-radius: 11px; background: rgba(107, 191, 89, .14); color: var(--accent); }
.auth-panel {
  display: flex; flex-direction: column; min-width: 0;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.25rem) 1.75rem;
  background: radial-gradient(800px 460px at 75% -10%, rgba(107, 191, 89, .10), transparent 62%), var(--bg);
}
.auth-top { display: flex; justify-content: flex-end; }
.link-back { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .925rem; }
.link-back:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.auth-card { width: 100%; max-width: 440px; margin: auto; padding: 1.75rem; }
.auth-head h1 { margin: 0 0 .35rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.auth-head p { margin: 0; color: var(--muted); }
.auth-foot { margin: 1.25rem 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.auth-foot a { color: var(--text-soft); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 1.35rem; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #091109; }
.seg button { height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-strong) inset; }

/* ---------- logged-in dashboard ---------- */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem; }
.profile { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; padding: 1.25rem 1.5rem; }
.avatar.owner { background: linear-gradient(135deg, #f6dd96, #d4a237); box-shadow: 0 0 0 4px rgba(232, 184, 74, .22); }
.profile > div:last-child { flex: 1 1 0; min-width: 0; }
.avatar { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #94da84, #4c9b42); color: var(--accent-ink); font-size: 1.55rem; font-weight: 800; box-shadow: 0 0 0 4px rgba(107, 191, 89, .16); }
.name-row { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; }
.profile h1 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.profile .meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-top: .2rem; color: var(--muted); font-size: .925rem; overflow-wrap: anywhere; }
.dash-alert { margin: 1rem 0 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0; padding: 0; list-style: none; }
.steps[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.steps .n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid var(--line-strong); border-radius: 50%; font-size: .82rem; font-weight: 800; }
.steps .n .ico { display: none; width: 1rem; height: 1rem; stroke-width: 2.6; }
.steps li.done { color: var(--text); }
.steps li.done .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.steps li.done .n .num { display: none; }
.steps li.done .n .ico { display: block; }
.steps li.current { border-color: rgba(107, 191, 89, .55); background: rgba(107, 191, 89, .08); color: var(--text); }
.steps li.current .n { border-color: var(--accent); color: var(--accent-2); }

.cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.col { display: grid; gap: 1.25rem; min-width: 0; }

.dl { padding: 0; overflow: hidden; }
.dl-media { height: 150px; background: linear-gradient(180deg, rgba(18, 32, 24, .05) 0%, rgba(18, 32, 24, .55) 70%, var(--surface) 100%), url(img/village.jpg) center 42% / cover; }
.dl.locked .dl-media { filter: grayscale(.75) brightness(.7); }
.dl-body { position: relative; padding: .25rem 1.5rem 1.5rem; margin-top: -1.5rem; }
.dl-body h2 { margin: 0 0 .25rem; font-size: 1.25rem; font-weight: 800; }
.dl-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 .4rem; }
.dl-actions .btn { flex: 1 1 100%; }
.howto { margin: 1.1rem 0 0; padding: 1rem 0 0 0; border-top: 1px solid var(--line); list-style: none; counter-reset: s; display: grid; gap: .45rem; color: var(--muted); font-size: .925rem; }
.howto li { counter-increment: s; display: flex; gap: .7rem; align-items: baseline; }
.howto li::before { content: counter(s); flex: none; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--text-soft); font-size: .75rem; font-weight: 800; }
.lock-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); }
.lock-note .ico { color: #f3d98f; margin-top: .1rem; }
.lock-note > div { min-width: 0; flex: 1; }
.reqs { display: grid; gap: .45rem; margin: .65rem 0 0; padding: 0; list-style: none; }
.reqs li { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .925rem; }
.reqs .tick { display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.reqs .tick .ico { display: none; width: .8rem; height: .8rem; margin: 0; color: inherit; stroke-width: 3; }
.reqs li.done { color: var(--text); }
.reqs li.done .tick { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.reqs li.done .tick .ico { display: block; }
#codeForm { margin-top: 1.1rem; }
.code-row { display: flex; align-items: flex-start; gap: .6rem; }
.code-row .input { flex: 1; min-width: 0; }
.input input.code { font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.input input.code::placeholder { font-weight: 500; letter-spacing: .12em; }

.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .6rem 0 .25rem; }
.email-row .addr { font-weight: 600; overflow-wrap: anywhere; }
.email-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
details.fold { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
details.fold > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .45rem; color: var(--accent-2); font-weight: 600; font-size: .925rem; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
details.fold[open] > summary::before { transform: rotate(45deg); }

.card.danger { border-color: rgba(229, 96, 79, .3); background: linear-gradient(180deg, rgba(229, 96, 79, .06), rgba(229, 96, 79, 0) 60%), var(--surface); }
.card.danger > h2 .ico { color: var(--danger-text); }
.card.danger .btn { margin-top: .25rem; }

dialog { width: min(92vw, 440px); padding: 1.6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .65); }
dialog::backdrop { background: rgba(4, 9, 6, .74); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }

/* ---------- simple pages: verify, reset, privacy ---------- */
.narrow { width: 100%; max-width: 480px; margin: 0 auto; padding: 3rem 1.25rem 3rem; }
.center { text-align: center; }
.status-ico { display: grid; place-items: center; width: 64px; height: 64px; margin: .25rem auto 1rem; border-radius: 50%; border: 2px solid var(--line-strong); }
.status-ico .ico { width: 1.9rem; height: 1.9rem; stroke-width: 2.2; }
.status-ico.is-ok { color: var(--accent); border-color: rgba(107, 191, 89, .5); background: rgba(107, 191, 89, .1); }
.status-ico.is-error { color: var(--danger-text); border-color: rgba(229, 96, 79, .5); background: rgba(229, 96, 79, .1); }
.status-ico.is-loading .ico { display: none; }
.status-ico.is-loading::before { content: ""; width: 28px; height: 28px; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.narrow h1 { margin: 0 0 .5rem; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.narrow .card { padding: 2rem 1.75rem; }
.narrow .btn { margin-top: 1.25rem; }
.left { text-align: left; }

.prose { width: 100%; max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
.prose h1 { margin: 0 0 .4rem; font-size: 2.1rem; font-weight: 800; letter-spacing: -.025em; }
.prose .card { padding: 1.75rem clamp(1.25rem, 4vw, 2.25rem); }
.prose h2 { margin: 1.75rem 0 .4rem; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); }
.prose code { padding: .1em .4em; border-radius: 5px; background: rgba(255, 255, 255, .08); font-size: .9em; }

.site-foot { padding: 1.75rem 1rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .875rem; }
.site-foot a { color: var(--text-soft); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-hero { padding: 1.25rem 1.25rem 1.6rem; border-right: 0; border-bottom: 1px solid var(--line); background-position: center 40%; }
  .auth-hero h2 { margin-top: .9rem; font-size: 1.65rem; }
  .auth-hero p { font-size: 1rem; }
  .feat { display: none; }
  .auth-top { display: none; }
  .auth-panel { padding-top: 1.5rem; }
  .auth-card { margin: 0 auto; }
  .cols { grid-template-columns: 1fr; }
  .steps, .steps[data-count] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topnav .hide-s { display: none; }
  .steps, .steps[data-count] { grid-template-columns: 1fr 1fr; }
  .steps li { padding: .65rem .7rem; gap: .55rem; font-size: .85rem; }
  .card { padding: 1.25rem; }
  .dl { padding: 0; }
  .auth-card { padding: 1.4rem 1.15rem; }
  .dl-body { padding: 0 1.15rem 1.25rem; }
  .profile { padding: 1.1rem 1.15rem; }
  .btn { padding: 0 1.05rem; }
}
@media (max-width: 380px) {
  .badge { padding: .28rem .7rem; font-size: .68rem; letter-spacing: .03em; }
  .seg button { font-size: .9rem; white-space: nowrap; }
  .auth-card { padding: 1.25rem 1rem; }
  .topbar { padding-left: .85rem; padding-right: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .spinner, .btn.is-loading::before, .status-ico.is-loading::before { animation-duration: 1.6s; }
}
