@font-face{font-family:Martina;src:url('/static/MartinaPlantijnVF-Roman.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Bureau;src:url('/static/STKBureauSansBook.woff2') format('woff2');font-display:swap}:root{--font-serif:Martina;--font-sans:Bureau}
/* Tokens and shared components, ported from the auth and Company mockups. */
:root {
  --page: hsl(38 45% 97%);
  --surface: #fff;
  --soft: #efedeb;
  --ink: #292929;
  --muted: #797672;
  --line: #deddd9;
  --divider: color-mix(in srgb, var(--line) 55%, transparent);
  --hover: #eeece9;
  --green: #42654d;
  --green-bg: #edf2ec;
  --amber: #8d6a30;
  --amber-bg: #f3ede2;
  --red: #9e493e;
  --red-bg: #f8eeeb;
  color-scheme: light;
}

* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--page);
  color: var(--ink);
  font: 14px/1.6 var(--font-sans), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2 { font: 400 38px/1.18 var(--font-serif), Georgia, serif; letter-spacing: -.4px; }
h2 { font-size: 29px; }
h3 { font-weight: 400; font-size: 14px; }
p { color: var(--muted); }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Auth shell */
/* Dark theme (personal-workspace-mockup `[data-theme=dark]`), set by the sign-in pages and the
   Personal shell from the device theme: the device's own appearance until a person chooses. */
:root[data-theme="dark"] { --page: #000; --surface: #1e1e1e; --soft: #272522; --ink: #ece9e5; --muted: #a09b96; --line: #363636; --hover: #292623; --green: #a5baa7; --green-bg: #253129; --amber: #c7ae8b; --amber-bg: #30291f; color-scheme: dark; }
:root[data-theme="dark"] .brand img { content: url("/static/mark-white.png"); }
:root[data-theme="dark"] .btn.primary { background: var(--ink); border-color: var(--ink); color: var(--page); }
:root[data-theme="dark"] .btn.primary:hover:not(:disabled) { background: #d6d2cc; border-color: #d6d2cc; }
.auth-header { height: 78px; position: fixed; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; background: var(--page); z-index: 3; }
/* The header's controls (auth mockup `.header-actions`): the language list and the theme switch,
   so a person can pick both before signing in. */
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; justify-content: center; align-items: center; width: 34px; height: 34px; border-radius: 7px; flex: none; color: var(--ink); }
.icon-btn:hover { background: var(--hover); }
.icon-btn svg { width: 16px; height: 16px; }
.auth-language-wrap { position: relative; }
.auth-language { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 8px 0 10px; border-radius: 7px; color: var(--muted); font-size: 12px; cursor: pointer; }
.auth-language:hover, .auth-language[aria-expanded="true"] { background: var(--hover); }
.auth-language svg { width: 15px; height: 15px; flex: none; }
.auth-language-value { color: var(--ink); font-size: 12px; white-space: nowrap; }
.auth-language > svg:last-child { width: 12px; height: 12px; margin-left: -2px; color: var(--muted); }
/* The language list is the product's menu (the mockups' menu), opened under the control. */
.menu.auth-language-menu { position: absolute; top: calc(100% + 6px); right: 0; width: 232px; max-height: min(520px, calc(100dvh - 120px)); }
.menu.auth-language-menu button { padding: 10px; }
.menu.auth-language-menu button > span { flex: 1; }
.menu.auth-language-menu button > svg { width: 14px; height: 14px; color: var(--ink); }
.menu.auth-language-menu button[aria-checked="true"] { color: var(--ink); }
.auth-version { text-align: center; margin-top: 30px; font-size: 11px; color: var(--muted); }
.auth-header.is-busy .header-actions { pointer-events: none; opacity: .7; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand b { font: 700 22px/1 var(--font-serif), Georgia, serif; letter-spacing: -.5px; }
.page-loading { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-main { min-height: 100dvh; padding: 102px 24px 36px; display: flex; align-items: center; justify-content: center; }
.auth { width: 350px; max-width: 100%; margin: auto; padding: 24px 0; }
.auth.chooser { width: 480px; }
.auth.ready { width: 400px; text-align: center; }
.auth > .heading { text-align: center; margin-bottom: 28px; }
.auth > .heading .eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.auth > .heading h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.auth > .heading p { font-size: 13px; line-height: 1.85; margin-top: 17px; color: #666; overflow-wrap: anywhere; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 500; color: #666; }
.input { width: 100%; height: 47px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; outline: 0; transition: border-color .14s, box-shadow .14s; }
.input::placeholder { color: #767676; opacity: 1; }
.input:focus { border-color: #000; box-shadow: 0 0 0 3px rgb(0 0 0 / 8%); }
.input[aria-invalid="true"] { border-color: #a9382e; box-shadow: 0 0 0 3px #f7e7e4; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 46px; }
.password-wrap .icon-btn { position: absolute; right: 6px; top: 6px; }
.icon-btn { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.icon-btn:hover { background: var(--hover); }
.icon-btn svg { width: 17px; height: 17px; }
.field-error { font-size: 12.5px; line-height: 1.5; color: #a9382e; }
/* A request is in flight on an auth page: the main area is inert (no clicks, no focus) and the
   secondary actions dim so the one spinning button is clearly the only thing happening. */
.auth-main[inert] .btn:not(.primary), .auth-main[inert] .link, .auth-main[inert] .text-action, .auth-main[inert] a { opacity: .55; }
.auth-header.is-busy .brand { pointer-events: none; opacity: .7; }
.code-boxes { display: flex; gap: 8px; }
.code-boxes .code-box { flex: 1 1 0; min-width: 0; width: 100%; height: 50px; padding: 0; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; line-height: 1; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; outline: 0; caret-color: var(--ink); transition: border-color .14s, box-shadow .14s; }
.code-boxes .code-box:focus { border-color: var(--ink, #000); box-shadow: 0 0 0 3px rgb(0 0 0 / 8%); }
.code-boxes .code-box:disabled { background: var(--soft, var(--hover)); color: var(--muted); }
.code-boxes[data-invalid="true"] .code-box { border-color: #a9382e; }
.account-field .code-boxes { margin-top: 10px; }
.account-field .code-boxes .code-box { height: 46px; font-size: 18px; border-radius: 6px; }
.company-body .code-boxes .code-box, .company-dialog .code-boxes .code-box { height: 44px; font-size: 18px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 7px; padding: 11px 16px; min-height: 44px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.btn:hover:not(:disabled) { background: var(--hover); }
.auth .btn.primary, .btn.primary { background: #000; border-color: #000; color: #fff; }
.auth .btn.primary:hover:not(:disabled), .btn.primary:hover:not(:disabled) { background: #333; border-color: #333; }
.block { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; margin: 23px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--divider); flex: 1; }
.foot { text-align: center; margin-top: 22px; font-size: 12px; color: var(--muted); }
.link { color: var(--muted); font-size: 12px; text-underline-offset: 4px; }
.link:hover { color: var(--ink); text-decoration: underline; }
.text-action { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); padding: 6px 2px; }
.text-action:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.text-action svg { width: 28px; height: 14px; stroke-width: 1.1; }
.center { text-align: center; }
.open-in-app { display: grid; gap: 12px; border: 1px solid var(--line); background: var(--soft); padding: 14px 16px; border-radius: 7px; margin-bottom: 24px; }
.open-in-app p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.open-in-app-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.open-in-app-actions .btn { min-height: 36px; padding: 8px 14px; font-size: 12px; display: inline-flex; align-items: center; gap: 8px; }
.open-in-app-actions .btn svg { width: 14px; height: 14px; }
.notice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--soft); padding: 12px 14px; border-radius: 7px; font-size: 12px; line-height: 1.7; }
.notice.error { color: var(--red); background: var(--red-bg); border-color: transparent; }
.notice.success { color: var(--green); background: var(--green-bg); border-color: transparent; }
.notice svg { width: 17px; height: 17px; }
.identity { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; font-size: 13px; line-height: 1.5; }
.identity small { display: block; color: var(--muted); font-size: 11px; }
.identity.centered { justify-content: center; margin-bottom: 27px; }
.identity > div { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: #e5e1da; color: #50483e; font: 600 24px/1 var(--font-serif), Georgia, serif; flex: none; overflow: hidden; }
.workspace-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e5e1da; color: #50483e; font: 600 14px/1 var(--font-serif), Georgia, serif; flex: none; }
.emblem { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); margin: 0 auto 25px; }
.emblem svg { width: 20px; height: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; font-size: 11px; color: var(--muted); }
.checklist li { display: flex; align-items: center; gap: 6px; }
.checklist svg { width: 12px; height: 12px; }
.checklist .ok { color: var(--green); }
.terms { font-size: 11px; text-align: center; margin-top: 22px; line-height: 1.8; color: var(--muted); }
.terms a { text-decoration: underline; text-underline-offset: 3px; }
.row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--divider); border-radius: 5px; min-height: 74px; }
.row:hover { background: var(--hover); }
.row-body { flex: 1; min-width: 0; }
.row-body strong { display: block; font-weight: 400; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-body small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-end { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; flex: none; }
.row-end svg { width: 14px; height: 14px; }
.load-state { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgb(0 0 0 / 18%); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
.btn .spinner { width: 15px; height: 15px; border-color: rgb(255 255 255 / 30%); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 1.6s; } }


[hidden]{display:none!important}.auth .heading p{color:var(--muted)}.field label{color:var(--muted)}.heading{text-align:center;margin-bottom:28px}.eyebrow{font-family:ui-monospace,monospace;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.heading h1{font-size:40px;line-height:1.1;letter-spacing:-.02em}.heading p{font-size:13px;line-height:1.85;margin-top:17px}#error,#logout-error{color:var(--red);font-size:12px;margin:0}.provider-stack{gap:10px}.password-actions{display:flex;justify-content:flex-end;margin-top:8px}.auth.ready h1{margin-bottom:28px}.menu{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:6px;box-shadow:0 12px 32px #0002;overflow:auto}.menu button{display:flex;align-items:center;width:100%;text-align:start;color:var(--muted);font-size:12px;border-radius:5px}.menu button:hover{background:var(--hover)}.menu button[aria-checked=true]{color:var(--ink)}#email-value{text-align:center;overflow-wrap:anywhere;margin-bottom:24px}.password-wrap button{position:absolute;right:6px;top:6px}.brand{font-weight:700}.auth.ready{text-align:center}.recovery-action{margin-top:12px;text-align:center}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:28px;max-width:360px}dialog::backdrop{background:#0005}dialog p{margin:15px 0 22px}#loading,#unavailable{text-align:center}:root[data-theme=dark] .field label,:root[data-theme=dark] .heading p{color:var(--muted)}@media(max-width:480px){.auth-header{padding:0 16px}.auth-language-value{max-width:120px;overflow:hidden;text-overflow:ellipsis}.auth-main{padding-inline:24px}.heading h1{font-size:36px}}
