/* Current source: runtime/web/brand.css + workspace-shell.css + brand-appearance.css. */
:root{
  --paper:#f7f7f8;--surface:#ffffff;--white:#ffffff;--ink:#1f2328;--soft:#4b5260;
  --muted:#5d6570;--line:#e1e4e8;--green:#2d333b;--green-soft:#eceef1;
  --brass:#806016;--brass-soft:#fff5d8;--danger:#b02e2b;--danger-soft:#fff0ee;
  --serif:var(--sans);--radius:12px;--shadow:0 18px 60px #0f14191a;
}
body{font-size:15px}
/* Route changes move screen-reader focus without drawing a frame around the page. */
main[tabindex="-1"]:focus{outline:none}
h1,h2{font-family:var(--sans);letter-spacing:-.035em}
h1{font-weight:600;font-size:32px}
.brand strong{letter-spacing:-.04em}
.brand strong{display:flex;align-items:center;gap:6px}
.brand-wordmark{width:62px!important;height:23px!important;border-radius:0!important;object-fit:contain}
.brand img{border-radius:22%}
.auth-story h1{font-size:clamp(36px,3.6vw,54px);font-weight:600;line-height:1.38}
.auth-story h1 em{font-style:normal;color:var(--ink)}
.auth-card h2{font-weight:600;font-size:27px}
.eyebrow{letter-spacing:.15em;font-size:10px}
.orbit{border-color:#e1e4e8}
.orbit::before{border-color:#e1e4e8}
.orbit img{width:102px;height:102px;border-radius:22%;filter:none;animation:none}
.scene-card{border-radius:12px;box-shadow:0 4px 24px #0f141907}
.scene-card .tiny-rule{background:#e1e4e8}
.button:hover{background:#1f2328}
.button.secondary:hover{background:#eceef1;border-color:#8c959f}
.button.danger:hover{background:#922622}
.plan.featured{background:#ffffff;border-color:#2d333b}
.plan .plan-badge{background:#eceef1;border-color:#e1e4e8;color:#4b5260}
.tag.success{color:#256345;background:#eaf4ed;border-color:#cde0d1}
.tag.warning{color:#806016;background:#fff5d8;border-color:#eadcb3}
.shell{grid-template-columns:64px 228px minmax(0,1fr)}
.cloud-rail{position:sticky;top:0;height:100dvh;display:flex;align-items:center;flex-direction:column;gap:18px;padding:26px 10px;background:var(--paper)}
.cloud-rail>a{display:grid;place-items:center;width:44px;height:44px;color:var(--soft);border-radius:12px}
.cloud-rail>a:hover{background:var(--surface)}
.cloud-rail>a:first-child img{width:34px;height:34px;border-radius:22%}
.sidebar{border-radius:16px 0 0 0;background:var(--paper);padding-top:30px;box-shadow:none}
.sidebar .brand>img{display:none}
.sidebar .brand strong{font-size:27px}
.shell-topbar{background:var(--surface);border-bottom:1px solid var(--line)}
.shell-main{background:var(--surface)}
.content{padding-top:36px}
.workspace-switch{background:var(--surface);border-color:var(--line)}
.nav-item.active{color:var(--ink);background:#eceef1}
.status-mark{color:#7058ed;background:#f0edfd;border-color:#d7cff8}
.welcome-logo{border-radius:22%}
.portal-header{max-width:none;padding:24px 48px;border-bottom:1px solid var(--line);background:var(--surface);min-height:84px}
.brand{gap:10px}.brand img{width:34px;height:34px}.brand strong{font-size:23px;font-weight:650}.brand strong span{font-size:10px;letter-spacing:.03em;border:1px solid var(--line);border-radius:4px;padding:1px 5px;margin-left:9px}
.auth-wrap{max-width:1300px;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:96px;padding:54px 64px 64px;min-height:calc(100dvh - 144px)}
.auth-story{max-width:610px}.auth-story h1{font-size:44px;line-height:1.35;letter-spacing:-.045em;margin-top:16px}
.auth-story>.lead{font-size:15px;line-height:1.85;margin-top:18px;max-width:480px}
.eyebrow{letter-spacing:.12em;color:var(--muted);font-weight:600}
.auth-card{padding:32px;width:100%;max-width:410px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 12px 42px #1f232806}
.auth-card h2{font-size:25px;letter-spacing:-.025em}.auth-card .auth-description{line-height:1.7;color:var(--muted);margin-bottom:28px}.auth-tabs{gap:24px}.auth-tabs a{font-size:13px}
.auth-card .input-row{background:var(--surface);min-height:48px;border-radius:8px}.auth-card .input-row:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px #1f232808}
.auth-card .agree{font-size:11px;line-height:1.8;margin-top:22px}.auth-card .submit-note{font-size:11px;line-height:1.7}.auth-card .section-rule{margin:24px 0 14px}
.product-window{margin:30px 0 20px;border:1px solid #d9dce3;border-radius:12px;background:var(--surface);box-shadow:0 16px 36px #26263f0a;overflow:hidden;font-size:10px;pointer-events:none}
.preview-title{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:9px;background:#fbfbfc}
.window-dots{display:flex;gap:4px}.window-dots i{width:5px;height:5px;border-radius:50%;background:#d9dce3}
.preview-body{display:grid;grid-template-columns:35px 134px minmax(0,1fr);height:250px}
.preview-rail{background:#f5f5f7;display:flex;flex-direction:column;align-items:center;gap:18px;padding:15px 0;color:#737680}.preview-rail img{width:19px;height:19px;border-radius:5px}.preview-rail svg{width:14px;height:14px}
.preview-list{position:relative;background:#f7f7f8;padding:15px 8px;color:var(--soft)}.preview-new{display:flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:6px;background:white;font-size:9px}.preview-new svg{width:11px;height:11px}
.preview-list>p{font-size:8px;margin:15px 5px 7px;color:var(--muted)}.preview-list>span{display:flex;gap:6px;align-items:center;padding:7px 5px;font-size:8px;border-radius:5px}.preview-list>span svg{width:11px;height:11px}.preview-list .selected{background:#e9e9ee;color:var(--ink)}.preview-list-foot{position:absolute;bottom:13px;display:flex;gap:6px;font-size:8px;padding-left:4px}.preview-list-foot svg{width:11px;height:11px}
.preview-chat{min-width:0;padding:18px 15px;position:relative}.preview-user{font-size:9px;background:#f4f4f6;padding:7px 9px;border-radius:7px;margin-left:17px}.preview-answer{padding:14px 0}.preview-ai{display:flex;align-items:center;gap:5px;font-size:9px;margin-bottom:8px;font-weight:650}.preview-ai svg{width:12px;height:12px;color:#7058ed}.preview-answer strong{font-size:10px}.preview-answer p{font-size:8px;line-height:1.7;margin-top:5px}.preview-result{border:1px solid var(--line);border-radius:6px;padding:7px;display:flex;align-items:center;gap:6px;font-size:8px;margin-top:9px}.preview-result svg{width:12px;height:12px}.preview-result svg:last-child{margin-left:auto;width:9px}.preview-check{display:flex;gap:5px;align-items:center;font-size:8px;color:var(--muted);margin-top:8px}.preview-check svg{width:11px;height:11px}.preview-composer{position:absolute;bottom:13px;left:14px;right:14px;border:1px solid var(--line);border-radius:7px;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:8px}.preview-composer span{background:#272a30;color:white;width:17px;height:17px;border-radius:4px;display:grid;place-items:center}
.story-capabilities{display:flex;gap:22px;color:var(--soft);font-size:11px;margin-bottom:23px}.story-capabilities span{display:flex;align-items:center;gap:6px}.story-capabilities svg{width:14px;height:14px}.auth-story .trust-line{padding-top:17px;font-size:11px}
.content{max-width:1190px;margin:0 auto;padding:32px 40px 56px}.page-heading h1{font-size:27px;font-weight:600}.page-heading p{max-width:660px;line-height:1.8;color:var(--muted)}.context-line{font-size:11px}.shell-topbar{height:58px;padding:0 32px}.nav-caption{font-size:10px;letter-spacing:.02em}.nav-item{font-size:13px;border-radius:7px}
.plan{border-radius:12px}.plan h2{font-size:21px}.plan .price strong{font-size:44px;font-weight:600;letter-spacing:-.04em}.plan .description{font-size:13px}.plan.featured{border:1px solid #2d333b;box-shadow:0 4px 20px #1f232805}.plan-kicker{color:var(--muted);letter-spacing:.1em;font-size:10px}.feature-list{font-size:13px}
.data-table th{font-size:11px;background:#f7f7f8;color:var(--muted);font-weight:500}.data-table td{font-size:13px}.table-wrap{border-radius:10px;border:1px solid var(--line)}.setting-row{padding:22px 0}.setting-row h3{font-size:14px;font-weight:600}.setting-row p{font-size:12px;color:var(--muted)}.notice{border-radius:8px}.notice p{font-size:12px;line-height:1.8}.button{font-weight:550}.pill-toggle{background:#f0f0f3;border:none;padding:3px}.pill-toggle button.active{background:#fff;color:#1f2328;box-shadow:0 1px 3px #0000000d}.pill-toggle button{border-radius:5px}
.auth-foot{max-width:none;padding:0 48px 22px;font-size:10px}
@media(max-width:1100px){.shell{grid-template-columns:64px 212px minmax(0,1fr)}}
@media(max-width:820px){.shell{grid-template-columns:64px 190px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}}
@media(max-width:1100px){.auth-wrap{gap:42px;padding:40px}.auth-story h1{font-size:36px}.auth-card{padding:26px}.preview-body{grid-template-columns:30px 105px minmax(0,1fr)}.content{padding:28px}}
@media(max-width:820px){.auth-wrap{gap:28px;padding:28px}.auth-story h1{font-size:32px}.preview-body{grid-template-columns:28px minmax(0,1fr)}.preview-list{display:none}.story-capabilities{gap:12px;font-size:10px}.auth-card{padding:24px}}
@media(max-width:640px){
  .shell{display:block}.cloud-rail,.sidebar{display:none}
  .auth-card h2{font-size:27px}.mobile-brand img{border-radius:22%}
  h1{font-size:27px}.mobile-nav{background:#ffffff}
  .portal-header{padding:18px 24px;min-height:72px}.portal-header .header-actions .tag{display:none}.auth-wrap{padding:30px 24px 40px;background:var(--surface);min-height:calc(100dvh - 132px)}.auth-card{padding:8px 0;border:0;box-shadow:none;max-width:380px}.auth-card h2{font-size:26px}.auth-card .auth-tabs{margin-bottom:28px}.auth-card .field{margin-top:24px}.auth-foot{padding:0 24px 20px;background:var(--surface)}.content{padding:26px 20px 44px}.page-heading h1{font-size:25px}.shell-topbar{padding:0 20px}.plan .price strong{font-size:38px}.plan h2{font-size:20px}
}
@media(prefers-color-scheme:dark){
  .brand-wordmark{filter:invert(1) grayscale(1) brightness(2)}
  :root{--paper:#101010;--surface:#1c1c1c;--white:#fafafa;--ink:#fafafa;--soft:#e0e0e0;--muted:#bfbfbf;--line:#383838;--green:#f5f5f5;--green-soft:#2b2b2b;--brass:#d6a84a;--brass-soft:#342c1a;--danger:#ff8a80;--danger-soft:#382521}
  .button{color:#101010}.button:hover{background:#dedede}.button.secondary{color:var(--ink)}
  .plan.featured,.mobile-nav{background:var(--surface)}.nav-item.active{background:#2b2b2b;color:var(--ink)}
  .tag.success{background:#183125;border-color:#2d513b;color:#b2dfbf}
  .tag.warning{background:#342c1a;border-color:#6a562a;color:#edcd7c}
  .workspace-switch{background:var(--surface)}
  .scene-card .tiny-rule{background:var(--line)}
  .button.danger{background:#a93a34;color:#fff}
  .preview-title,.preview-rail,.preview-list,.preview-user,.data-table th{background:#242428}.preview-new{background:var(--surface)}.preview-list .selected{background:#333338}.product-window{border-color:var(--line)}.pill-toggle{background:#2b2b2b}.pill-toggle button.active{background:#444;color:#fafafa}.preview-title{border-color:var(--line)}
}
