/* =============================================================================
   BillGrid public site: sign in, sign up, password reset (layout/auth.html).
   Loads after outer/site.css. Design source: docs/mocks/site/payday-signin.html.
   ============================================================================= */

/* the body is the grid; its other children (icon sprite, scripts) must not claim a row, so the two
   panes share one row that takes all the height */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: minmax(100vh, 1fr); min-height: 100vh; }
.auth > :not(.auth__pane, .auth__story) { position: absolute; }

/* ---------- form pane ---------- */
.auth__pane { position: sticky; top: 0; align-self: start; isolation: isolate; min-width: 0; min-height: 100vh; display: flex; flex-direction: column; padding: var(--space-7) clamp(20px, 5vw, 72px); background: var(--bg-panel); }
.auth__pane::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/images/marketing/away-landscape-81a41c8af098980b84cc68398f4a020b.svg") 65% center / auto 100% no-repeat; opacity: .48; filter: saturate(.5); mask-image: linear-gradient(transparent, var(--ink) 28%, var(--ink) 70%, transparent); }
.auth-intro { margin-bottom: var(--space-7); }
.auth-intro h1 { line-height: 1.12; }
.auth-intro .accent { display: inline-block; margin-top: var(--space-1); }
.auth .field__reveal { min-width: 44px; min-height: 44px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; }
.auth__back { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); color: var(--text-muted); text-decoration: none; }
.auth__back:hover { color: var(--ink); }
.auth__body { width: 100%; max-width: 420px; margin: auto; padding-block: 48px; }
.auth__body h1 { font-size: clamp(30px, 3.2vw, 40px); }
.auth__lead { margin-top: 12px; font-size: var(--fs-body); color: var(--text-muted); }
.auth__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: var(--fs-sm); color: var(--caption); }
.auth__foot a { color: inherit; text-decoration: none; }
.auth__foot a:hover { color: var(--ink); }

.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: var(--space-6); padding: var(--space-1); border: 1px solid var(--border); border-radius: var(--r-lg); background: color-mix(in srgb, var(--bg-panel) 60%, transparent); }
.auth__tabs a { display: grid; place-items: center; min-height: 44px; padding: var(--space-2); border-radius: var(--r-md); text-align: center; text-decoration: none; font-size: var(--fs-body); font-weight: 600; color: var(--text-muted); }
.auth__tabs a[aria-current="page"] { background: var(--bg-panel); color: var(--ink); box-shadow: var(--shadow-sm); }

.auth-form { display: grid; gap: 16px; margin-top: 26px; }
.auth--login .auth-form, .auth--signup .auth-form { margin-top: 0; }
.auth__body > .alert { margin-bottom: var(--space-4); }
.auth-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth__switch { margin-top: 26px; text-align: center; font-size: var(--fs-body); color: var(--text-muted); }
.auth__switch a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.auth__legal { text-align: center; font-size: var(--fs-xs); color: var(--text-muted); }
.auth__legal a { color: var(--text); }
.auth__sent { text-align: center; }
.auth__sent-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; background: var(--trust-bg); color: var(--trust); }
.auth__sent b { color: var(--ink); }
.auth__body > .btn { margin-top: 26px; }

