/* Halson's website and docs (askhalson.com). The dashboard's own look (Codeberry.Franked.Components/src/mail/mail.css): white, zinc
   greys, system sans, Halson red for the one main button, blue for links, hairline panels. Sparse on purpose (Lee, 3 Dec 2026: "far less
   cluttered"). Every class here belongs to one part in Site/SiteParts.cs; pages never write their own. */
:root {
  --post: #c8102e; --post-ink: #a50d26; --them: #1f4fa8; --them-wash: #e5edfb; --side: #f7f6f3; --rule: #e4e1da;
  --z950: #09090b; --z800: #27272a; --z700: #3f3f46; --z600: #52525b; --z500: #71717a; --z200: #e4e4e7; --z100: #f4f4f5; --z50: #fafafa;
  color-scheme: light;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--z950); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--them); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--them); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* SiteParts.Mark */
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--z950); font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.mark svg { width: 30px; height: 30px; flex: none; }
.mark:hover { text-decoration: none; }
.mark small { font-weight: 500; color: var(--z500); font-size: 15px; letter-spacing: 0; }

/* SiteParts.Button */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 8px; font: 600 15px/1 inherit; font-family: inherit; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background .15s ease-out; }
.btn:hover { text-decoration: none; }
.btn-red { background: var(--post); color: #fff; }
.btn-red:hover { background: var(--post-ink); }
.btn-plain { background: #fff; color: var(--z950); border-color: var(--z200); }
.btn-plain:hover { background: var(--z50); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 16px; }

/* SiteParts.Header */
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top nav a { color: var(--z700); }
.top nav a:hover { color: var(--z950); text-decoration: none; }
/* On a phone every link stays, closer together, each a full finger's height (Lee, 3 Dec 2026: "Doc link is too hard to find on mobile"); only the narrowest drop Pricing. */
@media (max-width: 600px) { .top .wrap { gap: 12px; } .top nav { gap: 18px; } .top nav a { padding: 12px 0; } }
@media (max-width: 360px) { .top nav .wide { display: none; } }

/* SiteParts.Hero (home's first screen) */
.hero { text-align: center; padding: 72px 0 0; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; }
.hero h1 .dot { color: var(--post); }
.hero .lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--z600); margin: 20px auto 0; max-width: 34em; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* SiteParts.AskExample: the app's Ask box answering */
.ask { max-width: 680px; margin: 64px auto 0; text-align: left; background: #fff; border: 1px solid var(--z200); border-radius: 14px; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .18); padding: 20px; }
.ask-row { display: flex; gap: 8px; }
.ask-box { flex: 1; display: flex; align-items: center; height: 44px; border: 1px solid var(--z200); border-radius: 8px; padding: 0 12px; font-size: 15px; overflow: hidden; white-space: nowrap; }
.ask-row .btn { height: 44px; cursor: default; }
.caret { display: inline-block; width: 1.5px; height: 19px; background: var(--z950); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-answer { margin-top: 18px; font-size: 16px; line-height: 1.65; }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 99px; background: var(--them-wash); color: var(--them); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.sources { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sources li { display: flex; gap: 10px; font-size: 14px; align-items: baseline; margin: 0; }
.sources .cite { margin: 0; flex: none; }
.sources .name { color: var(--them); font-weight: 500; }
.sources .who { color: var(--z500); }
.rise { animation: rise .4s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* SiteParts.Section */
.section { padding: 120px 0 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head p { font-size: 18px; color: var(--z600); margin-top: 14px; }

/* SiteParts.ShotSwitcher and SiteParts.Shot */
.switch { display: flex; justify-content: center; gap: 4px; margin: 0 auto 28px; padding: 4px; background: var(--z100); border-radius: 10px; width: max-content; max-width: 100%; }
.switch button { all: unset; cursor: pointer; padding: 6px 14px; border-radius: 7px; font-size: 15px; font-weight: 500; color: var(--z600); white-space: nowrap; text-align: center; }
.switch button:hover { color: var(--z950); }
.switch button[aria-selected=true] { background: #fff; color: var(--z950); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.switch button:focus-visible { outline: 2px solid var(--them); outline-offset: 1px; }
.shot { margin: 0; }
.shot .frame { border: 1px solid var(--z200); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .2); background: #fff; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { text-align: center; font-size: 16px; color: var(--z600); margin-top: 18px; }
@media (max-width: 600px) {
  .switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .shot.big img { aspect-ratio: 1 / 1; object-position: 40% 0; }
}

/* SiteParts.Trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; margin: 0; }
.trust dt { font-weight: 700; font-size: 17px; }
.trust dd { margin: 6px 0 0; color: var(--z600); }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* SiteParts.PlanCard */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { border: 1px solid var(--z200); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.plan.main { border-color: var(--z950); box-shadow: 0 0 0 1px var(--z950); }
.plan h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.plan .price { font-size: 36px; font-weight: 700; letter-spacing: -.03em; margin-top: 12px; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--z500); letter-spacing: 0; }
.plan .line { color: var(--z600); font-size: 15px; margin: 12px 0 24px; }
.plan .btn, .plan form { margin-top: auto; }
.plan form .btn { width: 100%; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* SiteParts.TryDemo: the button and its dialog (never a native one) */
dialog.try { text-align: left; border: 0; border-radius: 16px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); box-shadow: 0 24px 64px rgb(0 0 0 / .25); color: var(--z950); }
dialog.try::backdrop { background: rgb(9 9 11 / .45); backdrop-filter: blur(2px); }
dialog.try[open] { animation: try-in .18s ease-out; }
@keyframes try-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
dialog.try .body { padding: 24px; }
dialog.try .try-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
dialog.try h2 { font-size: 21px; font-weight: 650; letter-spacing: -.015em; }
dialog.try .try-x { all: unset; flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -4px -6px 0 0; border-radius: 8px; color: var(--z500); cursor: pointer; }
dialog.try .try-x:hover { background: var(--z100); color: var(--z950); }
dialog.try .try-x:focus-visible { outline: 2px solid var(--them); outline-offset: 2px; }
dialog.try p { color: var(--z600); margin-top: 6px; font-size: 15px; }
dialog.try form { margin: 0; }
dialog.try .office-card { border: 1px solid var(--z200); border-radius: 12px; margin-top: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
dialog.try .office-card:hover { border-color: #c9d6ee; box-shadow: 0 4px 14px rgb(31 79 168 / .08); }
dialog.try .office { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; cursor: pointer; padding: 14px 16px; }
dialog.try .office:focus-visible { outline: 2px solid var(--them); outline-offset: -2px; border-radius: 12px; }
dialog.try .office-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; object-fit: cover; color: #fff; font-weight: 650; font-size: 15px; letter-spacing: .02em; }
dialog.try .office-mark.m0 { background: #2f7d6d; }
dialog.try .office-mark.m1 { background: var(--them); }
dialog.try .office-mark.m2 { background: #8a5a1f; }
dialog.try .office-mark.m3 { background: var(--z700); }
dialog.try .office-what { flex: 1; }
dialog.try .office-what b { display: block; font-weight: 600; font-size: 16px; }
dialog.try .office-what span { display: block; color: var(--z600); font-size: 14px; margin-top: 1px; }
dialog.try .office-go { flex: none; font-size: 14px; font-weight: 600; color: var(--them); white-space: nowrap; }
dialog.try .office-go span { display: inline-block; margin-left: 4px; transition: transform .15s; }
dialog.try .office:hover .office-go span { transform: translateX(3px); }
dialog.try .office-asks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 16px 14px; border-top: 1px solid var(--z100); background: var(--z50); }
dialog.try .office-asks-label { font-size: 13px; color: var(--z500); margin-right: 2px; }
dialog.try .office-ask { all: unset; box-sizing: border-box; cursor: pointer; font-size: 13.5px; line-height: 1.35; color: var(--z800); background: #fff; border: 1px solid var(--z200); border-radius: 999px; padding: 5px 11px; }
dialog.try .office-ask:hover { border-color: var(--them); color: var(--them); }
dialog.try .office-ask:focus-visible { outline: 2px solid var(--them); outline-offset: 2px; }
dialog.try .try-foot { margin-top: 16px; font-size: 13px; color: var(--z500); text-align: center; }
@media (max-width: 480px) { dialog.try .body { padding: 20px 16px; } dialog.try .office-go { display: none; } }

/* SiteParts.Footer */
.foot-site { margin-top: 120px; border-top: 1px solid var(--z100); padding: 28px 0 40px; font-size: 14px; color: var(--z500); }
.foot-site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.foot-site .mark { font-size: 16px; }
.foot-site .mark svg { width: 24px; height: 24px; }
.foot-site nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-site nav a { color: var(--z600); }
@media (max-width: 600px) { .section { padding-top: 88px; } .hero { padding-top: 40px; } .ask { margin-top: 44px; } .foot-site { margin-top: 88px; } .foot-site nav { margin-left: 0; } }

/* ---- Docs: laid out as the app is (side panel, then the page in a white panel) ---- */
body.docs { background: var(--side); }
.docs-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); min-height: 100vh; }

/* SiteParts.DocsNav */
.docs-nav { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--side); }
.docs-nav .head { padding: 20px 20px 16px; border-bottom: 1px solid var(--rule); }
.docs-find { position: relative; margin-top: 16px; }
.docs-find input { width: 100%; height: 38px; border: 1px solid var(--z200); border-radius: 8px; padding: 0 12px 0 34px; font: inherit; font-size: 14px; background: #fff; color: var(--z950); }
.docs-find input::placeholder { color: var(--z500); }
.docs-find input:focus { outline: 2px solid var(--them); outline-offset: 0; border-color: transparent; }
.docs-find svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--z500); }
/* SiteParts.DocsSearch: EveryPage's box wears the docs' own search look (Lee, 3 Dec 2026: "its colors and styling is different to the rest
   of the site"): the zinc box and grey icon of .docs-find, blue for focus and the chosen row, never EveryPage's orange. Its suggestions and answer
   card hang off <body>, so their colours are set on the page; html:root and html body beat the embed's own :root and html rules. */
.docs-ask { margin-top: 16px; }
.docs-ask .everypage-box { max-width: none; font-size: 14px; }
.docs-ask .everypage-box input { height: 38px; padding: 0 12px 0 34px; font-size: 14px; line-height: 36px; border: 1px solid var(--z200); border-radius: 8px; box-shadow: none; background: #fff; color: var(--z950); }
.docs-ask .everypage-box input::placeholder { color: var(--z500); }
.docs-ask .everypage-box input:focus { outline: 2px solid var(--them); outline-offset: 0; border-color: transparent; box-shadow: none; }
.docs-ask .everypage-box .everypage-box-icon { left: 11px; width: 16px; height: 16px; color: var(--z500); }
.docs-ask .everypage-foot { display: none; }
html:root { --searchstack-list-border-radius: 8px; --searchstack-list-border-color: var(--z200);
  --searchstack-list-item-background-hover-color: var(--z100); --searchstack-list-item-background-focused-color: var(--them-wash);
  --searchstack-mobile-list-item-background-hover-color: var(--z100); --searchstack-mobile-list-item-background-focused-color: var(--them-wash);
  --ep-row-title-color: var(--z950); --ep-row-crumb-color: var(--z500); }
html body .ep-row-icon { color: var(--z500); }
html body .searchstack-ask-card, html body .searchstack-ask-row { --searchstack-ask-accent-color: var(--them); --searchstack-ask-hover-color: var(--z100);
  --searchstack-ask-selected-color: var(--them-wash); --searchstack-ask-border-color: var(--z200); --searchstack-ask-muted-color: var(--z500); --searchstack-ask-text-color: var(--z950); }
.docs-groups { flex: 1; overflow-y: auto; padding: 12px 12px 24px; }
.docs-group { margin-top: 14px; }
.docs-group h2 { margin: 0 0 4px; padding: 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--z500); }
.docs-group ul { list-style: none; margin: 0; padding: 0; }
.docs-group a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--z700); font-size: 15px; line-height: 1.4; }
.docs-group a:hover { background: rgb(0 0 0 / .045); text-decoration: none; color: var(--z950); }
.docs-group a[aria-current=page] { background: #fff; color: var(--z950); font-weight: 500; box-shadow: 0 0 0 1px var(--z200), 0 1px 2px rgb(0 0 0 / .04); }
.docs-group li[hidden], .docs-group[hidden] { display: none; }
.docs-none { padding: 10px; font-size: 14px; color: var(--z500); }
.docs-nav .foot { padding: 16px 20px; border-top: 1px solid var(--rule); display: flex; gap: 10px; }
.docs-nav .foot .btn, .docs-nav .foot form { flex: 1; height: 36px; font-size: 14px; }
.docs-nav .foot form .btn { width: 100%; }
.docs-bar { display: none; }
.docs-scrim { display: none; }

/* SiteParts.DocsArticle */
.docs-page { padding: 8px 8px 8px 0; }
.docs-panel { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05), 0 1px 2px rgb(0 0 0 / .04); min-height: calc(100vh - 16px); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; padding: 48px 56px 80px; }
.article { max-width: 720px; }
.article .crumb { font-size: 14px; color: var(--z500); margin: 0 0 10px; }
.article h1 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; line-height: 1.15; }
.article .intro { font-size: 18px; color: var(--z600); margin: 12px 0 0; }
.article h2 { font-size: 22px; font-weight: 650; letter-spacing: -.015em; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--z100); }
.article h3 { font-size: 17px; font-weight: 600; margin: 28px 0 0; letter-spacing: 0; }
.article p, .article ul, .article ol { margin: 12px 0 0; color: var(--z700); }
.article li { margin: 6px 0; }
.article b { color: var(--z950); font-weight: 600; }
.article kbd { font: 500 13px/1 system-ui, sans-serif; background: var(--z100); border: 1px solid var(--z200); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; color: var(--z800); }
.article code { font: 14px ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--z100); border-radius: 5px; padding: 1px 5px; color: var(--z800); overflow-wrap: anywhere; }
.article .note { margin-top: 20px; border-radius: 10px; background: var(--them-wash); color: #1b3d80; padding: 14px 16px; font-size: 15px; }
.article .note b { color: #13306a; }
.article .shot { margin-top: 20px; }
.article .shot .frame { box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 28px -16px rgb(0 0 0 / .18); border-radius: 12px; }
.article .shot img { aspect-ratio: 16 / 9; }
.article .shot figcaption { text-align: left; font-size: 14px; color: var(--z500); margin-top: 8px; }
.article .ask { margin: 20px 0 0; box-shadow: 0 1px 2px rgb(0 0 0 / .04); border-radius: 12px; padding: 18px; max-width: none; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 99px; background: var(--z950); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.next a { display: block; border: 1px solid var(--z200); border-radius: 10px; padding: 14px 16px; color: var(--z950); }
.next a:hover { background: var(--z50); text-decoration: none; }
.next small { display: block; color: var(--z500); font-size: 13px; }
.next b { color: var(--them); font-weight: 600; }
.next .later { text-align: right; grid-column: 2; }

/* SiteParts.OnThisPage */
.toc { position: sticky; top: 48px; align-self: start; font-size: 14px; }
.toc h2 { font-size: 13px; font-weight: 600; color: var(--z950); margin: 0 0 8px; letter-spacing: 0; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--z200); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -1px; color: var(--z600); border-left: 1px solid transparent; }
.toc a:hover { color: var(--z950); text-decoration: none; }
.toc a.on { color: var(--z950); border-left-color: var(--z950); font-weight: 500; }

@media (max-width: 1180px) { .docs-panel { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); }
  .docs-bar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; background: var(--side); padding: 10px 16px; border-bottom: 1px solid var(--rule); }
  .docs-bar button { all: unset; cursor: pointer; margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--z200); background: #fff; }
  .docs-bar button:focus-visible { outline: 2px solid var(--them); }
  .docs-bar svg { width: 18px; height: 18px; }
  .docs-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 88vw); z-index: 40; transform: translateX(-100%); transition: transform .2s ease-out; box-shadow: 0 0 40px rgb(0 0 0 / .2); visibility: hidden; }
  .docs-nav.open { transform: none; visibility: visible; }
  .docs-scrim.open { display: block; position: fixed; inset: 0; background: rgb(9 9 11 / .35); z-index: 35; }
  .docs-page { padding: 0; }
  .docs-panel { border-radius: 0; box-shadow: none; padding: 28px 20px 64px; min-height: auto; }
  .next { grid-template-columns: 1fr; }
  .next .later { text-align: left; grid-column: auto; }
}
/* SignInParts: Sign in, Create an account, Check your email and Finish signing in (app.askhalson.com). One white card on the side grey,
   the mark above it, the providers' own buttons (white, grey outline, their logos), "or", the email form with the one red button. */
