/* Platform 1.0.0 · Graphite workspace. All assets are served locally. */
.window-editor,.output-settings{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.window-heading,.window-labels{display:flex;justify-content:space-between;align-items:center;gap:12px}
.window-heading strong{font-size:15px;color:var(--ink)}.window-labels{font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted)}
.window-labels output{color:var(--ink);font-weight:600}.window-help{font-size:13px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.window-track{position:relative;height:48px;margin:10px 10px 4px}
.window-track:before,.window-track>span{content:"";position:absolute;top:16px;height:16px;border-radius:3px;background:#35363c;left:0;right:0}
.window-track>span{right:auto;background:#b5b2c8;opacity:.8}
.window-track input[type=range]{position:absolute;inset:0;width:100%;height:48px;margin:0;padding:0;pointer-events:none;background:transparent;appearance:none;border:0;box-shadow:none}
.window-track input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:36px;background:#ececee;border:3px solid #55545d;border-radius:5px;pointer-events:auto;cursor:ew-resize}
.window-track input[type=range]::-moz-range-thumb{width:16px;height:32px;background:#ececee;border:3px solid #55545d;border-radius:5px;pointer-events:auto;cursor:ew-resize}
.window-track input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.output-choice{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}.output-choice select{flex:1;min-width:175px}
.output-choice select,.output-choice input{font:inherit;font-size:14px;color:var(--ink);background:var(--raised);border:1px solid #45464e;border-radius:8px;padding:12px}
.output-choice label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.output-choice input{width:105px;min-width:0}.window-help.capacity-error{color:var(--error)}
.studio-page .reference-drop{width:100%;min-width:0}
.studio-page .ref-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px}
.studio-page .ref-preview{grid-column:1/-1;width:100%;height:140px;background:#111214;border-radius:5px;overflow:hidden}
.studio-page .ref-preview img,.studio-page .ref-preview video{display:block;width:100%;height:100%;object-fit:contain}
.studio-page .ref-card .file-meta{font-size:12px;line-height:1.5}
.studio-page .ref-card .icon-button{grid-column:2;grid-row:2}
.studio-page .ref-preview [hidden],#fullReference[hidden]{display:none}
#fullReferenceVideo{display:block;max-height:75vh;width:100%;background:#08090a}
#fullReferenceVideo[hidden],.output-choice [hidden]{display:none}
@media(max-width:650px){.window-track input[type=range]::-webkit-slider-thumb{width:24px;height:42px}.output-choice{flex-direction:column}.output-choice label input{flex:1}.output-choice select,.output-choice input{font-size:16px}.window-labels{font-size:14px}}
:root {
  color-scheme:dark;
  --bg:#111214; --panel:#1c1d20; --raised:#25262a; --line:#303135;
  --ink:#ececee; --text:#ececee; --muted:#a0a1a7; --dim:#85868d;
  --accent:#aaa5f5; --error:#f49b9b;
}
body { background:var(--bg); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
body { --research-notice-height:0px; }
body.auth-page { --research-notice-height:44px; }
.research-notice { display:flex; align-items:center; gap:20px; min-height:var(--research-notice-height); padding:8px 28px; background:#1b1c20; border-bottom:1px solid #35363c; font-size:11px; line-height:1.5; }
.research-notice strong { color:#e4e4eb; font-weight:600; }
.research-notice span { color:#a6a7af; }
.research-notice a { margin-left:auto; color:#c7c3ee; text-decoration:underline; text-underline-offset:3px; }
.research-notice a:hover { color:#fff; }
.auth-page .footer a { color:#c7c3ee; text-decoration:underline; text-underline-offset:3px; }
h1,h2,h3 { color:var(--ink); font-weight:550; }
button,input,textarea,select { font:inherit; }
button,a,summary,input,textarea,select { transition:background-color .15s,border-color .15s,color .15s; }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:2px solid #b9b4f8; outline-offset:3px; }
input,textarea,select,.portal-page input,.portal-page select,.access-page input {
  color:var(--ink); background:#17181b; border:1px solid #393a40; border-radius:7px;
}
input::placeholder,textarea::placeholder { color:#81828a; opacity:1; }
input:focus,textarea:focus { border-color:#a09bcf; }
.primary,.run,.button.solid,.auth-page .primary,.access-page #approve {
  background:#e9e9ed; color:#17181b; border:1px solid #e9e9ed; box-shadow:none;
  border-radius:7px; font-weight:600;
}
.primary:hover,.run:hover,.button.solid:hover,.auth-page .primary:hover { background:#fff; border-color:#fff; color:#111; }
.secondary,.button,.table-button,.return-draft,.cancel-queued,.transport button,.reference-badge {
  background:#25262a; border:1px solid #3a3b40; color:#dedee2; border-radius:7px;
}
.secondary:hover,.button:hover,.return-draft:hover,.transport button:hover { background:#303136; }
.danger,.cancel-queued { color:var(--error); }
button:disabled { opacity:.42; cursor:not-allowed; }
body .site-header,body.studio-page .site-header {
  width:100%; max-width:none; height:64px; min-height:64px; margin:0;
  padding:0 28px; gap:22px; flex-wrap:nowrap; justify-content:flex-start; background:#151619; border-bottom:1px solid #2b2c30;
}
body .wordmark img,body.studio-page .wordmark img { width:184px; min-width:184px; height:auto; filter:invert(1); opacity:.94; }
body .studio-label { font-size:12px; font-weight:400; color:#85868d; border-left:1px solid #393a40; padding-left:21px; }
body .site-nav,body.studio-page .site-nav { margin-left:auto; gap:5px; width:auto; border:0; padding:0; font-size:12px; }
body.access-page .site-nav { margin-left:auto; }
body .site-nav>a,body .account-menu>summary,body.studio-page .site-nav>a,body.studio-page .account-menu>summary {
  display:flex; align-items:center; min-height:34px; padding:8px 13px; border-radius:6px;
  color:#9b9ca4; font-weight:500;
}
body .site-nav>a:hover,body .account-menu>summary:hover { color:#f3f3f5; background:#242529; }
body .site-nav>a[aria-current=page],body .site-nav>a.active { background:#2b2c31; color:#f2f2f5; }
body .account-menu { margin-left:14px; }
body .account-menu>summary { border:1px solid #35363c; }
body .account-menu>div { background:#242529; top:43px; border-color:#404148; border-radius:9px; box-shadow:0 14px 45px #0006; }
body .account-menu a,body .account-menu button { color:#d9d9df; font-size:12px; }
body .account-menu a:hover,body .account-menu button:hover { background:#323339; }
.skip-link { position:fixed; top:-100px; left:20px; z-index:100; background:#eee; color:#111; padding:10px 16px; border-radius:6px; }
.skip-link:focus { top:10px; }
.page-eyebrow { margin:0 0 10px; font-size:11px; letter-spacing:.4px; color:#92939b; font-weight:400; }
.auth-header-note { margin-left:auto; color:#93949c; font-size:11px; }
.auth-header-note:before { content:""; display:inline-block; width:5px; height:5px; background:#a8a4cf; border-radius:50%; margin-right:9px; vertical-align:middle; }
dialog,.portal-page dialog { color:var(--ink); background:#212226; border:1px solid #45464d; border-radius:10px; box-shadow:0 24px 100px #0008; }
dialog::backdrop { background:#0009; backdrop-filter:blur(5px); }
.code,pre,.portal-page .code,.auth-page .code { background:#141518; color:#d3d4dc; border-color:#33343a; border-radius:7px; }
.toast,.portal-page .toast { background:#e8e8ec; color:#1a1b1d; border:1px solid #fff; border-radius:7px; box-shadow:0 8px 36px #0005; font-size:12px; }
.icon-button:hover,.text-button:hover { background:#303137; color:#fff; }
.notice,.portal-page .notice { background:#24232e; border-color:#48435e; }
.connection.offline { background:#302a20; border-color:#554835; color:#d9c8a7; }
.health-alert { background:#312b22; border-color:#a99365; }
.health-alert.critical { background:#342426; border-color:#bb7a7e; }
.health-clear { color:#b0cfba; }
/* Sign-in is a product screen: one form, one interactive example. */
.auth-page { font-size:14px; line-height:1.55; background:#151619; }
.auth-page .layout { display:grid; grid-template-columns:minmax(360px,.68fr) minmax(0,1.32fr); max-width:none; min-height:calc(100dvh - 64px - var(--research-notice-height)); padding:0; margin:0; }
.auth-page .pane { grid-column:1; grid-row:1; display:flex; align-items:center; justify-content:center; padding:52px 48px; }
.auth-page .content { width:100%; max-width:342px; }
.auth-page .badge { display:none; }
.auth-page #title { font-size:28px; font-weight:500; line-height:1.25; letter-spacing:-.8px; margin:0 0 10px; text-wrap:balance; }
.auth-page #intro { font-size:13px; color:#96979f; margin:0 0 32px; }
.auth-page label { display:block; color:#c0c1c8; font-size:12px; font-weight:400; margin:20px 0 8px; }
.auth-page input { display:block; width:100%; height:46px; padding:11px 13px; font-size:13px; background:#1d1e22; box-shadow:inset 0 1px 2px #00000012; }
.auth-page input:hover { border-color:#53545d; }
.auth-page input:focus { border-color:#b7b4d0; box-shadow:0 0 0 3px #b7b4d00c; }
.auth-page input:-webkit-autofill { -webkit-box-shadow:0 0 0 1000px #202126 inset; -webkit-text-fill-color:#ececee; caret-color:#ececee; }
.auth-page .password { position:relative; }
.auth-page .password input { padding-right:58px; }
.auth-page .show { position:absolute; right:5px; top:5px; height:36px; padding:5px 8px; background:none; border:0; color:#a7a8b1; font-size:11px; border-radius:4px; }
.auth-page .show:hover { color:#eee; background:#303137; }
.auth-page .primary { width:100%; height:46px; padding:11px 15px; margin-top:26px; font-size:13px; box-shadow:0 1px 0 #ffffff20 inset,0 2px 4px #00000014; }
.auth-page .primary:active { background:#d8d8de; box-shadow:none; }
.auth-page .error { min-height:20px; margin:10px 0 6px; color:var(--error); font-size:12px; }
.auth-page textarea { display:block; width:100%; min-height:104px; padding:11px 13px; font:inherit; font-size:13px; line-height:1.55; color:inherit; background:#1d1e22; border:1px solid var(--line); border-radius:8px; resize:vertical; }
.auth-page textarea:hover { border-color:#53545d; }
.auth-page textarea:focus { border-color:#b7b4d0; box-shadow:0 0 0 3px #b7b4d00c; outline:0; }
.auth-page .optional { margin-left:6px; color:#7d7f88; font-size:11px; }
.auth-page .entry { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:6px 0 22px; padding:16px 0; border-top:1px solid #2c2d32; border-bottom:1px solid #2c2d32; }
.auth-page .entry p { margin:0; color:#c0c1c8; font-size:13px; }
.auth-page .secondary-action { display:inline-flex; align-items:center; min-height:40px; padding:9px 16px; color:#ececee; font-size:13px; font-weight:500; background:#242529; border:1px solid #45464e; border-radius:8px; }
.auth-page .secondary-action:hover { background:#2e2f35; border-color:#6a6b75; }
.auth-page .links { display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-size:11px; }
.auth-page .links a { color:#adaeb7; }
.auth-page .links a:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.auth-page .hint { font-size:12px; line-height:1.7; }
.auth-page .footer { margin-top:34px; padding-top:24px; border-top:1px solid #2c2d32; font-size:11px; line-height:1.8; color:#85878f; }
.auth-page .recovery { padding:20px; border:1px solid #484351; background:#202026; border-radius:8px; overflow-wrap:anywhere; }
.auth-page .code { display:block; padding:14px; margin:16px 0; font:12px/1.6 ui-monospace,monospace; user-select:all; }
.auth-page .story { display:flex; flex-direction:column; justify-content:center; grid-column:2; grid-row:1; min-width:0; padding:46px clamp(24px,3.2vw,56px); background:#1c1d21; border:0; border-left:1px solid #2c2d33; border-radius:0; }
.auth-page .story:before { content:none; }
.auth-page .story>* { width:100%; max-width:1040px; margin-left:auto; margin-right:auto; }
.auth-example-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.auth-example-heading h2 { font-size:15px; font-weight:500; letter-spacing:-.2px; margin:0; }
.auth-example-heading span { font-size:10px; color:#92939c; }
.auth-example-picker { display:flex; gap:6px; flex-wrap:wrap; margin-top:0; margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid #303137; }
.auth-example-picker button { border:1px solid transparent; border-radius:5px; background:transparent; color:#a3a4ad; padding:8px 15px; min-height:36px; font-size:11px; line-height:1.5; cursor:pointer; }
.auth-example-picker button:hover { color:#f1f1f4; background:#292a30; }
.auth-example-picker button[aria-pressed="true"] { color:#f5f5f7; background:#303137; border-color:#45464e; box-shadow:0 1px 2px #00000020; }
.example-status { position:absolute; z-index:3; inset:0; display:flex; align-items:center; justify-content:center; padding:28px; text-align:center; font-size:12px; color:#b6b7c0; background:#17181b; pointer-events:none; }
.auth-compare { --split:50%; position:relative; width:100%; aspect-ratio:16/10; border:1px solid #ffffff12; border-radius:7px; overflow:hidden; background:#0e0f11; }
.auth-compare img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
.auth-compare.model-frame img { object-fit:contain; background:#0e0f11; }
.auth-compare canvas { position:absolute; inset:0; display:block; width:100%; height:100%; }
.example-decoder { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
.example-decoder video { width:1px; height:1px; }
.example-actions { display:flex; align-items:center; gap:14px; flex-shrink:0; }
.example-actions button { min-width:56px; min-height:36px; border:1px solid #45464e; border-radius:5px; background:#292a30; color:#e7e7ec; padding:5px 10px; font-size:10px; cursor:pointer; }
.example-actions button:hover { background:#35363d; }
.example-actions button:focus-visible { outline:2px solid #b9b4f8; outline-offset:3px; }
.example-actions button:disabled { opacity:.45; cursor:default; }
@media(max-width:600px) { .auth-example-caption { flex-wrap:wrap; gap:10px; } .example-actions { width:100%; justify-content:space-between; } .example-actions button { min-height:44px; min-width:64px; } }
.auth-compare .input-frame { clip-path:inset(0 calc(100% - var(--split)) 0 0); }
.compare-divider { position:absolute; left:var(--split); top:0; bottom:0; width:1px; background:#ffffffe0; pointer-events:none; }
.compare-divider:after { content:"‹ ›"; position:absolute; top:50%; left:0; transform:translate(-50%,-50%); width:34px; height:34px; line-height:32px; text-align:center; letter-spacing:4px; padding-left:4px; border:1px solid #fff8; border-radius:50%; background:#25262ace; color:#fff; font-size:15px; backdrop-filter:blur(6px); }
.auth-compare input { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:ew-resize; z-index:2; }
.auth-compare:focus-within { outline:2px solid #b9b4f8; outline-offset:4px; }
.compare-labels { position:absolute; inset:auto 16px 14px; display:flex; justify-content:space-between; pointer-events:none; }
.compare-labels span { background:#121316c9; color:#fff; border:1px solid #ffffff30; padding:4px 8px; border-radius:4px; font-size:10px; }
.auth-example-caption { display:flex; justify-content:space-between; align-items:start; gap:24px; padding-top:18px; }
.auth-example-caption p { margin:0; font-size:12px; color:#b4b5bd; line-height:1.7; }
.auth-example-caption span { font-size:10px; color:#858791; white-space:nowrap; padding-top:3px; }
.auth-page .story small { color:#91939d; font-size:10px; line-height:1.7; margin-top:28px; padding-top:18px; border-top:1px solid #2d2e34; }
.auth-page .story small a { text-decoration:underline; text-underline-offset:2px; }
/* Recorded demonstration: existing graphite palette, complete result canvas. */
.demo-input-bar { display:flex; flex-direction:column; gap:16px; align-items:stretch; padding:16px; border:1px solid #35363d; border-radius:8px; background:#212227; margin-bottom:14px; }
.demo-thumbnails { display:grid; grid-template-columns:repeat(2,minmax(0,200px)); gap:14px; width:100%; }
.demo-thumbnails:has(#referenceWrap[hidden]) { grid-template-columns:minmax(0,200px); }
.demo-thumbnails figure { margin:0; min-width:0; }
.demo-thumb { display:block; position:relative; width:100%; aspect-ratio:7/4; padding:0; border:1px solid #4b4c55; border-radius:5px; overflow:hidden; background:#101114; cursor:zoom-in; }
.demo-thumb:hover { border-color:#a4a5b0; }
.demo-thumb:focus-visible { outline:2px solid #b9b4f8; outline-offset:3px; }
.demo-thumb img,.demo-thumb canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.demo-thumbnails figcaption { display:flex; justify-content:space-between; gap:8px; margin-top:7px; font-size:10px; color:#c4c5ce; }
.demo-thumbnails figcaption span:last-child { color:#9698a3; font-size:9px; }
.demo-instruction { min-width:0; flex:1; }
.demo-eyebrow { display:block; font-size:9px; color:#9698a2; margin-bottom:5px; text-transform:uppercase; letter-spacing:.8px; }
.demo-prompt { min-height:40px; color:#e2e3e8; font-size:12px; line-height:1.7; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.demo-prompt.expanded { display:block; }
.demo-instruction button { border:0; background:transparent; color:#b2b3bc; padding:6px 0 0; font-size:10px; cursor:pointer; text-align:left; }
.demo-instruction button:hover { color:#fff; }
.demo-stage { aspect-ratio:16/10; }
.demo-stage img { object-fit:contain; }
.demo-stage-label { position:absolute; left:14px; top:14px; padding:4px 8px; color:#ededf0; background:#151619dc; border:1px solid #ffffff26; border-radius:4px; font-size:10px; }
.demo-stage .example-status { inset:auto 12px 12px; padding:9px; background:#1c1d21ed; border-radius:4px; font-size:11px; }
.demo-controls { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:14px; }
.demo-steps { display:flex; gap:8px; flex:1; max-width:220px; }
.demo-steps button { position:relative; display:flex; align-items:center; gap:7px; flex:1; min-width:0; min-height:40px; padding:5px 0; border:0; background:none; color:#777a85; cursor:pointer; font-size:10px; font-variant-numeric:tabular-nums; }
.demo-steps i { position:relative; display:block; overflow:hidden; flex:1; height:2px; background:#404149; border-radius:2px; }
.demo-steps i:after { content:''; position:absolute; inset:0; width:var(--progress,0%); background:#dddde5; }
.demo-steps button[aria-pressed=true] { color:#eeeef3; }
.demo-steps button:hover { color:#fff; }
.demo-transport { display:flex; align-items:center; gap:4px; }
.demo-transport button { background:none; border:0; border-radius:4px; color:#c7c8d1; font-size:12px; min-height:40px; min-width:32px; cursor:pointer; }
.demo-transport #examplePlay { min-width:56px; font-size:11px; }
.demo-transport button:hover { background:#303138; color:#fff; }
.demo-controls button:focus-visible,.demo-instruction button:focus-visible { outline:2px solid #b9b4f8; outline-offset:3px; }
.auth-page .story { padding-top:32px; padding-bottom:32px; }
.auth-page .story small { margin-top:18px; padding-top:16px; }
.preview-open { overflow:hidden; }
.demo-preview { width:min(960px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 40px); padding:0; color:#ededf1; background:#1c1d21; border:1px solid #484951; border-radius:10px; box-shadow:0 24px 100px #0009; }
.demo-preview::backdrop { background:#08090bcc; backdrop-filter:blur(5px); }
.demo-preview-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px 20px; }
.demo-preview-heading h2 { margin:0; font-size:15px; font-weight:500; }
.demo-preview-heading p { margin:5px 0 0; color:#a3a5af; font-size:11px; }
.demo-preview-heading button { flex-shrink:0; min-width:74px; min-height:44px; padding:8px 12px; color:#e2e3e9; border:1px solid #4b4c55; border-radius:5px; background:#28292f; font-size:12px; }
.demo-preview-heading button span { margin-left:9px; font-size:18px; }
.demo-preview-heading button:hover { background:#34353c; }
.demo-preview-media { position:relative; width:100%; aspect-ratio:var(--preview-ratio,7/4); max-height:64dvh; background:#101114; }
.demo-preview-media img,.demo-preview-media canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
@media(min-width:761px) and (max-width:1100px) {
 .demo-input-bar { gap:14px; }
 .demo-thumbnails { gap:12px; }
 .demo-instruction { width:100%; }
}
@media(max-width:760px) {
 .demo-input-bar { gap:16px; padding:14px; }
 .demo-thumbnails { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .demo-instruction { width:100%; }
 .demo-prompt { font-size:12px; }
 .demo-controls { gap:12px; }
 .demo-steps { gap:8px; }
 .demo-transport button,.demo-steps button { min-height:44px; }
 .demo-instruction button { min-height:36px; }
 .auth-example-heading { gap:10px; }
 .demo-preview { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border-radius:8px; }
 .demo-preview-heading { padding:12px 14px; gap:12px; }
 .demo-preview-heading h2 { font-size:14px; }
 .demo-preview-media { max-height:58dvh; }
}

/* Paired recorded media: the input and result remain equal visual peers. */
.flow-kicker { margin:0 0 8px; color:#8b8e99; font-size:10px; letter-spacing:1.2px; text-transform:uppercase; }
.auth-page .auth-example-heading h2 { font-size:22px; font-weight:500; letter-spacing:-.5px; }
.flow-demo { position:relative; }
.flow-pair { display:grid; grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr); align-items:start; }
.flow-side { min-width:0; }
.flow-label { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:30px; margin-bottom:8px; font-size:12px; color:#e0e1e6; }
.flow-label span:last-child { color:#8e919e; font-size:10px; }
.flow-frame { display:block; position:relative; width:100%; aspect-ratio:7/4; padding:0; overflow:hidden; border:1px solid #41434b; border-radius:8px; background:#101114; cursor:zoom-in; box-shadow:0 6px 18px #00000014; }
.flow-frame img,.flow-frame canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.flow-frame:hover { border-color:#858794; }
.flow-frame:disabled { cursor:default; opacity:1; }
.flow-expand { position:absolute; right:8px; bottom:8px; width:24px; height:24px; line-height:23px; color:#dddfe5; border:1px solid #ffffff24; border-radius:5px; background:#17181bd9; font-size:14px; opacity:0; transition:opacity .2s; }
.flow-frame:hover .flow-expand,.flow-frame:focus-visible .flow-expand { opacity:1; }
.flow-frame:disabled .flow-expand { display:none; }
.flow-frame:focus-visible,.flow-reference button:focus-visible { outline:2px solid #c4c6d4; outline-offset:4px; }
.flow-arrow { align-self:start; margin-top:var(--arrow-top,110px); padding:0 8px; }
.flow-arrow svg { display:block; width:100%; overflow:visible; fill:none; stroke:#626570; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.flow-arrow .flow-light { stroke:#e9eaf2; stroke-width:2; stroke-dasharray:5 42; stroke-dashoffset:44; filter:drop-shadow(0 0 3px #c8d2ff70); animation:flow-light 2.8s ease-in-out infinite; animation-play-state:paused; }
.flow-demo[data-playing=true] .flow-light { animation-play-state:running; }
@keyframes flow-light { 0% { stroke-dashoffset:44; opacity:0; } 20% { opacity:.9; } 85% { opacity:.9; } 100% { stroke-dashoffset:-4; opacity:0; } }
.flow-wait { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#828591; font-size:11px; }
.flow-wait-mark { color:#50535e; font-size:30px; font-weight:300; }
.flow-reference { display:flex; align-items:center; gap:10px; margin-top:14px; }
.flow-plus { color:#727581; font-size:18px; }
.flow-reference button { display:flex; gap:10px; align-items:center; width:min(100%,218px); padding:7px; background:#24252b; border:1px solid #3b3d46; border-radius:7px; text-align:left; cursor:zoom-in; }
.flow-reference button:hover { border-color:#858794; }
.flow-reference img { width:82px; height:49px; object-fit:contain; background:#111216; border-radius:3px; }
.flow-reference strong { display:block; color:#d5d7df; font-size:11px; font-weight:500; }
.auth-page .flow-reference small { display:block; width:auto; color:#8f929f; font-size:10px; margin:3px 0 0; padding:0; border:0; }
.flow-reference small span { margin-left:9px; }
.flow-instruction { flex:none; margin-top:24px; padding:16px 18px; border:1px solid #35373f; border-radius:8px; background:#212227; }
.flow-prompt-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
.flow-prompt-heading .demo-eyebrow { margin:0; }
.flow-prompt-heading>span:last-child { color:#9396a2; font-size:10px; }
.flow-instruction .demo-prompt { min-height:41px; }
.flow-status { font-size:11px; color:#b5b7c3; margin:12px 0 0; }
.demo-steps { max-width:280px; }
.demo-steps button { min-height:44px; }
@media(min-width:761px) and (max-width:1000px) { .flow-pair { grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr); } .flow-arrow { padding:0 4px; } .flow-label span:last-child { font-size:9px; } }
@media(max-width:760px) { .flow-expand { opacity:1; } .flow-instruction { margin-top:20px; } }
@media(max-width:520px) {
 .flow-pair { grid-template-columns:1fr; }
 .flow-arrow { justify-self:center; width:44px; height:38px; margin:10px 0 0; padding:0; transform:rotate(90deg); }
 .flow-label { font-size:12px; } .flow-label span:last-child { font-size:10px; }
 .flow-reference { margin-top:10px; }
 .flow-reference button { width:210px; }
 .flow-prompt-heading { align-items:baseline; }
 .flow-prompt-heading>span:last-child { font-size:9px; }
 .flow-instruction { padding:14px; }
 .demo-controls { gap:12px; } .demo-steps { gap:6px; }
 .demo-transport button { min-width:30px; } .demo-transport #examplePlay { min-width:48px; }
}
@media(prefers-reduced-motion:reduce) { .flow-light { animation:none; display:none; } .flow-expand { transition:none; } }

/* Creation workspace: edge-aligned inspector and a generous media canvas. */
body.studio-page { --bg:#111214; --line:#303135; background:var(--bg); }
.studio-page .workspace { display:grid; width:100%; max-width:none; margin:0; padding:0; gap:0; grid-template-columns:320px minmax(0,1fr); height:calc(100dvh - 64px - var(--research-notice-height)); min-height:0; }
.studio-page .connection.offline { margin:0; max-width:none; height:32px; padding:7px 20px; border:0; border-bottom:1px solid #494132; border-radius:0; font-size:10px; }
.studio-page:has(.connection.offline) .workspace { height:calc(100dvh - 96px - var(--research-notice-height)); }
.studio-page .control-column { min-width:0; height:100%; overflow:auto; background:#1b1c20; border-right:1px solid #303136; scrollbar-width:thin; }
.studio-page .composer { display:flex; flex-direction:column; min-height:100%; padding:25px 22px 22px; border:0; border-radius:0; background:transparent; box-shadow:none; }
.studio-page .composer-heading { margin-bottom:25px; gap:10px; }
.studio-page .composer-heading h2 { font-size:15px; font-weight:550; letter-spacing:-.2px; }
.studio-page .draft-label { background:#27282d; color:#a1a2ab; border:1px solid #36373d; border-radius:4px; padding:3px 6px; font-size:9px; letter-spacing:.3px; }
.studio-page .upload-zone { background:#202125; border:1px dashed #4a4b54; border-radius:7px; height:144px; gap:6px; }
.studio-page .upload-zone:hover,.studio-page .upload-zone.dragging { background:#28282f; border-color:#aaa5d5; }
.studio-page .upload-zone svg { color:#bec0cb; width:21px; height:21px; margin-bottom:7px; }
.studio-page .upload-zone strong { font-size:12px; font-weight:500; color:#e1e1e6; }
.studio-page .upload-zone small { color:#a7a8b2; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.studio-page .upload-limits { color:#858792; font-size:9px; margin-top:9px; }
.studio-page .field-label { color:#c9cad2; font-size:11px; margin:25px 0 10px; }
.studio-page textarea { background:#16171a; border-color:#37383f; border-radius:7px; padding:13px; min-height:130px; font-size:12px; line-height:1.75; }
.studio-page .prompt-foot { color:#8b8c96; font-size:9px; margin-top:7px; }
.studio-page .optional-row { margin-top:18px; }
.studio-page .ref-add { min-height:42px; padding:10px 0; background:none; border:0; border-bottom:1px solid #32333a; border-radius:0; color:#babcc6; font-size:11px; }
.studio-page .optional-label { color:#868892; font-size:10px; }
.studio-page .ref-add svg { width:16px; height:16px; color:#9295a2; }
.studio-page .ref-card,.studio-page .file-card { background:#232429; border-color:#3a3b43; border-radius:7px; }
.studio-page .reference-drop.dragging { background:#302d40; outline-color:#b9b4f8; }
.studio-page .clip-settings { margin-top:14px; }
.studio-page .clip-settings { border-color:#34353d; }
.studio-page .clip-settings>summary { min-height:38px; padding:9px 0; color:#a6a8b3; font-size:11px; }
.studio-page .clip-row input,.studio-page .clip-row select { font-size:11px; background:#18191d; }
.studio-page .composer-bottom { padding-top:28px; margin-top:auto; gap:14px; }
.studio-page .composer-bottom .run { min-height:42px; font-size:12px; width:100%; }
.studio-page .composer-bottom .run-sub { font-size:10px; color:#9496a2; }
.studio-page .file-name { font-size:11px; }
.studio-page .file-meta,.studio-page .duration-hint { font-size:10px; color:#92949f; }
.studio-page .canvas-column { padding:22px 28px 16px; min-width:0; min-height:0; overflow:auto; scrollbar-width:thin; }
.studio-page .stage-column { margin:0; min-height:0; }
.studio-page .stage-top { display:flex; margin-bottom:18px; min-height:31px; }
.studio-page .stage-label { font-size:11px; color:#8f919c; }
.studio-page .stage-label svg { width:15px; height:15px; }
.studio-page .view-switch { background:#1d1e22; border:1px solid #2d2e35; border-radius:6px; padding:3px; }
.studio-page .view-switch button { padding:5px 13px; min-height:25px; border-radius:4px; font-size:10px; }
.studio-page .view-switch button[aria-pressed=true] { background:#36373d; color:#eee; box-shadow:none; }
.studio-page .stage { display:flex; justify-content:center; align-items:center; background:#151619; border:1px solid #28292f; border-radius:8px; min-height:0; flex:1; box-shadow:none; }
.studio-page:not([data-mode=empty]) .stage { min-height:270px; }
.studio-page .welcome { width:100%; max-width:740px; margin:0; padding:40px 38px; text-align:left; }
.canvas-mark,.canvas-eyebrow { display:none; }
.canvas-intro h1 { font-size:24px; line-height:1.25; font-weight:500; letter-spacing:-.6px; margin:0 0 10px; color:#e4e5ea; }
.canvas-intro>p:last-child { color:#91939d; font-size:12px; line-height:1.8; margin:0; }
.studio-page .starter-label { font-size:10px; font-weight:400; letter-spacing:0; color:#8a8c96; text-align:left; margin:34px 0 12px; }
.studio-page .example-grid { gap:16px; }
.studio-page .example-card { display:flex; flex-direction:column; align-items:stretch; gap:0; border:1px solid #34353c; border-radius:7px; padding:0; background:#1e1f24; box-shadow:none; overflow:hidden; }
.studio-page .example-card:hover { background:#292a30; border-color:#656671; }
.studio-page .example-thumb { width:100%; height:auto; aspect-ratio:7/4; border-radius:0; background:#101113; }
.studio-page .example-copy { padding:15px 14px; }
.studio-page .example-copy strong { font-size:11px; color:#dddfe7; font-weight:500; }
.studio-page .example-copy span { font-size:10px; color:#9698a4; margin-top:5px; }
.studio-page .example-copy:after { content:"↗"; color:#91939f; right:14px; top:15px; }
.studio-page .example-note { font-size:10px; color:#82848f; text-align:left; margin:18px 0 0; }
.studio-page .workspace-foot { color:#82848e; font-size:10px; margin-top:13px; }
.studio-page .media-view,.studio-page .compare-view { padding:18px; }
.studio-page .media-view { height:100%; min-height:0; display:flex; flex-direction:column; }
.studio-page #compareArea,.studio-page .compare-view { height:100%; min-height:0; }
.studio-page .video-pane { display:flex; flex-direction:column; height:100%; min-height:0; }
.studio-page .video-pane video,.studio-page[data-mode=input] .video-pane video { background:#0a0b0d; border-radius:4px; object-fit:contain; height:100%; min-height:0; max-height:100%; flex:1; aspect-ratio:auto; }
.studio-page .pane-label { font-size:10px; color:#9b9da8; margin-bottom:10px; }
.studio-page .reference-badge { background:#25262c; border-color:#3d3e47; color:#c9cad4; }
.studio-page .transport button { background:#24252a; border-color:#3d3e45; }
.studio-page .state-symbol { color:#beb9f0; border-color:#625c83; }
.studio-page .state-copy strong { font-size:13px; font-weight:500; }
.studio-page .state-row { margin:12px 0; }
.studio-page .result-actions { margin:6px 0; }
.studio-page .state-copy p { font-size:11px; color:#999ba6; }
.studio-page .result-format { color:#92949f; font-size:10px; }
.studio-page .task-queue { background:#1e1f24; border:1px solid #34353d; border-radius:7px; padding:14px; margin-bottom:16px; }
.studio-page .queue-heading { font-size:11px; }
.studio-page .queue-heading a { color:#b6b2da; }
.studio-page .queue-task { background:#28292f; border-radius:5px; font-size:11px; }
.studio-page .queue-task[aria-current=true] { border-color:#7c769d; }
.studio-page .queue-note { font-size:10px; color:#9597a3; }
.studio-page .completion-notice { background:#272530; border-color:#494256; color:#d4d0e3; }
.studio-page .completion-notice>button { color:#cec9ea; }
.studio-page .job-prompt { color:#b5b7c4; font-size:12px; line-height:1.8; }
.studio-page .job-reference { background:#24252b; border-color:#3a3b43; color:#c7c9d5; }
.studio-page .result-form-actions button { min-height:40px; font-size:11px; border-radius:6px; }
.studio-page .result-form-actions .run { background:#303138; color:#eee; border-color:#464750; }
.studio-page .result-form-actions #returnDraft { background:#e9e9ed; border-color:#e9e9ed; color:#17181b; }
.studio-page #taskProgress { accent-color:#aca6e1; }
/* Library and settings share the same surfaces, without colored dashboard tiles. */
.portal-page main { max-width:1360px; padding:40px 40px 60px; }
.portal-page .heading { margin-bottom:30px; }
.portal-page .heading h1 { font-size:27px; font-weight:500; letter-spacing:-.6px; margin:0 0 9px; }
.portal-page .heading p.muted { font-size:12px; color:#90929d; }
.portal-page .heading .primary { min-height:39px; font-size:11px; }
.portal-page .filters { gap:12px; padding-bottom:22px; margin-bottom:26px; border-bottom:1px solid #2c2d33; }
.portal-page .search { font-size:12px; min-height:39px; background:#1d1e23; }
.portal-page #statusFilter { font-size:11px; min-height:39px; background:#1d1e23; }
.portal-page .tabs { background:transparent; border:0; padding:0; gap:4px; }
.portal-page .tabs button { font-size:11px; min-height:36px; padding:8px 13px; }
.portal-page .tabs button.active { background:#303138; color:#ececf1; }
.portal-page .grid { gap:24px; }
.portal-page .card { background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; }
.portal-page .thumb { background:#1e1f23; border:1px solid #3a3b43; border-radius:7px; }
.portal-page .card:hover .thumb { border-color:#70717d; }
.portal-page .thumb .state { background:#14151cce; color:#e6e7ef; border:1px solid #ffffff24; border-radius:4px; font-size:9px; backdrop-filter:blur(6px); }
.portal-page .card-body { padding:14px 1px 8px; }
.portal-page .card h3 { font-size:12px; font-weight:500; color:#dedfe6; }
.portal-page .meta { font-size:10px; color:#898c98; }
.portal-page .card-menu { font-size:10px; margin-top:8px; }
.portal-page .card-menu>summary { color:#c3c4cc; min-height:32px; padding:6px 11px; font-size:12px; border:1px solid #35363c; border-radius:7px; }
.portal-page .card-menu>summary:hover { color:#f3f3f5; background:#242529; }
.portal-page .card-actions button { background:#25262c; color:#b7bac7; border-color:#3c3e48; font-size:10px; min-height:30px; border-radius:5px; }
.portal-page .card-actions button.selected { color:#c8c2f4; border-color:#77708e; }
.portal-page .pagination { font-size:11px; }
.portal-page .pagination button { min-height:36px; font-size:11px; }
.portal-page .empty { border:1px dashed #3c3d45; border-radius:7px; padding:70px 24px; }
.portal-page .empty strong { font-size:20px; font-weight:500; }
.portal-page .empty p { font-size:12px; margin:14px 0 24px; }
.portal-page .stat,.portal-page .panel { background:#1b1c21; border:1px solid #33343c; border-radius:7px; box-shadow:none; }
.portal-page .stats { gap:14px; margin-bottom:24px; }
.portal-page .stat { padding:22px; }
.portal-page .stat strong { font-size:25px; font-weight:450; letter-spacing:-.7px; margin:10px 0 4px; }
.portal-page .stat span { font-size:10px; color:#9b9eab; }
.portal-page .panel { padding:24px; }
.portal-page .panel h2,.portal-page .account-section>summary { font-size:14px; font-weight:500; }
.portal-page .account-section[open]>summary { margin-bottom:22px; }
.portal-page .panel .hint,.portal-page .panel .muted { font-size:12px; line-height:1.8; color:#a0a3af; }
.portal-page .account-section form { max-width:440px; }
.portal-page .panel button { font-size:12px; }
.portal-page .row-list li { font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.portal-page th { background:#222329; font-size:10px; }
.portal-page td { font-size:11px; }
.portal-page .table-wrap { border:1px solid #3a3b43; border-radius:6px; }
.portal-page dialog { padding:27px; max-width:min(480px,calc(100% - 32px)); }
.portal-page dialog h2 { font-size:20px; }
.portal-page dialog p { font-size:12px; }
.portal-page dialog button { font-size:12px; min-height:38px; }
/* Developer documentation remains readable and compact. */
.access-page main { max-width:940px; padding:46px 36px 70px; }
.access-page .eyebrow { font-size:10px; font-weight:400; color:#9a9ca8; letter-spacing:.4px; text-transform:none; }
.access-page h1 { font-size:29px; font-weight:500; letter-spacing:-.7px; margin:14px 0; }
.access-page .intro { font-size:13px; line-height:1.8; color:#b2b4c0; }
.access-page .caption { font-size:11px; line-height:1.8; color:#9396a4; }
.access-page a:not(.wordmark):not(.site-nav a) { color:#c0bce5; }
.docs-jump { display:flex; gap:24px; flex-wrap:wrap; padding:21px 0; border-bottom:1px solid #34353d; margin-bottom:28px; }
.access-page .docs-jump a { font-size:11px; color:#a6a8b5; padding:5px 0; }
.access-page .docs-jump a:hover { color:#fff; }
.access-page .step { border:0; border-bottom:1px solid #30313a; border-radius:0; background:none; padding:5px 0 24px; margin:22px 0; }
.access-page .step-title { font-size:16px; font-weight:500; gap:12px; }
.access-page .step-title span { background:#303139; color:#c7c9d7; border-radius:5px; font-size:10px; }
.access-page .step p,.access-page .doc-section p { font-size:12px; line-height:1.8; }
.access-page pre { background:#1b1c22; color:#d3d5e2; border:1px solid #343640; border-radius:6px; font-size:11px; line-height:1.8; }
.access-page .copy { background:#32343f!important; color:#e0e1eb!important; border-color:#4e505d!important; border-radius:4px; font-size:10px; }
.access-page .sample-option { background:#22242b!important; color:#b4b6c6!important; border-color:#3c3f4b!important; border-radius:5px; font-size:11px; }
.access-page .sample-option[aria-pressed=true] { background:#35323f!important; border-color:#766d8e!important; color:#e7e1f4!important; }
.access-page .sample-card { background:#1c1d23; border-color:#373943; border-radius:6px; }
.access-page .note { background:#1e2026; border-color:#3c3f4b; }
.access-page .doc-section { border-color:#33353e; padding-top:21px; margin-top:24px; }
.access-page .doc-section>summary { font-size:15px; }
.access-page th,.access-page td { font-size:11px; border-color:#33353f; }
.access-page .table-scroll { overflow:auto; }
.access-page #connect { max-width:520px; padding:30px; margin:30px auto; border:1px solid #3b3d47; background:#1d1e24; border-radius:8px; }
.access-page #connect h1 { font-size:25px; }
.access-page #connect p { font-size:12px; line-height:1.8; }
.access-page #connect label { font-size:12px; }
.access-page #code { width:100%; max-width:none; font:20px ui-monospace,monospace; letter-spacing:3px; min-height:46px; }
.access-page #approve { width:100%; margin-top:16px; font-size:12px; min-height:42px; }
@media(min-width:1500px) { .studio-page .workspace { grid-template-columns:350px minmax(0,1fr); } .studio-page .composer { padding:28px; } .studio-page .welcome { max-width:830px; } }
@media(max-width:1050px) {
 body .site-header,body.studio-page .site-header { padding:0 20px; gap:16px; }
 .auth-page .layout { grid-template-columns:minmax(310px,.68fr) minmax(0,1.32fr); }
 .auth-page .pane { padding:40px 32px; } .auth-page .story { padding:36px 28px; }
 .auth-example-caption { display:block; } .auth-example-caption span { display:block; margin-top:8px; }
 .studio-page .workspace { grid-template-columns:288px minmax(0,1fr); }
 .studio-page .composer { padding:22px 18px; } .studio-page .canvas-column { padding:20px; }
 .studio-page .welcome { padding:28px 22px; } .studio-page .example-grid { gap:12px; }
 .studio-page .example-copy { padding:12px; } .studio-page .example-copy:after { display:none; }
}
@media(max-width:760px) {
 body.auth-page { --research-notice-height:100px; }
 .research-notice { align-items:flex-start; flex-direction:column; gap:2px; padding:10px 22px 4px; }
 .research-notice a { display:flex; align-items:center; min-height:38px; margin-left:0; }
 body .studio-label { display:none; }
 body .site-header,body.studio-page .site-header { padding:16px 20px 10px; height:auto; min-height:98px; flex-wrap:wrap; gap:14px; }
 body .wordmark img,body.studio-page .wordmark img { width:173px; min-width:173px; }
 body .site-nav,body.studio-page .site-nav { width:100%; margin:0; gap:4px; justify-content:space-between; flex-wrap:wrap; }
 body .site-nav>a,body.studio-page .site-nav>a,body .account-menu>summary,body.studio-page .account-menu>summary { font-size:11px; padding:9px 11px; min-height:38px; }
 body .account-menu { margin-left:auto; }
 body.auth-page .site-header { flex-wrap:nowrap; min-height:64px; height:64px; padding:0 23px; }
 .auth-page .layout { display:flex; flex-direction:column; min-height:calc(100dvh - 64px - var(--research-notice-height)); }
 .auth-page .pane { padding:46px 28px; min-height:calc(100dvh - 64px - var(--research-notice-height)); }
 .auth-page .content { max-width:370px; }
 .auth-page .story { border:0; border-top:1px solid #303138; padding:32px 28px; }
 .auth-page input { font-size:16px; }
 .auth-example-heading h2 { font-size:14px; }
 .auth-example-picker button { min-height:44px; padding:10px 14px; }
 .auth-example-caption { display:flex; } .auth-example-caption span { margin:0; font-size:9px; }
 .auth-page .story small { margin-top:24px; }
 .studio-page .workspace,.studio-page:has(.connection.offline) .workspace { display:flex; flex-direction:column; height:auto; min-height:0; margin:0; width:100%; padding:0; gap:0; }
 .studio-page .connection.offline { height:auto; min-height:32px; }
 .studio-page .control-column { height:auto; overflow:visible; border:0; border-bottom:1px solid #34353d; }
 .studio-page .composer { min-height:0; padding:25px 22px; border-radius:0; }
 .studio-page .composer-heading { margin-bottom:23px; }
 .studio-page textarea { min-height:116px; font-size:16px; }
 .studio-page .upload-zone { height:133px; }
 .studio-page .upload-limits { font-size:10px; }
 .studio-page .ref-add { min-height:44px; font-size:12px; }
 .studio-page .clip-settings>summary { min-height:44px; font-size:12px; }
 .studio-page .clip-row input,.studio-page .clip-row select { font-size:16px; }
 .studio-page .composer-bottom .run { min-height:46px; font-size:13px; }
 .studio-page .canvas-column { padding:21px 18px; overflow:visible; }
 .studio-page .stage-top { display:flex!important; }
 .studio-page .stage { min-height:0; flex:none; }
 .studio-page:not([data-mode=empty]) .stage { min-height:0; }
 .studio-page .welcome { padding:29px 20px; }
 .canvas-intro h1 { font-size:23px; }
 .studio-page .starter-label { margin-top:26px; }
 .studio-page .example-copy strong { font-size:11px; }
 .studio-page .example-copy span { font-size:9px; }
 .studio-page .media-view,.studio-page .compare-view { padding:12px; }
 .studio-page .media-view,.studio-page #compareArea,.studio-page .compare-view,.studio-page .video-pane { height:auto; }
 .studio-page .video-pane video,.studio-page[data-mode=input] .video-pane video { height:auto; max-height:none; aspect-ratio:7/4; flex:none; }
 .studio-page .workspace-foot { font-size:9px; }
 .portal-page main { padding:28px 20px 48px; }
 .portal-page .heading h1 { font-size:25px; }
 .portal-page .heading .primary { font-size:10px; padding:9px 11px; white-space:nowrap; }
 .portal-page .heading { align-items:flex-start; }
 .portal-page .search { flex-basis:100%; font-size:16px; }
 .portal-page .tabs button { padding:8px 10px; font-size:10px; }
 .portal-page #statusFilter { font-size:11px; }
 .portal-page .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 .portal-page .card h3 { font-size:11px; } .portal-page .meta { font-size:9px; }
 .portal-page .stats { grid-template-columns:1fr; gap:10px; }
 .portal-page .stat { display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px; padding:18px; }
 .portal-page .stat strong { grid-column:2; grid-row:1/3; margin:0; font-size:23px; }
 .portal-page .panels { grid-template-columns:1fr; }
 .portal-page .panel { padding:21px; }
 .portal-page .panel input { font-size:16px; }
 .access-page main { padding:30px 22px 56px; }
 .access-page h1 { font-size:26px; }
 .access-page .docs-jump { gap:20px; }
 .access-page .docs-jump a { min-height:36px; }
 .access-page .step-title { font-size:15px; }
 .access-page #connect { padding:24px; margin:10px 0; }
}
@media(max-width:370px) { body .wordmark img,body.studio-page .wordmark img { width:158px; min-width:158px; } .auth-header-note { font-size:10px; } .portal-page .grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
/* Readable authentication and stable showcase geometry. */
.auth-page .research-notice { font-size:13px; }
.auth-page .studio-label { font-size:13px; color:#a9abb4; }
.auth-page #title { font-size:32px; }
.auth-page #intro { font-size:15px; color:#b0b2bb; }
.auth-page label { font-size:14px; color:#d1d3dc; }
.auth-page input { height:50px; font-size:16px; }
.auth-page .show { right:3px; top:3px; height:44px; min-width:48px; font-size:13px; }
.auth-page .primary { height:50px; font-size:16px; }
.auth-page .links { font-size:14px; }
.auth-page .links a { min-height:32px; display:inline-flex; align-items:center; color:#c1c3cd; }
.auth-page .hint,.auth-page .error { font-size:14px; }
.auth-page .code { font-size:14px; }
.auth-page .auth-example-heading { height:76px; flex-shrink:0; align-items:flex-start; }
.auth-page .auth-example-heading h2 { font-size:28px; line-height:1.2; }
.auth-page .auth-example-heading>span { font-size:12px; color:#afb2bd; white-space:nowrap; padding-top:28px; }
.flow-kicker { font-size:12px; color:#a0a3af; }
.flow-demo { padding-bottom:26px; }
.flow-pair { grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr); }
.flow-side { position:relative; }
.flow-label { height:32px; min-height:32px; font-size:16px; font-weight:500; }
.flow-label span:first-child { flex-shrink:0; }
.flow-label span:last-child { font-size:12px; font-weight:400; color:#a6a9b6; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.flow-arrow { padding:0 8px; }
.flow-arrow svg { width:48px; height:28px; stroke:#b5b8c5; stroke-width:2.4; }
.flow-arrow .flow-light { stroke:#fff; stroke-width:3.2; stroke-dasharray:9 42; filter:drop-shadow(0 0 4px #e3e8ff88); }
.flow-reference { position:absolute; z-index:2; left:12px; bottom:-20px; margin:0; gap:0; }
.flow-plus { display:none; }
.flow-reference button { width:214px; gap:10px; padding:7px; background:#25262e; border-color:#666977; box-shadow:0 5px 16px #0006; }
.flow-reference img { width:92px; height:54px; }
.flow-reference strong { font-size:13px; }
.auth-page .flow-reference small { font-size:12px; color:#b0b3c1; }
.flow-wait { font-size:14px; color:#aaaebb; }
.flow-wait-mark { font-size:36px; color:#888d9d; }
.flow-instruction { display:flex; flex-direction:column; justify-content:center; height:160px; margin-top:18px; padding:20px 22px; }
.flow-prompt-heading { margin-bottom:14px; }
.flow-prompt-heading .demo-eyebrow { font-size:12px; color:#b3b6c4; }
.flow-prompt-heading>span:last-child { font-size:12px; color:#aeb1bf; }
.flow-instruction .demo-prompt { display:block; height:74px; min-height:74px; font-size:26px; font-weight:500; line-height:1.4; color:#f1f2f7; letter-spacing:-.3px; }
.demo-steps button { font-size:13px; color:#a5a8b4; }
.demo-transport button { min-width:44px; min-height:44px; font-size:18px; }
.demo-transport #examplePlay { min-width:68px; font-size:14px; }
.auth-page .story>small { min-height:76px; font-size:12px; line-height:1.65; color:#a7aab6; }
.demo-preview-heading h2 { font-size:18px; }
.demo-preview-heading p { font-size:13px; }
.demo-preview-heading button { font-size:14px; }
@media(min-width:761px) and (max-width:1050px) {
 .flow-pair { grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr); }
 .flow-arrow { padding:0 4px; } .flow-arrow svg { width:40px; }
 .flow-label { font-size:14px; } .flow-label span:last-child { display:none; }
 .flow-instruction .demo-prompt { font-size:23px; line-height:1.5; }
}
@media(max-width:760px) {
 .auth-page { --research-notice-height:108px; }
 .auth-page .research-notice { gap:3px; }
 .auth-page .links a { min-height:44px; }
 .flow-instruction { height:160px; padding:18px; }
 .flow-instruction .demo-prompt { font-size:23px; height:74px; min-height:74px; }
 .auth-page .story>small { min-height:132px; }
}
@media(min-width:761px) and (max-width:900px) {
 .auth-page .layout { display:flex; flex-direction:column; }
 .auth-page .pane { padding:40px 28px; }
 .auth-page .content { max-width:370px; }
 .auth-page .story { border-left:0; border-top:1px solid #303138; }
}
@media(max-width:520px) {
 .auth-page .auth-example-heading { height:104px; }
 .auth-page .auth-example-heading h2 { font-size:24px; }
 .auth-page .auth-example-heading>span { font-size:12px; }
 .flow-pair { grid-template-columns:1fr; }
 .flow-arrow { width:64px; height:28px; margin:30px 0 24px; padding:0 8px; }
 .flow-label { font-size:16px; } .flow-label span:last-child { font-size:12px; }
 .flow-reference { margin:0; left:10px; }
 .flow-reference button { width:208px; }
 .flow-instruction { height:186px; }
 .flow-instruction .demo-prompt { font-size:22px; height:94px; min-height:94px; }
 .flow-prompt-heading>span:last-child { font-size:12px; }
 .demo-controls { flex-wrap:wrap; gap:4px; }
 .demo-steps { flex-basis:100%; max-width:none; gap:12px; }
 .demo-transport { margin-left:auto; }
 .demo-transport button { min-width:44px; }
 .demo-transport #examplePlay { min-width:68px; }
 .demo-preview-heading h2 { font-size:17px; }
}
/* One header on every page: account name inside the menu, two rows on phones. */
body .account-menu .account-name { margin:0; padding:9px 12px 10px; color:#9092a0; font-size:11px; line-height:1.5; border-bottom:1px solid #35363c; overflow-wrap:anywhere; }
body .account-menu .account-name strong { display:block; color:#e4e4eb; font-weight:500; font-size:12px; }
@media(max-width:760px) {
 body.auth-page .site-header { flex-wrap:wrap; height:auto; min-height:98px; padding:16px 20px 10px; }
 body .site-nav,body.studio-page .site-nav,body.auth-page .site-nav { width:100%; margin:0; gap:2px; justify-content:flex-start; flex-wrap:nowrap; }
 body .site-nav>a { padding:8px 10px; white-space:nowrap; }
 body .site-nav .account-menu { margin-left:auto; }
 body.auth-page { --research-notice-height:72px; }
}

/* Sign-up: terms agreement and the emailed code */
.auth-page label.agree { display:flex; align-items:flex-start; gap:10px; margin:20px 0 4px; font-size:13px; line-height:1.6; color:#c0c1c8; cursor:pointer; }
.auth-page label.agree[hidden] { display:none; }
.auth-page label.agree input { flex:none; display:block; width:18px; height:18px; margin:2px 0 0; padding:0; box-shadow:none; accent-color:#c7c3ee; }
.agree a { color:#c7c3ee; text-decoration:underline; text-underline-offset:3px; }