.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength i { height: 4px; border-radius: 2px; background: var(--sand-200); transition: background .25s; }
.strength[data-level="1"] i:nth-child(-n+1) { background: var(--overdue-fg); }
.strength[data-level="2"] i:nth-child(-n+2) { background: #c9912f; }
.strength[data-level="3"] i:nth-child(-n+3) { background: #7a9a3f; }
.strength[data-level="4"] i { background: var(--paid-fg); }

/* Solo, Pro and Team (mock docs/mocks/site/payday-signin.html?mode=signup): the plan the link named as one
   line, and its choices behind Change, a <details>, so it works without JavaScript and posts the same radios. */
.planpick { border: 1px solid var(--field-border); border-radius: 12px; background: var(--paper); }
.planpick summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; list-style: none; cursor: pointer; }
.planpick summary::-webkit-details-marker { display: none; }
.planpick summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 11px; }
.planpick__now { flex: 1; min-width: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.planpick__now b { display: block; font-size: var(--fs-body); color: var(--ink); }
.planpick__change { flex: none; font-size: var(--fs-sm); font-weight: 600; color: var(--trust); }
.planpick[open] .planpick__change::after { content: " \00d7"; }
.planpick__options { display: grid; gap: 8px; padding: 0 10px 10px; }
.planpick__option { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; padding: 11px 40px 11px 14px; border: 1px solid var(--field-border); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.planpick__option input { position: absolute; opacity: 0; pointer-events: none; }
.planpick__option b { font-size: var(--fs-body); color: var(--ink); }
.planpick__price { font-size: var(--fs-body); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.planpick__price small { font-size: var(--fs-xs); font-weight: 500; color: var(--caption); }
.planpick__line { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--text-muted); }
.planpick__option::after { content: ""; position: absolute; right: 12px; top: 13px; width: 16px; height: 16px; border: 1.5px solid #cfc6b1; border-radius: 50%; }
.planpick__option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(40, 36, 28, .07); }
.planpick__option:has(input:checked)::after { border: 5px solid var(--ink); }
.planpick__option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- confirm your email (pages/verify-email.html; mock: docs/mocks/site/verify-email.html) ---------- */
.auth__top form { margin: 0; }
.auth__top button.auth__back { padding: 0; border: 0; background: none; cursor: pointer; }
.verify__steps { display: flex; gap: 6px; margin-bottom: 28px; }
.verify__steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--ink); }
.verify__steps i + i { background: var(--line); }

/* one real input (autofill, paste, Backspace stay native) under six drawn cells; auth.js keeps them in step */
.otp { position: relative; margin-top: 30px; }
.otp input { width: 100%; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 10px; font: inherit; font-size: var(--fs-lg); letter-spacing: .3em; color: var(--ink); }
.otp input:focus { outline: none; border-color: var(--ink); box-shadow: var(--field-focus); }
.js .otp input { position: absolute; inset: 0; height: 100%; opacity: 0; border: 0; font-size: 16px; caret-color: transparent; cursor: text; }
.otp__cells { display: grid; grid-template-columns: repeat(3, 1fr) 12px repeat(3, 1fr); gap: 8px; align-items: center; pointer-events: none; }
html:not(.js) .otp__cells { display: none; }
.otp__gap { height: 2px; border-radius: 1px; background: var(--field-border); }
.otp__cell { display: grid; place-items: center; aspect-ratio: 6 / 7; border: 1px solid var(--field-border); border-radius: var(--r-lg); background: var(--bg-panel); font-size: clamp(22px, 4vw, 28px); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .2s; }
.otp__cell.is-filled { border-color: var(--sand-400); }
.otp:focus-within .otp__cell.is-active { border-color: var(--ink); box-shadow: var(--field-focus); }
.otp:focus-within .otp__cell.is-active:empty::after { content: ""; width: 2px; height: 42%; border-radius: 1px; background: var(--gold); animation: otp-caret 1.05s steps(1) infinite; }
.otp[data-state="error"] .otp__cell { border-color: var(--overdue-fg); color: var(--overdue-fg); }
.otp[data-state="error"] .otp__cells { animation: otp-shake .32s; }
.otp[data-state="busy"] .otp__cell { border-color: var(--line); background: var(--paper); color: var(--text-muted); }
@keyframes otp-caret { 50% { opacity: 0; } }
@keyframes otp-shake { 20% { translate: -5px; } 40% { translate: 5px; } 60% { translate: -3px; } 80% { translate: 3px; } }

.verify__status { display: flex; gap: 7px; align-items: center; min-height: 22px; margin-top: 12px; font-size: var(--fs-sm); color: var(--text-muted); }
.verify__status svg { flex: none; }
.verify__status--error { color: var(--overdue-fg); }
.verify__status--ok { color: var(--paid-fg); }
.verify__submit { margin-top: 16px; }
.js .verify__submit { display: none; }

