/* Font license: /story-font-OFL.txt */
@font-face{font-family:Story Inter;src:url('/story-font.ttf') format('truetype');font-weight:100 900;font-display:swap}
/* Shared public/account shell. Product workspaces keep their own view system. */
body.story-site{--ink:#f5f3ef;--muted:#a9b1b7;--line:#2b3339;--paper:#12171b;--brand:#ff826b;--brand2:#ff9d8c;--landing-ink:#f5f3ef;--landing-line:#2b3339;--landing-muted:#a9b1b7;background:#090d10;color:#f5f3ef;font-family:Story Inter,Arial,sans-serif;color-scheme:dark}
.story-site :focus-visible{outline:2px solid #85d5df;outline-offset:4px}
.story-site:not(:has(.bs-story)) a{color:#ff9d8c;text-underline-offset:4px}
.story-site:not(:has(.bs-story)) :is(h1,h2,h3,h4,strong){color:#f5f3ef}
.story-site:not(:has(.bs-story)) h1{font-size:clamp(32px,4.5vw,56px);font-weight:740;line-height:1.08;letter-spacing:-.04em;text-wrap:balance}
.story-site:not(:has(.bs-story)) :is(.lede,.muted,.auth-back,.auth-card>.lede,.landing-form label){color:#a9b1b7}
.story-site:not(:has(.bs-story)) :is(.eyebrow,.connect-command-label){color:#ff826b;font-size:11px;letter-spacing:.035em;text-transform:none}
.story-site:not(:has(.bs-story)) :is(.panel,.auth-card,.connect-frontdoor,.connect-now,.connect-setup,.connect-access-card,.connect-help,.connector-permissions,.consent-recovery){background:#12171b;border:1px solid #2b3339;border-radius:12px;box-shadow:none}
.story-site:not(:has(.bs-story)) :is(.auth-page,.auth-shell){width:min(620px,calc(100% - 40px));padding:42px 0 80px}
.story-site:not(:has(.bs-story)) .auth-brand{margin-bottom:36px;color:#f5f3ef}
.story-site:not(:has(.bs-story)) .auth-card{padding:clamp(24px,4vw,44px)}
.story-site:not(:has(.bs-story)) .auth-card h1{font-size:clamp(30px,4vw,42px)}
.story-site:not(:has(.bs-story)) :is(input,select,textarea,.landing-form input){background:#0b1014;color:#f5f3ef;border:1px solid #465159;border-radius:7px;font:inherit;accent-color:#ff826b}
.story-site:not(:has(.bs-story)) :is(input,select,textarea):focus{border-color:#85d5df}
.story-site:not(:has(.bs-story)) :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;flex:0 0 auto}
.story-site:not(:has(.bs-story)) :is(button,.landing-form button,.button,.connect-action,.connect-read-cta){background:#ff826b;color:#15100d;border:1px solid transparent;border-radius:7px;font:650 14px/1.4 Story Inter,Arial,sans-serif;min-height:44px;box-shadow:none;text-shadow:none}
.story-site:not(:has(.bs-story)) :is(button,.button,.connect-action):hover{background:#ff9d8c}
.story-site:not(:has(.bs-story)) :is(button.secondary,.copy-command){background:#202a30;color:#f5f3ef;border-color:#465159}
.story-site:not(:has(.bs-story)) button.danger{background:#652e2b;color:#ffe9e4;border-color:#ad5c51}
.story-site:not(:has(.bs-story)) :is(.notice,.callout,.connect-protocol-note){background:#18282b;border-color:#36565b;color:#c5e7eb}
.story-site:not(:has(.bs-story)) :is(code,pre,.connect-command){background:#0b1014;color:#a6dfe7;border-color:#2b3339;overflow-wrap:anywhere}
.story-site:not(:has(.bs-story)) :is(.connect-frontdoor-heading p:last-child,.connect-frontdoor-state,.connect-now p:last-child,.connect-access-card p,.connect-access-card ul,.connect-provider-note,.connect-help p,.connect-protocol-note p,.connect-command-label){color:#a9b1b7}
.story-site:not(:has(.bs-story)) :is(.connect-provider-note,.connect-help summary){background:transparent;color:#d3dadf}
.story-site:not(:has(.bs-story)) .connect-state{background:#223138;color:#b8dce4}
.story-site:not(:has(.bs-story)) .connect-state.is-ready{background:#203b2c;color:#a5dfb4}
.story-site:not(:has(.bs-story)) .connect-access-card.is-recommended{border-color:#557778;box-shadow:inset 0 3px 0 #85d5df}
.story-site:not(:has(.bs-story)) .landing-form{background:transparent;border:0;box-shadow:none}
.story-site:not(:has(.bs-story)) .topbar{border-color:#2b3339;gap:18px;flex-wrap:wrap}
.story-site:not(:has(.bs-story)) .topbar a{color:#f5f3ef}
.story-site:not(:has(.bs-story)) .mark{background:#ff826b;color:#15100d}
.story-site:not(:has(.bs-story)) .legal-page{max-width:850px}
.story-site:not(:has(.bs-story)) .legal-page :is(p,li){color:#c4cacf;line-height:1.8}
.story-site:not(:has(.bs-story)) .legal-page h2{margin-top:2em;font-size:24px;letter-spacing:-.025em}
.story-site:not(:has(.bs-story)) .account-page h2{font-size:24px;letter-spacing:-.025em}
@media(max-width:620px){.story-site:not(:has(.bs-story)) .connect-frontdoor{width:calc(100% - 32px)}.story-site:not(:has(.bs-story)) .topbar>div{flex-wrap:wrap}.story-site:not(:has(.bs-story)) .actions{flex-wrap:wrap}.story-site:not(:has(.bs-story)) .auth-card{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){.story-site *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.story-site:not(:has(.bs-story)) :is(.connect-provider-card,.connect-status-panel,.connect-provider-steps li,.connect-migration-note){background:#12171b;border:1px solid #2b3339;border-radius:12px;box-shadow:none}
.story-site:not(:has(.bs-story)) :is(.connect-provider-copy>p:not(.eyebrow),.connect-provider-steps p,.connect-finish-list p,.connect-status-list dd,.connect-migration-note){color:#b6bfc5;font-size:13px;line-height:1.7}
.story-site:not(:has(.bs-story)) :is(.connect-provider-steps li>span,.connect-finish-list li>span){background:#22343b;color:#b9e4eb}
.story-site:not(:has(.bs-story)) a.landing-cta{background:#ff826b;color:#15100d;border-radius:7px;min-height:46px;padding:13px 21px;box-shadow:none}
.story-site:not(:has(.bs-story)) a.landing-cta:hover{background:#ff9d8c}
.story-site:not(:has(.bs-story)) .connect-hero .lede{font-size:17px;line-height:1.75;max-width:68ch}
.story-site:not(:has(.bs-story)) .connect-provider-copy h2{font-size:clamp(28px,3.3vw,42px);line-height:1.15}
.story-site:not(:has(.bs-story)) .connect-status-list{border-color:#2b3339}
.story-shared-brand,.story-shared-footer{width:min(1050px,calc(100% - 40px));margin-inline:auto}
.story-shared-brand{padding-top:30px}.story-shared-brand a{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:18px;font-weight:700;color:#f5f3ef!important}
.story-shared-footer{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid #2b3339;padding:24px 0 36px;font-size:12px}.story-shared-footer a{color:#a9b1b7!important}.story-shared-footer a:hover{color:#ff9d8c!important}

body.story-diagnostic{--accent:#ff826b;--wash:#090d10}.story-diagnostic header a{display:inline-flex;align-items:center;gap:12px;color:#f5f3ef!important}.story-diagnostic .card{box-shadow:none;border-radius:12px}.story-diagnostic .tab{border-color:#ff826b}
body.story-project-picker{--bg:#090d10;--panel:#12171b;--raised:#1b2024;--line:#2b3339;--text:#f5f3ef;--soft:#c4cacf;--muted:#a9b1b7;--accent:#85d5df;background:var(--bg);color:var(--text);font-family:Story Inter,Arial,sans-serif;color-scheme:dark}.story-project-picker h1{font-size:36px;font-weight:740;letter-spacing:-.04em}.story-project-picker .eyebrow{color:#ff826b;font-family:inherit;letter-spacing:.04em}.story-project-picker .proj-status{font-size:10px}.story-project-picker :focus-visible{outline:2px solid #85d5df;outline-offset:4px}

/* Legal documents and sign-in/signup explicitly choose the plain white shell. */
body.story-site.story-light{--ink:#17212b;--muted:#4b5563;--line:#dce3e8;--paper:#fff;--brand:#1d4ed8;--brand2:#1e40af;--landing-ink:var(--ink);--landing-muted:var(--muted);--landing-line:var(--line);--light-field-border:#6b7280;background:var(--paper);color:var(--ink);color-scheme:light}
.story-site.story-light :focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.story-site.story-light:not(:has(.bs-story)) a{color:var(--brand)}
.story-site.story-light:not(:has(.bs-story)) :is(h1,h2,h3,h4,strong,.auth-brand){color:var(--ink)}
.story-site.story-light:not(:has(.bs-story)) :is(.lede,.muted,.auth-back,.auth-card>.lede,.landing-form label,.eyebrow){color:var(--muted)}
.story-site.story-light:not(:has(.bs-story)) .auth-card{background:var(--paper);border-color:var(--line)}
.story-site.story-light:not(:has(.bs-story)) :is(input,select,textarea,.landing-form input){background:var(--paper);color:var(--ink);border-color:var(--light-field-border);accent-color:var(--brand);max-width:100%;min-width:0}
.story-site.story-light:not(:has(.bs-story)) :is(input,select,textarea):focus{border-color:var(--brand);box-shadow:none}
.story-site.story-light:not(:has(.bs-story)) :is(button,.landing-form button){background:var(--brand);color:var(--paper)}
.story-site.story-light:not(:has(.bs-story)) :is(button,.landing-form button):hover{background:var(--brand2)}
.story-site.story-light:not(:has(.bs-story)) .notice{background:#eff6ff;border-color:var(--brand);color:#1e3a8a}
.story-site.story-light:not(:has(.bs-story)) .legal-page :is(p,li){color:var(--ink)}
.story-site.story-light:not(:has(.bs-story)) :is(code,pre){background:#f3f4f6;color:var(--ink);border-color:var(--line)}
.story-site.story-light .legal-page{overflow-wrap:anywhere}
.story-site.story-light .story-shared-brand a{color:var(--ink)!important}
.story-site.story-light .story-shared-footer{border-color:var(--line)}
.story-site.story-light .story-shared-footer a{color:var(--muted)!important}
.story-site.story-light .story-shared-footer a:hover{color:var(--brand)!important}