.auth { min-height: 100vh; background: var(--side); display: flex; flex-direction: column; align-items: center; padding: 48px 16px 64px; }
.auth-home { display: inline-flex; align-items: center; gap: 10px; color: var(--z950); font-weight: 650; font-size: 20px; letter-spacing: -.01em; margin-bottom: 28px; }
.auth-home svg { width: 36px; height: 36px; flex: none; }
.auth-home:hover { text-decoration: none; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--z200); border-radius: 14px; padding: 32px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 24px 48px -32px rgb(0 0 0 / .2); }
.auth-card h1 { font-size: 26px; font-weight: 700; }
.auth-lead { color: var(--z600); font-size: 15px; margin-top: 8px; }
.auth-lead b { color: var(--z950); font-weight: 600; overflow-wrap: anywhere; }
.auth-note { margin-top: 18px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.5; background: #fdecee; color: var(--post-ink); }
.auth-note.ok { background: var(--them-wash); color: #13306a; }
.auth-providers { display: grid; gap: 10px; margin-top: 24px; }
.provider { display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; padding: 0 16px; border: 1px solid #747775; border-radius: 8px; background: #fff; color: #1f1f1f; font-size: 15px; font-weight: 500; }
.provider:hover { background: var(--z50); text-decoration: none; }
.provider svg { width: 18px; height: 18px; flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--z500); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--z200); }
.auth-form { margin-top: 24px; }
.auth-or + .auth-form { margin-top: 0; }
.auth-form label { display: block; font-size: 14px; font-weight: 600; color: var(--z950); margin-bottom: 6px; }
.auth-form input:not([type=hidden]) { display: block; width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--z200); border-radius: 8px; background: #fff; color: var(--z950); font: inherit; font-size: 16px; }
.auth-form input:focus { outline: 2px solid var(--them); outline-offset: 0; border-color: transparent; }
.auth-form input::placeholder { color: var(--z500); opacity: .7; }
.auth-form .btn { display: flex; width: 100%; height: 44px; margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1; }
.auth-form input.auth-code { height: 56px; text-align: center; font: 600 26px/1 ui-monospace, Consolas, Menlo, monospace; letter-spacing: 6px; }
.auth-small { font-size: 13px; color: var(--z500); margin-top: 12px; }
.auth-fine { font-size: 13px; color: var(--z500); margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--z100); }
.auth-switch { margin-top: 22px; font-size: 15px; color: var(--z600); text-align: center; }
@media (max-width: 480px) { .auth { padding: 28px 12px 48px; } .auth-home { margin-bottom: 20px; } .auth-card { padding: 24px 20px; border-radius: 12px; } .auth-card h1 { font-size: 23px; } }

@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