.verify__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 22px; font-size: var(--fs-sm); color: var(--text-muted); }
.verify__actions form { margin: 0 0 0 auto; }
.verify__inbox { display: inline-flex; gap: 8px; align-items: center; padding: 7px 13px; border: 1px solid var(--field-border); border-radius: 999px; font-weight: 600; color: var(--ink); text-decoration: none; }
.verify__inbox:hover { border-color: var(--ink); }
.verify__link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--trust); cursor: pointer; }
.verify__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.verify__link:disabled { font-weight: 500; color: var(--caption); cursor: default; text-decoration: none; }

.verify__change { margin-top: 18px; font-size: var(--fs-sm); }
.verify__change summary { width: fit-content; font-weight: 600; color: var(--trust); cursor: pointer; }
.verify__change[open] summary { margin-bottom: 10px; }
.verify__change-form { display: flex; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.verify__change-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--field-border); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); }
.verify__change-form input:focus { outline: none; border-color: var(--ink); box-shadow: var(--field-focus); }
.verify__change-form--reauth { flex-wrap: wrap; }
.verify__change-form--reauth input { flex-basis: 100%; }
.verify__change-form--reauth .btn { margin-left: auto; }

.verify__trust { display: flex; gap: 9px; align-items: flex-start; margin-top: 34px; font-size: var(--fs-sm); line-height: 1.5; color: var(--trust); }
.verify__trust svg { flex: none; margin-top: 2px; }

.verify--done { text-align: center; }
.verify__seal { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 20px; background: var(--paid-bg); color: var(--paid-fg); animation: verify-pop .5s var(--ease-out) both; }
.verify__progress { max-width: 220px; height: 3px; margin: 26px auto 22px; overflow: hidden; border-radius: 2px; background: var(--line); }
.verify__progress i { display: block; width: 0; height: 100%; background: var(--ink); animation: verify-fill 1.5s .1s ease-in-out forwards; }
@keyframes verify-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes verify-fill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .otp__cells, .otp__cell::after, .verify__seal, .verify__progress i { animation: none !important; } }

/* ---------- compact methods and the public product showcase ---------- */
.auth-actionbar { display: flex; min-width: 0; }
.auth-actionbar > .btn { flex: 1; width: auto; min-width: 0; border-radius: var(--r-lg); }
.auth-actionbar:has(.auth-provider) > .btn { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.auth-provider { flex: 0 0 48px; min-height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--field-border); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: var(--bg-panel); cursor: pointer; text-decoration: none; }
.auth-provider img, .auth-provider-account img { width: var(--icon-size-lg); height: var(--icon-size-lg); object-fit: contain; }
.auth-provider:hover { background: var(--bg-hover); }
.auth-provider:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; z-index: 1; }
.signup-methodbar { margin-bottom: var(--space-5); }
.auth-method-label { display: flex; align-items: center; flex: 1; padding: var(--space-3) var(--space-4); border: 1px solid var(--field-border); border-right: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); background: color-mix(in srgb, var(--bg-panel) 70%, transparent); font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.auth-provider-account { display: flex; align-items: center; gap: var(--icon-gap-md); padding: var(--space-3) var(--space-4); margin: 0 0 var(--space-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel); overflow-wrap: anywhere; }
.auth-provider-account img { flex: none; }
.auth__story { position: relative; isolation: isolate; display: grid; align-content: space-between; gap: var(--space-8); min-width: 0; overflow: hidden; padding: clamp(28px, 3.2vw, 52px); color: var(--sand-50); background: radial-gradient(ellipse at 105% 12%, color-mix(in srgb, var(--gold-bright) 64%, transparent), transparent 56%), linear-gradient(155deg, var(--sand-900), var(--sand-800) 65%, var(--sand-700)); }
.auth__story::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .65; background: repeating-radial-gradient(ellipse at 104% 20%, transparent 0 72px, color-mix(in srgb, var(--sand-200) 11%, transparent) 73px, transparent 74px 130px); }
.auth__story::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 0 100%, color-mix(in srgb, var(--sent-fg) 27%, transparent), transparent 65%); }
.auth__story .kicker { color: var(--sand-300); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.auth__headline { margin-top: var(--space-4); font-size: clamp(42px, 4.3vw, 66px); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; color: var(--sand-50); }
.auth__headline .accent { color: var(--cream-line); }
.auth__story-copy { max-width: 28em; margin: var(--space-5) 0 0; color: var(--sand-200); font-size: var(--fs-md); line-height: 1.6; }
.auth__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: var(--space-5) 0 0; list-style: none; border-top: 1px solid color-mix(in srgb, var(--sand-200) 20%, transparent); }
.auth__trust li { display: flex; gap: var(--icon-gap-md); align-items: flex-start; font-size: var(--fs-sm); color: var(--sand-300); line-height: 1.5; }
.auth__trust .bg-icon { flex: none; margin-top: var(--space-1); }
.auth__trust b { display: block; font-weight: 600; color: var(--sand-50); }
.auth-showcase { min-width: 0; margin: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--sand-200) 40%, transparent); border-radius: var(--r-xl); background: var(--bg-app); color: var(--text); box-shadow: var(--shadow-dialog); }
.auth-showcase figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--border); background: var(--bg-panel); font-size: var(--fs-xs); color: var(--text-muted); }
.auth-showcase figcaption > span:first-child { display: inline-flex; align-items: center; gap: var(--icon-gap-md); font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.auth-showcase__body { padding: var(--space-6); }
.auth-showcase .greeting h2 { font-size: var(--fs-xl); line-height: 1.2; }
.auth-showcase .greeting p { margin: var(--space-2) 0 var(--space-5); color: var(--text-muted); font-size: var(--fs-sm); }
.auth-showcase .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.auth-showcase .kpi { padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel); }
.auth-showcase .kpi p { margin: 0; }
.auth-showcase .k-label { color: var(--text-muted); font-size: var(--fs-sm); }
.auth-showcase .kpi .k-value { margin-top: var(--space-2); font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--ink); }
.auth-showcase .kpi .k-other { margin-top: var(--space-1); color: var(--text-muted); font-size: var(--fs-xs); }
.auth-showcase__section { margin-top: var(--space-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel); overflow: hidden; }
.auth-showcase__section h3 { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-soft); font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; }
.auth-showcase__section h3 > span { font-size: var(--fs-xs); font-weight: 400; color: var(--text-muted); }
.auth-showcase .dtable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.auth-showcase .dtable th { text-align: left; font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); }
.auth-showcase .dtable :is(th, td) { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-soft); }
.auth-showcase .dtable tr:last-child td { border-bottom: 0; }
.auth-showcase .dtable :is(th, td):last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.auth-showcase .dtable td:first-child :is(b, span) { display: block; }
.auth-showcase .dtable td:first-child span { font-size: var(--fs-xs); color: var(--text-muted); }
.auth-activity { list-style: none; margin: 0; padding: var(--space-1) var(--space-4); }
.auth-activity li { display: flex; gap: var(--icon-gap-md); align-items: flex-start; padding: var(--space-3) 0; position: relative; }
.auth-activity li + li { border-top: 1px solid var(--border-soft); }
.auth-activity__icon { display: grid; place-items: center; width: var(--space-7); height: var(--space-7); flex: none; border-radius: var(--r-md); background: var(--bg-hover); color: var(--text-muted); }
.auth-activity__paid .auth-activity__icon { background: var(--paid-bg); color: var(--paid-fg); }
.auth-activity b { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.auth-activity b span { font-weight: 600; }
.auth-activity p { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.3; }
[data-theme="dark"] .auth { --paper: var(--bg-app); --line: var(--border); --caption: var(--text-muted); --field-border: var(--sand-400); --field-focus: 0 0 0 4px var(--gold-wash); }
[data-theme="dark"] .auth__pane::before { opacity: .12; }
[data-theme="dark"] .auth .field input:not([type="radio"]), [data-theme="dark"] .auth .planpick__option { background: var(--bg-panel); }
[data-theme="dark"] .auth__story { background: radial-gradient(ellipse at 105% 12%, var(--gold-wash), transparent 60%), var(--bg-app); color: var(--text); }
[data-theme="dark"] .auth__story :is(.auth__headline, .auth__trust b) { color: var(--ink); }
[data-theme="dark"] .auth__story :is(.kicker, .auth__story-copy, .auth__trust li) { color: var(--text-muted); }
[data-theme="dark"] .auth__headline .accent { color: var(--gold-bright); }
@media (min-width: 981px) and (max-height: 850px) { .auth__story { padding: var(--space-7) var(--space-8); gap: var(--space-6); } .auth__headline { font-size: 44px; } }

/* the confirm step's story: the code, as the inbox shows it */
.auth__inbox { display: grid; gap: 12px; width: min(360px, 100%); margin: auto; padding-block: 32px; }
.auth__notification, .auth__letter { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; font-size: var(--fs-sm); color: var(--text-muted); }
.auth__notification { background: var(--bg-panel); box-shadow: var(--shadow-dialog); animation: auth-drop .7s .3s var(--ease-out) both; }
.auth__notification p { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--caption); }
.auth__notification .brandmark__logo { width: 18px; height: 18px; border-radius: 5px; font-size: 10px; }
.auth__notification time { margin-left: auto; }
.auth__notification b, .auth__letter b { font-size: var(--fs-body); color: var(--ink); }
.auth__letter { padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-panel); }
.auth__letter b { font-family: var(--font-serif); font-size: var(--fs-md); }
.auth__letter code { margin: 8px 0 4px; padding: 12px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-align: center; font-size: 26px; font-weight: 700; letter-spacing: .32em; color: var(--ink); }
.auth__letter-button { padding: var(--space-2); border-radius: var(--r-md); background: var(--ink); text-align: center; font-size: var(--fs-xs); font-weight: 700; color: var(--bg-panel); }
@keyframes auth-drop { from { opacity: 0; transform: translateY(-14px); } }

/* Connecting an app (pages/connect-app.html; design docs/mocks/app/connections.html#consent). */
.connect__marks { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.connect__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-family: var(--font-serif); font-size: 20px; font-weight: 700; }
.connect__mark--app { background: var(--sand-100); color: var(--ink); }
.connect__mark--ours { background: var(--gold); color: var(--on-accent, #fff); }
.connect__who-out { margin: 4px 0 0; }
.connect__link { width: 24px; border-top: 2px dotted var(--line); }
.connect__domain { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: var(--fs-sm); color: var(--trust); }
.connect { display: grid; gap: 10px; margin-top: 22px; }
.connect__h { margin: 10px 0 0; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--caption); }
.connect__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); line-height: 1.45; color: var(--text); }
.connect__list li, .connect__list label { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; }
.connect__list li:has(> label) { display: block; }
.connect__list label { cursor: pointer; }
.connect__list input[type=checkbox] { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gold); }
.connect__list .bg-icon { margin-top: 2px; }
.connect__list--can .bg-icon { color: var(--paid-fg); }
.connect__list--cant .bg-icon { color: var(--caption); }
.connect__note { margin: 8px 0 6px; font-size: var(--fs-sm); line-height: 1.45; color: var(--caption); }
.connect__cancel { margin-top: 10px; }
.connect__unverified, .connect__refused { margin: 14px 0 0; }
@media (prefers-reduced-motion: reduce) { .auth__notification { animation: none; } }

@media (max-width: 980px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth__story { display: none; } }
@media (max-width: 480px) { .auth-form__row { grid-template-columns: minmax(0, 1fr); } .auth .field input:not([type="radio"]) { font-size: max(1rem, var(--fs-body)); } }

/* The free generator's invoice coming along on sign-up (pages/signup.html, GeneratorCarry): a ticked choice, so it
   works without JavaScript and unticking leaves the invoice behind. Design source: docs/mocks/site/payday-signin.html. */
.carry { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer; }
.carry input { flex: none; margin-top: 3px; accent-color: var(--ink); }
.carry b { display: block; color: var(--ink); font-weight: 600; }
.carry b + span { font-variant-numeric: tabular-nums; }
