:root{--bg:#fff;--bg-soft:#f5f7fa;--workspace-ground:#f4f5f7;--panel:#fff;--panel-2:#f1f4f8;--panel-3:#e6eaf1;--border:#e4e7ec;--border-strong:#d2d7df;--ink:#14161c;--text:#21242b;--text-2:#464c56;--muted:#667085;--faint:#8b909c;--accent:#2563eb;--accent-ink:#1d4ed8;--accent-soft:#eaf1ff;--ok:#15803d;--ok-bright:#22c55e;--err:#dc2626;--err-soft:#fdecec;--radius:14px;--radius-lg:16px;--shadow-sm:0 1px 2px rgba(16,20,32,.05);--shadow:0 1px 2px rgba(16,20,32,.05),0 4px 10px rgba(16,20,32,.05);--shadow-card:0 1px 3px rgba(16,20,32,.07);--shadow-pop:0 6px 22px rgba(16,20,32,.13);--z-sticky:30;--z-dropdown:40;--z-backdrop:80;--z-modal:81;--z-toast:90;--z-tooltip:100}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button{font-family:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.appbar{position:-webkit-sticky;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:14px 72px 14px 22px;background:hsla(0,0%,100%,.86);-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid transparent}.global-settings{position:fixed;top:12px;right:16px;z-index:var(--z-dropdown)}.global-settings-trigger{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:hsla(0,0%,100%,.94);box-shadow:var(--shadow-sm);cursor:pointer;-webkit-backdrop-filter:saturate(160%) blur(8px);backdrop-filter:saturate(160%) blur(8px);transition:color .15s,border-color .15s,background .15s}.global-settings-trigger.active,.global-settings-trigger:hover{color:var(--accent-ink);border-color:rgba(37,99,235,.32);background:var(--accent-soft)}body:has(.project-ws) .global-settings-trigger{border-radius:9px;box-shadow:none}.global-settings-popover button:focus-visible,.global-settings-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.global-settings-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(312px,calc(100vw - 24px));padding:10px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow-pop);animation:settings-in .14s ease-out}@keyframes settings-in{0%{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.global-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:3px 3px 9px 5px}.global-settings-head>div{display:grid;grid-gap:2px;gap:2px}.global-settings-head strong{color:var(--ink);font-size:14px}.global-settings-head span{color:var(--muted);font-size:12px}.global-settings-head>button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.global-settings-head>button:hover{color:var(--text);background:var(--panel-2)}.global-settings-copy{display:flex;align-items:center;gap:8px;margin:0 2px 8px;padding:9px 10px;border-radius:10px;color:var(--text-2);background:var(--panel-2);font-size:12px;line-height:1.4}.global-settings-copy svg{flex:0 0 auto;color:var(--accent-ink)}.global-settings-options{display:grid;grid-gap:6px;gap:6px}.global-settings-options>button{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:7px 10px;border:1px solid transparent;border-radius:10px;color:var(--text);background:transparent;cursor:pointer}.global-settings-options>button:hover{background:var(--panel-2)}.global-settings-options>button.selected{color:var(--accent-ink);border-color:rgba(37,99,235,.22);background:var(--accent-soft)}.global-settings-options>button>span{display:flex;align-items:center;gap:10px}.global-settings-options b{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:#fff;font-size:11px}.global-settings-options span span{font-size:13px;font-weight:620}@media (max-width:640px){.appbar{padding-right:58px}.global-settings{right:10px}}.appbar.scrolled{border-bottom-color:var(--border)}.brand-lockup,.product-lockup{display:inline-flex;align-items:center;gap:9px;min-width:0}.product-lockup{padding:2px 4px 2px 2px;border-radius:11px;color:var(--text);text-decoration:none;border:1px solid transparent;transition:background .16s ease,border-color .16s ease}.product-lockup:hover{border-color:rgba(210,215,223,.68);background:var(--panel-2)}.brand-mark-shell{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;overflow:hidden;border:1px solid rgba(210,215,223,.82);border-radius:10px;background:linear-gradient(145deg,#fff 8%,#f2f5f9);box-shadow:0 1px 2px rgba(20,22,28,.06),inset 0 1px 0 hsla(0,0%,100%,.92)}.brand-mark{display:block;width:31px;height:31px;object-fit:contain;transition:transform .2s cubic-bezier(.22,1,.36,1)}.product-lockup:hover .brand-mark{transform:scale(1.045)}.product-name{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:14.5px;font-weight:690;letter-spacing:-.018em;white-space:nowrap}.product-caret{flex:0 0 auto;color:var(--faint);transition:color .16s ease,transform .16s ease}.product-lockup:hover .product-caret{color:var(--text-2);transform:translateY(1px)}.brand-lockup-divider{width:1px;height:24px;flex:0 0 auto;background:linear-gradient(to bottom,transparent,var(--border-strong) 22%,var(--border-strong) 78%,transparent)}.powered-by-link{display:grid;grid-gap:2px;gap:2px;min-width:0;padding:4px 6px;border-radius:8px;text-decoration:none;transition:background .16s ease}.powered-by-link:hover{background:var(--panel-2)}.powered-by-label{color:var(--faint);font-size:9px;font-weight:650;letter-spacing:.075em;line-height:1;text-transform:uppercase;white-space:nowrap}.powered-by-name{display:inline-flex;align-items:center;gap:3px;color:var(--text-2);font-size:11.5px;font-weight:680;letter-spacing:-.01em;line-height:1;white-space:nowrap;transition:color .16s ease}.powered-by-name svg{color:var(--accent);transition:transform .16s ease}.powered-by-link:hover .powered-by-name{color:var(--ink)}.powered-by-link:hover .powered-by-name svg{transform:translate(1px,-1px)}.powered-by-link:focus-visible,.product-lockup:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width:420px){.brand-lockup{gap:5px}.product-lockup{gap:6px}.brand-mark-shell{width:32px;height:32px}.brand-mark{width:29px;height:29px}.product-name{font-size:13.5px}.brand-lockup-divider{display:none}.powered-by-link{padding:5px 4px}}.launch{max-width:1120px;margin:0 auto;padding:72px 24px 96px}.launch-hero{max-width:780px;margin:0 auto}@media (max-width:640px){.launch{padding:42px 16px 64px}}.plan-pill{display:flex;justify-content:center;gap:10px;align-items:center;font-size:13px;color:var(--text-2);margin-bottom:26px}.plan-pill .divider{width:1px;height:12px;background:var(--border-strong)}.plan-pill a{color:var(--accent);text-decoration:none;font-weight:600}.launch h1{text-align:center;font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-.02em;margin:0 0 30px}.scenario-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:8px;gap:8px;margin:-8px 0 14px}.scenario-quick-card{position:relative;display:flex;min-width:0;min-height:66px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:7px;padding:10px 11px;border:1px solid var(--border);border-radius:13px;color:var(--text-2);background:color-mix(in srgb,var(--panel-2) 52%,#fff);font-size:12px;font-weight:620;line-height:1.25;text-align:left;cursor:pointer;transition:color .15s,border-color .15s,background .15s,transform .15s,box-shadow .15s}.scenario-quick-card:hover{transform:translateY(-1px);border-color:var(--border-strong);color:var(--text);background:#fff;box-shadow:var(--shadow-sm)}.scenario-quick-card.selected{border-color:color-mix(in srgb,var(--accent) 48%,var(--border));color:var(--accent-ink);background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 14%,transparent)}.scenario-quick-icon{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:#fff}.scenario-quick-card.selected .scenario-quick-icon{border-color:color-mix(in srgb,var(--accent) 20%,transparent);color:var(--accent)}.scenario-quick-check{position:absolute;top:9px;right:9px}.scenario-quick-all small{position:absolute;top:10px;right:10px;color:var(--muted);font-size:10px;font-weight:650}.scenario-dialog-backdrop{position:fixed;z-index:var(--z-backdrop);inset:0;display:grid;place-items:center;padding:28px;background:rgba(17,24,39,.42);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:scenario-backdrop-in .16s ease-out}.scenario-dialog{z-index:var(--z-modal);display:flex;width:min(1040px,100%);height:min(790px,calc(100vh - 56px));min-height:520px;flex-direction:column;overflow:hidden;border:1px solid hsla(0,0%,100%,.6);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.24);animation:scenario-dialog-in .18s ease-out}@keyframes scenario-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes scenario-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}.scenario-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 17px}.scenario-dialog-kicker{display:block;margin-bottom:5px;color:var(--accent-ink);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.scenario-dialog-head h2{margin:0;color:var(--ink);font-size:25px;line-height:1.2;letter-spacing:-.02em}.scenario-dialog-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.scenario-dialog-head>button{display:grid;width:34px;height:34px;place-items:center;padding:0;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:#fff;cursor:pointer}.scenario-dialog-head>button:hover{color:var(--text);background:var(--panel-2)}.scenario-search{display:flex;align-items:center;gap:9px;margin:0 26px 18px;padding:0 12px;border:1px solid var(--border);border-radius:11px;color:var(--muted);background:var(--bg-soft)}.scenario-search:focus-within{border-color:color-mix(in srgb,var(--accent) 46%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent)}.scenario-search input{width:100%;height:42px;padding:0;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:13.5px}.scenario-search>button{display:grid;width:25px;height:25px;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.scenario-dialog-body{display:grid;min-height:0;flex:1 1;grid-template-columns:188px minmax(0,1fr);border-top:1px solid var(--border)}.scenario-groups{display:flex;flex-direction:column;gap:4px;padding:18px 12px 22px;border-right:1px solid var(--border);background:var(--bg-soft)}.scenario-groups button{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:0;border-radius:9px;color:var(--text-2);background:transparent;font-size:12.5px;text-align:left;cursor:pointer}.scenario-groups button>span{display:inline-flex;min-width:0;align-items:center;gap:7px}.scenario-groups button small{color:var(--muted);font-size:10.5px}.scenario-groups button:hover{color:var(--text);background:#fff}.scenario-groups button.selected{color:var(--accent-ink);background:var(--accent-soft);font-weight:650}.scenario-results{min-height:0;padding:18px 20px 26px;overflow-y:auto;overscroll-behavior:contain}.scenario-results-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 13px}.scenario-results-summary strong{color:var(--ink);font-size:14px}.scenario-results-summary span{color:var(--muted);font-size:11.5px}.scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.scenario-card{position:relative;display:grid;min-width:0;min-height:142px;grid-template-columns:39px minmax(0,1fr);grid-gap:12px;gap:12px;padding:15px;border:1px solid var(--border);border-radius:14px;color:var(--text);background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.scenario-card:hover{transform:translateY(-1px);border-color:var(--border-strong);box-shadow:var(--shadow-card)}.scenario-card.selected{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:color-mix(in srgb,var(--accent-soft) 52%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 12%,transparent)}.scenario-card-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:11px;color:var(--accent-ink);background:var(--accent-soft)}.scenario-card-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start}.scenario-card-meta{color:var(--muted);font-size:10.5px;font-weight:620}.scenario-card-copy strong{margin-top:3px;color:var(--ink);font-size:14px;line-height:1.35}.scenario-card-desc{display:-webkit-box;margin-top:5px;overflow:hidden;color:var(--text-2);font-size:11.5px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.scenario-card-output{margin-top:auto;padding-top:8px;color:var(--accent-ink);font-size:10.5px;font-weight:620}.scenario-card-selected{position:absolute;top:11px;right:11px;display:grid;width:22px;height:22px;place-items:center;border-radius:999px;color:#fff;background:var(--accent)}.scenario-empty{display:flex;min-height:250px;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--muted);text-align:center}.scenario-empty strong{color:var(--text);font-size:14px}.scenario-empty span{font-size:12px}@media (max-width:640px){.launch h1{font-size:30px}}.composer{position:relative;isolation:isolate;border:1px solid var(--border);background:var(--panel);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:14px 16px 10px;transition:border-color .15s,box-shadow .15s}.composer.focus{border-color:var(--border-strong);box-shadow:var(--shadow),0 0 0 4px rgba(37,99,235,.06)}.composer.context-drop-active{border-color:var(--accent);box-shadow:var(--shadow),0 0 0 4px rgba(37,99,235,.1)}.context-drop-overlay{position:absolute;inset:5px;z-index:12;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:1.5px dashed color-mix(in srgb,var(--accent) 72%,#fff);border-radius:calc(var(--radius-lg) - 5px);color:var(--accent-ink);background:color-mix(in srgb,var(--accent-soft) 82%,hsla(0,0%,100%,.9));backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);text-align:center;pointer-events:none}.context-drop-overlay strong{font-size:13px;font-weight:700}.context-drop-overlay span{color:var(--text-2);font-size:10.5px}.composer.context-drop-active .scenario-context-slot.drop-target{z-index:13;border-style:solid;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.14),var(--shadow-sm)}.composer textarea{width:100%;border:none;outline:none;resize:none;background:transparent;color:var(--text);font-size:16px;line-height:1.5;font-family:inherit;min-height:26px;max-height:260px;padding:2px 4px}.composer textarea::placeholder{color:var(--muted)}.composer-bar{display:flex;align-items:center;gap:8px;margin-top:8px}.composer-bar .spacer{flex:1 1}.cbtn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--text-2);font-size:13.5px;font-weight:550;cursor:pointer;white-space:nowrap}.cbtn:hover{background:var(--panel-2)}.cbtn.icononly{padding:0;width:34px;justify-content:center}.cbtn.active{color:var(--accent);border-color:rgba(37,99,235,.35);background:var(--accent-soft)}.cbtn .caret{color:var(--muted);font-size:10px}.cbtn:disabled{opacity:.5;cursor:not-allowed}.send-btn{width:36px;height:36px;border-radius:999px;border:none;background:var(--text);color:#fff;display:grid;place-items:center;cursor:pointer;transition:opacity .15s,transform .05s}.send-btn:hover{opacity:.85}.send-btn:active{transform:scale(.94)}.send-btn:disabled{background:var(--panel-3);color:var(--muted);cursor:not-allowed}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 6px;border-radius:8px;background:var(--panel-2);border:1px solid var(--border);font-size:12.5px;color:var(--text-2)}.chip img{width:20px;height:20px;border-radius:4px;object-fit:cover}.chip button{border:none;background:transparent;color:var(--muted);cursor:pointer;font-size:14px;line-height:1;padding:0 2px}.context-items{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:9px}.context-item{display:inline-flex;min-width:0;max-width:240px;align-items:center;border:1px solid var(--border);border-radius:10px;background:var(--panel-2);overflow:hidden}.context-item>:is(a,.context-item-open){display:flex;min-width:0;flex:1 1;align-items:center;gap:7px;padding:5px 7px;border:0;color:var(--text-2);background:transparent;font:inherit;text-align:left;text-decoration:none;cursor:pointer}.context-item img,.context-item-file{width:24px;height:24px;flex:0 0 auto;border-radius:5px;background:#fff}.context-item img{object-fit:cover}.context-item-file{display:grid;place-items:center;color:var(--accent);border:1px solid var(--border)}.context-item-name{overflow:hidden;font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.context-item-kind{display:grid;place-items:center;color:var(--muted)}.context-item-remove{width:26px;height:34px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-left:1px solid var(--border);color:var(--muted);background:transparent;cursor:pointer}.context-item-remove:hover{color:var(--text);background:var(--panel-3)}.context-item-open:hover,.context-item>a:hover{background:hsla(0,0%,100%,.68)}.context-item-open:focus-visible,.context-item-remove:focus-visible{position:relative;z-index:1;outline:2px solid var(--accent);outline-offset:-2px}.context-items.compact{gap:5px;margin-top:8px;margin-bottom:0}.context-items.compact .context-item{max-width:190px;background:#fff}.context-items.compact .context-item>:is(a,.context-item-open){padding:4px 6px}.context-items.compact .context-item img,.context-items.compact .context-item-file{width:21px;height:21px}.chatcol-composer .context-items.compact{margin:-2px 0 8px}.context-items.scrollable{width:100%;max-height:126px;align-content:flex-start;padding:2px 4px 2px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.chatcol-composer .context-items.scrollable{max-height:104px}.context-upload-error{margin:0 3px 7px;color:var(--err);font-size:11.5px;line-height:1.35}.design-file-references{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 7px}.design-file-references.compact{gap:5px}.msg.user>.design-file-references{justify-content:flex-end}.design-file-reference{display:inline-flex;min-width:0;max-width:280px;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));border-radius:9px;background:color-mix(in srgb,var(--accent-soft) 52%,#fff)}.design-file-reference-open{display:flex;min-width:0;flex:1 1;align-items:center;gap:7px;padding:5px 7px;border:0;color:var(--text-2);background:transparent;font:inherit;text-align:left;cursor:pointer}.design-file-reference-open:disabled{opacity:1;cursor:default}.design-file-reference-icon{display:grid;width:24px;height:24px;flex:0 0 auto;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 16%,var(--border));border-radius:7px;color:var(--accent-ink);background:#fff}.design-file-reference-copy{display:flex;min-width:0;flex:1 1;flex-direction:column}.design-file-reference-copy small,.design-file-reference-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-file-reference-copy strong{color:var(--accent-ink);font-size:11px;font-weight:650}.design-file-reference-copy small{color:var(--muted);font-size:9.5px}.design-file-reference-remove{display:grid;width:26px;flex:0 0 auto;place-items:center;padding:0;border:0;border-left:1px solid color-mix(in srgb,var(--accent) 18%,var(--border));color:var(--muted);background:transparent;cursor:pointer}.design-file-reference-remove:hover{color:var(--text);background:hsla(0,0%,100%,.7)}.agent-tool-details>.design-file-references{padding:7px;margin:0}.scenario-composer-context{margin:0 0 10px;padding:9px 10px 10px;border:1px solid color-mix(in srgb,var(--accent) 14%,var(--border));border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 35%,#fff)}.scenario-context-output{display:flex;align-items:baseline;gap:7px;margin:0 1px 8px}.scenario-context-label,.scenario-context-output span{color:var(--muted);font-size:10.5px;font-weight:650}.scenario-context-output strong{color:var(--text);font-size:12px;font-weight:650}.scenario-context-materials{display:grid;grid-gap:6px;gap:6px}.scenario-context-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.scenario-context-slot{position:relative;display:grid;min-width:0;min-height:45px;grid-template-columns:25px minmax(0,1fr);align-items:center;grid-gap:7px;gap:7px;padding:6px 8px;border:1px dashed var(--border-strong);border-radius:10px;color:var(--text-2);background:hsla(0,0%,100%,.82);text-align:left;cursor:pointer}.scenario-context-slot:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));color:var(--text);background:#fff}.scenario-context-slot.required{border-color:color-mix(in srgb,var(--accent) 42%,var(--border))}.scenario-context-slot.added{border-style:solid;border-color:color-mix(in srgb,var(--ok) 36%,var(--border));background:color-mix(in srgb,#ecfdf3 58%,#fff)}.scenario-slot-icon{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;color:var(--accent-ink);background:var(--accent-soft)}.scenario-context-slot.added .scenario-slot-icon{color:var(--ok);background:#dcfce7}.scenario-slot-copy{display:grid;min-width:0;grid-gap:1px;gap:1px}.scenario-slot-copy small,.scenario-slot-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scenario-slot-copy strong{color:inherit;font-size:11.5px;font-weight:650}.scenario-slot-copy small{color:var(--muted);font-size:9.5px;font-weight:450}.scenario-context-slot em{position:absolute;top:5px;right:6px;color:var(--muted);font-size:8.5px;font-style:normal}.scenario-context-slot.required em{color:var(--accent-ink)}.scenario-context-missing{color:var(--accent-ink);font-size:10px;line-height:1.35}@media (max-width:760px){.scenario-quick{display:flex;margin-right:-16px;padding-right:16px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}.scenario-quick::-webkit-scrollbar{display:none}.scenario-quick-card{min-width:132px;flex:0 0 132px;scroll-snap-align:start}.scenario-dialog-backdrop{align-items:end;padding:0}.scenario-dialog{width:100%;height:min(92vh,860px);min-height:0;border-right:0;border-bottom:0;border-left:0;border-radius:20px 20px 0 0}.scenario-dialog-head{padding:20px 18px 14px}.scenario-dialog-head h2{font-size:22px}.scenario-search{margin:0 18px 14px}.scenario-dialog-body{display:flex;flex-direction:column}.scenario-groups{flex-direction:row;flex:0 0 auto;padding:10px 14px;border-right:0;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}.scenario-groups::-webkit-scrollbar{display:none}.scenario-groups button{min-height:32px;flex:0 0 auto;padding:5px 9px;background:#fff}.scenario-groups button small{display:none}.scenario-results{padding:14px 14px 24px}.scenario-grid{grid-template-columns:1fr}.scenario-card{min-height:128px}.scenario-context-slots{display:flex;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.scenario-context-slots::-webkit-scrollbar{display:none}.scenario-context-slot{min-width:185px;flex:0 0 185px}}.context-option-items{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.context-option-item{display:inline-flex;min-width:0;max-width:240px;align-items:center;gap:5px;min-height:30px;padding:4px 7px;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:var(--panel-2)}.context-option-icon{display:grid;place-items:center;flex:0 0 auto;color:var(--accent-ink)}.context-option-label,.context-option-value{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.context-option-label{color:var(--accent-ink);font-weight:620}.context-option-value{color:var(--text-2);font-weight:540}.context-option-value:before{content:"·";margin-right:5px;color:var(--faint)}.context-option-item>button{display:grid;place-items:center;width:20px;height:20px;flex:0 0 auto;margin:0 -3px 0 1px;padding:0;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.context-option-item>button:hover{color:var(--text);background:hsla(0,0%,100%,.72)}.context-option-item>button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.context-option-items.compact{justify-content:flex-end;gap:5px;margin:0 0 6px}.context-option-items.compact .context-option-item{min-height:28px;padding:3px 7px;border-color:color-mix(in srgb,var(--accent) 22%,var(--border));background:color-mix(in srgb,var(--accent-soft) 56%,#fff)}.pop{position:absolute;z-index:40;min-width:210px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-pop);padding:6px}.pop.up{bottom:calc(100% + 8px)}.pop.down{top:calc(100% + 8px)}.pop-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border-radius:9px;border:none;background:transparent;color:var(--text);font-size:14px;cursor:pointer;text-align:left;text-decoration:none}.pop-item:hover{background:var(--panel-2)}.pop-item .ic{width:18px;text-align:center;color:var(--muted)}.pop-item .grow{flex:1 1}.pop-sub{display:block;margin-top:2px;font-size:11.5px;font-weight:400;line-height:1.3;color:var(--muted)}.pop-sep{height:1px;background:var(--border);margin:5px 4px}.pop-title{font-weight:600;padding:8px 10px 4px}.pop-section,.pop-title{font-size:12px;color:var(--muted)}.pop-section{font-weight:700;padding:8px 8px 6px}.toggle{width:34px;height:20px;border-radius:999px;background:var(--border-strong);position:relative;transition:background .15s;flex-shrink:0}.toggle.on{background:var(--accent)}.toggle:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:#fff;transition:transform .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}.toggle.on:after{transform:translateX(14px)}.seg{display:flex;width:100%;background:var(--panel-2);border-radius:10px;padding:3px;gap:2px}.seg button{flex:1 1;border:none;background:transparent;color:var(--text-2);font-size:13px;padding:6px 12px;border-radius:8px;cursor:pointer;font-weight:550}.seg button.on{background:#fff;color:var(--text);box-shadow:var(--shadow-sm)}.seg .quality-option{display:flex;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:1px;line-height:1.15}.seg .quality-option small{color:var(--muted);font-size:9px;font-weight:650;letter-spacing:.04em}.seg .quality-option.on small{color:var(--accent)}.setting-option-tooltip{position:relative}.setting-option-tooltip:after{position:absolute;bottom:calc(100% + 7px);left:50%;z-index:60;width:max-content;max-width:220px;padding:7px 9px;border-radius:8px;color:#fff;background:rgba(25,29,36,.96);box-shadow:var(--shadow-pop);content:attr(data-tooltip);font-size:10.5px;font-weight:500;line-height:1.4;text-align:center;white-space:normal;opacity:0;pointer-events:none;transform:translate(-50%,3px);transition:opacity .14s ease,transform .14s ease}.setting-option-tooltip:focus-visible:after,.setting-option-tooltip:hover:after{opacity:1;transform:translate(-50%)}.aspect-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px;margin-top:8px}.aspect-cell{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 8px;border:1px solid var(--border);border-radius:10px;background:#fff;cursor:pointer;font-size:12px;color:var(--text-2)}.aspect-cell:hover{border-color:var(--border-strong)}.aspect-cell.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.aspect-icon{border:1.6px solid;border-radius:3px;opacity:.85}@media (max-width:480px){.composer-settings-pop{min-width:min(360px,calc(100vw - 32px))!important}}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}.section-head h2{margin:0;color:var(--text);font-size:17px;line-height:1.25;font-weight:680;letter-spacing:-.01em}.section-head p{margin:4px 0 0}.section-count,.section-head p{color:var(--muted);font-size:12.5px}.home-library{margin-top:64px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.home-library-toolbar{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border-bottom:1px solid var(--border)}.home-library-tabs{display:flex;align-items:center;gap:4px}.home-library-tabs>button{display:inline-flex;height:34px;align-items:center;gap:7px;padding:0 12px;border:0;border-radius:9px;color:var(--muted);background:transparent;font:inherit;font-size:13px;font-weight:620;cursor:pointer}.home-library-tabs>button.active,.home-library-tabs>button:hover{color:var(--text);background:var(--panel-2)}.home-library-tabs>button>span{min-width:19px;padding:1px 6px;border-radius:999px;color:var(--muted);background:#fff;font-size:10px;text-align:center}.home-library-search{display:flex;width:min(270px,42vw);height:34px;align-items:center;gap:7px;padding:0 8px 0 10px;border:1px solid var(--border);border-radius:9px;color:var(--muted);background:var(--bg)}.home-library-search:focus-within{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));box-shadow:0 0 0 3px var(--accent-soft)}.home-library-search input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:12px}.home-library-search button{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.home-library-search button:hover{color:var(--text);background:var(--panel-2)}.home-library-content{min-height:220px;padding:18px}.project-section.embedded{margin-top:0}.project-empty.compact{min-height:150px}.project-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.project-template-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.project-template-card:hover{transform:translateY(-2px);border-color:var(--border-strong);box-shadow:var(--shadow)}.project-template-card.selected{border-color:color-mix(in srgb,var(--accent) 52%,var(--border));box-shadow:0 0 0 3px var(--accent-soft)}.project-template-main{display:block;width:100%;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.project-template-cover{position:relative;display:grid;width:100%;min-height:116px;place-items:center;overflow:hidden;color:var(--muted);background:var(--panel-2)}.project-template-cover img{width:100%;height:100%;object-fit:cover}.project-template-cover i{position:absolute;top:9px;right:9px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;color:#fff;background:rgba(37,99,235,.9);box-shadow:var(--shadow-sm);font-size:10px;font-style:normal;font-weight:650}.project-template-copy{display:flex;min-width:0;flex-direction:column;gap:4px;padding:11px 12px 8px}.project-template-copy strong{overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.project-template-copy small{overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.project-template-copy em{color:var(--faint);font-size:10px;font-style:normal}.project-template-actions{display:flex;align-items:center;gap:7px;padding:0 11px 11px}.project-template-actions button{display:inline-flex;height:31px;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:#fff;font:inherit;font-size:11px;font-weight:600;cursor:pointer}.project-template-actions .primary{flex:1 1;border-color:var(--text);color:#fff;background:var(--text)}.project-template-actions .danger{width:32px;padding:0;color:#a64a4a}.project-template-actions button:disabled{opacity:.5;cursor:default}.project-template-empty{display:flex;min-height:190px;align-items:center;justify-content:center;gap:14px;color:var(--muted);text-align:left}.project-template-empty>span{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:var(--panel-2)}.project-template-empty strong{color:var(--text);font-size:14px}.project-template-empty p{max-width:460px;margin:5px 0 0;font-size:12px;line-height:1.5}.project-template-picker{position:relative}.project-template-picker>.cbtn{max-width:190px}.project-template-picker>.cbtn>span:not(.caret){overflow:hidden;text-overflow:ellipsis}.project-template-picker-pop{left:0;width:min(380px,calc(100vw - 32px));padding:0;overflow:hidden}.project-template-picker-head{display:flex;align-items:center;justify-content:space-between;padding:11px 12px 8px}.project-template-picker-head strong{font-size:12px}.project-template-picker-head button{display:grid;width:24px;height:24px;place-items:center;padding:0;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.project-template-picker-head button:hover{color:var(--text);background:var(--panel-2)}.project-template-picker-search{display:flex;height:32px;align-items:center;gap:7px;margin:0 9px 8px;padding:0 9px;border:1px solid var(--border);border-radius:8px;color:var(--muted);background:var(--bg)}.project-template-picker-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:11px}.project-template-picker-list{max-height:min(360px,52vh);overflow-y:auto;padding:0 6px 7px;border-top:1px solid var(--border)}.project-template-picker-list>button{display:grid;width:100%;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;grid-gap:9px;gap:9px;margin-top:6px;padding:7px;border:0;border-radius:9px;color:inherit;background:transparent;text-align:left;cursor:pointer}.project-template-picker-list>button:hover{background:var(--panel-2)}.project-template-picker-list>button.selected{color:var(--accent-ink);background:var(--accent-soft)}.project-template-picker-cover,.project-template-picker-empty{display:grid;width:46px;height:34px;place-items:center;overflow:hidden;border:1px solid var(--border);border-radius:7px;color:var(--muted);background:var(--panel-2)}.project-template-picker-cover img{width:100%;height:100%;object-fit:cover}.project-template-picker-list>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.project-template-picker-list small,.project-template-picker-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-template-picker-list strong{font-size:11.5px}.project-template-picker-list small{color:var(--muted);font-size:9.5px}.project-template-picker-list>p{margin:12px;color:var(--muted);font-size:11px;text-align:center}.project-section{margin-top:64px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:20px;gap:20px}.project-card{min-width:0;color:var(--text);text-decoration:none;transition:opacity .16s ease}.project-cover{position:relative;width:100%;min-height:120px;aspect-ratio:16/9;overflow:hidden;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:var(--panel-2);box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.project-cover img{width:100%;height:100%;object-fit:cover;display:block}.project-card:hover .project-cover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:var(--shadow)}.project-open{position:absolute;top:10px;right:10px;width:28px;height:28px;display:grid;place-items:center;border-radius:999px;color:var(--text);background:hsla(0,0%,100%,.92);box-shadow:var(--shadow-sm);opacity:0;transform:translateY(3px);transition:opacity .15s ease,transform .15s ease}.project-card:focus-visible .project-open,.project-card:hover .project-open{opacity:1;transform:translateY(0)}.project-grid[aria-busy=true] .project-card:not(.is-opening){opacity:.48;pointer-events:none}.project-card.is-opening .project-cover{transform:translateY(-3px) scale(.985);border-color:color-mix(in srgb,var(--accent) 48%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent),var(--shadow)}.project-card.is-opening .project-cover:after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--accent-soft) 34%,transparent);animation:projectCoverOpening .72s ease-in-out infinite alternate}.project-card.is-opening .project-open{z-index:1;opacity:1;transform:translateY(0);color:var(--accent)}.project-open-spinner{width:14px;height:14px;border:2px solid color-mix(in srgb,var(--accent) 20%,transparent);border-top-color:var(--accent);border-radius:999px;animation:spin .7s linear infinite}.project-card.is-running .project-cover{border-color:color-mix(in srgb,var(--accent) 34%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 7%,transparent),var(--shadow-sm)}.project-run-badge{position:absolute;bottom:9px;left:9px;display:inline-flex;max-width:calc(100% - 18px);height:28px;align-items:center;gap:7px;padding:0 10px 0 8px;border:1px solid hsla(0,0%,100%,.72);border-radius:999px;color:#fff;background:rgba(22,35,62,.78);box-shadow:0 4px 14px rgba(15,23,42,.18);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:10.5px;font-weight:650}.project-run-badge .project-open-spinner{width:12px;height:12px;flex:0 0 auto;border-color:#fff hsla(0,0%,100%,.3) hsla(0,0%,100%,.3)}.project-run-badge>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes projectCoverOpening{0%{opacity:.18}to{opacity:.62}}.project-copy{padding:10px 2px 0;min-width:0}.project-copy strong{display:block;overflow:hidden;color:var(--text);font-size:14px;line-height:1.3;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.project-copy>span{display:flex;align-items:center;gap:7px;margin-top:4px;color:var(--muted);font-size:12px}.project-copy>span i{width:3px;height:3px;border-radius:999px;background:var(--border-strong)}.project-empty-cover{position:relative;display:grid;width:100%;height:100%;place-items:center;overflow:hidden;color:#5d55bc;background:#e9e4f8}.project-empty-cover:before{content:"CODEX SLIDES";position:absolute;top:13px;left:15px;font-size:8px;font-weight:740;letter-spacing:.14em;opacity:.46}.project-empty-cover>span{font-family:ui-serif,Songti SC,"Noto Serif CJK SC",Georgia,serif;font-size:clamp(44px,5vw,68px);font-weight:520;line-height:1;letter-spacing:-.06em;text-shadow:0 1px 0 hsla(0,0%,100%,.5);transform:translateY(-1px)}.project-empty-cover[data-tone="1"]{color:#397866;background:#dff0e7}.project-empty-cover[data-tone="2"]{color:#3d6eae;background:#dcebf7}.project-empty-cover[data-tone="3"]{color:#a15f4d;background:#f4e2d6}.project-empty-cover[data-tone="4"]{color:#775d8f;background:#e9e0f0}.project-empty-cover[data-tone="5"]{color:#8a6b3f;background:#f2ead3}.project-skeleton{pointer-events:none}.project-skeleton .project-copy small,.project-skeleton .project-copy>span{display:block;width:58%;height:10px}.project-skeleton .project-copy small{width:36%;margin-top:7px}.project-empty{display:flex;align-items:center;gap:14px;padding:22px;border:1px dashed var(--border-strong);border-radius:12px;background:var(--bg-soft)}.project-empty-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#fff;color:var(--text-2);box-shadow:var(--shadow-sm)}.project-empty strong{font-size:13.5px}.project-empty p{margin:3px 0 0;color:var(--muted);font-size:12.5px}.foryou{margin-top:58px}.foryou-head{align-items:flex-end}.foryou-nav{display:flex;align-items:center;gap:8px}.community-browser-button{display:inline-flex;min-height:32px;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:#fff;font:inherit;font-size:12px;font-weight:620;cursor:pointer}.community-browser-button:hover{color:var(--accent-ink);border-color:color-mix(in srgb,var(--accent) 36%,var(--border));background:var(--accent-soft)}.community-browser-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.round-btn{width:30px;height:30px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--text-2);display:grid;place-items:center;cursor:pointer}.round-btn:hover{background:var(--panel-2)}.round-btn:disabled{opacity:.4;cursor:not-allowed}.foryou-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);grid-gap:20px;gap:20px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:3px 1px 7px;scroll-snap-type:x proximity}.foryou-scroll::-webkit-scrollbar{display:none}.tpl-card{cursor:pointer;border:none;background:transparent;padding:0;text-align:left;min-width:0;scroll-snap-align:start}.tpl-card:focus-visible{outline:none}.tpl-cover{aspect-ratio:16/9;border-radius:12px;border:1px solid var(--border);overflow:hidden;position:relative;display:grid;place-items:center;box-shadow:var(--shadow-sm);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.tpl-card:hover .tpl-cover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:var(--border-strong)}.tpl-card.on .tpl-cover{border-color:var(--accent);outline:none;box-shadow:inset 0 0 0 1px var(--accent),var(--shadow-sm)}.tpl-card:focus-visible .tpl-cover{border-color:var(--accent);outline:none;box-shadow:inset 0 0 0 2px var(--accent),var(--shadow-sm)}.tpl-cover img{width:100%;height:100%;object-fit:cover;display:block}.tpl-selected{position:absolute;top:10px;right:10px;width:26px;height:26px;display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;box-shadow:0 2px 8px rgba(29,78,216,.24);opacity:0;transform:scale(.82);transition:opacity .15s ease,transform .15s ease}.tpl-card.on .tpl-selected{opacity:1;transform:scale(1)}.tpl-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 0}.tpl-meta{font-size:14px;color:var(--text);font-weight:620}.tpl-cat{font-size:12px;color:var(--muted);margin-top:3px}.tpl-arrow{display:grid;place-items:center;width:27px;height:27px;flex:0 0 auto;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:#fff;opacity:0;transform:translateX(-3px);transition:opacity .15s ease,transform .15s ease,color .15s ease}.tpl-card:focus-visible .tpl-arrow,.tpl-card:hover .tpl-arrow{color:var(--text);opacity:1;transform:translateX(0)}.community-groups{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 14px}.group-chip{padding:5px 12px;font-size:12.5px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--text-2);cursor:pointer;transition:border-color .15s,background .15s,color .15s}.group-chip:hover{border-color:var(--border-strong);color:var(--text)}.group-chip.on{background:var(--text);border-color:var(--text);color:#fff}.group-count{opacity:.5;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin-left:1px}.inspire-board{flex:1 1;min-height:0;overflow-y:auto;padding:20px 20px 28px;background:var(--bg-soft,var(--panel-2))}.inspire-board>.inspire-controls,.inspire-board>.inspire-grid,.inspire-board>.inspire-stage-intro{max-width:1040px;margin-right:auto;margin-left:auto}.inspire-stage-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.inspire-stage-intro h2{margin:0 0 4px;color:var(--text);font-size:15px;font-weight:680;letter-spacing:-.01em}.inspire-stage-intro p{max-width:680px;margin:0;color:var(--text-2);font-size:12px;line-height:1.55}.inspire-hint{font-size:13px;line-height:1.6;color:var(--text-2);margin:0 0 16px}.inspire-ranking{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-weight:550}.inspire-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.inspire-search-wrap{display:inline-flex;flex:0 1 250px;min-width:190px;height:32px;gap:7px;padding:0 10px;border-radius:9px;background:#fff;transition:border-color .15s,box-shadow .15s}.inspire-search-wrap:focus-within{box-shadow:0 0 0 3px rgba(37,99,235,.07)}.inspire-controls .community-groups{margin:0;flex:1 1 auto}.inspire-search{flex:1 1 auto;width:auto;min-width:0;height:30px;padding:0;font-size:11.5px;border:0;border-radius:0;background:transparent;color:var(--text)}.inspire-search:focus{outline:none;box-shadow:none}.inspire-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));grid-gap:14px;gap:14px}.inspire-card{display:flex;flex-direction:column}.inspire-card-expand{position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:30px;height:30px;border:1px solid hsla(0,0%,100%,.42);border-radius:9px;color:#fff;background:rgba(15,18,30,.66);box-shadow:0 5px 18px rgba(15,18,30,.18);opacity:0;transform:translateY(3px);transition:opacity .16s ease,transform .16s ease,background .16s ease;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.inspire-card:focus-visible .inspire-card-expand,.inspire-card:hover .inspire-card-expand{opacity:1;transform:translateY(0)}.inspire-card:hover .inspire-card-expand{background:rgba(15,18,30,.8)}.inspire-badge{position:absolute;top:9px;left:9px;padding:3px 8px;font-size:11px;font-weight:620;border-radius:999px;background:rgba(17,24,39,.78);color:#fff;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.inspire-palette{display:inline-flex;gap:3px;flex:0 0 auto}.inspire-palette span{width:12px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.08)}.inspire-reason{margin-top:6px;font-size:11.5px;line-height:1.45;color:var(--muted);text-align:left}.inspire-empty{grid-column:1/-1;padding:40px 0;text-align:center;color:var(--muted);font-size:13px}.inspire-confirm{gap:10px}.inspire-confirm-selection{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:2px}.inspire-confirm-selection small,.inspire-confirm-selection strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspire-confirm-selection strong{color:var(--text);font-size:12.5px;font-weight:680}.inspire-confirm-selection small{color:var(--muted);font-size:10.5px}.inspire-skip-btn{flex:0 0 auto;height:36px;padding:0 13px;font-size:12px}.inspire-confirm .outline-confirm-btn{height:36px;max-width:min(340px,40vw);overflow:hidden;padding:0 16px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.inspo-card{margin-top:8px;border:1px solid var(--border);border-radius:14px;background:var(--panel);box-shadow:var(--shadow-sm);padding:10px 10px 8px;display:flex;flex-direction:column;gap:8px}.inspo-card.resolved{opacity:1;border-color:rgba(37,99,235,.18)}.inspo-head{display:flex;align-items:center;gap:8px}.inspo-ic{display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto;border-radius:8px;background:var(--accent-soft);color:var(--accent-ink);font-size:13px}.inspo-copy{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}.inspo-copy b{font-size:13px;font-weight:620;color:var(--text)}.inspo-copy small{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspo-browse{flex:0 0 auto;border:1px solid var(--border-strong,var(--border));background:var(--panel);color:var(--text);font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:999px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.inspo-browse:hover{background:var(--panel-2);border-color:var(--accent);color:var(--accent-ink)}.inspo-thumbs{display:flex;gap:6px;align-items:center}.inspo-thumbs img{width:0;flex:1 1;min-width:0;aspect-ratio:16/10;object-fit:cover;border-radius:8px;border:1px solid var(--border);background:var(--panel-2)}.inspo-more{flex:0 0 auto;align-self:stretch;display:grid;place-items:center;min-width:40px;padding:0 8px;border-radius:8px;border:1px dashed var(--border-strong,var(--border));color:var(--muted);font-size:12px;font-weight:600}.inspo-actions{display:flex;justify-content:flex-end}.inspo-skip{border:none;background:none;color:var(--muted);font-size:12px;padding:2px 6px;cursor:pointer;border-radius:6px}.inspo-skip:hover{color:var(--text);background:var(--panel-2)}.inspo-actions.resolved-actions{padding-top:1px;border-top:1px solid var(--border)}.inspo-preview{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 7px;border:0;border-radius:7px;color:var(--accent-ink);background:transparent;font-size:11.5px;font-weight:620;cursor:pointer}.inspo-preview:hover{background:var(--accent-soft)}.inspo-preview:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.inspire-dialog-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:28px;background:rgba(15,18,30,.5);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.inspire-dialog{display:flex;flex-direction:column;width:min(1000px,96vw);max-height:88vh;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--panel);box-shadow:var(--shadow-pop)}.inspire-dialog-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.inspire-search-wrap{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;padding:9px 12px;border:1px solid var(--border);border-radius:12px;background:var(--panel-2);color:var(--muted)}.inspire-search-wrap:focus-within{border-color:var(--accent);background:var(--panel)}.inspire-dialog-search{flex:1 1 auto;min-width:0;border:none;background:none;outline:none;font-size:14px;color:var(--text)}.inspire-search-clear{border:none;background:none;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;padding:0 2px}.inspire-dialog-close{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--muted);cursor:pointer}.inspire-dialog-close:hover{color:var(--text);background:var(--panel-2)}.inspire-dialog-filters{display:flex;flex-direction:column;gap:10px;padding:12px 14px 10px;border-bottom:1px solid var(--border)}.inspire-dialog-filters>.community-groups{flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:1px 0 3px;scrollbar-width:none}.inspire-dialog-filters>.community-groups::-webkit-scrollbar{display:none}.inspire-dialog-filters>.community-groups .group-chip{flex:0 0 auto}.inspire-try{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.inspire-try-label{font-size:12.5px;color:var(--muted)}.inspire-try-chip{border:1px solid var(--border);background:var(--panel);color:var(--text);font-size:12.5px;padding:5px 11px;border-radius:999px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.inspire-try-chip:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}.inspire-rank-note{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.inspire-dialog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(196px,1fr));grid-gap:16px;gap:16px;padding:16px 14px;overflow-y:auto}.inspire-card-description{display:-webkit-box;margin-top:6px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.4;text-align:left;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inspire-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--border)}.inspire-foot-selection{display:grid;min-width:0;max-width:64%;grid-gap:2px;gap:2px}.inspire-foot-selection a,.inspire-foot-selection span,.inspire-foot-selection strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspire-foot-selection strong{color:var(--text);font-size:12.5px}.inspire-foot-selection span{color:var(--muted);font-size:11px}.inspire-foot-selection a{width:-moz-fit-content;width:fit-content;max-width:100%;color:var(--accent-ink);font-size:10.5px;text-decoration:none}.inspire-foot-selection a:hover{text-decoration:underline}.inspire-foot-hint{font-size:12.5px;color:var(--muted)}.inspire-foot-actions{display:flex;gap:10px}.inspiration-lightbox-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:stretch;background:rgba(7,10,18,.93);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.inspiration-lightbox{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;min-height:0;color:#fff}.inspiration-lightbox-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;grid-gap:20px;gap:20px;min-height:68px;padding:12px clamp(18px,3vw,42px)}.inspiration-lightbox-count{display:inline-flex;align-items:baseline;gap:10px;color:hsla(0,0%,100%,.64);font-size:12px}.inspiration-lightbox-count strong{color:#fff;font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.inspiration-lightbox-key-hint{color:hsla(0,0%,100%,.48);font-size:11px}.inspiration-lightbox-close,.inspiration-lightbox-nav{display:grid;place-items:center;border:1px solid hsla(0,0%,100%,.16);color:#fff;background:hsla(0,0%,100%,.09);cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.inspiration-lightbox-close:hover,.inspiration-lightbox-nav:hover:not(:disabled){border-color:hsla(0,0%,100%,.3);background:hsla(0,0%,100%,.16)}.inspiration-lightbox-close:focus-visible,.inspiration-lightbox-nav:focus-visible,.inspiration-lightbox-select:focus-visible{outline:2px solid #fff;outline-offset:3px}.inspiration-lightbox-close{justify-self:end;width:40px;height:40px;border-radius:12px}.inspiration-lightbox-stage{display:grid;grid-template-columns:clamp(52px,7vw,96px) minmax(0,1fr) clamp(52px,7vw,96px);align-items:center;min-height:0;padding:0 clamp(8px,2vw,30px)}.inspiration-lightbox-nav{width:52px;height:52px;border-radius:50%}.inspiration-lightbox-nav.previous{justify-self:start}.inspiration-lightbox-nav.next{justify-self:end}.inspiration-lightbox-nav:hover:not(:disabled){transform:scale(1.04)}.inspiration-lightbox-nav:disabled{opacity:.2;cursor:default}.inspiration-lightbox-figure{display:grid;place-items:center;min-width:0;min-height:0;margin:0}.inspiration-lightbox-image-wrap{display:grid;place-items:center;width:100%;height:100%;min-height:0}.inspiration-lightbox-image-wrap img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 230px);object-fit:contain;border-radius:12px;background:hsla(0,0%,100%,.04);box-shadow:0 28px 80px rgba(0,0,0,.46)}.inspiration-lightbox-foot{display:flex;align-items:center;justify-content:space-between;gap:30px;width:min(1120px,calc(100vw - 180px));margin:0 auto;padding:18px 0 24px}.inspiration-lightbox-copy{display:grid;min-width:0;grid-gap:5px;gap:5px}.inspiration-lightbox-title-row{display:flex;align-items:center;gap:10px}.inspiration-lightbox-title-row h2{overflow:hidden;margin:0;color:#fff;font-size:17px;font-weight:680;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.inspiration-lightbox-title-row span{flex:0 0 auto;padding:3px 8px;border:1px solid hsla(0,0%,100%,.12);border-radius:999px;color:hsla(0,0%,100%,.62);font-size:10.5px}.inspiration-lightbox-copy p{display:-webkit-box;margin:0;overflow:hidden;color:hsla(0,0%,100%,.66);font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.inspiration-lightbox-copy a{width:-moz-fit-content;width:fit-content;color:hsla(0,0%,100%,.52);font-size:10.5px;text-decoration:none}.inspiration-lightbox-copy a:hover{color:#fff;text-decoration:underline}.inspiration-lightbox-select{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;max-width:min(360px,34vw);min-height:42px;overflow:hidden;padding:0 18px;border:1px solid #fff;border-radius:12px;color:#111827;background:#fff;font-size:12.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:transform .16s ease,background .16s ease}.inspiration-lightbox-select:hover:not(:disabled){transform:translateY(-1px);background:hsla(0,0%,100%,.9)}.inspiration-lightbox-select.selected{border-color:hsla(0,0%,100%,.18);color:hsla(0,0%,100%,.72);background:hsla(0,0%,100%,.09)}@media (max-width:720px){.inspiration-lightbox-head{grid-template-columns:1fr auto;min-height:58px;padding:9px 14px}.inspiration-lightbox-key-hint{display:none}.inspiration-lightbox-stage{position:relative;grid-template-columns:minmax(0,1fr);padding:0 14px}.inspiration-lightbox-nav{position:absolute;z-index:1;top:50%;width:38px;height:38px;transform:translateY(-50%)}.inspiration-lightbox-nav.previous{left:6px}.inspiration-lightbox-nav.next{right:6px}.inspiration-lightbox-nav:hover:not(:disabled){transform:translateY(-50%) scale(1.04)}.inspiration-lightbox-nav svg{width:23px;height:23px}.inspiration-lightbox-image-wrap img{max-height:calc(100vh - 276px)}.inspiration-lightbox-foot{align-items:stretch;width:auto;margin:0 14px;padding:14px 0 18px;flex-direction:column;gap:12px}.inspiration-lightbox-select{width:100%;max-width:none}}@media (hover:none){.inspire-card-expand{opacity:1;transform:none}}@media (max-width:640px){.inspire-dialog-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.inspire-rank-note{margin-left:0}.inspire-dialog-foot{align-items:flex-end}.inspire-foot-selection{max-width:54%}}@media (max-width:820px){.project-grid,.project-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:540px){.composer-bar{gap:5px}.composer-bar .cbtn{padding:0 9px;font-size:12px}.composer-bar .cbtn.icononly{width:32px;padding:0}.composer-bar button[title^=Voice]{display:none}.home-library,.project-section{margin-top:50px}.home-library-toolbar{align-items:stretch;flex-direction:column;gap:9px}.home-library-search{width:100%}.home-library-content{padding:12px}.project-grid,.project-template-grid{grid-template-columns:1fr}.project-template-picker-pop{position:fixed;right:14px;bottom:72px;left:14px;width:auto}.foryou-scroll{grid-auto-columns:84%}.foryou-nav{display:none}.project-ws .stage-head{flex-wrap:wrap;gap:8px;padding:10px 14px}.project-ws .stage-head .title{flex:1 1 auto;min-width:0;margin-right:0}.project-ws .stage-head .count{flex:0 0 auto}.project-ws .stage-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;grid-gap:8px;gap:8px}.project-ws .stage-actions .export-wrap>.iconbtn,.project-ws .stage-actions .iconbtn{width:100%;justify-content:center;padding:0 8px}.project-ws .stage-actions-sep{display:none}.project-ws .stage-main{padding:16px 14px}.project-ws .retune-scrim{top:96px}.project-ws .retune-panel{top:104px;right:12px;left:12px;width:auto;max-height:calc(100% - 116px)}.project-ws .retune-panel-body,.project-ws .retune-panel-footer,.project-ws .retune-panel-head{padding-left:16px;padding-right:16px}}.ws{display:grid;grid-template-columns:clamp(330px,26vw,424px) minmax(0,1fr);grid-gap:0;gap:0;height:calc(100vh - 61px);padding:0;overflow:hidden;background:var(--workspace-ground);transition:grid-template-columns .22s cubic-bezier(.22,.78,.2,1)}.ws:has(>.chatcol.collapsed){grid-template-columns:0 minmax(0,1fr)}.ws>.chatcol{grid-column:1;grid-row:1}.ws>.deckpane,.ws>.stage{grid-column:2;grid-row:1}.project-ws{position:relative;height:100vh}.project-route-loading{animation:projectRouteEnter .28s cubic-bezier(.2,.75,.2,1) both}.project-opening-overlay{position:fixed;inset:0;z-index:var(--z-modal);overflow:hidden;background:var(--workspace-ground)}.project-opening-overlay .project-route-loading{height:100vh}.project-loading-agent{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--border);background:#fff}.project-loading-head,.project-loading-stage-head{display:flex;align-items:center;gap:10px;min-height:57px;padding:10px 16px;border-bottom:1px solid var(--border);background:#fff}.project-loading-logo{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;color:#fff;background:var(--text);font-size:11px}.project-loading-action,.project-loading-composer,.project-loading-line,.project-loading-pill,.project-loading-tabs,.project-loading-thumb{display:block;background:linear-gradient(100deg,var(--panel-2) 20%,#fafbfc 42%,var(--panel-2) 64%);background-size:220% 100%;animation:projectLoadingShimmer 1.35s ease-in-out infinite}.project-loading-line{width:64%;height:9px;border-radius:999px}.project-loading-line.wide{width:78%}.project-loading-line.short{width:38%}.project-loading-head .project-loading-line{height:10px}.project-loading-head .project-loading-line.project-title{width:min(120px,34%);flex:0 1 120px}.project-loading-project-title{min-width:0;overflow:hidden;color:var(--text-2);font-size:12px;font-weight:560;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.project-loading-pill{width:72px;height:26px;margin-left:auto;border-radius:999px}.project-loading-feed{flex:1 1;min-height:0;padding:24px 18px}.project-loading-message{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--bg-soft)}.project-loading-composer{height:88px;margin:12px 16px 16px;border:1px solid var(--border);border-radius:12px}.project-loading-stage{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--workspace-ground)}.project-loading-stage-head{padding-right:20px}.project-loading-tabs{width:188px;height:34px;flex:0 0 auto;border:1px solid var(--border);border-radius:10px}.project-loading-stage-head .count{width:58px;height:24px;margin-left:0}.project-loading-action{width:70px;height:32px;border:1px solid var(--border);border-radius:9px}.project-loading-action.long{width:106px}.project-loading-canvas-wrap{flex:1 1;min-height:0;display:grid;place-items:center;padding:clamp(18px,3vw,36px)}.project-loading-canvas{width:min(960px,100%);aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid var(--border);border-radius:12px;color:var(--text-2);background:#fff;box-shadow:var(--shadow)}.project-loading-canvas strong{font-size:13px;font-weight:600}.project-loading-spinner{width:24px;height:24px;border:3px solid var(--panel-3);border-top-color:var(--accent);border-radius:999px;animation:spin .8s linear infinite}.project-loading-filmstrip{display:flex;gap:10px;padding:12px 18px 16px;overflow:hidden;border-top:1px solid var(--border);background:#fff}.project-loading-thumb{width:128px;aspect-ratio:16/9;flex:0 0 auto;border:1px solid var(--border);border-radius:7px}@keyframes projectRouteEnter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes projectLoadingShimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.deckpane{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}.deckpane>.stage{flex:1 1;min-height:0}.retune-scrim{position:absolute;inset:57px 0 0;z-index:var(--z-backdrop);padding:0;border:0;background:rgba(244,245,247,.48);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);cursor:default}.retune-panel{position:absolute;top:66px;right:16px;z-index:var(--z-modal);display:flex;flex-direction:column;width:min(420px,calc(100% - 32px));max-height:calc(100% - 82px);overflow:hidden;border:1px solid var(--border);border-radius:16px;outline:0;background:#fff;box-shadow:var(--shadow-pop)}.retune-panel-head{justify-content:space-between;gap:16px;padding:18px 18px 16px;border-bottom:1px solid var(--border)}.retune-heading,.retune-panel-head{display:flex;align-items:flex-start}.retune-heading{gap:11px;min-width:0}.retune-heading-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:9px;color:var(--accent-ink);background:var(--accent-soft)}.retune-heading h2{margin:0;color:var(--ink);font-size:15px;font-weight:680;letter-spacing:-.01em;line-height:1.35}.retune-heading p{margin:3px 0 0;color:var(--muted);font-size:12.5px;line-height:1.45}.retune-close{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.retune-close:hover{color:var(--text);background:var(--panel-2)}.material-add:focus-visible,.material-item button:focus-visible,.retune-apply:focus-visible,.retune-close:focus-visible,.style-option:focus-visible,.style-picker-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.retune-panel-body{min-height:0;padding:18px;overflow-y:auto;overscroll-behavior:contain}.retune-panel-footer{padding:14px 18px 18px;border-top:1px solid var(--border);background:#fff}.retune-impact{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px;color:var(--muted)}.retune-impact>svg{flex:0 0 auto;margin-top:1px}.retune-impact span{display:flex;flex-direction:column;gap:2px;min-width:0}.retune-impact strong{color:var(--text-2);font-size:11.5px;font-weight:650}.retune-impact small{font-size:11.5px;line-height:1.35}.retune-apply{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:9px 14px;border:1px solid var(--text);border-radius:10px;color:#fff;background:var(--text);font:inherit;font-size:13.5px;font-weight:650;cursor:pointer}.retune-apply:hover:not(:disabled){background:var(--ink)}.retune-apply:disabled{cursor:wait}.restyle-trigger.active{color:var(--accent-ink);border-color:#b9ccff;background:var(--accent-soft)}.brand-system-trigger{white-space:nowrap}.brand-system-trigger.active{color:var(--accent-ink);border-color:#b9ccff;background:var(--accent-soft)}.brand-system-trigger-swatches{display:inline-flex;height:20px;margin-left:2px;overflow:hidden;border:1px solid rgba(24,24,27,.12);border-radius:5px}.brand-system-trigger-swatches i{width:7px;height:100%}.brand-system-panel{right:12px;width:min(520px,calc(100% - 24px));border-radius:14px}.brand-system-panel-head{flex:0 0 auto;gap:12px;padding:14px 15px 12px}.brand-system-heading-icon{width:30px;height:30px;color:#6d4fc2;background:#f1edff}.brand-system-panel-head .retune-heading{gap:9px}.brand-system-heading-copy{min-width:0}.brand-system-heading-subline{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:2px}.brand-system-heading-subline p{margin:0;font-size:11.5px;line-height:1.35}.brand-system-context-chip{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:3px 6px;border:1px solid #dce5ff;border-radius:999px;color:#4a64a0;background:#f6f8ff;font-size:9.5px;font-weight:650;line-height:1;white-space:nowrap}.brand-system-overview{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:7px;gap:7px;flex:0 0 auto;margin:8px 14px 2px;padding:9px;border:1px solid var(--border);border-radius:11px;background:linear-gradient(145deg,#fff,#fafbfc)}.brand-system-overview-brand{display:flex;align-items:center;gap:9px;min-width:0}.brand-system-logo-preview{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:9px;color:var(--text);background:#fff}.brand-system-logo-preview img{width:100%;height:100%;object-fit:contain}.brand-system-logo-preview b{font-size:12px;letter-spacing:-.03em}.brand-system-overview-brand>span:last-child{display:flex;flex-direction:column;min-width:0}.brand-system-overview-brand small{color:var(--faint);font-size:8.5px;font-weight:650;letter-spacing:.06em;text-transform:uppercase}.brand-system-overview-brand strong{color:var(--text);font-size:12.5px;font-weight:700}.brand-system-overview-brand em,.brand-system-overview-brand strong{margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-system-overview-brand em{color:var(--muted);font-size:10px;font-style:normal}.brand-system-overview-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));height:18px;overflow:hidden;border:1px solid rgba(24,24,27,.1);border-radius:6px}.brand-system-overview-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.brand-system-overview-meta>span{display:flex;flex-direction:column;gap:2px;min-width:0;padding:5px 7px;border:1px solid var(--border);border-radius:7px;background:#fff}.brand-system-overview-meta small{color:var(--faint);font-size:8px;font-weight:650;text-transform:uppercase}.brand-system-overview-meta small,.brand-system-overview-meta strong{overflow:hidden;font-family:var(--font-sans,inherit);text-overflow:ellipsis;white-space:nowrap}.brand-system-overview-meta strong{color:var(--text-2);font-size:9.5px;font-weight:580}.brand-system-form{flex:1 1 auto;padding:2px 14px 7px}.brand-system-section{border-bottom:1px solid var(--border)}.brand-system-section:last-child{border-bottom:0}.brand-system-section>summary{display:flex;align-items:center;gap:8px;padding:10px 1px;list-style:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.brand-system-section>summary::-webkit-details-marker{display:none}.brand-system-section>summary:hover .brand-system-section-icon{color:var(--accent-ink);background:var(--accent-soft)}.brand-system-section-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 auto;border-radius:8px;color:var(--text-2);background:var(--panel-2);transition:color .14s ease,background .14s ease}.brand-system-section-copy{display:flex;flex:1 1;flex-direction:column;min-width:0;gap:1px}.brand-system-section-copy strong{color:var(--text);font-size:12px;font-weight:670}.brand-system-section-copy small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.brand-system-section-caret{flex:0 0 auto;color:var(--faint);transition:transform .16s ease}.brand-system-section[open] .brand-system-section-caret{transform:rotate(180deg)}.brand-system-section-body{padding:0 0 13px 34px}.brand-system-fields{display:grid;grid-gap:10px;gap:10px}.brand-system-fields.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-system-fields.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-system-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin-bottom:10px}.brand-system-fields .brand-system-field{margin-bottom:0}.brand-system-field-spaced{margin-top:12px}.brand-color-field>span:first-child,.brand-system-field>span{color:var(--text-2);font-size:10.5px;font-weight:650}.brand-color-control input[type=text],.brand-system-field input,.brand-system-field select,.brand-system-field textarea{width:100%;min-width:0;border:1px solid var(--border-strong);border-radius:9px;outline:0;color:var(--text);background:#fff;font:inherit;font-size:12px;transition:border-color .14s ease,box-shadow .14s ease}.brand-color-control input[type=text],.brand-system-field input,.brand-system-field select{height:36px;padding:7px 9px}.brand-system-field textarea{min-height:58px;padding:8px 9px;resize:vertical;line-height:1.45}.brand-color-control input[type=text]:focus,.brand-system-field input:focus,.brand-system-field select:focus,.brand-system-field textarea:focus{border-color:#9db2e5;box-shadow:0 0 0 3px rgba(79,104,170,.11)}.brand-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px 12px;gap:9px 12px}.brand-color-field{display:flex;flex-direction:column;gap:5px;min-width:0}.brand-color-control{display:flex;align-items:center;gap:7px}.brand-color-control input[type=color]{width:36px;height:36px;flex:0 0 auto;padding:3px;border:1px solid var(--border-strong);border-radius:9px;background:#fff;cursor:pointer}.brand-color-control input[type=text]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;text-transform:uppercase}.brand-system-section .material-field{margin-top:0}.brand-system-footer{flex:0 0 auto;padding:9px 14px 12px}.brand-system-footer-note{display:flex;align-items:center;gap:6px;margin-bottom:7px;overflow:hidden;color:var(--muted);font-size:9.5px;line-height:1.3;white-space:nowrap}.brand-system-footer-note svg{flex:0 0 auto}.brand-system-footer-note span{overflow:hidden;text-overflow:ellipsis}.brand-system-footer-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);grid-gap:8px;gap:8px}.brand-system-redraw,.brand-system-save{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;border-radius:10px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.brand-system-redraw{border:1px solid var(--border-strong);color:var(--text-2);background:#fff}.brand-system-redraw:hover:not(:disabled){color:var(--text);background:var(--panel-2)}.brand-system-save{width:auto;min-height:38px;border-color:var(--text)}.brand-system-redraw:disabled,.brand-system-save:disabled{opacity:.52;cursor:wait}.brand-system-error{margin-bottom:9px;padding:8px 10px;border:1px solid #f0c7c7;border-radius:8px;color:#a43d3d;background:#fff6f6;font-size:11px}@media (max-width:1180px){.brand-system-trigger-label,.brand-system-trigger-swatches{display:none}}@media (max-width:540px){.brand-system-overview{margin-right:14px;margin-left:14px}.brand-color-grid,.brand-system-fields.three-col,.brand-system-fields.two-col,.brand-system-footer-actions{grid-template-columns:1fr}.brand-system-form{padding-right:14px;padding-left:14px}.brand-system-section-body{padding-left:0}.brand-system-footer{padding-right:14px;padding-left:14px}}.style-field{position:relative}.restyle-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.restyle-field-head label{color:var(--text);font-size:12.5px;font-weight:650}.restyle-field-head>span{color:var(--faint);font-size:11.5px}.style-picker-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 10px;border:1px solid var(--border-strong);border-radius:11px;color:var(--text);background:#fff;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.style-picker-trigger.open,.style-picker-trigger:hover{border-color:#b8c2d1;background:#fbfcfe}.style-picker-trigger.open{box-shadow:0 0 0 3px var(--accent-soft)}.style-picker-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;border-radius:8px;color:var(--text-2);background:var(--panel-2)}.style-option-copy,.style-picker-copy{display:flex;flex:1 1;flex-direction:column;min-width:0}.style-picker-copy strong{color:var(--text);font-size:13px;font-weight:650}.style-picker-copy small,.style-picker-copy strong{overflow:hidden;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.style-picker-copy small{margin-top:2px;color:var(--muted);font-size:11.5px}.style-palette{display:flex;align-items:center;flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:6px}.style-palette>span{width:9px;height:23px}.style-picker-caret{flex:0 0 auto;color:var(--faint);transition:transform .15s ease}.style-picker-trigger.open .style-picker-caret{transform:rotate(180deg)}.style-menu{margin-top:8px;overflow:hidden;border:1px solid var(--border-strong);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.style-menu-portal{position:fixed;z-index:calc(var(--z-modal) + 1);display:flex;flex-direction:column;max-width:calc(100vw - 24px);margin:0;box-shadow:var(--shadow-pop)}.style-search{position:relative;display:flex;align-items:center;border-bottom:1px solid var(--border)}.style-search>svg{position:absolute;left:12px;color:var(--faint);pointer-events:none}.style-search input{height:40px;padding:8px 12px 8px 36px;border:0;border-radius:0;background:#fff;font-size:12.5px}.style-search input:focus{border:0;box-shadow:inset 0 0 0 2px var(--accent-soft)}.style-menu-list{max-height:296px;padding:5px;overflow-y:auto;overscroll-behavior:contain}.style-menu-portal .style-menu-list{flex:1 1 auto;min-height:0;max-height:none}.style-group+.style-group{margin-top:4px;padding-top:4px;border-top:1px solid var(--border)}.style-group-label{display:flex;align-items:center;gap:5px;padding:7px 8px 5px;color:var(--faint);font-size:10.5px;font-weight:600}.style-group-label span+span:before{content:"·";margin-right:5px}.style-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border:0;border-radius:8px;color:var(--text);background:transparent;text-align:left;cursor:pointer}.style-option:hover{background:var(--panel-2)}.style-option.selected{color:var(--accent-ink);background:var(--accent-soft)}.style-option>svg{flex:0 0 auto}.style-option-palette{display:grid;grid-template-columns:repeat(2,11px);flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:5px}.style-option-palette>span{width:11px;height:11px}.style-option-cover{width:44px;height:28px;flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:var(--panel-2)}.style-option-cover img{display:block;width:100%;height:100%;object-fit:cover}.style-option-copy strong{color:inherit;font-size:12.5px;font-weight:650;line-height:1.35}.style-option-copy small{display:-webkit-box;margin-top:2px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.style-menu-empty{padding:28px 16px;color:var(--muted);font-size:12.5px;text-align:center}.style-detail{display:flex;gap:5px;margin:7px 2px 0;color:var(--faint);font-size:10.5px;line-height:1.4;white-space:nowrap}.style-detail,.style-detail span:last-child{overflow:hidden;text-overflow:ellipsis}.material-field{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.material-help{margin:-1px 0 9px;color:var(--muted);font-size:11.5px;line-height:1.4}.material-list{display:flex;flex-wrap:wrap;gap:8px}.material-item{position:relative;width:58px;height:58px;flex:0 0 auto;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:var(--panel-2)}.material-item img{display:block;width:100%;height:100%;object-fit:cover}.material-item button{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:6px;color:#fff;background:rgba(20,22,28,.76);cursor:pointer}.material-add{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:66px;padding:10px 14px;border:1px dashed var(--border-strong);border-radius:10px;color:var(--muted);background:#fafbfc;cursor:pointer}.material-add:hover:not(:disabled){color:var(--text-2);border-color:#aeb7c5;background:var(--panel-2)}.material-add.compact{width:74px;min-height:58px;padding:7px}.material-add>svg{flex:0 0 auto}.material-add>span{display:flex;flex-direction:column;gap:2px;text-align:left}.material-add.compact>span{display:none}.material-add strong{color:var(--text-2);font-size:12.5px;font-weight:650}.material-add small{font-size:10.5px}@media (max-width:900px){.ws{grid-template-columns:1fr;grid-template-rows:max-content max-content;height:auto;min-height:calc(100vh - 61px);gap:0;padding:0;overflow:visible}.ws:has(>.chatcol.collapsed){grid-template-columns:1fr}.ws>.chatcol,.ws>.deckpane,.ws>.stage{grid-column:1}.ws>.chatcol{grid-row:1}.ws>.deckpane,.ws>.stage{grid-row:2;min-height:64vh}.chatcol{min-height:60vh;border-right:0;border-bottom:1px solid var(--border)}.chatcol.collapsed{height:0;min-height:0;border:0}.project-ws{height:auto;min-height:100vh}.project-route-loading>.project-loading-agent{grid-column:1;grid-row:1;min-height:42vh;border-right:0;border-bottom:1px solid var(--border)}.project-route-loading>.project-loading-stage{grid-column:1;grid-row:2;min-height:58vh}}@media (max-width:640px){.project-loading-stage-head .count,.project-loading-stage-head .project-loading-action:nth-last-child(2){display:none}.project-loading-tabs{width:42%}.project-loading-action{width:54px}.project-loading-action.long{width:78px}.project-loading-canvas-wrap{padding:16px 14px}}.chatcol{position:relative;display:flex;flex-direction:column;min-height:0;border:0;border-right:1px solid var(--border);border-radius:0;background:#fff;box-shadow:none;overflow:hidden;transition:border-color .16s ease,opacity .16s ease}.chatcol.collapsed{width:0;min-width:0;border-right:0;background:transparent;overflow:visible;pointer-events:none}.chatcol-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:57px;padding:10px 16px;border-bottom:1px solid var(--border)}.chatcol-head-main{display:flex;flex:1 1;align-items:center;gap:10px;min-width:0;overflow:hidden}.chatcol-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.chatcol-collapse{width:32px;height:32px;display:inline-grid;place-items:center;flex:0 0 auto;border:0;border-radius:8px;color:var(--text-2);background:transparent;cursor:pointer}.chatcol-collapse:hover{color:var(--text);background:var(--bg-soft)}.chatcol-conversations{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 8px;border:0;border-radius:8px;color:var(--text-2);background:transparent;font-size:11px;font-weight:650;cursor:pointer}.chatcol-conversations.active,.chatcol-conversations:hover{color:var(--accent-ink);background:var(--accent-soft)}.chatcol-collapse:focus-visible,.chatcol-conversations:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chatcol.collapsed .chatcol-background-run,.chatcol.collapsed .chatcol-composer,.chatcol.collapsed .chatcol-head,.chatcol.collapsed .chatcol-head-main,.chatcol.collapsed .chatcol-live,.chatcol.collapsed .chatcol-queue,.chatcol.collapsed .chatfeed,.chatcol.collapsed .chatfeed-shell,.chatcol.collapsed .conversation-panel,.chatcol.collapsed .workflow-progress{display:none}.chatcol-reopen{position:absolute;top:12px;left:14px;z-index:var(--z-dropdown);display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:hsla(0,0%,100%,.94);box-shadow:var(--shadow-sm);cursor:pointer;pointer-events:auto;animation:chatcol-reopen-in .16s ease-out both}.chatcol-reopen:hover{color:var(--accent-ink);border-color:rgba(37,99,235,.32);background:var(--accent-soft)}.chatcol-reopen:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@keyframes chatcol-reopen-in{0%{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:translateX(0)}}.ws:has(>.chatcol.collapsed) .stage-head{padding-left:60px}.stage-head{transition:padding-left .22s cubic-bezier(.22,.78,.2,1)}.conversation-panel{position:absolute;top:49px;left:12px;right:12px;z-index:var(--z-dropdown);overflow:visible;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow-pop);animation:conversation-panel-in .15s ease-out both}@keyframes conversation-panel-in{0%{opacity:0;transform:translateY(-5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.conversation-panel-head{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:9px 12px 8px 14px;border-bottom:1px solid var(--border);color:var(--text-2);font-size:12px;font-weight:720;letter-spacing:.08em}.conversation-panel-head b{margin-left:3px;color:var(--muted);font-weight:600}.conversation-new{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:#fff;font-size:12px;cursor:pointer}.conversation-new:hover:not(:disabled){color:var(--accent-ink);border-color:rgba(37,99,235,.3);background:var(--accent-soft)}.conversation-new:disabled,.conversation-select:disabled{cursor:not-allowed;opacity:.5}.conversation-search{display:flex;align-items:center;gap:8px;height:38px;margin:10px 12px 6px;padding:0 11px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--bg-soft)}.conversation-search:focus-within{border-color:rgba(37,99,235,.38);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.conversation-search input{width:100%;min-width:0;padding:0;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:13px}.conversation-list{max-height:min(330px,calc(100vh - 180px));overflow-y:auto;padding:4px 8px 9px}.conversation-row{position:relative;display:flex;align-items:center;min-height:54px;border:1px solid transparent;border-radius:10px}.conversation-row:hover{background:var(--bg-soft)}.conversation-row.active{border-color:rgba(37,99,235,.18);background:var(--accent-soft)}.conversation-select{display:flex;min-width:0;flex:1 1;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 34px 8px 10px;border:0;color:var(--text);background:transparent;text-align:left;cursor:pointer}.conversation-select>span{width:100%;overflow:hidden;font-size:13px;font-weight:620;text-overflow:ellipsis;white-space:nowrap}.conversation-select small{color:var(--muted);font-size:10.5px}.conversation-actions-trigger{position:absolute;top:10px;right:6px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer;opacity:0}.conversation-actions-trigger:focus-visible,.conversation-row.active .conversation-actions-trigger,.conversation-row:hover .conversation-actions-trigger{opacity:1}.conversation-actions-trigger:hover{color:var(--text);background:#fff}.conversation-row-actions{position:absolute;top:42px;right:6px;z-index:2;display:grid;grid-gap:2px;gap:2px;min-width:116px;padding:5px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow-md)}.conversation-row-actions button{display:flex;align-items:center;gap:7px;min-height:30px;padding:0 8px;border:0;border-radius:6px;color:var(--text-2);background:transparent;font-size:11.5px;text-align:left;cursor:pointer}.conversation-row-actions button:hover:not(:disabled){background:var(--bg-soft)}.conversation-row-actions button.danger{color:var(--err)}.conversation-row-actions button:disabled{opacity:.42;cursor:not-allowed}.conversation-delete-confirm,.conversation-rename{display:flex;width:100%;align-items:center;gap:5px;padding:7px}.conversation-rename input{min-width:0;height:32px;flex:1 1;padding:0 8px;border:1px solid var(--accent);border-radius:7px;outline:0;font:inherit;font-size:12px}.conversation-delete-confirm button,.conversation-rename button{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border:0;border-radius:7px;color:var(--text-2);background:var(--bg-soft);font-size:11px;cursor:pointer}.conversation-delete-confirm span{min-width:0;flex:1 1;color:var(--text-2);font-size:12px}.conversation-delete-confirm button:first-of-type{color:#fff;background:var(--err)}.conversation-empty{padding:18px 10px;color:var(--muted);font-size:12px;text-align:center}.workspace-home{display:inline-flex;align-items:center;min-width:0;flex:0 0 auto;padding:0;border:0;background:none;font:inherit;cursor:pointer;text-decoration:none}.workspace-home .glyph{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;color:#fff;background:var(--text);font-size:11px;transition:transform .16s ease,background .16s ease}.workspace-home:hover .glyph{transform:translateX(-1px);background:#111827}.chatcol-project-title{flex:1 1;min-width:0;overflow:hidden;color:var(--text-2);font-size:12px;font-weight:560;letter-spacing:-.01em;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.chatcol-live{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--accent)}.chatcol-live:before{content:"";width:7px;height:7px;border-radius:999px;background:var(--accent);animation:pulse 1.3s ease-in-out infinite}.chatcol-background-run{display:inline-flex;min-width:0;max-width:168px;height:30px;align-items:center;gap:6px;padding:0 5px 0 9px;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--border));border-radius:999px;color:var(--accent-ink);background:color-mix(in srgb,var(--accent-soft) 70%,#fff);font-size:11px;font-weight:650}.chatcol-background-run>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatcol-background-run>button{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:999px;color:var(--muted);background:transparent;cursor:pointer}.chatcol-background-run>button:hover:not(:disabled){color:var(--err);background:rgba(220,38,38,.08)}.chatcol-background-run.stopping,.chatcol-background-run>button:disabled{opacity:.58}.chatfeed-shell{position:relative}.chatfeed,.chatfeed-shell{flex:1 1;display:flex;min-height:0}.chatfeed{overflow-y:auto;padding:18px;flex-direction:column;gap:16px;background:#fff}.chat-scroll-latest{position:absolute;right:16px;bottom:14px;z-index:3;display:grid;width:32px;height:32px;place-items:center;padding:0;border:1px solid var(--border-strong);border-radius:999px;color:var(--text-2);background:hsla(0,0%,100%,.96);box-shadow:0 7px 22px rgba(15,23,42,.16);cursor:pointer;animation:chat-scroll-latest-in .16s ease-out both}.chat-scroll-latest:hover{color:var(--accent-ink);border-color:color-mix(in srgb,var(--accent) 38%,var(--border));background:var(--accent-soft)}.chat-scroll-latest:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@keyframes chat-scroll-latest-in{0%{opacity:0;transform:translateY(5px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.workflow-progress{flex:0 0 auto;margin:0;overflow:hidden;border:1px solid var(--border);border-radius:13px;background:#fff;box-shadow:var(--shadow-sm)}.workflow-progress-head{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:8px 11px;border-bottom:1px solid var(--border);background:var(--bg-soft)}.workflow-progress-head strong{color:var(--text-2);font-size:11.5px;font-weight:720;letter-spacing:.03em}.workflow-progress-head span{color:var(--muted);font-size:10px;font-weight:620}.workflow-progress-bar{height:3px;overflow:hidden;background:var(--panel-2)}.workflow-progress-bar i{display:block;height:100%;border-radius:999px;background:var(--accent);transition:width .3s ease}.workflow-steps{display:grid;padding:6px 8px 8px}.workflow-step{display:flex;align-items:flex-start;gap:8px;min-width:0;padding:6px 4px;border-radius:8px}.workflow-step.active{background:var(--accent-soft)}.workflow-step-icon{display:grid;place-items:center;width:18px;height:20px;flex:0 0 auto;color:var(--faint)}.workflow-step.complete .workflow-step-icon{color:var(--ok)}.workflow-step.active .workflow-step-icon{color:var(--accent)}.workflow-step.skipped .workflow-step-icon{color:var(--muted)}.workflow-step.error .workflow-step-icon{color:var(--danger,#dc2626)}.workflow-step.error .workflow-step-copy b{color:var(--danger,#b91c1c)}.workflow-step-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:1px}.workflow-step-copy b{color:var(--text-2);font-size:11.5px;font-weight:650;line-height:1.35}.workflow-step-copy small{overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.workflow-step.active .workflow-step-copy b{color:var(--accent-ink)}.workflow-step.pending .workflow-step-copy{opacity:.6}.msg{font-size:14.5px;line-height:1.55}.msg.user{align-self:flex-end;max-width:88%;display:flex;align-items:flex-end;flex-direction:column;color:var(--text)}.msg-user-bubble{max-width:100%;background:#fff;border:1px solid var(--border);border-radius:14px 14px 4px 14px;padding:10px 14px;color:var(--text);box-shadow:var(--shadow-sm)}.msg.user>.context-items.compact{justify-content:flex-end;margin:0 0 6px}.msg.user>.slide-attachment{max-width:100%;margin:0 0 6px}.msg.assistant{min-width:0;color:var(--text-2)}.assistant-markdown{max-width:68ch;color:var(--text-2);font-size:14px;line-height:1.72;letter-spacing:-.006em;overflow-wrap:anywhere}.assistant-markdown>:first-child{margin-top:0}.assistant-markdown>:last-child{margin-bottom:0}.assistant-markdown p{margin:0 0 12px}.assistant-markdown h3,.assistant-markdown h4,.assistant-markdown h5,.assistant-markdown h6{margin:22px 0 8px;color:var(--text);font-weight:680;line-height:1.35;letter-spacing:-.018em}.assistant-markdown h3{font-size:20px}.assistant-markdown h4{font-size:17px}.assistant-markdown h5{font-size:15px}.assistant-markdown h6{font-size:14px}.assistant-markdown strong{color:var(--text);font-weight:680}.assistant-markdown ol,.assistant-markdown ul{margin:10px 0 14px;padding-left:1.55em}.assistant-markdown li{margin:5px 0;padding-left:.16em}.assistant-markdown li::marker{color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:560}.assistant-markdown ol+ul{margin-top:-8px;margin-left:1.45em}.assistant-markdown blockquote{margin:14px 0;padding:8px 12px;border-left:3px solid var(--border-strong);border-radius:0 8px 8px 0;color:var(--muted);background:var(--bg-soft)}.assistant-markdown a{color:var(--accent-ink);text-decoration:underline;-webkit-text-decoration-color:rgba(37,99,235,.28);text-decoration-color:rgba(37,99,235,.28);text-underline-offset:3px;transition:color .14s ease,-webkit-text-decoration-color .14s ease;transition:color .14s ease,text-decoration-color .14s ease;transition:color .14s ease,text-decoration-color .14s ease,-webkit-text-decoration-color .14s ease}.assistant-markdown a:hover{color:var(--accent);-webkit-text-decoration-color:currentColor;text-decoration-color:currentColor}.assistant-markdown code{padding:.12em .38em;border:1px solid var(--border);border-radius:5px;color:var(--text);background:var(--bg-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.87em}.assistant-markdown .markdown-code{max-width:100%;margin:14px 0;overflow-x:auto;padding:12px 14px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--bg-soft);font-size:12px;line-height:1.65}.assistant-markdown .markdown-code code{padding:0;border:0;border-radius:0;background:transparent;font-size:inherit}.assistant-markdown hr{margin:20px 0;border:0;border-top:1px solid var(--border)}.msg .ran{font-size:12px;color:var(--muted);margin-bottom:6px}.msg b{color:var(--text)}.answer-meta{display:flex;align-items:center;gap:9px;min-height:30px;margin-top:10px;color:var(--muted);font-size:11px}.answer-meta-summary{display:inline-flex;min-width:0;align-items:center;gap:5px}.answer-meta-summary i{color:var(--faint);font-style:normal}.answer-meta-divider{width:1px;height:20px;background:var(--border)}.answer-action{display:grid;place-items:center;width:29px;height:29px;padding:0;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.answer-action:hover{color:var(--text);background:var(--bg-soft)}.answer-action:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.chat-artifact-card{width:100%;min-width:0;display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 11px;border:1px solid var(--border);border-radius:12px;color:var(--text-2);background:#fff;box-shadow:var(--shadow-sm);font:inherit;text-align:left;cursor:pointer;transition:border-color .14s ease,background .14s ease,transform .14s ease}.chat-artifact-card:hover:not(:disabled){border-color:rgba(37,99,235,.3);background:var(--accent-soft);transform:translateY(-1px)}.chat-artifact-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-artifact-card:disabled{cursor:default}.chat-artifact-icon,.workflow-file-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.chat-artifact-copy,.workflow-file-list-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:2px}.chat-artifact-copy strong,.workflow-file-list-copy strong{overflow:hidden;color:var(--text);font-size:12.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.chat-artifact-copy small,.workflow-file-list-copy small{overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.chat-artifact-open{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;color:var(--muted);font-size:10.5px;font-weight:620}.chat-artifact-card:hover .chat-artifact-open{color:var(--accent-ink)}.chat-empty{display:grid;place-items:center;grid-gap:5px;gap:5px;margin:auto 0;padding:28px 18px;color:var(--muted);text-align:center}.chat-empty svg{color:var(--faint)}.chat-empty strong{color:var(--text-2);font-size:13px}.chat-empty span{max-width:250px;font-size:11.5px;line-height:1.45}.doc-card{display:flex;width:100%;align-items:center;gap:12px;margin-top:10px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm);color:inherit;font:inherit;text-align:left}button.doc-card{cursor:pointer}button.doc-card:hover{border-color:rgba(37,99,235,.28);box-shadow:0 4px 14px rgba(15,23,42,.07)}button.doc-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.doc-card .ic{width:34px;height:34px;border-radius:8px;background:var(--panel-2);display:grid;place-items:center;font-size:16px}.doc-card-copy{display:flex;min-width:0;flex:1 1;flex-direction:column}.doc-card .t{font-size:13.5px;font-weight:600}.doc-card .s{font-size:12px;color:var(--muted)}.doc-card-open{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;color:var(--accent-ink);font-size:10.5px;font-weight:620}.outline-preview-backdrop{position:fixed;inset:0;z-index:calc(var(--z-tooltip) + 3);display:grid;place-items:center;padding:28px;background:rgba(20,22,28,.52);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.outline-preview-dialog{display:flex;width:min(760px,94vw);max-height:min(82vh,760px);flex-direction:column;overflow:hidden;border:1px solid hsla(0,0%,100%,.22);border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28)}.outline-preview-head{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--border)}.outline-preview-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;border-radius:8px;color:var(--accent-ink);background:var(--accent-soft)}.outline-preview-head>span:nth-child(2){display:flex;min-width:0;flex:1 1;flex-direction:column;gap:1px}.outline-preview-head strong{overflow:hidden;color:var(--text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.outline-preview-head small{color:var(--muted);font-size:11px}.outline-preview-head button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.outline-preview-head button:hover{color:var(--text);background:var(--bg-soft)}.outline-preview-pages{display:grid;grid-gap:8px;gap:8px;overflow-y:auto;padding:14px 16px 18px;background:var(--workspace-ground)}.outline-preview-page{display:grid;grid-template-columns:38px minmax(0,1fr);grid-gap:10px;gap:10px;padding:12px;border:1px solid var(--border);border-radius:11px;background:#fff}.outline-preview-page>span{display:grid;place-items:center;width:32px;height:26px;border-radius:7px;color:var(--accent-ink);background:var(--accent-soft);font-size:10.5px;font-weight:720}.outline-preview-page>div{min-width:0}.outline-preview-page strong{display:block;color:var(--text);font-size:13px}.outline-preview-page ul{display:grid;grid-gap:3px;gap:3px;margin:7px 0 0;padding-left:17px;color:var(--text-2);font-size:11.5px;line-height:1.45}.outline-preview-page small{color:var(--muted)}.slide-attachment{display:flex;align-items:center;gap:10px;min-width:0;margin-top:9px;padding:7px;border:1px solid var(--border);border-radius:11px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.slide-attachment-thumb{position:relative;display:grid;place-items:center;flex:0 0 auto;padding:0;overflow:hidden;border:0;border-radius:6px;background:transparent;cursor:zoom-in}.slide-attachment-thumb:disabled{cursor:default;opacity:1}.slide-attachment img,.slide-attachment-placeholder{width:58px;aspect-ratio:16/9;flex:0 0 auto;object-fit:cover;border:1px solid var(--border);border-radius:6px;background:var(--panel-2)}.slide-preview-glyph{position:absolute;right:3px;bottom:3px;display:grid;place-items:center;width:19px;height:19px;border-radius:5px;color:#fff;background:rgba(20,22,28,.74);opacity:0;transform:translateY(2px);transition:opacity .15s ease,transform .15s ease}.slide-attachment-thumb:focus-visible .slide-preview-glyph,.slide-attachment-thumb:hover .slide-preview-glyph{opacity:1;transform:translateY(0)}.slide-attachment-locate{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1;padding:3px 4px;border:0;border-radius:7px;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer}.slide-attachment-locate:hover{background:var(--panel-2)}.slide-attachment-locate>svg{flex:0 0 auto;color:var(--faint)}.slide-attachment-locate .slide-attachment-copy{flex:1 1}.slide-attachment-locate:focus-visible,.slide-attachment-thumb:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.slide-attachment-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}.slide-attachment-copy{display:flex;min-width:0;flex-direction:column;gap:1px}.slide-attachment-copy b{color:var(--text);font-size:12px;font-weight:650}.slide-attachment-copy small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.slide-attachment.compact{flex:1 1;margin-top:0;padding:5px;border:0;background:transparent;box-shadow:none}.slide-attachment.compact .slide-attachment-placeholder,.slide-attachment.compact img{width:48px}.msg.with-process{width:100%}.msg-blocks{display:flex;flex-direction:column;gap:9px;margin-top:2px}.msg-blocks>.agent-tool,.msg-blocks>.assistant-markdown{margin:0}.global-todo{position:-webkit-sticky;position:sticky;top:0;z-index:4;margin-bottom:12px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--bg-soft,#f7f7f8);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:saturate(1.1) blur(6px);backdrop-filter:saturate(1.1) blur(6px)}.global-todo-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 12px;border:0;background:transparent;color:var(--text);cursor:pointer;font:inherit}.global-todo-title{display:inline-flex;align-items:center;gap:7px}.global-todo-title strong{font-size:12.5px;font-weight:650}.global-todo.active .global-todo-title{color:var(--accent)}.global-todo-count{color:var(--muted);font-size:11px;font-weight:600}.global-todo-body{padding:2px 12px 10px;border-top:1px solid var(--border)}.global-todo-group+.global-todo-group{margin-top:8px}.global-todo-group-label{margin:8px 0 4px;color:var(--muted);font-size:10.5px;font-weight:600;text-transform:none}.global-todo-body ul{margin:0;padding:0;list-style:none}.global-todo-body li{display:flex;align-items:flex-start;gap:7px;padding:3px 0;color:var(--text-2);font-size:12px;line-height:1.4}.global-todo-body li>span:first-child{display:grid;place-items:center;flex:0 0 auto;margin-top:1px;color:var(--muted)}.global-todo-body li.in_progress{color:var(--text)}.global-todo-body li.in_progress>span:first-child{color:var(--accent)}.global-todo-body li.complete>span:first-child{color:var(--ok)}.global-todo-body li.complete>span:last-child{color:var(--muted);text-decoration:line-through}.global-todo-body li.error>span:first-child{color:var(--err)}.agent-process{margin-top:9px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.msg.with-process>.agent-process:first-child{margin-top:0}.agent-process-head{display:flex;align-items:center;gap:8px;min-height:38px;padding:9px 11px;border-bottom:1px solid var(--border);background:var(--bg-soft)}.agent-process-head strong{min-width:0;flex:1 1;overflow:hidden;color:var(--text);font-size:12.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.agent-process-head>span:last-child{flex:0 0 auto;color:var(--muted);font-size:10.5px;font-weight:600}.agent-process-state{display:grid;place-items:center;flex:0 0 auto;color:var(--accent)}.agent-process.complete .agent-process-state{color:var(--ok)}.agent-process.error .agent-process-state{color:var(--err)}.spin{animation:spin .9s linear infinite}.agent-process-notes{padding:10px 11px 4px}.agent-process-notes p{margin:0 0 6px;color:var(--text-2);font-size:11.5px;line-height:1.45}.agent-tools{display:flex;flex-direction:column;gap:1px;padding:4px 6px 6px}.agent-tool{overflow:hidden;border-radius:8px}.agent-tool-toggle{display:flex;width:100%;align-items:flex-start;gap:8px;padding:7px 6px;border:0;border-radius:inherit;color:inherit;background:transparent;font:inherit;text-align:left;cursor:pointer}.agent-tool-toggle.static{cursor:default}.agent-tool-toggle:not(.static):hover{background:var(--panel-2)}.agent-tool.running{background:var(--accent-soft)}.agent-tool-icon{display:grid;place-items:center;width:16px;height:18px;flex:0 0 auto;color:var(--faint)}.agent-tool.running .agent-tool-icon{color:var(--accent)}.agent-tool.complete .agent-tool-icon{color:var(--ok)}.agent-tool.error .agent-tool-icon{color:var(--err)}.agent-tool-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:1px}.agent-tool-copy>span{display:inline-flex;align-items:center;gap:4px;color:var(--faint)}.agent-tool-copy code{overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.agent-tool-copy strong{color:var(--text-2);font-size:11.5px;font-weight:620;line-height:1.35}.agent-tool-copy small{overflow:hidden;color:var(--muted);font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.agent-tool-status{flex:0 0 auto;padding-top:3px;color:var(--faint);font-size:9.5px;font-weight:600}.agent-tool.running .agent-tool-status{color:var(--accent-ink)}.agent-tool.error .agent-tool-status{color:var(--err)}.agent-tool-chevron{display:grid;width:14px;height:18px;flex:0 0 auto;place-items:center;color:var(--faint)}.agent-tool-details{margin:-1px 6px 7px 30px;overflow:hidden;border:1px solid color-mix(in srgb,var(--border) 84%,transparent);border-radius:8px;background:color-mix(in srgb,var(--bg-soft) 76%,#fff)}.agent-tool-path-row{display:flex;min-width:0;align-items:center;gap:8px;padding:7px 8px}.agent-tool-path-row>code{min-width:0;flex:1 1;overflow:hidden;color:var(--text-2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.agent-tool-path-row>button{flex:0 0 auto;padding:3px 7px;border:1px solid var(--border);border-radius:6px;color:var(--text-2);background:#fff;font-size:9.5px;cursor:pointer}.agent-tool-command,.agent-tool-output{max-height:190px;margin:0;overflow:auto;padding:8px 9px;color:#d8dee9;background:#181b22;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;line-height:1.5;white-space:pre-wrap}.agent-tool-output{border-top:1px solid hsla(0,0%,100%,.09);color:#aeb8c7}.agent-tool-todos{display:grid;grid-gap:5px;gap:5px;margin:0;padding:8px 9px;list-style:none}.agent-tool-todos li{display:flex;align-items:flex-start;gap:7px;color:var(--text-2);font-size:10.5px;line-height:1.4}.agent-tool-todos li>span:first-child{display:grid;width:15px;height:16px;flex:0 0 auto;place-items:center;color:var(--faint)}.agent-tool-todos li.complete>span:first-child{color:var(--ok)}.agent-tool-todos li.in_progress>span:first-child{color:var(--accent)}.agent-tool-todos li.error>span:first-child{color:var(--err)}.image-preview-backdrop{position:fixed;inset:0;z-index:calc(var(--z-tooltip) + 2);display:grid;place-items:center;padding:28px;background:rgba(20,22,28,.62);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.image-preview-dialog{display:flex;width:min(1120px,94vw);max-height:92vh;flex-direction:column;overflow:hidden;border:1px solid hsla(0,0%,100%,.18);border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.32)}.image-preview-head{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px 10px 14px;border-bottom:1px solid var(--border);background:#fff}.image-preview-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;border-radius:8px;color:var(--accent-ink);background:var(--accent-soft)}.image-preview-copy{display:flex;min-width:0;flex:1 1;flex-direction:column}.image-preview-copy small,.image-preview-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preview-copy strong{color:var(--text);font-size:13px;font-weight:650}.image-preview-copy small{margin-top:1px;color:var(--muted);font-size:11px}.image-preview-head>button{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.image-preview-head>button:hover{color:var(--text);background:var(--panel-2)}.image-preview-head>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.image-preview-body{display:grid;min-height:0;place-items:center;padding:18px;overflow:auto;background:var(--workspace-ground)}.image-preview-body img{display:block;max-width:100%;max-height:calc(92vh - 91px);object-fit:contain;border-radius:8px;box-shadow:var(--shadow)}@media (max-width:600px){.image-preview-backdrop{padding:10px}.image-preview-dialog{width:100%;max-height:96vh;border-radius:13px}.image-preview-body{padding:8px}.agent-tool-status{display:none}}.typing{display:inline-flex;gap:4px;align-items:center}.typing span{width:6px;height:6px;border-radius:999px;background:var(--muted);animation:blink 1.2s ease-in-out infinite both}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}.genstatus{border:1px solid var(--border);border-radius:14px;background:linear-gradient(180deg,#fff,var(--bg-soft));box-shadow:var(--shadow-sm);padding:13px 14px;align-self:stretch}.genstatus-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.genstatus-title{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:650;color:var(--text)}.pulse-dot{width:8px;height:8px;border-radius:999px;background:var(--accent);animation:pulse 1.3s ease-in-out infinite}.genstatus-count{font-size:12px;font-weight:650;color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:2px 9px}.genbar{height:6px;background:var(--panel-3);overflow:hidden;margin-bottom:12px}.genbar,.genbar>i{border-radius:999px}.genbar>i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#5b8bf7);transition:width .5s cubic-bezier(.22,1,.36,1)}.gensteps{display:flex;flex-direction:column;gap:7px}.genstep{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.genstep .dot{width:18px;height:18px;border-radius:999px;display:grid;place-items:center;font-size:11px;flex-shrink:0;background:var(--panel-2);color:var(--muted)}.genstep.done{color:var(--text-2)}.genstep.done .dot{background:rgba(22,163,74,.12);color:var(--ok)}.genstep.active{color:var(--text);font-weight:550}.genstep.active .dot{background:var(--accent-soft);color:var(--accent);animation:spin 1.4s linear infinite}.chatcol-queue{flex:0 0 auto;min-width:0;padding:10px 16px 0;border-top:1px solid var(--border);background:#fff}.chatcol-queue-head{display:flex;align-items:center;min-height:20px;padding:0 4px 5px}.chatcol-queue-heading{display:inline-flex;align-items:center;gap:5px;min-width:0;color:var(--muted);font-size:11px;line-height:1.2;white-space:nowrap}.chatcol-queue-heading strong{color:var(--text);font-weight:700}.chatcol-queue-list{display:flex;flex-direction:column;gap:4px;min-width:0}.chatcol-queue-list.scrollable{max-height:208px;padding-right:3px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 16px),transparent)}.chatcol-queue-row{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) max-content;align-items:center;grid-gap:5px;gap:5px;min-width:0;min-height:43px;padding:5px 6px 5px 4px;border:1px solid transparent;border-radius:10px;background:var(--bg-soft);transition:background-color .14s cubic-bezier(.23,1,.32,1),border-color .14s cubic-bezier(.23,1,.32,1),opacity .14s cubic-bezier(.23,1,.32,1)}.chatcol-queue-row.next{border-color:var(--border);background:color-mix(in srgb,var(--bg-soft) 74%,#fff)}.chatcol-queue-row:hover{background:var(--panel-2)}.chatcol-queue-row.editing{border-color:color-mix(in srgb,var(--accent) 50%,var(--border));background:color-mix(in srgb,var(--accent-soft) 36%,#fff)}.chatcol-queue-row.dragging{opacity:.42}.chatcol-queue-row.drop-after:after,.chatcol-queue-row.drop-before:before{content:"";position:absolute;right:8px;left:28px;height:2px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.chatcol-queue-row.drop-before:before{top:-3px}.chatcol-queue-row.drop-after:after{bottom:-3px}.chatcol-queue-actions button,.chatcol-queue-grip{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted)}.chatcol-queue-grip{color:var(--muted);cursor:-webkit-grab;cursor:grab}.chatcol-queue-grip:active:not(:disabled){cursor:-webkit-grabbing;cursor:grabbing}.chatcol-queue-grip:disabled{cursor:default;opacity:.36}.chatcol-queue-actions button:hover:not(:disabled),.chatcol-queue-grip:hover:not(:disabled){border-color:var(--border);background:#fff;color:var(--text)}.chatcol-queue-actions button:focus-visible,.chatcol-queue-grip:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.chatcol-queue-actions button:disabled{cursor:not-allowed;opacity:.4}.chatcol-queue-main{display:flex;flex-direction:column;gap:3px;min-width:0;overflow:hidden;color:var(--text);font-size:12px;line-height:1.25}.chatcol-queue-main>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatcol-queue-meta{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden}.chatcol-queue-meta i{flex:0 1 auto;min-width:0;max-width:120px;padding:2px 5px;overflow:hidden;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--muted);font-size:9.5px;font-style:normal;line-height:1;text-overflow:ellipsis;white-space:nowrap}.chatcol-queue-actions{display:inline-flex;align-items:center;gap:1px}.chatcol-queue-more{display:block;padding:4px 4px 0 33px;color:var(--muted);font-size:10px}.chatcol-composer{padding:12px 16px 16px;border-top:1px solid var(--border);background:#fff}.chatcol-queue+.chatcol-composer{padding-top:8px;border-top:0}.chatcol-composer .composer{position:relative}.chatcol-queue-editing{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-2px 0 7px;color:var(--accent);font-size:11px;font-weight:650}.chatcol-queue-editing span{display:inline-flex;align-items:center;gap:5px;min-width:0}.chatcol-queue-editing button{padding:2px 5px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px}.chatcol-queue-editing button:hover{background:var(--bg-soft);color:var(--text)}.send-btn.queue-save{background:var(--accent)}.chatcol-composer .composer textarea{min-height:72px;max-height:180px;padding:1px 3px;font-size:14px;line-height:1.55}.design-file-mention-picker{position:absolute;z-index:var(--z-dropdown);right:0;bottom:calc(100% + 8px);left:0;overflow:hidden;border:1px solid var(--border-strong);border-radius:13px;background:#fff;box-shadow:var(--shadow-pop);animation:conversation-panel-in .12s ease-out both}.design-file-mention-tabs{display:flex;align-items:center;gap:6px;padding:6px 7px;border-bottom:1px solid var(--border)}.design-file-mention-tab-buttons{display:flex;align-items:center;gap:3px}.design-file-mention-tab-buttons>button,.design-file-mention-tabs>button{min-height:27px;padding:0 8px;border:0;border-radius:7px;color:var(--muted);background:transparent;font:inherit;font-size:10.5px;font-weight:620;cursor:pointer}.design-file-mention-tab-buttons>button:hover,.design-file-mention-tabs>button:hover{color:var(--text);background:var(--panel-2)}.design-file-mention-tab-buttons>button.active{color:var(--accent-ink);background:var(--accent-soft)}.design-file-mention-tabs>.design-file-mention-refresh{display:grid;width:27px;min-width:27px;margin-left:auto;padding:0;place-items:center}.design-file-mention-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 5px;color:var(--muted);font-size:9px;font-weight:720;letter-spacing:.06em;text-transform:uppercase}.design-file-mention-section-head span{font-weight:600;letter-spacing:0}.design-file-mention-list{max-height:min(330px,42vh);padding:2px 5px 5px;overflow-y:auto;overscroll-behavior:contain}.design-file-mention-list>button{display:flex;width:100%;min-width:0;align-items:center;gap:8px;padding:7px;border:0;border-radius:8px;color:var(--text-2);background:transparent;font:inherit;text-align:left;cursor:pointer}.design-file-mention-list>button.active,.design-file-mention-list>button:hover{background:var(--accent-soft)}.design-file-mention-icon{display:grid;width:29px;height:29px;flex:0 0 auto;place-items:center;border:1px solid var(--border);border-radius:8px;color:var(--accent-ink);background:#fff}.design-file-mention-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:1px}.design-file-mention-copy small,.design-file-mention-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-file-mention-copy strong{color:var(--text);font-size:11px;font-weight:640}.design-file-mention-copy small{color:var(--muted);font-size:9.5px}.design-file-mention-selected{display:grid;width:20px;height:20px;flex:0 0 auto;place-items:center;border-radius:999px;color:#fff;background:var(--accent)}.design-file-mention-empty{margin:0;padding:18px 12px;color:var(--muted);font-size:10.5px;text-align:center}.design-file-mention-picker>footer{padding:6px 10px 7px;border-top:1px solid var(--border);color:var(--faint);background:var(--bg-soft);font-size:9.5px}.composer-context{width:-moz-fit-content;width:fit-content;max-width:100%;display:inline-flex;align-items:center;gap:2px;margin:-2px 0 8px;padding:4px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:var(--shadow-sm)}.composer-context .slide-attachment.compact{flex:0 1 auto;max-width:220px;padding:0}.composer-context .slide-attachment.compact .slide-attachment-placeholder,.composer-context .slide-attachment.compact img{width:36px;border-radius:5px}.composer-context .slide-attachment-copy b{font-size:11.5px}.composer-context .slide-attachment-copy small{max-width:150px}.composer-context>button{width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:7px;color:var(--muted);background:transparent;font:inherit;font-size:17px;cursor:pointer}.composer-context>button:hover{color:var(--text);background:var(--panel-3)}.stage{flex-direction:column;min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}.stage,.stage-head{display:flex;background:#fff}.stage-head{align-items:center;gap:10px;min-height:57px;padding:12px 20px;border-bottom:1px solid var(--border)}.workspace-mode-tabs{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--bg-soft)}.workspace-mode-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:28px;padding:0 9px;border:0;border-radius:7px;color:var(--muted);background:transparent;font:inherit;font-size:11.5px;font-weight:620;white-space:nowrap;cursor:pointer}.workspace-mode-tabs button:hover{color:var(--text-2)}.workspace-mode-tabs button.active{color:var(--text);background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.1)}.workspace-mode-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.workspace-mode-tabs small{display:inline-grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border-radius:999px;color:var(--muted);background:var(--panel-2);font-size:9px}.workspace-mode-tabs button.active small{color:var(--accent-ink);background:var(--accent-soft)}@media (max-width:540px){.workspace-mode-tabs button{width:30px;padding:0}.workspace-mode-tabs button>span,.workspace-mode-tabs small{display:none}}.project-ws .stage-head{padding-right:68px}@media (max-width:540px){.project-ws .stage-head{padding-right:56px}}.stage-head .title{font-weight:650;font-size:15px;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-head .count{font-size:12.5px;color:var(--muted);padding:3px 10px;border-radius:999px;border:1px solid var(--border)}.stage-head.without-title .count{margin-left:auto}.stage-collapsed-title{display:none;min-width:0;overflow:hidden;color:var(--text-2);font-size:12px;font-weight:560;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.ws:has(>.chatcol.collapse-settled) .stage-collapsed-title{display:block;margin-right:auto;animation:workspace-title-in .16s ease-out both}.ws:has(>.chatcol.collapse-settled) .stage-head.without-title .count{margin-left:0}@keyframes workspace-title-in{0%{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}.iconbtn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:9px;border:1px solid var(--border);background:#fff;color:var(--text-2);font-size:13px;font-weight:550;cursor:pointer;text-decoration:none}.iconbtn:hover{background:var(--panel-2)}.iconbtn:disabled,.iconbtn[aria-disabled=true]{opacity:.45;cursor:not-allowed;pointer-events:none}.iconbtn.primary{background:var(--text);border-color:var(--text);color:#fff}.iconbtn.primary:hover{opacity:.88;background:var(--text)}.iconbtn .caret{color:currentColor;opacity:.6;font-size:10px}.stage-actions{display:inline-flex;align-items:center;gap:8px}.stage-actions-sep{width:1px;height:20px;background:var(--border-strong);margin:0 2px}.export-wrap,.present-wrap{position:relative}.present-pop{right:0;width:min(330px,calc(100vw - 24px))}.present-pop .pop-item{align-items:flex-start}.present-pop .pop-item .ic{display:grid;height:30px;place-items:center;flex:0 0 22px;border-radius:7px;background:var(--panel-2);color:var(--text-2);font-size:12px}.present-pop .pop-item .grow{display:flex;min-width:0;flex-direction:column;gap:2px}.present-pop .pop-item b{color:var(--text);font-size:13px;font-weight:650}.present-pop .pop-item em{color:var(--muted);font-size:11px;font-style:normal;font-weight:450;line-height:1.35}.present-pop-sep{height:1px;margin:5px 4px 2px;background:var(--border)}.export-pop{right:0;min-width:246px}.export-pop .pop-item .grow{display:flex;flex-direction:column;gap:1px}.export-pop .pop-item .grow b{font-size:13.5px;font-weight:600;color:var(--text)}.export-pop .pop-item .grow em{font-style:normal;font-size:11.5px;color:var(--muted)}.export-pop .pop-item .ic{font-size:16px}.export-pop .pop-item .ic svg{display:block}.export-toast{position:fixed;z-index:var(--z-toast);left:50%;bottom:28px;display:inline-flex;align-items:center;gap:9px;max-width:min(440px,calc(100vw - 32px));padding:11px 16px;border:1px solid var(--border-strong);border-radius:12px;color:var(--text);background:var(--panel);box-shadow:0 18px 44px -18px rgba(16,20,32,.55);font-size:13px;font-weight:560;transform:translateX(-50%);animation:exportToastIn .22s cubic-bezier(.2,.75,.2,1) both}.export-toast.ready{color:var(--ok);border-color:color-mix(in srgb,var(--ok) 40%,var(--border))}.export-toast.error{color:var(--err);border-color:color-mix(in srgb,var(--err) 40%,var(--border))}.export-toast.error span:last-child,.export-toast.ready span:last-child{color:var(--text)}@keyframes exportToastIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.stage-main{position:relative;flex:1 1;min-height:0;flex-direction:column;justify-content:center;gap:14px;padding:clamp(18px,3vw,36px);overflow:auto;background:var(--workspace-ground);container:stagemain/inline-size}.slide-toolbar,.stage-main{display:flex;align-items:center}.slide-toolbar{max-width:min(960px,100%);min-height:42px;flex:0 0 auto;gap:3px;padding:4px;border:1px solid var(--border);border-radius:11px;background:hsla(0,0%,100%,.96);box-shadow:0 7px 22px -15px rgba(16,20,32,.48);overflow:visible}.slide-toolbar-page{flex:0 0 auto;padding:0 9px;color:var(--muted);font-size:11.5px;font-weight:650;white-space:nowrap}.slide-toolbar-sep{width:1px;height:20px;flex:0 0 auto;margin:0 2px;background:var(--border)}.slide-toolbar button{min-width:0;height:32px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:0;border-radius:7px;color:var(--text-2);background:transparent;font:inherit;font-size:12.5px;font-weight:550;white-space:nowrap;cursor:pointer;transition:color .15s ease,background .15s ease}.slide-toolbar button:hover:not(:disabled){color:var(--text);background:var(--panel-2)}.slide-toolbar button:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 42%,transparent);outline-offset:-2px}.slide-toolbar button:disabled{opacity:.38;cursor:not-allowed}.slide-toolbar button.icon-only{width:32px;padding:0;gap:0}.slide-toolbar button.danger{color:var(--err)}.slide-toolbar button.danger:hover:not(:disabled){color:var(--err);background:color-mix(in srgb,var(--err) 8%,#fff)}.slide-toolbar-tooltip{position:relative}.slide-toolbar-tooltip:after,.slide-toolbar-tooltip:before{position:absolute;left:50%;z-index:var(--z-tooltip);opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease}.slide-toolbar-tooltip:before{top:calc(100% + 4px);width:7px;height:7px;border-radius:1px;background:rgba(25,29,36,.96);content:"";transform:translate(-50%,-3px) rotate(45deg)}.slide-toolbar-tooltip:after{top:calc(100% + 7px);width:max-content;max-width:220px;padding:7px 9px;border-radius:8px;color:#fff;background:rgba(25,29,36,.96);box-shadow:var(--shadow-pop);content:attr(data-tooltip);font-size:10.5px;font-weight:500;line-height:1.4;text-align:center;white-space:normal;transform:translate(-50%,-3px)}.slide-toolbar-tooltip:focus-visible:after,.slide-toolbar-tooltip:focus-visible:before,.slide-toolbar-tooltip:hover:after,.slide-toolbar-tooltip:hover:before{opacity:1}.slide-toolbar-tooltip:focus-visible:before,.slide-toolbar-tooltip:hover:before{transform:translate(-50%) rotate(45deg)}.slide-toolbar-tooltip:focus-visible:after,.slide-toolbar-tooltip:hover:after{transform:translate(-50%)}@container stagemain (max-width: 780px){.slide-toolbar-page,.slide-toolbar-sep:first-of-type{display:none}.slide-toolbar button{width:34px;padding:0;gap:0}.slide-toolbar button span{display:none}}.stage-page-nav{position:absolute;z-index:4;top:50%;width:40px;height:40px;display:grid;place-items:center;padding:0 0 3px;border:1px solid var(--border);border-radius:999px;color:var(--text-2);background:hsla(0,0%,100%,.92);box-shadow:var(--shadow);font-size:27px;line-height:1;cursor:pointer;opacity:0;transform:translateY(-50%) scale(.94);transition:opacity .15s ease,transform .15s ease,background .15s ease}.stage-page-nav.prev{left:clamp(10px,2vw,28px)}.stage-page-nav.next{right:clamp(10px,2vw,28px)}.stage-main:hover .stage-page-nav:not(:disabled),.stage-page-nav:focus-visible{opacity:1;transform:translateY(-50%) scale(1)}.stage-page-nav:hover:not(:disabled){color:var(--text);background:#fff}.stage-page-nav:disabled{opacity:0;pointer-events:none}.preview{width:min(960px,100%);max-height:none;flex:0 0 auto;aspect-ratio:var(--ar,16/9);border-radius:12px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow),0 18px 40px -24px rgba(16,20,32,.35);overflow:hidden;position:relative;display:grid;place-items:center}.preview.slide-enter{animation:slideCanvasEnter .48s cubic-bezier(.2,.75,.2,1) both}.preview.slide-enter .slide-empty-state{animation:slideContentEnter .42s cubic-bezier(.2,.75,.2,1) .06s both}@keyframes slideCanvasEnter{0%{opacity:.55;transform:translateY(12px) scale(.985);box-shadow:0 0 0 rgba(16,20,32,0)}60%{opacity:1;transform:translateY(-2px) scale(1.002)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes slideContentEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.preview img{width:100%;height:100%;object-fit:contain;display:block}.preview .ph{color:var(--muted);font-size:13px;display:flex;flex-direction:column;align-items:center;gap:10px}.spinner{width:26px;height:26px;border-radius:999px;border:3px solid var(--panel-3);border-top-color:var(--accent);animation:spin .8s linear infinite}.spinner.sm{width:15px;height:15px;border-width:2px}@keyframes spin{to{transform:rotate(1turn)}}.preview .ph.err{color:var(--err)}.speaker-notes-panel{position:relative;width:min(960px,100%);min-height:124px;flex:0 0 124px;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:hsla(0,0%,100%,.96);box-shadow:0 9px 28px -24px rgba(16,20,32,.45)}.speaker-notes-head{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px 6px 14px;border-bottom:1px solid var(--border)}.speaker-notes-head>div:first-child{display:flex;min-width:0;align-items:baseline;gap:8px}.speaker-notes-head strong{color:var(--text);font-size:11.5px;font-weight:720;letter-spacing:.045em;text-transform:uppercase}.speaker-notes-head>div:first-child span{color:var(--muted);font-size:11px}.speaker-notes-actions{display:flex;align-items:center;gap:5px}.speaker-notes-actions button,.speaker-notes-empty button{min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid var(--border);border-radius:7px;color:var(--text-2);background:#fff;font:inherit;font-size:11.5px;font-weight:620;cursor:pointer}.speaker-notes-actions button:hover:not(:disabled),.speaker-notes-empty button:hover:not(:disabled){color:var(--text);border-color:var(--border-strong);background:var(--panel-2)}.speaker-notes-actions button:disabled,.speaker-notes-empty button:disabled{opacity:.45;cursor:default}.speaker-notes-status{color:var(--muted);font-size:11px;font-weight:620}.speaker-notes-status.generated,.speaker-notes-status.saved{color:var(--ok)}.speaker-notes-error,.speaker-notes-status.error{color:var(--err)}.speaker-notes-preview{width:100%;height:84px;display:block;overflow-y:auto;padding:11px 14px 14px;border:0;color:var(--text-2);background:transparent;font:inherit;font-size:12.5px;line-height:1.55;text-align:left;white-space:pre-wrap;cursor:text}.speaker-notes-preview:hover:not(:disabled){background:color-mix(in srgb,var(--panel-2) 60%,transparent)}.speaker-notes-editor{position:relative;height:84px}.speaker-notes-editor textarea{display:block;width:100%;height:100%;resize:none;padding:10px 14px 14px;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:12.5px;line-height:1.55}.speaker-notes-editor textarea:focus{box-shadow:none}.speaker-notes-saving{position:absolute;right:12px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:7px;color:var(--muted);background:hsla(0,0%,100%,.9);font-size:10.5px}.speaker-notes-empty{height:84px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;color:var(--muted);font-size:12px;line-height:1.5}.speaker-notes-empty button.primary{flex:0 0 auto;border-color:var(--text);color:#fff;background:var(--text)}.speaker-notes-error{position:absolute;right:13px;bottom:7px;max-width:60%;overflow:hidden;padding:3px 6px;border-radius:6px;background:color-mix(in srgb,var(--err) 7%,#fff);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.slide-empty-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:radial-gradient(circle at 50% 45%,rgba(37,99,235,.05),transparent 38%),#fff}.slide-empty-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:14px;border-radius:12px;color:var(--accent);background:var(--accent-soft);font-size:24px;font-weight:400}.slide-empty-state h3{margin:0;color:var(--text);font-size:18px;font-weight:680;letter-spacing:-.01em}.slide-empty-state>p{margin:7px 0 20px;color:var(--muted);font-size:13px}.slide-empty-actions{display:grid;grid-template-columns:repeat(2,minmax(0,180px));grid-gap:12px;gap:12px}.slide-empty-actions button{display:flex;flex-direction:column;align-items:flex-start;min-height:112px;padding:17px;border:1px solid var(--border);border-radius:13px;color:var(--text);background:#fff;box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.slide-empty-actions button:hover:not(:disabled){border-color:rgba(37,99,235,.35);box-shadow:var(--shadow);transform:translateY(-2px)}.slide-empty-actions button>span{width:30px;height:30px;display:grid;place-items:center;margin-bottom:10px;border-radius:9px;color:var(--accent);background:var(--accent-soft);font-size:17px}.slide-empty-actions b{font-size:13.5px;font-weight:650}.slide-empty-actions small{margin-top:3px;color:var(--muted);font-size:11.5px}.add-first-slide{min-width:112px;padding:9px 16px;border:0;border-radius:10px;color:#fff;background:var(--text);font-weight:600;cursor:pointer}.slide-action-error{margin-top:12px;color:var(--err);font-size:12px}.slide-structure-progress{position:absolute;z-index:9;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid rgba(37,99,235,.18);border-radius:999px;color:var(--accent-ink);background:hsla(0,0%,100%,.94);box-shadow:var(--shadow);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:12px;font-weight:620;animation:structureProgressEnter .22s ease-out both}@keyframes structureProgressEnter{0%{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.skeleton{position:relative;overflow:hidden;background:var(--panel-2);border-radius:6px}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.65),transparent);animation:shimmer 1.5s infinite}@keyframes shimmer{to{transform:translateX(100%)}}.skel-slide{position:absolute;inset:0;display:flex;flex-direction:column;gap:clamp(8px,2.2%,18px);padding:clamp(20px,6%,54px)}.skel-row{display:flex;align-items:center;gap:12px}.skel-badge{width:34px;height:34px;border-radius:9px;flex-shrink:0}.skel-line{height:14px;border-radius:6px}.skel-line.tall{height:30px}.skel-line.w30{width:30%}.skel-line.w45{width:45%}.skel-line.w60{width:60%}.skel-line.w70{width:70%}.skel-line.w80{width:80%}.skel-line.w85{width:85%}.skel-line.w90{width:90%}.skel-cols{display:flex;gap:clamp(12px,3%,26px);flex:1 1;min-height:0;margin-top:4px}.skel-block{width:42%;height:100%;border-radius:10px}.skel-lines{flex:1 1;display:flex;flex-direction:column;gap:clamp(8px,2.4%,16px);justify-content:flex-start}.skel-caption{position:absolute;left:0;right:0;bottom:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;color:var(--text-2);font-weight:550}.skel-thumb{width:100%;height:100%;display:grid;place-items:center;border-radius:0}.filmstrip{display:flex;flex:0 0 auto;gap:10px;padding:12px 18px 16px;overflow-x:auto;border-top:1px solid var(--border);background:#fff;box-shadow:none;scrollbar-width:thin;container:filmstrip/inline-size}.frame-shell{position:relative;width:var(--film-frame-width,128px);flex:0 0 auto}.frame-shell.frame-enter{animation:frameEnter .46s cubic-bezier(.2,.75,.2,1) both}.frame-shell-adding{animation:framePendingEnter .24s ease-out both}.frame-pending-add{pointer-events:none}.frame-pending-add .thumb{border-style:dashed;border-color:color-mix(in srgb,var(--accent) 32%,var(--border));background:color-mix(in srgb,var(--accent-soft) 58%,#fff)}@keyframes framePendingEnter{0%{width:0;opacity:0;transform:scale(.9)}to{width:var(--film-frame-width,128px);opacity:1;transform:scale(1)}}@keyframes frameEnter{0%{opacity:0;transform:translateX(12px) scale(.94)}70%{opacity:1;transform:translateX(-2px) scale(1.01)}to{opacity:1;transform:translateX(0) scale(1)}}.frame{position:relative;width:100%;border-radius:8px;border:2px solid transparent;cursor:pointer;overflow:hidden;background:transparent;padding:0}.frame .thumb{aspect-ratio:var(--ar,16/9);border-radius:6px;border:1px solid var(--border);overflow:hidden;background:var(--panel-2);display:grid;place-items:center}.frame .thumb img{width:100%;height:100%;object-fit:cover}.frame.on{border-color:var(--accent)}.frame .idx{position:absolute;left:5px;bottom:5px;font-size:10.5px;font-weight:600;color:#fff;background:rgba(0,0,0,.55);border-radius:4px;padding:1px 5px;display:inline-flex;align-items:center;gap:3px}.frame .mini-ph{font-size:14px;color:var(--err)}.fdot{width:6px;height:6px;border-radius:999px;background:var(--muted);display:inline-block}.fdot.rendered{background:var(--ok)}.fdot.error{background:var(--err)}.fdot.working{background:#fff;animation:pulse 1.3s ease-in-out infinite}.frame.working .thumb{border-color:var(--accent)}.frame.error .thumb{border-color:var(--err)}.frame.on .idx{background:var(--accent)}.frame-blank-mark{color:var(--muted);font-size:22px;font-weight:350}.frame-transition{position:absolute;z-index:3;top:4px;left:4px;width:25px;height:21px;display:grid;place-items:center;padding:0;border:1px solid hsla(0,0%,100%,.42);border-radius:7px;color:#fff;background:rgba(15,18,26,.62);box-shadow:0 1px 4px rgba(0,0,0,.16);cursor:pointer;opacity:0;transition:opacity .12s ease,background .12s ease,color .12s ease}.frame-shell.selected .frame-transition,.frame-shell:hover .frame-transition,.frame-transition.active,.frame-transition:focus-visible{opacity:1}.frame-transition.active,.frame-transition:hover:not(:disabled){color:#fff;background:var(--accent)}.frame-add{width:var(--film-frame-width,128px);min-height:72px;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px dashed var(--border-strong);border-radius:8px;color:var(--muted);background:var(--bg-soft);cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.frame-insert{width:18px;height:44px;display:grid;place-items:center;flex:0 0 auto;align-self:center;margin:0 -6px;padding:0;border:0;border-radius:999px;color:var(--muted);background:transparent;font-size:16px;cursor:pointer;opacity:0;transition:opacity .12s ease,color .12s ease,background .12s ease}.filmstrip:hover .frame-insert,.frame-insert:focus-visible,.frame-shell.selected+.frame-insert{opacity:1}.frame-add:hover:not(:disabled),.frame-insert:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.frame-add:hover:not(:disabled){border-color:rgba(37,99,235,.45)}.frame-add>span{font-size:22px;line-height:1}.frame-add small{font-size:10.5px}@container filmstrip (max-width: 560px){.frame-add,.frame-shell{--film-frame-width:104px;width:104px}}.slide-upload-input{display:none}.transition-modal-bg{z-index:calc(var(--z-modal) + 2)}.transition-modal{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:20px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow-pop)}.transition-modal-foot,.transition-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.transition-modal-head h3{margin:0;color:var(--text);font-size:18px}.transition-modal-head p{margin:4px 0 0;color:var(--muted);font-size:12.5px}.transition-modal-head>button{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:9px;color:var(--muted);background:transparent;cursor:pointer}.transition-modal-head>button:hover{color:var(--text);background:var(--panel-2)}.transition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin:20px 0}.transition-option{min-height:132px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--border);border-radius:16px;color:var(--text-2);background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,color .15s ease}.transition-option:hover:not(:disabled){border-color:var(--border-strong);color:var(--text);box-shadow:var(--shadow-sm)}.transition-option:disabled{opacity:1;cursor:progress}.transition-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.transition-option.selected:focus-visible{outline:none}.transition-option.selected{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.transition-option-demo{width:104px;height:60px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;background:var(--bg-soft);overflow:hidden}.transition-option.selected .transition-demo-fade,.transition-option:hover .transition-demo-fade{animation:transitionDemoFade .9s ease both}.transition-option.selected .transition-demo-push,.transition-option:hover .transition-demo-push{animation:transitionDemoPush .5s ease both}.transition-option.selected .transition-demo-wipe,.transition-option:hover .transition-demo-wipe{animation:transitionDemoWipe .65s ease both}.transition-option.selected .transition-demo-zoom,.transition-option:hover .transition-demo-zoom{animation:transitionDemoZoom .55s ease both}.transition-option.selected .transition-demo-flip,.transition-option:hover .transition-demo-flip{animation:transitionDemoFlip .65s ease both}.transition-option b{font-size:14px;font-weight:650}.transition-modal-foot{padding-top:14px;border-top:1px solid var(--border)}.transition-modal-foot>span{color:var(--muted);font-size:12.5px}.transition-modal-foot>span.transition-error{color:var(--err)}.transition-modal-foot .primary{width:auto;min-width:86px}@keyframes transitionDemoFade{0%{opacity:.2}to{opacity:1}}@keyframes transitionDemoPush{0%{transform:translateX(42%)}to{transform:translateX(0)}}@keyframes transitionDemoWipe{0%{-webkit-clip-path:inset(0 100% 0 0);clip-path:inset(0 100% 0 0)}to{-webkit-clip-path:inset(0);clip-path:inset(0)}}@keyframes transitionDemoZoom{0%{opacity:.2;transform:scale(.72)}to{opacity:1;transform:scale(1)}}@keyframes transitionDemoFlip{0%{opacity:.2;transform:perspective(300px) rotateY(-68deg)}to{opacity:1;transform:perspective(300px) rotateY(0)}}@media (max-width:640px){.slide-toolbar{align-self:stretch}.slide-toolbar-page,.slide-toolbar-sep:first-of-type{display:none}.stage-page-nav{width:34px;height:34px;opacity:.88}.stage-page-nav.prev{left:5px}.stage-page-nav.next{right:5px}.slide-empty-state{padding:18px}.slide-empty-icon{display:none}.slide-empty-state h3{font-size:15px}.slide-empty-state>p{margin:5px 0 12px;font-size:11px}.slide-empty-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.slide-empty-actions button{min-height:78px;padding:11px}.slide-empty-actions button>span{display:none}.slide-structure-progress{right:10px;bottom:10px}}@media (prefers-reduced-motion:reduce){.frame-shell-adding,.frame-shell.frame-enter,.preview.slide-enter,.preview.slide-enter .slide-empty-state,.project-card.is-opening .project-cover:after,.project-loading-action,.project-loading-composer,.project-loading-line,.project-loading-pill,.project-loading-spinner,.project-loading-thumb,.project-open-spinner,.project-route-loading,.slide-structure-progress{animation:none}}.wrap{max-width:1180px;margin:0 auto;padding:20px 24px 80px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow-sm)}.panel h2{font-size:13px;letter-spacing:.02em;color:var(--text);margin:0 0 12px;font-weight:650}label.field{display:block;margin-bottom:14px}label.field>span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}input,select,textarea{width:100%;background:#fff;border:1px solid var(--border);color:var(--text);border-radius:10px;padding:9px 12px;font-size:14px;font-family:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:84px}.row{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}button.primary{background:var(--text);border:1px solid var(--text);color:#fff;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:600;cursor:pointer}button.primary:hover{opacity:.9}button.ghost{background:#fff;border:1px solid var(--border);color:var(--text-2);border-radius:10px;padding:9px 14px;font-size:14px;font-weight:600;cursor:pointer}button.ghost:hover{background:var(--panel-2)}button:disabled{opacity:.5;cursor:not-allowed}.badge{font-size:12px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--muted);display:inline-flex;gap:6px;align-items:center}.badge .on{color:var(--ok)}.badge .off{color:var(--err)}.log{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--text-2);background:var(--panel-2);border:1px solid var(--border);border-radius:10px;padding:10px 12px;max-height:180px;overflow:auto;white-space:pre-wrap}.empty{color:var(--muted);font-size:14px;border:1px dashed var(--border-strong);border-radius:var(--radius);padding:40px;text-align:center}.playmode{position:fixed;inset:0;z-index:var(--z-tooltip);overflow:hidden;color:#fff;background:radial-gradient(circle at 50% 12%,rgba(79,70,229,.12),transparent 38%),#08090d}.playmode-stage{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(8px,1.5vw,24px)}.playmode-slide{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;place-self:stretch;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.playmode-transition-fade{animation:playSlideFade .52s ease both}.playmode-transition-push{animation:playSlidePush .52s cubic-bezier(.22,1,.36,1) both}.playmode-transition-wipe{animation:playSlideWipe .62s cubic-bezier(.22,1,.36,1) both}.playmode-transition-zoom{animation:playSlideZoom .56s cubic-bezier(.22,1,.36,1) both}.playmode-transition-flip{transform-origin:50% 50%;-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:playSlideFlip .68s cubic-bezier(.22,1,.36,1) both}@keyframes playSlideFade{0%{opacity:0}to{opacity:1}}@keyframes playSlidePush{0%{opacity:.7;transform:translateX(12vw)}to{opacity:1;transform:translateX(0)}}@keyframes playSlideWipe{0%{-webkit-clip-path:inset(0 100% 0 0);clip-path:inset(0 100% 0 0)}to{-webkit-clip-path:inset(0);clip-path:inset(0)}}@keyframes playSlideZoom{0%{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}@keyframes playSlideFlip{0%{opacity:.2;transform:perspective(1200px) rotateY(-72deg) scale(.94)}to{opacity:1;transform:perspective(1200px) rotateY(0) scale(1)}}.playmode-chrome{transition:opacity .18s ease,transform .18s ease}.playmode.controls-hidden{cursor:default}.playmode.controls-hidden .playmode-chrome{opacity:0;pointer-events:none}.playmode-page-hit{position:absolute;z-index:2;top:0;bottom:0;width:50%;padding:0;border:0;outline-offset:-4px;background:transparent;cursor:default}.playmode-page-hit:disabled{pointer-events:none}.playmode-page-hit-prev{left:0}.playmode-page-hit-next{right:0}.playmode-control-trigger{position:absolute;z-index:5;right:0;bottom:0;left:0;height:clamp(82px,12vh,126px);cursor:default}.playmode-top{position:absolute;top:20px;right:22px;left:22px;display:flex;align-items:center;justify-content:space-between}.playmode-dock,.playmode-exit,.playmode-keyhint,.playmode-nav{border:1px solid hsla(0,0%,100%,.13);background:rgba(19,21,28,.72);box-shadow:0 10px 30px rgba(0,0,0,.24);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}.playmode-keyhint{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 10px;border-radius:10px;color:hsla(0,0%,100%,.66);font-size:12px}.playmode-keyhint span{margin-left:3px}.playmode kbd{min-width:21px;height:21px;display:inline-grid;place-items:center;padding:0 5px;border:1px solid hsla(0,0%,100%,.14);border-radius:6px;color:hsla(0,0%,100%,.86);background:hsla(0,0%,100%,.08);box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.08);font:500 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.playmode-exit{display:inline-flex;align-items:center;gap:9px;height:36px;padding:0 8px 0 12px;border-radius:10px;color:hsla(0,0%,100%,.82);font-size:12px;font-weight:600;cursor:pointer}.playmode-exit:hover{color:#fff;background:rgba(37,40,50,.88)}.playmode-nav{position:absolute;top:50%;width:46px;height:46px;display:grid;place-items:center;padding:0;border-radius:999px;color:hsla(0,0%,100%,.9);cursor:pointer;transform:translateY(-50%)}.playmode-nav:hover:not(:disabled){background:rgba(39,42,52,.9);transform:translateY(-50%) scale(1.04)}.playmode-dock button:disabled,.playmode-nav:disabled{opacity:.26;cursor:default}.playmode-nav-prev{left:22px}.playmode-nav-next{right:22px}.playmode svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.playmode-dock{position:absolute;bottom:20px;left:50%;display:flex;align-items:center;gap:6px;width:auto;max-width:min(560px,calc(100vw - 24px));min-width:0;padding:7px;border-radius:15px;transform:translateX(-50%)}.playmode.controls-hidden .playmode-dock{transform:translate(-50%,8px)}.playmode-dock button{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:9px;color:hsla(0,0%,100%,.82);background:transparent;cursor:pointer}.playmode-dock button:hover:not(:disabled){color:#fff;background:hsla(0,0%,100%,.09)}.playmode-dock .playmode-dock-exit{width:auto;display:inline-flex;align-items:center;gap:7px;padding:0 7px 0 9px;font-size:11px;font-weight:620}.playmode-dock-exit kbd{min-width:25px}.playmode-meta{width:clamp(190px,26vw,320px);min-width:0;max-width:min(34vw,320px);padding:0 7px}.playmode-meta-line{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:11.5px}.playmode-meta-line strong{flex:0 0 auto;color:#fff;font-weight:650}.playmode-meta-line span{overflow:hidden;color:hsla(0,0%,100%,.6);text-overflow:ellipsis;white-space:nowrap}.playmode-progress{height:2px;margin-top:7px;overflow:hidden;border-radius:999px;background:hsla(0,0%,100%,.1)}.playmode-progress i{display:block;height:100%;border-radius:inherit;background:#8b8cff;transition:width .22s ease}.playmode-dock-sep{width:1px;height:22px;margin:0 1px;background:hsla(0,0%,100%,.12)}@media (max-width:640px){.playmode-stage{padding:8px}.playmode-top{top:12px;right:12px;left:12px;justify-content:flex-end}.playmode-keyhint,.playmode-nav{display:none}.playmode-dock{bottom:12px;width:calc(100% - 24px);min-width:0}.playmode-dock .playmode-dock-exit span{display:none}.playmode-meta{min-width:0;max-width:none;flex:1 1}}@media (prefers-reduced-motion:reduce){.playmode-chrome,.playmode-progress i{transition:none}.playmode-slide,.transition-option-demo{animation:none!important}}.modal-bg{position:fixed;inset:0;background:rgba(15,18,30,.45);display:flex;align-items:center;justify-content:center;z-index:80;padding:20px}.modal{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:16px;max-width:min(920px,96vw);width:100%;box-shadow:var(--shadow-pop)}.modal h3{margin:0 0 4px;font-size:16px}.modal .hint{color:var(--muted);font-size:12px;margin:0 0 12px}.canvas-hold{position:relative;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#111}.canvas-hold canvas{display:block;width:100%;touch-action:none;cursor:crosshair}.toolbar{display:flex;gap:8px;align-items:center;margin:12px 0;flex-wrap:wrap}.toolbar .grow{flex:1 1}.mark-inline{z-index:10}.mark-inline,.mark-inline:before{position:absolute;inset:0;pointer-events:none}.mark-inline:before{content:"";border:2px solid rgba(255,59,48,.52);border-radius:11px;box-shadow:inset 0 0 0 999px hsla(0,0%,100%,.015)}.mark-canvas-overlay{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:auto;touch-action:none;cursor:crosshair}.mark-canvas-overlay.tool-text{cursor:text}.mark-canvas-overlay.tool-text.over-text{cursor:-webkit-grab;cursor:grab}.mark-canvas-overlay.tool-text.dragging-text{cursor:-webkit-grabbing;cursor:grabbing}.mark-text-draft{z-index:4;width:clamp(130px,22vw,250px);height:36px;padding:6px 9px;border:2px solid #ff3b30;border-radius:7px;color:#d7130a;background:transparent;box-shadow:none;font-size:13px;font-weight:650;transform:translateY(-50%)}.mark-text-draft,.mark-tools{position:absolute;pointer-events:auto}.mark-tools{z-index:5;top:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;max-width:calc(100% - 24px);padding:5px;border:1px solid rgba(15,23,42,.1);border-radius:12px;background:hsla(0,0%,100%,.88);box-shadow:0 12px 34px rgba(15,23,42,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.mark-tools button{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:1px solid transparent;border-radius:8px;color:var(--text-2);background:transparent;font:inherit;cursor:pointer}.mark-tools button:hover:not(:disabled){color:var(--text);background:var(--panel-2)}.mark-tools button.active{border-color:rgba(255,59,48,.22);color:#d7130a;background:rgba(255,59,48,.1)}.mark-tools button:disabled{opacity:.35;cursor:not-allowed}.mark-slide-chip{min-width:28px;height:27px;display:grid;place-items:center;padding:0 8px;border-radius:8px;color:#d7130a;background:rgba(255,59,48,.1);font-size:12px;font-weight:720}.mark-tools-sep{width:1px;height:22px;flex:0 0 auto;margin:0 3px;background:var(--border)}.mark-comment-row{position:absolute;z-index:5;left:50%;bottom:14px;width:min(560px,calc(100% - 28px));transform:translateX(-50%);display:flex;align-items:stretch;gap:7px;padding:6px;border:1px solid rgba(15,23,42,.1);border-radius:13px;background:hsla(0,0%,100%,.9);box-shadow:0 14px 38px rgba(15,23,42,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);pointer-events:auto}.mark-comment-row textarea{min-height:36px;max-height:72px;flex:1 1;padding:9px 10px;resize:none;border:0;border-radius:9px;background:transparent;line-height:1.3;box-shadow:none}.mark-comment-main{min-width:0;flex:1 1;display:flex;flex-direction:column}.mark-submit-error{padding:0 10px 6px;color:var(--err);font-size:11.5px;line-height:1.35}.mark-send{min-width:86px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid var(--text);border-radius:9px;color:#fff;background:var(--text);font:inherit;font-size:13px;font-weight:650;cursor:pointer}.mark-send:hover:not(:disabled){background:#292d36}@media (max-width:680px){.mark-tools{top:8px;overflow-x:auto}.mark-comment-row{bottom:8px;width:calc(100% - 16px)}.mark-send{min-width:44px}.mark-send span{display:none}}.clarify-step{max-width:720px}.clarify-topic{text-align:center;color:var(--text-2);font-size:15px;line-height:1.5;margin:-14px 0 24px}.clarify-loading{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel);box-shadow:var(--shadow-sm);padding:20px}.clarify-loading-head{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;color:var(--text);margin-bottom:18px}.clarify-skeleton{display:flex;flex-direction:column;gap:22px}.clarify-skeleton-q{display:flex;flex-direction:column;gap:10px}.clarify-skeleton-opts{display:flex;gap:8px}.clarify-skeleton-opts .skeleton{height:30px;width:78px;border-radius:999px}.clarify-skeleton-q>.skeleton.skel-line{height:13px}.onb-panel{margin-top:4px;padding:15px 16px 16px;border-color:var(--border);border-radius:14px}.onb-panel h2{margin:0 0 13px;font-size:13px;letter-spacing:-.005em}.onb-field{margin-bottom:13px}.onb-q{display:block;font-size:12px;color:var(--text);font-weight:620;line-height:1.4;margin-bottom:7px}.onb-options{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.onb-panel button.onb-opt{display:inline-flex;height:30px;align-items:center;gap:4px;width:auto;padding:0 10px;border-radius:9px;font-size:11.5px;line-height:1;letter-spacing:-.006em}.onb-recommended{position:relative;top:-.5px;font-size:8px;opacity:.88}.onb-custom{flex:1 1 132px;min-width:116px;border:1px dashed var(--border-strong);background:var(--panel-2);color:var(--text);transition:border-color .15s,background .15s}.onb-custom,.onb-options>input[type=number]{height:30px;padding:0 10px;font-size:11.5px;border-radius:9px}.onb-options>input[type=number]{flex:1 1 180px;min-width:120px}.onb-custom::placeholder{color:var(--muted)}.onb-custom:focus{outline:none;border-style:solid;border-color:var(--accent);background:var(--panel);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.onb-actions{display:flex;gap:8px;margin-top:16px}.onb-actions>button{height:34px;padding:0 13px;border-radius:9px;font-size:12px}.onb-streaming-tail,.outline-streaming-tail{display:flex;align-items:center;gap:9px;min-height:44px;color:var(--muted);font-size:12.5px}.onb-streaming-tail{margin:-2px 0 4px;padding:10px 2px;border-top:1px solid var(--border)}.onb-attach-btn{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:11px;color:var(--text-2);border:1px dashed var(--border-strong);border-radius:9px;background:var(--panel-2);cursor:pointer;transition:border-color .15s,color .15s,background .15s}.onb-attach-btn.inline{width:30px;padding:0;justify-content:center;flex:0 0 auto}.onb-attach-btn:hover{border-style:solid;border-color:var(--accent);color:var(--text);background:var(--panel)}.onb-attach-hint{font-size:12px;color:var(--muted)}.onb-thumbs{display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%;margin-top:2px}.onb-thumb{position:relative;width:40px;height:40px;border-radius:8px;overflow:hidden;border:1px solid var(--border);background:var(--panel-2)}.onb-thumb img{width:100%;height:100%;object-fit:cover;display:block}.onb-thumb button{position:absolute;top:2px;right:2px;width:16px;height:16px;line-height:14px;text-align:center;border:none;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;cursor:pointer;padding:0}.onb-attach-error{font-size:12px;color:#b91c1c;margin:-6px 0 12px}.research-stage-status{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:5px 10px;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));border-radius:999px;color:var(--accent-ink);background:var(--accent-soft);font-size:11px;font-weight:650;white-space:nowrap}.research-stage-status.complete{color:#137a48;border-color:rgba(22,163,74,.2);background:rgba(22,163,74,.08)}.research-stage-status.error{color:#b42318;border-color:rgba(220,38,38,.2);background:rgba(220,38,38,.07)}.research-workspace{display:flex;flex:1 1;min-height:0;flex-direction:column;gap:14px;overflow:hidden;padding:18px 20px 20px;background:radial-gradient(circle at 96% 0,color-mix(in srgb,var(--accent-soft) 72%,transparent) 0,transparent 31%),var(--bg-soft,#f7f8fb)}.research-grid,.research-overview{width:min(100%,1120px);margin:0 auto}.research-overview{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;overflow:hidden;padding:15px 17px 18px;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--border));border-radius:15px;background:hsla(0,0%,100%,.92);box-shadow:0 10px 32px rgba(30,41,59,.06)}.research-overview-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;color:var(--accent-ink);background:var(--accent-soft)}.research-overview-icon.error{color:#b42318;background:rgba(220,38,38,.08)}.research-overview-copy{min-width:0}.research-overview-copy>span{display:block;margin-bottom:2px;color:var(--accent-ink);font-size:10px;font-weight:720;letter-spacing:.08em;text-transform:uppercase}.research-overview-copy h1{margin:0;color:var(--text);font-size:17px;font-weight:700;letter-spacing:-.025em}.research-overview-copy p{margin:3px 0 0;overflow:hidden;color:var(--muted);font-size:11.5px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.research-overview-metrics{display:flex;align-items:center;gap:7px}.research-overview-metrics span{display:flex;min-width:64px;flex-direction:column;gap:1px;padding:7px 10px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--bg-soft);font-size:9.5px;text-align:center}.research-overview-metrics strong{color:var(--text);font-size:15px;line-height:1}.research-overview-progress{position:absolute;right:0;bottom:0;left:0;height:3px;overflow:hidden;background:var(--panel-2)}.research-overview-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 72%,#7c3aed),var(--accent));transition:width .35s ease}.research-grid{display:grid;min-height:0;flex:1 1;grid-template-columns:minmax(280px,.38fr) minmax(360px,.62fr);grid-gap:14px;gap:14px}.research-process-panel,.research-report-panel{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:15px;background:hsla(0,0%,100%,.96);box-shadow:0 8px 26px rgba(30,41,59,.05)}.research-panel-head{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid var(--border);background:rgba(248,250,252,.82)}.research-panel-head>span{display:inline-flex;align-items:center;gap:7px;min-width:0;color:var(--text-2)}.research-panel-head strong{font-size:11.5px;font-weight:690}.research-panel-head small{color:var(--muted);font-size:9.5px;white-space:nowrap}.research-panel-head small.streaming{color:var(--accent-ink)}.research-process-scroll,.research-report-scroll{min-height:0;flex:1 1;overflow-y:auto;overscroll-behavior:contain}.research-process-scroll{padding:10px}.research-activity-list{display:grid;grid-gap:7px;gap:7px}.research-activity-list .agent-tool{margin:0;box-shadow:none}.research-process-empty{display:flex;align-items:center;gap:8px;min-height:52px;padding:10px 11px;border:1px dashed var(--border-strong);border-radius:10px;color:var(--muted);font-size:11px}.research-sources-head{display:flex;align-items:center;justify-content:space-between;margin:15px 2px 8px;color:var(--text-2)}.research-sources-head strong{font-size:10.5px;font-weight:690;letter-spacing:.025em}.research-sources-head span{display:grid;min-width:18px;height:18px;place-items:center;padding:0 4px;border-radius:999px;color:var(--muted);background:var(--panel-2);font-size:9px}.research-source-list{display:grid;grid-gap:7px;gap:7px}.research-source-card{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;grid-gap:9px;gap:9px;padding:9px;border:1px solid var(--border);border-radius:10px;color:inherit;background:#fff;text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}.research-source-card:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--border));background:color-mix(in srgb,var(--accent-soft) 42%,#fff);transform:translateY(-1px)}.research-source-card>svg{margin-top:2px;color:var(--faint)}.research-source-icon{display:grid;width:27px;height:27px;place-items:center;overflow:hidden;border:1px solid var(--border);border-radius:8px;color:var(--muted);background:var(--bg-soft)}.research-source-icon img{width:16px;height:16px;object-fit:contain}.research-source-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.research-source-copy small{color:var(--muted);font-size:8.5px}.research-source-copy small,.research-source-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.research-source-copy strong{color:var(--text-2);font-size:10.5px;font-weight:650;line-height:1.35}.research-source-copy p{display:-webkit-box;margin:0;overflow:hidden;color:var(--muted);font-size:9.5px;line-height:1.38;-webkit-box-orient:vertical;-webkit-line-clamp:2}.research-source-empty{margin:0;padding:10px;border-radius:9px;color:var(--muted);background:var(--bg-soft);font-size:10px;line-height:1.45}.research-report-scroll{position:relative;padding:18px 22px 30px;scroll-behavior:smooth}.research-markdown{max-width:760px;margin:0 auto;color:var(--text-2);font-size:12.5px;line-height:1.7}.research-markdown h3,.research-markdown h4,.research-markdown h5,.research-markdown h6{scroll-margin-top:16px}.research-stream-caret{display:inline-block;width:6px;height:14px;margin:0 0 -2px 3px;border-radius:2px;background:var(--accent);animation:research-caret .85s steps(1) infinite}@keyframes research-caret{50%{opacity:.15}}.research-report-skeleton{display:grid;max-width:660px;grid-gap:12px;gap:12px;margin:8px auto 0}.research-report-skeleton .skeleton{height:13px;border-radius:5px}.research-report-skeleton .skeleton:first-child{width:48%;height:20px}.research-report-skeleton .skeleton:nth-child(2){width:94%}.research-report-skeleton .skeleton:nth-child(3){width:87%}.research-report-skeleton .skeleton:nth-child(4){width:72%}.research-report-skeleton p{margin:6px 0 0;color:var(--muted);font-size:11px}.research-report-foot{display:flex;min-height:36px;align-items:center;gap:7px;padding:8px 13px;border-top:1px solid var(--border);color:var(--accent-ink);background:color-mix(in srgb,var(--accent-soft) 52%,#fff);font-size:10px}.research-report-foot.complete{color:#137a48;background:rgba(22,163,74,.06)}.research-report-foot.error{color:#b42318;background:rgba(220,38,38,.05)}@media (max-width:900px){.research-workspace{overflow-y:auto}.research-grid{display:flex;min-height:auto;flex:0 0 auto;flex-direction:column}.research-process-panel{min-height:360px}.research-report-panel{min-height:520px}.research-process-scroll,.research-report-scroll{overflow:visible}}@media (max-width:620px){.research-workspace{padding:12px}.research-overview{grid-template-columns:auto minmax(0,1fr)}.research-overview-metrics{display:none}.research-overview-copy p{white-space:normal}.research-report-scroll{padding:15px}}.outline-stage .stage-head .count{white-space:nowrap}.outline-board{flex:1 1;min-height:0;overflow-y:auto;padding:22px 20px 26px;background:var(--bg-soft,var(--panel-2))}.outline-board>.outline-add,.outline-board>.outline-brief,.outline-board>.outline-hint,.outline-board>.outline-list,.outline-board>.outline-skeleton{max-width:800px;margin-left:auto;margin-right:auto}.outline-hint{font-size:13px;line-height:1.55;color:var(--text-2);margin:0 0 18px}.outline-brief{margin:0 auto 16px}.outline-brief-toggle{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12.5px;border:1px solid var(--border);border-radius:999px;background:var(--panel);color:var(--text);box-shadow:var(--shadow-sm)}.outline-brief-body{margin:10px 0 0;max-height:260px;overflow:auto;padding:14px 16px;font-size:12px;line-height:1.6;white-space:pre-wrap;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);color:var(--text-2)}.outline-list{list-style:none;display:flex;flex-direction:column;gap:12px;margin:0;padding:0}.outline-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel);box-shadow:var(--shadow-sm);padding:14px 16px;transition:box-shadow .15s,border-color .15s}.outline-streaming-tail{list-style:none;padding:14px 16px;border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--panel) 72%,transparent)}.outline-card:focus-within{border-color:var(--accent);box-shadow:var(--shadow),0 0 0 3px rgba(37,99,235,.06)}.outline-card-head{display:flex;align-items:center;gap:10px}.outline-idx{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-size:12.5px;font-weight:650}.outline-title{flex:1 1 auto;min-width:0;height:32px;padding:0 8px;font-size:14.5px;font-weight:600;color:var(--text);border:1px solid transparent;border-radius:8px;background:transparent}.outline-title:hover{background:var(--panel-2)}.outline-title:focus{outline:none;background:var(--panel);border-color:var(--accent)}.outline-card-actions{display:flex;gap:3px}.outline-card-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:14px;line-height:1;transition:background .12s,color .12s}.outline-card-actions button:hover:not(:disabled){background:var(--panel-2);color:var(--text)}.outline-card-actions button.danger:hover:not(:disabled){background:var(--err-soft,#fde8e8);color:var(--err,#d64545)}.outline-card-actions button:disabled{opacity:.35;cursor:default}.outline-points{width:100%;margin-top:8px;padding:8px 10px;font-size:13px;line-height:1.55;color:var(--text-2);border:1px solid var(--border);border-radius:9px;background:var(--panel-2);resize:vertical;min-height:46px}.outline-points:focus{outline:none;border-color:var(--accent);background:var(--panel)}.outline-add{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:14px;height:42px;font-size:13px;font-weight:550;color:var(--text-2);border:1px dashed var(--border-strong);border-radius:var(--radius);background:transparent;transition:border-color .15s,color .15s,background .15s}.outline-add:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.outline-add:disabled{opacity:.5;cursor:default}.outline-skeleton{display:flex;flex-direction:column;gap:12px}.outline-skeleton .skeleton.skel-line{height:60px;border-radius:var(--radius-lg);width:100%}.outline-confirm{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:12px 20px;border-top:1px solid var(--border);background:var(--panel)}.outline-confirm-info{display:flex;flex-direction:column;font-size:13px;color:var(--text);line-height:1.35}.outline-confirm-info b{font-weight:700}.outline-confirm-info small{color:var(--muted);font-size:11.5px}.outline-confirm-btn{margin-left:auto;height:42px;padding:0 22px;font-size:14px;font-weight:650;color:#fff;background:var(--accent);border:0;border-radius:11px;box-shadow:var(--shadow-sm);transition:background .15s,transform .05s}.outline-confirm-btn:hover:not(:disabled){background:var(--accent-ink)}.outline-confirm-btn:active:not(:disabled){transform:translateY(1px)}.outline-confirm-btn:disabled{opacity:.45;cursor:default}.suggest-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.suggest-chip{padding:6px 12px;font-size:12.5px;color:var(--accent-ink);background:var(--accent-soft);border:1px solid transparent;border-radius:999px;transition:background .12s,border-color .12s}.suggest-chip:hover:not(:disabled){border-color:var(--accent);background:var(--panel)}.suggest-chip:disabled{opacity:.5;cursor:default}@media (max-width:640px){.outline-confirm{flex-wrap:wrap}.outline-confirm-btn{width:100%;margin-left:0}}.clarify-pane{flex:1 1;min-height:0;overflow-y:auto;padding:18px 18px 22px;background:var(--bg-soft,var(--panel-2))}.clarify-pane>*{max-width:720px;margin-left:auto;margin-right:auto}.clarify-pane .clarify-topic{text-align:left;margin:0 auto 12px;font-size:12.5px;color:var(--text-2)}.clarify-pane .clarify-loading,.clarify-pane .onb-panel{margin-bottom:0}.launch .composer{border-radius:22px;padding:22px 24px 16px;box-shadow:var(--shadow),0 12px 34px rgba(16,20,32,.07)}.launch .composer.focus{box-shadow:var(--shadow),0 12px 34px rgba(16,20,32,.09),0 0 0 4px rgba(37,99,235,.07)}.launch .composer textarea{font-size:18px;min-height:108px;max-height:320px;padding:4px 4px 2px}.launch .composer .composer-bar{margin-top:6px}.outline-confirm-count{white-space:nowrap;font-size:13px;color:var(--text)}.outline-confirm-count b{font-weight:700}.outline-insert-row{list-style:none;display:flex;height:22px;margin:-3px 0}.outline-insert,.outline-insert-row{align-items:center;justify-content:center}.outline-insert{display:inline-flex;width:26px;height:26px;border-radius:999px;border:1px solid var(--border);background:var(--panel);color:var(--muted);font-size:15px;line-height:1;box-shadow:var(--shadow-sm);opacity:.4;transition:opacity .12s,color .12s,border-color .12s,background .12s}.outline-insert-row:hover .outline-insert,.outline-insert:focus-visible{opacity:1;color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.outline-insert:disabled{opacity:.2;cursor:default}.workflow-files-stage{background:var(--workspace-ground)}.workflow-files-workspace{display:grid;min-width:0;min-height:0;flex:1 1;grid-template-columns:minmax(230px,29%) minmax(0,1fr);overflow:hidden}.workflow-files-list{min-width:0;overflow-y:auto;padding:12px;border-right:1px solid var(--border);background:#fbfbfc}.workflow-files-list-head{display:flex;align-items:center;justify-content:space-between;padding:6px 7px 10px;color:var(--muted);font-size:10.5px;letter-spacing:.04em;text-transform:uppercase}.workflow-files-list-head strong{font-size:inherit;font-weight:700}.workflow-files-list-head span{display:grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:var(--panel-2);font-size:10px;letter-spacing:0}.workflow-files-list>button{width:100%;display:flex;align-items:center;gap:10px;margin:0 0 4px;padding:9px;border:1px solid transparent;border-radius:10px;color:var(--text-2);background:transparent;font:inherit;text-align:left;cursor:pointer}.workflow-files-list>button:hover{background:var(--panel-2)}.workflow-files-list>button.active{border-color:rgba(37,99,235,.18);background:var(--accent-soft)}.workflow-files-list>p{padding:12px 8px;color:var(--muted);font-size:12px;line-height:1.5}.workflow-file-preview{display:flex;min-width:0;min-height:0;flex-direction:column;background:#fff}.workflow-file-preview-head{display:flex;min-height:58px;align-items:center;gap:10px;flex:0 0 auto;padding:10px 18px;border-bottom:1px solid var(--border)}.workflow-file-preview-head>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.workflow-file-preview-head strong{overflow:hidden;color:var(--text);font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.workflow-file-preview-head small{overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.workflow-file-preview-body{min-height:0;flex:1 1;overflow:auto;padding:clamp(18px,3vw,34px);background:var(--workspace-ground)}.workflow-curated-preview,.workflow-file-document,.workflow-file-empty-preview,.workflow-inspiration-grid,.workflow-inspiration-preview{width:min(100%,960px);min-height:100%;margin:0 auto;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.workflow-file-summary{display:flex;align-items:flex-start;gap:10px;margin:0 0 24px;padding:13px 14px;border-radius:11px;color:var(--ok);background:rgba(22,163,74,.07)}.workflow-file-summary>div{min-width:0;flex:1 1}.workflow-file-summary strong{display:block;margin-bottom:4px;color:var(--text);font-size:12px}.workflow-file-summary pre{margin:0;overflow:auto;color:var(--text-2);font:11.5px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap}.workflow-outline-document,.workflow-questions-document{padding:clamp(24px,4vw,48px)}.workflow-outline-document,.workflow-question-list{display:flex;flex-direction:column;gap:18px}.workflow-outline-document>article,.workflow-question-list>article{display:grid;grid-template-columns:28px minmax(0,1fr);grid-gap:14px;gap:14px}.workflow-outline-document>article>span,.workflow-question-list>article>span{color:var(--faint);font:650 10px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.workflow-outline-document article>div,.workflow-question-list article>div{min-width:0;padding-bottom:18px;border-bottom:1px solid var(--border)}.workflow-outline-document article:last-child>div,.workflow-question-list article:last-child>div{padding-bottom:0;border-bottom:0}.workflow-outline-document strong,.workflow-question-list strong{color:var(--text);font-size:14px;line-height:1.45}.workflow-outline-document li,.workflow-question-list p{color:var(--text-2);font-size:12.5px;line-height:1.65}.workflow-outline-document ul{margin:8px 0 0;padding-left:18px}.workflow-question-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.workflow-question-options small{padding:5px 9px;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:var(--bg-soft);font-size:10.5px}.workflow-question-options small.recommended{border-color:rgba(37,99,235,.2);color:var(--accent-ink);background:var(--accent-soft)}.workflow-inspiration-preview{display:flex;flex-direction:column;overflow:hidden}.workflow-inspiration-media{display:grid;width:100%;max-height:min(56vh,560px);flex:0 0 auto;aspect-ratio:16/9;place-items:center;overflow:hidden;border-bottom:1px solid var(--border);background:#f3f4f6}.workflow-inspiration-media>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.workflow-curated-preview,.workflow-inspiration-copy{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:clamp(28px,5vw,58px)}.workflow-inspiration-copy{min-height:0;flex:1 1;padding:clamp(24px,3vw,40px)}.workflow-curated-preview>span,.workflow-inspiration-copy>span{color:var(--accent);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workflow-curated-preview h2,.workflow-inspiration-copy h2{margin:0;color:var(--text);font-size:clamp(24px,3vw,36px);line-height:1.12}.workflow-curated-preview p,.workflow-inspiration-copy p{margin:0;color:var(--text-2);font-size:13px;line-height:1.65}.workflow-curated-preview small,.workflow-inspiration-copy small{color:var(--muted);font-size:11px;line-height:1.6}.workflow-curated-palette{display:flex;gap:7px;margin-bottom:16px}.workflow-curated-palette i{width:34px;height:34px;border:1px solid rgba(15,23,42,.1);border-radius:999px;box-shadow:0 0 0 3px #fff}.workflow-inspiration-grid{display:grid;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;padding:16px}.workflow-inspiration-grid article{display:flex;min-width:0;flex-direction:column;gap:4px}.workflow-inspiration-grid img{width:100%;aspect-ratio:16/9;margin-bottom:4px;border-radius:9px;object-fit:cover}.workflow-inspiration-grid strong{overflow:hidden;color:var(--text);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workflow-inspiration-grid span{color:var(--muted);font-size:10.5px}.workflow-file-empty-preview{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--faint);text-align:center}.workflow-file-empty-preview strong{color:var(--text-2);font-size:14px}.workflow-file-empty-preview span{max-width:360px;color:var(--muted);font-size:11.5px}@media (max-width:820px){.workflow-files-workspace{grid-template-columns:210px minmax(0,1fr)}.workflow-inspiration-media{max-height:min(48vh,420px)}}@media (max-width:640px){.workflow-files-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(440px,1fr);overflow:auto}.workflow-files-list{display:flex;gap:6px;overflow-x:auto;padding:9px;border-right:0;border-bottom:1px solid var(--border)}.workflow-files-list-head,.workflow-files-list>p{display:none}.workflow-files-list>button{width:auto;min-width:168px;flex:0 0 auto;margin:0}.workflow-file-preview-body{padding:12px}.workflow-inspiration-grid{grid-template-columns:1fr}.chat-artifact-open{display:none}}.deck-header-extras{display:flex;align-items:center;gap:8px}.project-template-save-trigger{white-space:nowrap}.project-template-modal-bg{z-index:var(--z-modal)}.project-template-modal{width:min(500px,calc(100vw - 28px));overflow:hidden;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-pop);animation:designFilePaneIn .2s cubic-bezier(.2,.72,.2,1) both}.project-template-modal-form>footer,.project-template-modal>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.project-template-modal>header{border-bottom:1px solid var(--border)}.project-template-modal-form{display:block}.project-template-modal>header>div{display:flex;min-width:0;align-items:center;gap:11px}.project-template-modal>header>div>span{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.project-template-modal h3{margin:0;color:var(--text);font-size:14px}.project-template-modal header p{margin:3px 0 0;color:var(--muted);font-size:10.5px}.project-template-modal header>button{display:grid;width:30px;height:30px;place-items:center;padding:0;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.project-template-modal header>button:hover{color:var(--text);background:var(--panel-2)}.project-template-modal-body{display:flex;flex-direction:column;gap:13px;padding:16px}.project-template-modal-body label{display:flex;flex-direction:column;gap:6px}.project-template-modal-body label>span{color:var(--text-2);font-size:11px;font-weight:620}.project-template-modal-body input,.project-template-modal-body textarea{width:100%;border:1px solid var(--border);border-radius:9px;outline:0;padding:9px 10px;color:var(--text);background:#fff;font:inherit;font-size:12px;line-height:1.5}.project-template-modal-body textarea{resize:vertical}.project-template-modal-body input:focus,.project-template-modal-body textarea:focus{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));box-shadow:0 0 0 3px var(--accent-soft)}.project-template-modal-note{margin:0;padding:10px 11px;border-radius:9px;color:var(--muted);background:var(--panel-2);font-size:10.5px;line-height:1.5}.project-template-modal-error{margin:0;color:#a64545;font-size:11px}.project-template-modal-form>footer{border-top:1px solid var(--border);justify-content:flex-end}.project-template-modal-form>footer button{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:6px;padding:0 13px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:#fff;font:inherit;font-size:11px;font-weight:620;cursor:pointer}.project-template-modal-form>footer button.primary{border-color:var(--text);color:#fff;background:var(--text)}.project-template-modal-form>footer button:disabled{opacity:.5;cursor:default}.design-files-trigger{white-space:nowrap}.design-files{position:relative;display:flex;height:100%;min-height:0;flex:1 1;flex-direction:column;overflow:hidden;color:#25272b;background:#fff;animation:designFilesEnter .22s cubic-bezier(.2,.72,.2,1) both}.design-files-drop-overlay{position:absolute;inset:8px;z-index:calc(var(--z-sticky) - 1);display:grid;place-items:center;padding:18px;border:1px solid rgba(37,99,235,.24);border-radius:14px;background:rgba(245,248,255,.78);backdrop-filter:blur(8px) saturate(125%);-webkit-backdrop-filter:blur(8px) saturate(125%);pointer-events:none;animation:designFilesDropIn .16s cubic-bezier(.2,.72,.2,1) both}.design-files-drop-overlay>div{display:flex;width:min(340px,100%);align-items:center;flex-direction:column;gap:7px;padding:24px;border:1.5px dashed rgba(37,99,235,.46);border-radius:14px;color:var(--accent-ink);background:hsla(0,0%,100%,.94);box-shadow:0 8px 24px rgba(37,99,235,.1);text-align:center}.design-files-drop-overlay strong{color:#274e9b;font-size:13px;font-weight:650;letter-spacing:-.012em}.design-files-drop-overlay span{color:#73809a;font-size:10.5px}.design-files-head{display:flex;align-items:center;justify-content:space-between;height:58px;flex:0 0 auto;gap:16px;padding:0 16px 0 20px;border-bottom:1px solid #e5e7eb;background:hsla(0,0%,100%,.96)}.project-ws .design-files-head{padding-right:68px}.design-files-head>div:first-child{display:flex;min-width:0;align-items:center;gap:10px}.design-files-heading{display:flex;min-width:0;flex-direction:column;gap:1px}.design-files-heading strong{font-size:13.5px;font-weight:650;letter-spacing:-.018em}.design-files-head span{overflow:hidden;color:#8a8f98;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.design-files-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}.design-file-content-error button,.design-file-toolbar a,.design-file-toolbar button,.design-files-actions button,.design-files-inline-error button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid #e1e4e8;border-radius:8px;color:#4d5158;background:#fff;font:inherit;font-size:12px;font-weight:560;letter-spacing:-.008em;cursor:pointer;text-decoration:none;transition:transform .15s cubic-bezier(.2,.72,.2,1),color .15s ease,border-color .15s ease,background .15s ease,opacity .15s ease}.design-file-content-error button:hover,.design-file-toolbar a:hover,.design-file-toolbar button:hover:not(:disabled),.design-files-actions button:hover:not(:disabled),.design-files-inline-error button:hover{border-color:#d7dbe1;color:#202226;background:#f6f7f9}.design-file-toolbar a:active,.design-file-toolbar button:active:not(:disabled),.design-files-actions button:active:not(:disabled){transform:scale(.96)}.design-file-content-error button:focus-visible,.design-file-toolbar a:focus-visible,.design-file-toolbar button:focus-visible,.design-files-actions button:focus-visible,.design-files-group>button:focus-visible,.design-files-inline-error button:focus-visible{outline:2px solid rgba(69,105,186,.42);outline-offset:2px}.design-file-toolbar button:disabled,.design-files-actions button:disabled{opacity:.52;cursor:default}.design-files-actions .design-files-upload{border-color:#202226;color:#fff;background:#202226;box-shadow:0 1px 2px rgba(22,27,34,.13)}.design-files-actions .design-files-upload span{color:inherit;font-size:inherit}.design-files-actions .design-files-upload:hover:not(:disabled){border-color:#0f1115;color:#fff;background:#0f1115}.design-files-actions .is-loading>svg,.design-files-spinner{animation:designFilesSpin .72s linear infinite}.design-files-body{display:grid;min-height:0;flex:1 1;grid-template-columns:minmax(248px,30%) minmax(0,1fr);overflow:hidden}.design-files-list{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;padding:0;border-right:1px solid #e5e7eb;background:#fbfbfc}.design-files-list-header{flex:0 0 auto;padding:12px 12px 8px;border-bottom:1px solid rgba(229,231,235,.72);background:#fbfbfc}.design-files-root{display:flex;align-items:center;justify-content:space-between;padding:3px 8px 9px;color:#3d4148;font-size:12px;font-weight:630;letter-spacing:-.01em}.design-files-root small{overflow:hidden;color:#999ea7;font-size:9.5px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.design-files-search{display:flex;height:31px;min-width:0;align-items:center;gap:7px;padding:0 7px 0 9px;border:1px solid #e2e5e9;border-radius:8px;color:#9aa0a9;background:#fff;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.design-files-search:focus-within{border-color:#9aafe0;background:#fff;box-shadow:0 0 0 3px rgba(69,105,186,.1)}.design-files-search>svg{flex:0 0 auto}.design-files-search input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:#373b42;background:transparent;font:inherit;font-size:10.5px}.design-files-search input::placeholder{color:#a5aab2}.design-files-search input::-webkit-search-cancel-button{display:none}.design-files-search button{display:grid;width:21px;height:21px;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:6px;color:#9298a1;background:transparent;cursor:pointer}.design-files-search button:hover{color:#4d535c;background:#eef0f3}.design-files-search button:focus-visible{outline:2px solid rgba(69,105,186,.4);outline-offset:1px}.design-files-scroll{min-height:0;flex:1 1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px 12px;scrollbar-color:#d3d7dd transparent;scrollbar-width:thin;scrollbar-gutter:stable}.design-files-scroll::-webkit-scrollbar{width:8px}.design-files-scroll::-webkit-scrollbar-track{background:transparent}.design-files-scroll::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background:#d3d7dd;background-clip:padding-box}.design-files-no-results{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:18px;color:#a1a6ae;font-size:10.5px;text-align:center}.design-files-group{margin-bottom:18px}.design-files-group h3{display:flex;justify-content:space-between;margin:0 0 6px;padding:0 8px;color:#8a8f98;font-size:9.5px;line-height:24px;letter-spacing:.08em;text-transform:uppercase}.design-files-group h3 span{margin-top:3px;padding:0 7px;border-radius:99px;color:#777c84;background:#eceef1;line-height:18px}.design-files-group>button{display:flex;width:100%;min-width:0;align-items:center;gap:10px;padding:9px 8px;border:0;border-radius:9px;color:inherit;background:transparent;text-align:left;cursor:pointer;animation:designFileRowIn .25s cubic-bezier(.2,.72,.2,1) both;transition:color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.design-files-group>button:nth-of-type(2){animation-delay:25ms}.design-files-group>button:nth-of-type(3){animation-delay:50ms}.design-files-group>button:nth-of-type(4){animation-delay:75ms}.design-files-group>button:nth-of-type(5){animation-delay:.1s}.design-files-group>button:hover{background:#f0f1f3}.design-files-group>button:active{transform:scale(.985)}.design-files-group>button.active{background:#e8edf9;box-shadow:inset 0 0 0 1px #d5def5,0 1px 2px rgba(52,78,138,.04)}.design-file-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:8px;color:#68707c;background:#eef0f3;transition:transform .18s cubic-bezier(.2,.72,.2,1)}.design-files-group>button:hover .design-file-icon{transform:translateY(-1px)}.design-file-icon.image{color:#27845d;background:#e7f5ed}.design-file-icon.document{color:#486fbd;background:#e9effb}.design-file-icon.data{color:#956a21;background:#faf1dd}.design-file-icon.code{color:#8854a8;background:#f2eafb}.design-file-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.design-file-copy strong{color:#30333a;font-size:11.5px;font-weight:610;letter-spacing:-.008em}.design-file-copy small,.design-file-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-file-copy small{color:#969ba4;font-size:9.5px}.design-file-viewer{flex-direction:column;background:#fff}.design-file-viewer,.design-file-viewer-frame{display:flex;min-width:0;min-height:0;overflow:hidden}.design-file-viewer-frame{flex:1 1;flex-direction:column;animation:designFilePaneIn .2s cubic-bezier(.2,.72,.2,1) both}.design-file-toolbar{display:flex;min-height:58px;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid #eceef1;background:#fff}.design-file-toolbar>div:first-child{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:3px}.design-file-toolbar strong{font-size:12px;font-weight:640;letter-spacing:-.01em}.design-file-toolbar span,.design-file-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.design-file-toolbar span{color:#959aa3;font-size:9.5px}.design-file-toolbar-actions{display:flex;min-width:0;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:7px}.design-file-view-tabs{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #e1e4e8;border-radius:9px;background:#f5f6f8}.design-file-toolbar .design-file-view-tabs>button{min-height:26px;gap:5px;padding:0 8px;border:0;border-radius:6px;color:#858b94;background:transparent;box-shadow:none}.design-file-toolbar .design-file-view-tabs>button:hover:not(:disabled){border-color:transparent;color:#444950;background:hsla(0,0%,100%,.7)}.design-file-toolbar .design-file-view-tabs>button.active{color:#2f3338;background:#fff;box-shadow:0 1px 2px rgba(22,27,34,.1)}.design-file-toolbar-actions>a,.design-file-toolbar-actions>button{min-height:30px;padding-inline:8px}.design-file-toolbar-actions>button.is-copied{border-color:#cde6d5;color:#387b50;background:#f1faf4}.design-file-toolbar-actions>a>span,.design-file-toolbar-actions>button>span{color:inherit;font-size:10px}.design-file-save-status{display:flex;min-width:0;max-width:min(210px,46%);flex:0 1 auto;align-items:center;justify-content:flex-end}.design-file-save-retry,.design-file-save-status>span{display:inline-flex;min-width:0;align-items:center;gap:6px;color:#8b919a;font-size:9.5px;font-weight:540}.design-file-save-status>span>span{color:inherit;font-size:inherit}.design-file-save-status.saved>span{color:#758076}.design-file-save-status.saved svg{color:#4c9567}.design-file-save-status.saving>span{color:#6e7682}.design-file-save-status.error{max-width:min(220px,52%)}.design-file-toolbar .design-file-save-retry{min-height:30px;max-width:100%;padding:0 8px;border-color:#f1d0d0;color:#b54747;background:#fff7f7}.design-file-toolbar .design-file-save-retry span{color:inherit}.design-file-content{position:relative;display:flex;min-width:0;min-height:0;flex:1 1;align-items:stretch;justify-content:stretch;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding:clamp(16px,2.2vw,24px);background:#f6f7f8}.design-file-content.is-loading{overflow:hidden}.design-file-content textarea{width:100%;min-height:100%;resize:none;border:1px solid #e0e3e7;border-radius:10px;outline:none;padding:22px 24px;color:#2f3338;background:#fff;box-shadow:0 8px 24px rgba(22,27,34,.05);font:11.5px/1.72 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;animation:designFileContentIn .22s cubic-bezier(.2,.72,.2,1) both;transition:border-color .16s ease,box-shadow .16s ease}.design-file-content textarea:focus{border-color:#9aafe0;box-shadow:0 0 0 3px rgba(69,105,186,.12),0 8px 24px rgba(22,27,34,.05)}.design-file-workflow-preview{display:flex;width:100%;min-height:100%;align-items:stretch;animation:designFileContentIn .22s cubic-bezier(.2,.72,.2,1) both}.design-file-workflow-preview>*{min-height:100%}.design-file-json-invalid,.design-file-rendered-document{width:min(100%,960px);min-height:100%;margin:0 auto;padding:clamp(24px,4vw,48px);border:1px solid #e0e3e7;border-radius:12px;color:var(--text-2);background:#fff;box-shadow:0 8px 24px rgba(22,27,34,.05);animation:designFileContentIn .22s cubic-bezier(.2,.72,.2,1) both}.design-file-markdown-preview .assistant-markdown{max-width:780px;margin:0 auto}.design-file-json-preview{overflow-wrap:anywhere}.design-file-json-object{display:flex;margin:0;flex-direction:column;gap:9px}.design-file-json-object>div{display:grid;min-width:0;grid-template-columns:minmax(110px,28%) minmax(0,1fr);grid-gap:18px;gap:18px;padding:0 0 9px;border-bottom:1px solid #eceef1}.design-file-json-object>div:last-child{border-bottom:0}.design-file-json-object dt{color:#747b85;font:600 10.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.design-file-json-object dd{min-width:0;margin:0;color:#30343a;font-size:12px;line-height:1.6}.design-file-json-array{display:flex;margin:0;flex-direction:column;gap:10px;padding-left:24px}.design-file-json-array>li{padding-left:4px;color:#7b818a}.design-file-json-array>li>*{color:#30343a}.design-file-json-preview code{padding:2px 5px;border-radius:5px;color:#74531b;background:#f7f0df;font:10.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.design-file-json-preview .string{white-space:pre-wrap}.design-file-json-preview code.boolean{color:#315f9a;background:#eaf0fa}.design-file-json-preview code.null{color:#888e97;background:#eef0f2}.design-file-json-preview .truncated{color:#999fa8;font-style:italic}.design-file-json-invalid{overflow:auto;white-space:pre-wrap;font:11.5px/1.72 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.design-file-content iframe,.design-file-content img{opacity:0;transform:translateY(4px) scale(.997);transition:opacity .24s ease,transform .24s cubic-bezier(.2,.72,.2,1)}.design-file-content iframe.is-ready,.design-file-content img.is-ready{opacity:1;transform:none}.design-file-content img{max-width:100%;max-height:100%;margin:auto;border-radius:8px;object-fit:contain;box-shadow:0 8px 30px rgba(22,27,34,.12)}.design-file-content iframe{width:100%;height:100%;min-height:500px;border:1px solid #e0e3e7;border-radius:10px;background:#fff}.design-file-placeholder{display:flex;margin:auto;align-items:center;flex-direction:column;gap:8px;padding:28px;color:#a0a5ad;text-align:center;animation:designFileContentIn .22s ease-out both}.design-file-placeholder strong{color:#5b6068;font-size:14px}.design-file-placeholder span,.design-files-empty{color:#9aa0a9;font-size:12px}.design-files-empty{padding:12px 8px;line-height:1.5}.design-files-inline-error{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:7px;gap:7px;margin:0 0 10px;padding:8px 9px;border:1px solid #f0d8d8;border-radius:9px;color:#a24a4a;background:#fff8f8;font-size:10px}.design-files-inline-error button{min-height:25px;padding:0 7px;border-color:#ead1d1;color:#9f4545;background:#fff;font-size:10px}.design-file-content-error{display:flex;margin:auto;align-items:center;flex-direction:column;gap:9px;color:#a3a8af;text-align:center}.design-file-content-error strong{color:#676c74;font-size:12px}.design-file-content-error button{min-height:30px;font-size:10.5px}.design-files-list-skeleton{display:flex;flex-direction:column;gap:5px}.design-file-skeleton-copy>span,.design-file-skeleton-heading,.design-file-skeleton-icon,.design-file-skeleton-line,.design-file-skeleton-status,.design-file-skeleton-title{display:block;background:linear-gradient(100deg,#eceff3 18%,#f8f9fb 42%,#eceff3 66%);background-size:220% 100%;animation:designFileShimmer 1.35s ease-in-out infinite}.design-file-skeleton-heading{width:72px;height:8px;margin:5px 8px 8px;border-radius:99px}.design-file-skeleton-row{display:flex;align-items:center;gap:10px;min-height:52px;padding:9px 8px}.design-file-skeleton-icon{width:34px;height:34px;flex:0 0 auto;border-radius:8px}.design-file-skeleton-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:7px}.design-file-skeleton-copy>span{height:8px;border-radius:99px}.design-file-skeleton-copy>span:first-child{width:68%}.design-file-skeleton-copy>span:last-child{width:46%;height:6px}.design-file-toolbar-skeleton>.design-file-skeleton-copy{max-width:210px}.design-file-skeleton-status{width:92px;height:9px;border-radius:99px}.design-file-document-skeleton{position:absolute;inset:clamp(16px,2.2vw,24px);display:flex;overflow:hidden;flex-direction:column;gap:14px;padding:26px 28px;border:1px solid #e4e7eb;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(22,27,34,.035)}.design-file-document-skeleton.preview{inset:50% auto auto 50%;width:min(620px,calc(100% - 48px));height:min(72%,430px);transform:translate(-50%,-50%)}.design-file-skeleton-title{width:42%;height:13px;margin-bottom:8px;border-radius:99px}.design-file-skeleton-line{height:8px;border-radius:99px}.design-file-skeleton-line.line-1{width:92%}.design-file-skeleton-line.line-2{width:78%}.design-file-skeleton-line.line-3{width:86%}.design-file-skeleton-line.line-4{width:58%;margin-bottom:6px}@keyframes designFilesEnter{0%{opacity:0}to{opacity:1}}@keyframes designFilesDropIn{0%{opacity:0;transform:scale(.992)}to{opacity:1;transform:scale(1)}}@keyframes designFilePaneIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes designFileContentIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes designFileRowIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes designFileShimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes designFilesSpin{to{transform:rotate(1turn)}}@media (max-width:1100px){.design-files-body{grid-template-columns:230px minmax(0,1fr)}.design-file-content{padding:18px}.design-file-document-skeleton{inset:18px}}@media (max-width:820px){.design-files-body{grid-template-columns:210px minmax(0,1fr)}.design-files-heading>span{display:none}.design-file-toolbar{padding-inline:14px}.design-file-save-status,.design-file-toolbar-actions>a>span,.design-file-toolbar-actions>button>span{display:none}.design-file-content{padding:14px}.design-file-document-skeleton{inset:14px}}@media (max-width:720px){.design-files{height:auto;min-height:680px}.design-files-body{grid-template-columns:minmax(0,1fr);grid-template-rows:154px minmax(500px,1fr)}.design-files-list{display:flex;flex-direction:column;overflow:hidden;padding:0;border-right:0;border-bottom:1px solid #e5e7eb}.design-files-list-header{display:flex;align-items:center;gap:10px;padding:7px 12px}.design-files-root{position:static;width:94px;flex:0 0 94px;align-items:flex-start;justify-content:center;flex-direction:column;gap:1px;margin:0;padding:0 10px 0 0;border-right:1px solid #e5e7eb;background:transparent;box-shadow:none}.design-files-root small{max-width:82px}.design-files-search{min-width:0;flex:1 1}.design-files-scroll{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:8px 12px 10px;scroll-padding-left:12px;scroll-snap-type:x proximity;scrollbar-gutter:auto}.design-files-group{display:flex;flex:0 0 auto;align-items:center;gap:6px;margin:0}.design-files-group h3{width:68px;flex:0 0 68px;align-items:flex-start;justify-content:center;flex-direction:column;margin:0;padding:0 5px;line-height:18px}.design-files-group h3 span{margin:2px 0 0}.design-files-group>button{width:184px;min-height:58px;flex:0 0 184px;padding:10px;border:1px solid transparent;background:#fff;scroll-snap-align:start}.design-files-group>button:hover{border-color:#e5e7eb;background:#fff}.design-files-group>button.active{border-color:#d5def5;background:#e8edf9}.design-files-list-skeleton{flex:0 0 auto;flex-direction:row;align-items:center;gap:6px}.design-file-skeleton-heading{display:none}.design-file-skeleton-row{width:176px;min-height:58px;flex:0 0 176px;border-radius:9px;background:#fff}.design-files-inline-error{width:220px;flex:0 0 220px;margin:auto 0}.design-files-empty{width:210px;flex:0 0 210px;align-self:center}.design-files-no-results{width:220px;min-height:66px;flex:0 0 220px;padding:8px}.design-file-viewer{min-height:500px}.design-file-content textarea{min-height:430px}.design-file-content iframe{min-height:440px}}@media (max-width:640px){.design-files-head{gap:8px;padding-inline:12px}.design-files-actions{gap:5px}.design-files-actions button{width:34px;padding:0}.design-files-actions .design-files-upload span{display:none}.design-file-save-status{max-width:48%}}@media (max-width:480px){.design-files{min-height:640px}.design-files-body{grid-template-rows:142px minmax(470px,1fr)}.design-files-heading strong{font-size:12.5px}.design-files-list-header{gap:8px;padding-inline:10px}.design-files-root{width:82px;flex-basis:82px;padding-right:8px}.design-files-search{height:29px}.design-file-toolbar{min-height:62px;padding:8px 12px}.design-file-toolbar>div:first-child{flex-basis:118px}.design-file-save-status{max-width:47%}.design-file-save-retry,.design-file-save-status>span{font-size:9.5px}.design-file-content{padding:10px}.design-file-content textarea{min-height:410px;padding:16px}.design-file-content iframe{min-height:420px}.design-file-document-skeleton{inset:10px;padding:20px 18px}.design-file-document-skeleton.preview{width:calc(100% - 20px)}}@media (max-width:380px){.design-files-heading{display:none}.design-file-save-status{max-width:50%}}@media (prefers-reduced-motion:reduce){.design-file-content textarea,.design-file-skeleton-copy>span,.design-file-skeleton-heading,.design-file-skeleton-icon,.design-file-skeleton-line,.design-file-skeleton-status,.design-file-skeleton-title,.design-file-viewer-frame,.design-files,.design-files-actions .is-loading>svg,.design-files-drop-overlay,.design-files-group>button,.design-files-spinner{animation:none}.design-file-content iframe,.design-file-content img,.design-file-icon,.design-files-group>button{transition:none}}html{overflow-x:clip;text-size-adjust:100%}body,html{min-width:0}body{min-height:100%;overflow-wrap:anywhere}canvas,iframe,img,video{max-width:100%}button,input,select,textarea{min-width:0}[role=button],a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.chatcol,.composer,.deckpane,.design-files,.launch,.launch-hero,.stage,.stage-head,.stage-main,.workflow-files-workspace,.ws{min-width:0}@media (min-width:901px){body:has(.project-ws){height:100vh;overflow:hidden}.ws.project-ws{grid-template-rows:minmax(0,1fr);height:100vh;max-height:100vh;overflow:hidden}.project-ws>.deckpane,.project-ws>.deckpane>.design-files{min-height:0;overflow:hidden}.project-ws>.deckpane{height:100%;max-height:100%}.project-ws .stage-main{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;justify-items:center;justify-content:stretch;overflow:hidden}.project-ws .slide-toolbar{grid-row:1}.project-ws .preview{grid-row:2;width:auto;height:100%;max-width:100%;max-height:100%}.project-ws .speaker-notes-panel{grid-row:3}@supports (height:100dvh){.ws.project-ws,body:has(.project-ws){height:100dvh;max-height:100dvh}}}@supports (height:100dvh){.project-opening-overlay .project-route-loading,.project-ws,.ws{height:100dvh}.scenario-dialog{max-height:calc(100dvh - 32px)}.transition-modal{max-height:calc(100dvh - 24px)}.image-preview-dialog{max-height:calc(100dvh - 20px)}.image-preview-body img{max-height:calc(100dvh - 111px)}.playmode{min-height:100dvh}}@supports (padding:max(0px)){.appbar{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(72px,calc(env(safe-area-inset-right) + 56px))}.global-settings{top:max(12px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right))}.filmstrip{padding-bottom:max(16px,env(safe-area-inset-bottom))}.playmode-dock{bottom:max(18px,env(safe-area-inset-bottom))}}@media (min-width:1440px){.launch{max-width:1280px}.launch-hero{max-width:820px}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ws{grid-template-columns:clamp(360px,24vw,430px) minmax(0,1fr)}}@media (max-width:1180px) and (min-width:901px){.ws{grid-template-columns:clamp(310px,31vw,372px) minmax(0,1fr)}.stage-head{gap:7px;padding-left:14px}.stage-actions{gap:6px}.stage-actions .iconbtn{padding-inline:10px}.stage-head .count{padding-inline:8px}.project-loading-stage-head{gap:7px}}@media (max-width:900px){.project-ws,.ws{width:100%;height:auto;min-height:100vh;min-height:100dvh;overflow:visible}.ws{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}.ws>.chatcol{width:100%;height:clamp(460px,54dvh,620px);min-height:460px;max-height:620px;overflow:hidden}.ws>.deckpane,.ws>.stage{width:100%;min-height:max(660px,72dvh)}.chatcol.collapsed{width:100%;min-width:0;border-bottom:1px solid var(--border);background:#fff;overflow:hidden;pointer-events:auto}.chatcol.collapsed .chatcol-background-run,.chatcol.collapsed .chatcol-head,.chatcol.collapsed .chatcol-head-main,.chatcol.collapsed .chatcol-live,.chatcol.collapsed .chatfeed{display:flex}.chatcol.collapsed .chatcol-composer,.chatcol.collapsed .chatcol-queue,.chatcol.collapsed .conversation-panel,.chatcol.collapsed .workflow-progress{display:block}.chatcol-collapse,.chatcol-reopen{display:none}.ws:has(>.chatcol.collapsed) .stage-head{padding-left:20px}.design-files-head,.stage-head{position:-webkit-sticky;position:sticky;top:0;z-index:var(--z-sticky)}.project-route-loading>.project-loading-agent{height:clamp(420px,48dvh,560px);min-height:420px}.project-route-loading>.project-loading-stage{min-height:max(620px,68dvh)}.retune-panel{max-height:min(720px,calc(100dvh - 92px))}}@media (max-width:760px){.appbar{min-height:58px;padding-block:10px}.launch{--launch-inline-pad:clamp(14px,4vw,22px);padding-top:clamp(36px,8vw,52px);padding-right:var(--launch-inline-pad);padding-bottom:72px;padding-left:var(--launch-inline-pad)}.launch h1{margin-bottom:24px;font-size:clamp(30px,8.8vw,38px);line-height:1.1;text-wrap:balance}.plan-pill{flex-wrap:wrap;row-gap:6px;margin-bottom:22px;text-align:center}.scenario-quick{margin-right:calc(-1 * var(--launch-inline-pad));padding-right:var(--launch-inline-pad)}.launch .composer{padding:18px 18px 13px;border-radius:18px}.launch .composer textarea{min-height:88px;font-size:clamp(16px,4.5vw,18px)}.launch .composer-bar{flex-wrap:wrap;align-items:center;gap:6px}.launch .composer-bar .cbtn:not(.icononly){max-width:min(150px,calc(50vw - 32px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.launch .composer-bar .spacer{flex:1 1 28px}.launch .composer-bar .send-btn{margin-left:auto}.launch .composer-bar .pop{position:fixed;top:auto;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));z-index:var(--z-modal);width:auto;min-width:0!important;max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;border-radius:16px}.launch .composer:has(.composer-bar .pop){z-index:var(--z-modal)}.section-head{align-items:flex-start;gap:12px}.section-head p{max-width:46ch}.project-grid{gap:16px}.project-cover{min-height:0}.project-open{opacity:1;transform:none}.inspire-dialog,.scenario-dialog{max-height:calc(100dvh - 16px)}.inspire-dialog-backdrop,.scenario-dialog-backdrop{align-items:flex-end;padding:8px}.inspire-dialog,.scenario-dialog{width:100%;border-radius:20px 20px 14px 14px}}@media (max-width:640px){@supports (padding:max(0px)){.appbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(56px,calc(env(safe-area-inset-right) + 48px))}.global-settings{right:max(10px,env(safe-area-inset-right))}.chatcol-composer,.filmstrip{padding-bottom:max(12px,env(safe-area-inset-bottom))}.filmstrip{padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left))}}.brand-lockup,.powered-by-link,.product-lockup,.product-name{min-width:0}.powered-by-name,.product-name{overflow:hidden;text-overflow:ellipsis}.chatcol-conversations,.community-browser-button,.conversation-new,.design-files-actions button,.global-settings-trigger,.group-chip,.round-btn,.stage-actions .iconbtn,.workspace-mode-tabs button{min-height:40px}.global-settings-trigger{width:40px;height:40px}.global-settings-popover{width:min(340px,calc(100vw - 20px));max-height:calc(100dvh - 70px);overflow-y:auto}.project-section{margin-top:48px}.project-copy strong{font-size:13.5px}.community-groups,.foryou-scroll,.scenario-quick{scroll-padding-inline:4px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.project-ws{overflow-x:clip}.ws>.chatcol{height:max(500px,62dvh);min-height:500px;max-height:680px}.ws>.deckpane,.ws>.stage{min-height:max(540px,65dvh)}.chatcol-head{min-height:58px;padding:9px 56px 9px 12px}.chatcol-head-actions{gap:4px}.chatcol-conversations{width:40px;justify-content:center;padding:0;font-size:0}.chatcol-conversations svg{width:18px;height:18px}.chatcol-live{font-size:11px}.chatfeed{gap:14px;padding:14px 12px;overscroll-behavior-y:contain}.msg{font-size:14px}.msg.user{max-width:94%}.chatcol-queue{padding:8px 10px 0}.chatcol-queue-row{grid-template-columns:minmax(0,1fr) max-content;min-height:48px;padding-left:9px}.chatcol-queue-grip{display:none}.chatcol-queue-actions button{width:34px;height:34px}.chatcol-queue-meta i:nth-child(n+3){display:none}.chatcol-composer{padding:9px 10px 12px}.chatcol-composer .composer{border-radius:14px!important}.chatcol-composer .composer textarea{min-height:62px;max-height:32dvh}.conversation-panel{top:54px;right:8px;left:8px;max-height:calc(100dvh - 72px)}.conversation-list{max-height:min(300px,42dvh)}.stage-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:8px;gap:8px;min-height:58px;padding:9px 56px 9px 12px}.stage-head .workspace-mode-tabs{grid-column:1}.stage-collapsed-title,.stage-head .title{grid-column:2}.stage-head .count{grid-column:3;justify-self:end;margin-left:0}.stage-actions{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;grid-gap:7px;gap:7px}.deck-header-extras,.deck-header-extras>.iconbtn,.stage-actions .export-wrap,.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{width:100%}.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{height:40px;justify-content:center;padding-inline:8px;font-size:12px}.stage-actions-sep{display:none}.workspace-mode-tabs button{width:38px;height:34px;padding:0}.project-ws .stage-head,.ws:has(>.chatcol.collapsed) .stage-head{padding-right:56px;padding-left:12px}.stage-main{justify-content:flex-start;gap:10px;padding:12px;overflow-x:hidden}.slide-toolbar{width:100%;min-height:46px;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}.slide-toolbar button{width:40px;height:38px;padding:0;scroll-snap-align:start}.preview{width:100%;max-height:none;flex:0 0 auto;border-radius:10px}.stage-page-nav{width:38px;height:38px;opacity:.9;transform:translateY(-50%) scale(1)}.filmstrip{gap:8px;padding-top:10px}.frame-add,.frame-shell{--film-frame-width:100px;width:100px}.frame-insert,.frame-transition{opacity:1}.export-pop{width:min(276px,calc(100vw - 24px));min-width:0}.project-ws .retune-scrim{position:fixed;inset:0}.project-ws .retune-panel{position:fixed;top:max(8px,env(safe-area-inset-top));right:8px;bottom:max(8px,env(safe-area-inset-bottom));left:8px;width:auto;max-height:none;border-radius:16px}.workflow-files-workspace{grid-template-rows:auto minmax(460px,1fr)}.design-files-scroll,.workflow-files-list{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.design-files-group>button,.workflow-files-list>button{scroll-snap-align:start}.clarify-pane,.inspire-board,.outline-board,.workflow-file-preview-body{padding:12px}.workflow-outline-document,.workflow-questions-document{padding:20px 16px}.workflow-outline-document>article,.workflow-question-list>article{grid-template-columns:22px minmax(0,1fr);gap:9px}.workflow-curated-preview,.workflow-inspiration-copy{padding:24px 20px}.outline-card{padding:12px}.outline-card-head{align-items:flex-start}.onb-attach-btn.inline,.outline-card-actions button{width:40px;height:40px}.outline-confirm{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;padding:10px 12px max(10px,env(safe-area-inset-bottom))}.onb-actions{flex-wrap:wrap}.onb-actions>button{min-height:44px}.inspire-stage-intro{flex-direction:column;gap:8px}.inspire-controls{align-items:stretch}.inspire-search-wrap{flex-basis:100%}.inspire-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.inspire-confirm .outline-confirm-btn{max-width:52vw}.design-files{min-height:max(660px,82dvh)}.design-files-head{height:auto;min-height:58px;padding:8px 56px 8px 12px}.project-ws .design-files-head{padding-right:56px}.design-files-actions button{width:40px;height:40px;padding:0}.design-file-toolbar{min-height:64px;padding:8px 12px}.design-file-content{padding:10px}.design-file-content textarea{padding:16px}.image-preview-backdrop,.modal-bg,.transition-modal-bg{align-items:flex-end;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.image-preview-dialog,.modal,.transition-modal{width:100%;max-width:none;max-height:calc(100dvh - 16px);overflow:auto;border-radius:18px 18px 12px 12px}.transition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.transition-option{min-height:112px;padding:10px}.mark-tools{width:calc(100% - 16px);max-width:none;justify-content:flex-start;overscroll-behavior-inline:contain;scrollbar-width:none}.mark-tools::-webkit-scrollbar{display:none}.mark-tools button{width:40px;height:40px}.mark-comment-row textarea{min-height:44px}.playmode-stage{padding-right:8px;padding-left:8px}.playmode-dock{max-width:calc(100vw - 16px)}.brand-system-form input,.brand-system-form select,.brand-system-form textarea,.chatcol-composer .composer textarea,.conversation-rename input,.conversation-search input,.design-file-content textarea,.design-files-search input,.global-settings-popover input,.inspire-search,.launch .composer textarea,.mark-comment-row textarea,.onb-custom,.onb-options>input[type=number],.outline-points,.outline-title,.scenario-search input{font-size:16px}}@media (max-width:480px){.launch{padding-top:30px}.launch h1{font-size:clamp(27px,9vw,32px)}.plan-pill .divider{display:none}.launch .composer{padding:15px 14px 11px}.launch .composer-bar .cbtn:not(.icononly){max-width:calc(50vw - 30px)}.section-head{flex-direction:column}.section-count{align-self:flex-start}.project-grid{grid-template-columns:minmax(0,1fr);gap:22px}.foryou-scroll{grid-auto-columns:88%}.ws>.chatcol{height:max(520px,66dvh)}.stage-head .count{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{font-size:11.5px}.slide-toolbar{padding:3px}.slide-toolbar button{width:42px}.slide-empty-actions{gap:8px}.slide-empty-actions button{min-height:70px}.workflow-files-list>button{min-width:150px}.design-files-body{grid-template-rows:148px minmax(480px,1fr)}.design-files-group>button{width:164px;flex-basis:164px}.design-file-toolbar>div:first-child{flex-basis:0}.design-file-save-status{max-width:52%}.transition-modal{padding:16px 12px}.transition-option-demo{width:86px;height:50px}.mark-comment-row{align-items:stretch}.brand-system-footer-actions{grid-template-columns:1fr}}@media (max-width:380px){.brand-lockup-divider{display:none}.product-name{max-width:calc(100vw - 118px)}.launch .composer-bar .cbtn:not(.icononly){max-width:calc(100vw - 92px)}.stage-actions{gap:5px}.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{padding-inline:5px}.conversation-panel-head{align-items:flex-start}.conversation-new{font-size:0}.conversation-new svg{width:17px;height:17px}.design-files-heading,.design-files-root{display:none}.design-files-list-header{padding-inline:9px}.transition-grid{grid-template-columns:minmax(0,1fr)}.composer-settings-pop .aspect-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px) and (max-height:600px) and (orientation:landscape){.ws>.chatcol{height:max(360px,100dvh);min-height:360px;max-height:none}.ws>.deckpane,.ws>.stage{min-height:max(600px,100dvh)}.image-preview-dialog,.inspire-dialog,.modal,.retune-panel,.scenario-dialog,.transition-modal{max-height:calc(100dvh - 12px)}}@media (hover:none),(pointer:coarse){.project-card:hover .project-cover,.slide-empty-actions button:hover:not(:disabled){transform:none}.frame-insert,.frame-transition,.project-open,.stage-page-nav:not(:disabled){opacity:1}}.stage-head{container-name:stageheader;container-type:inline-size}body:has(.project-ws) .global-settings{top:0;right:0;display:flex;width:60px;height:57px;box-sizing:border-box;align-items:center;justify-content:center;padding:0 14px;border-bottom:0;background:#fff}.project-ws .stage-head,.project-ws>.chatcol>.chatcol-head{border-bottom:0}.project-ws .stage-head{padding-block:10px}body:has(.project-ws) .global-settings-trigger{width:34px;height:34px;flex:0 0 auto}body:has(.project-ws) .global-settings-popover{top:calc(100% + 8px);right:12px}.deck-header-extras{position:relative}.project-actions-trigger.active{color:var(--accent-ink);border-color:#b9ccff;background:var(--accent-soft)}.project-actions-pop{right:0;width:min(310px,calc(100vw - 24px));padding:7px}.project-actions-menu-item{min-height:48px;font:inherit}.project-actions-menu-item>svg{flex:0 0 auto;color:var(--muted)}.project-actions-menu-item .grow{display:flex;min-width:0;flex-direction:column;gap:2px}.project-actions-menu-item b{font-size:12.5px;font-style:normal;font-weight:650}.project-actions-menu-item em{overflow:hidden;color:var(--muted);font-size:10.5px;font-style:normal;font-weight:450;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.project-actions-menu-item:disabled{opacity:.44;cursor:not-allowed}.project-actions-menu-item:disabled:hover{background:transparent}@container stageheader (max-width: 900px){.workspace-mode-tabs button{width:32px;padding-inline:0}.stage-actions .caret,.stage-actions .stage-action-label,.stage-count-aspect,.workspace-mode-tabs button>span,.workspace-mode-tabs small{display:none}.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{width:34px;justify-content:center;padding-inline:0}}@media (max-width:640px){body:has(.project-ws) .global-settings{width:56px;height:58px;padding-inline:8px}body:has(.project-ws) .global-settings-trigger{width:40px;height:40px}.stage-actions .caret,.stage-actions .stage-action-label{display:inline}.stage-actions .export-wrap>.iconbtn,.stage-actions .iconbtn{width:100%}}@media (max-width:420px){.stage-actions .caret{display:none}}@media (forced-colors:active){.composer,.design-files-group>button.active,.iconbtn,.outline-card,.project-cover,.slide-toolbar,.workspace-mode-tabs{forced-color-adjust:auto}}.codex-tutorial-entry{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:13px;gap:13px;margin-top:12px;padding:13px 14px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));border-radius:15px;color:var(--text);background:linear-gradient(110deg,color-mix(in srgb,var(--accent-soft) 72%,#fff),#fff 58%),#fff;text-align:left;cursor:pointer;box-shadow:0 8px 28px rgba(34,55,92,.06);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.codex-tutorial-entry:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 52%,var(--border));box-shadow:0 12px 34px rgba(34,55,92,.1)}.codex-tutorial-entry:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.codex-tutorial-entry-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:12px;color:var(--accent);background:#fff;box-shadow:0 4px 14px rgba(44,76,145,.09)}.codex-tutorial-entry-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.codex-tutorial-entry-copy small{color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.codex-tutorial-entry-copy strong{font-size:14px;line-height:1.35}.codex-tutorial-entry-copy>span{overflow:hidden;color:var(--muted);font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.codex-tutorial-entry-action{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;font-weight:700;white-space:nowrap}.codex-tutorial-entry-action svg{transition:transform .16s ease}.codex-tutorial-entry:hover .codex-tutorial-entry-action svg{transform:translateX(2px)}.codex-tutorial-backdrop{position:fixed;z-index:calc(var(--z-modal) + 12);inset:0;display:grid;place-items:center;padding:24px;background:rgba(15,20,31,.46);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:codex-tutorial-fade .16s ease-out}@keyframes codex-tutorial-fade{0%{opacity:0}}.codex-tutorial-dialog{display:grid;width:min(1080px,100%);max-height:min(820px,calc(100dvh - 48px));grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;border:1px solid hsla(0,0%,100%,.7);border-radius:22px;background:#fff;box-shadow:0 32px 100px rgba(10,18,34,.26);animation:codex-tutorial-rise .2s ease-out}@keyframes codex-tutorial-rise{0%{opacity:0;transform:translateY(10px) scale(.985)}}.codex-tutorial-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 26px 18px;border-bottom:1px solid var(--border);background:radial-gradient(circle at 82% 0,color-mix(in srgb,var(--accent-soft) 82%,transparent),transparent 44%),#fff}.codex-tutorial-kicker{display:inline-flex;align-items:center;gap:6px;margin-bottom:7px;color:var(--accent);font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.codex-tutorial-head h2{margin:0;color:var(--ink);font-size:clamp(24px,3vw,32px);line-height:1.12;letter-spacing:-.025em}.codex-tutorial-head p{max-width:720px;margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.codex-tutorial-head>button{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:1px solid var(--border);border-radius:10px;color:var(--text-2);background:hsla(0,0%,100%,.84);cursor:pointer}.codex-tutorial-head>button:hover{color:var(--ink);border-color:var(--border-strong)}.codex-tutorial-tabs{display:flex;gap:5px;padding:10px 26px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--panel-2) 60%,#fff)}.codex-tutorial-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid transparent;border-radius:9px;color:var(--muted);background:transparent;font-size:12px;font-weight:670;cursor:pointer}.codex-tutorial-tabs button:hover{color:var(--text);background:#fff}.codex-tutorial-tabs button.active{border-color:var(--border);color:var(--accent);background:#fff;box-shadow:var(--shadow-sm)}.codex-tutorial-guide{display:grid;min-height:0;grid-template-columns:250px minmax(0,1fr)}.codex-tutorial-steps{display:flex;min-height:0;flex-direction:column;gap:4px;overflow-y:auto;padding:18px 13px;border-right:1px solid var(--border);background:color-mix(in srgb,var(--panel-2) 70%,#fff)}.codex-tutorial-steps button{display:grid;min-height:46px;grid-template-columns:22px 18px minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px;padding:8px 10px;border:1px solid transparent;border-radius:10px;color:var(--muted);background:transparent;text-align:left;cursor:pointer}.codex-tutorial-steps button>span{display:grid;width:21px;height:21px;place-items:center;border:1px solid var(--border-strong);border-radius:50%;font-size:10px;font-weight:750}.codex-tutorial-steps button strong{overflow:hidden;font-size:12px;font-weight:650;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.codex-tutorial-steps button:hover{color:var(--text);background:hsla(0,0%,100%,.72)}.codex-tutorial-steps button.active{border-color:color-mix(in srgb,var(--accent) 28%,var(--border));color:var(--accent-ink);background:#fff;box-shadow:var(--shadow-sm)}.codex-tutorial-steps button.active>span{border-color:var(--accent);color:#fff;background:var(--accent)}.codex-tutorial-step{min-height:0;overflow-y:auto;padding:clamp(24px,4vw,42px)}.codex-tutorial-step-icon{display:grid;width:48px;height:48px;margin-bottom:17px;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));border-radius:14px;color:var(--accent);background:var(--accent-soft)}.codex-tutorial-step-count{color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.codex-tutorial-step h3{margin:7px 0 9px;color:var(--ink);font-size:clamp(22px,3vw,29px);line-height:1.18;letter-spacing:-.02em}.codex-tutorial-step>p{max-width:680px;margin:0;color:var(--text-2);font-size:14px;line-height:1.7}.codex-tutorial-rule{display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:12px 14px;border-left:3px solid var(--accent);border-radius:4px 10px 10px 4px;background:var(--accent-soft)}.codex-tutorial-rule strong{color:var(--accent-ink);font-size:12px}.codex-tutorial-rule span{color:var(--text-2);font-size:12px;line-height:1.55}.codex-tutorial-prompt{margin-top:22px;overflow:hidden;border:1px solid #293244;border-radius:13px;background:#111723;box-shadow:0 12px 28px rgba(14,22,38,.14)}.codex-tutorial-prompt>div{display:flex;min-height:39px;align-items:center;justify-content:space-between;gap:10px;padding:0 12px 0 15px;border-bottom:1px solid hsla(0,0%,100%,.09);color:#9dacbe;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.codex-tutorial-prompt button,.codex-tutorial-prompt-grid article button{display:inline-flex;align-items:center;gap:5px;border:0;color:#cbd5e1;background:transparent;font-size:11px;cursor:pointer}.codex-tutorial-prompt button:hover,.codex-tutorial-prompt-grid article button:hover{color:#fff}.codex-tutorial-prompt pre{margin:0;padding:16px;color:#e9eef6;font:12.5px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.codex-tutorial-step footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.codex-tutorial-step footer button{display:inline-flex;min-height:38px;align-items:center;gap:6px;padding:0 14px;border:1px solid var(--border);border-radius:10px;color:var(--text-2);background:#fff;font-size:12px;font-weight:650;cursor:pointer}.codex-tutorial-step footer button:disabled{opacity:.4;cursor:default}.codex-tutorial-step footer button.primary{border-color:var(--accent);color:#fff;background:var(--accent)}.codex-tutorial-library{min-height:0;overflow-y:auto;padding:24px 26px 30px}.codex-tutorial-library-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.codex-tutorial-library-head>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:11px;color:var(--accent);background:var(--accent-soft)}.codex-tutorial-library-head h3{margin:0;color:var(--ink);font-size:20px}.codex-tutorial-library-head p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.codex-tutorial-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.codex-tutorial-prompt-grid article{min-width:0;padding:15px;border:1px solid #293244;border-radius:13px;background:#111723;box-shadow:0 8px 22px rgba(14,22,38,.09)}.codex-tutorial-prompt-grid article header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.codex-tutorial-prompt-grid article strong{color:#fff;font-size:12px}.codex-tutorial-prompt-grid article p{margin:0;color:#c7d0dc;font:11.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap}@media (max-width:760px){.codex-tutorial-entry{grid-template-columns:auto minmax(0,1fr)}.codex-tutorial-entry-action{display:none}.codex-tutorial-backdrop{align-items:flex-end;padding:8px}.codex-tutorial-dialog{width:100%;max-height:calc(100dvh - 16px);border-radius:20px 20px 13px 13px}.codex-tutorial-head{padding:19px 18px 15px}.codex-tutorial-head h2{font-size:24px}.codex-tutorial-tabs{padding:9px 18px}.codex-tutorial-guide{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.codex-tutorial-steps{flex-direction:row;overflow-x:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--border);scrollbar-width:none}.codex-tutorial-steps::-webkit-scrollbar{display:none}.codex-tutorial-steps button{min-width:48px;min-height:42px;grid-template-columns:22px;justify-content:center;padding:7px}.codex-tutorial-steps button strong,.codex-tutorial-steps button svg{display:none}.codex-tutorial-step{padding:22px 18px 28px}.codex-tutorial-prompt-grid{grid-template-columns:1fr}.codex-tutorial-library{padding:20px 16px 26px}}@media (max-width:480px){.codex-tutorial-entry-copy>span{white-space:normal}.codex-tutorial-dialog{max-height:calc(100dvh - 8px)}.codex-tutorial-head p{display:none}.codex-tutorial-step-icon{width:42px;height:42px;margin-bottom:12px}.codex-tutorial-step footer button{min-height:42px;padding-inline:11px}}@media (prefers-reduced-motion:reduce){.codex-tutorial-backdrop,.codex-tutorial-dialog{animation:none}.codex-tutorial-entry,.codex-tutorial-entry-action svg{transition:none}}.version-dialog-backdrop{position:fixed;inset:0;z-index:calc(var(--z-modal) + 8);display:grid;place-items:center;padding:24px;background:rgba(15,18,28,.48);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:version-backdrop-in .18s ease both}@keyframes version-backdrop-in{0%{opacity:0}}.version-dialog{display:grid;width:min(1180px,calc(100vw - 48px));height:min(780px,calc(100dvh - 48px));min-height:540px;grid-template-columns:292px minmax(0,1fr);overflow:hidden;border:1px solid color-mix(in srgb,var(--border) 86%,#fff);border-radius:18px;background:var(--panel,#fff);box-shadow:0 30px 100px rgba(10,15,30,.28),inset 0 0 0 1px hsla(0,0%,100%,.62);animation:version-dialog-in .2s cubic-bezier(.2,.8,.2,1) both}@keyframes version-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.985)}}.version-sidebar{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:color-mix(in srgb,var(--bg-soft) 88%,#fff)}.version-sidebar-head{display:grid;grid-gap:12px;gap:12px;padding:17px 15px 13px;border-bottom:1px solid var(--border)}.version-sidebar-head>div{display:flex;align-items:center;gap:9px;color:var(--text)}.version-sidebar-head>div>svg{color:var(--accent)}.version-sidebar-head>div>span{display:flex;min-width:0;flex-direction:column;gap:2px}.version-sidebar-head strong{font-size:13px;font-weight:720}.version-sidebar-head small{color:var(--muted);font-size:10px}.version-search{display:flex;height:31px;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--border);border-radius:9px;color:var(--faint);background:#fff}.version-search:focus-within{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));box-shadow:0 0 0 3px var(--accent-soft)}.version-search input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent;font:inherit;font-size:11px}.version-list{min-height:0;flex:1 1;gap:6px;overflow-y:auto;padding:9px;overscroll-behavior:contain}.version-list,.version-list-item{display:flex;flex-direction:column}.version-list-item{width:100%;min-width:0;align-items:stretch;gap:7px;padding:11px;border:1px solid transparent;border-radius:11px;color:var(--text);background:transparent;text-align:left;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.version-list-item:hover{background:color-mix(in srgb,var(--panel) 72%,var(--accent-soft))}.version-list-item.active{border-color:color-mix(in srgb,var(--accent) 28%,var(--border));background:#fff;box-shadow:0 5px 18px rgba(31,41,66,.06),inset 3px 0 0 var(--accent)}.version-list-item b{display:-webkit-box;overflow:hidden;font-size:11.5px;font-weight:650;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}.version-list-foot,.version-list-meta{display:flex;min-width:0;align-items:center;gap:5px}.version-list-meta time{margin-left:auto;overflow:hidden;color:var(--faint);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.version-list-foot{color:var(--muted);font-size:9.5px}.version-current,.version-source{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;font-size:8.5px;font-style:normal;font-weight:700;white-space:nowrap}.version-current{color:#146c43;background:rgba(22,163,74,.1)}.version-source.ai{color:#4f46a8;background:rgba(99,102,241,.1)}.version-source.manual{color:#8a5600;background:rgba(245,158,11,.12)}.version-source.restore{color:#9b3e5e;background:rgba(236,72,153,.1)}.version-list-skeleton{display:grid;grid-gap:8px;gap:8px;padding:12px 10px}.version-list-skeleton .skeleton{height:8px;border-radius:4px}.version-list-skeleton .skeleton:first-child{width:52%}.version-list-skeleton .skeleton:nth-child(2){width:92%;height:11px}.version-list-skeleton .skeleton:nth-child(3){width:36%}.version-empty{display:grid;min-height:120px;place-items:center;padding:18px;color:var(--muted);font-size:11px;text-align:center}.version-main{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;background:radial-gradient(circle at 78% -20%,color-mix(in srgb,var(--accent-soft) 70%,transparent),transparent 38%),color-mix(in srgb,var(--bg-soft) 84%,#fff)}.version-main-head{position:relative;z-index:3;display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px 10px 16px;border-bottom:1px solid var(--border);background:hsla(0,0%,100%,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.version-main-actions,.version-selected-meta{display:flex;min-width:0;align-items:center;gap:7px}.version-selected-meta strong{font-size:12px}.version-selected-meta time{color:var(--muted);font-size:10px;white-space:nowrap}.version-selected-meta em{color:var(--faint);font-size:9.5px;font-style:normal;white-space:nowrap}.version-main-actions{justify-content:flex-end}.version-export-menu{position:relative;flex:0 0 auto}.version-export-menu>.version-action{width:auto}.version-export-menu .export-pop{right:0;width:246px;min-width:0}.version-action .caret{color:currentColor;font-size:9px;opacity:.58}.version-action,.version-close{display:inline-flex;height:32px;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--border);border-radius:9px;color:var(--text-2);background:#fff;font-size:10.5px;font-weight:620;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer}.version-action:hover:not(:disabled),.version-close:hover{border-color:var(--border-strong);background:var(--panel-2)}.version-action.active{color:var(--accent-ink);border-color:color-mix(in srgb,var(--accent) 35%,var(--border));background:var(--accent-soft)}.version-action.primary{color:#fff;border-color:var(--accent);background:var(--accent)}.version-action.primary:hover:not(:disabled){filter:brightness(.96);background:var(--accent)}.version-action:disabled{opacity:.45;cursor:default}.version-close{width:32px;padding:0;color:var(--muted)}.version-prompt-panel{position:absolute;z-index:5;top:51px;right:244px;width:min(440px,calc(100% - 32px));padding:13px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(20,28,48,.18)}.version-prompt-panel>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.version-prompt-panel strong{font-size:11px}.version-prompt-panel small{color:var(--faint);font-size:9px}.version-prompt-panel p{max-height:150px;margin:9px 0 11px;overflow-y:auto;color:var(--text-2);font-size:11px;line-height:1.55;white-space:pre-wrap}.version-prompt-panel button{display:inline-flex;height:28px;align-items:center;gap:5px;padding:0 8px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:var(--bg-soft);font-size:10px;cursor:pointer}.version-error{position:absolute;z-index:4;top:68px;left:50%;width:min(520px,calc(100% - 40px));padding:9px 12px;transform:translateX(-50%);border:1px solid rgba(220,38,38,.2);border-radius:9px;color:#a32424;background:hsla(0,100%,98%,.96);box-shadow:0 8px 28px rgba(93,25,25,.1);font-size:10.5px;text-align:center}.version-preview-shell{position:relative;display:grid;min-height:0;flex:1 1;grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:minmax(0,1fr);place-items:center;grid-gap:12px;gap:12px;padding:24px 22px 16px;overflow:hidden}.version-preview-canvas{position:relative;width:min(100%,850px);height:100%;max-height:100%;display:grid;place-items:center;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.version-preview-canvas img{display:block;width:100%;height:100%;object-fit:contain}.version-preview-loading{position:absolute;inset:0;display:grid;place-content:center;grid-gap:8px;gap:8px;color:var(--muted);background:hsla(0,0%,100%,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:10px;text-align:center}.version-preview-nav{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--border);border-radius:50%;color:var(--text-2);background:hsla(0,0%,100%,.9);box-shadow:0 5px 15px rgba(30,41,59,.08);cursor:pointer}.version-preview-nav:hover:not(:disabled){border-color:var(--border-strong);transform:translateY(-1px)}.version-preview-nav:disabled{opacity:.25;cursor:default}.version-preview-empty{grid-column:1/-1;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.version-filmstrip{display:flex;min-height:92px;gap:9px;overflow-x:auto;padding:9px 18px 13px;border-top:1px solid var(--border);background:hsla(0,0%,100%,.82);overscroll-behavior-x:contain}.version-filmstrip button{position:relative;width:112px;aspect-ratio:16/9;flex:0 0 112px;overflow:hidden;padding:0;border:2px solid transparent;border-radius:7px;background:#eef0f5;box-shadow:0 2px 8px rgba(30,41,59,.08);cursor:pointer}.version-filmstrip button.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.version-filmstrip img{display:block;width:100%;height:100%;object-fit:contain;background:#111318}.version-filmstrip button>span{position:absolute;z-index:1;top:4px;left:4px;display:grid;min-width:18px;height:18px;place-items:center;padding:0 4px;border-radius:5px;color:#fff;background:rgba(10,14,24,.72);font-size:8px}.version-restore-confirm{position:absolute;z-index:8;top:50%;left:50%;width:min(420px,calc(100% - 36px));padding:18px;transform:translate(-50%,-50%);border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 25px 80px rgba(17,24,39,.28),0 0 0 9999px rgba(16,20,30,.24)}.version-restore-confirm>div{display:flex;align-items:flex-start;gap:12px}.version-restore-confirm>div>svg{flex:0 0 auto;color:var(--accent)}.version-restore-confirm strong{display:block;font-size:13px}.version-restore-confirm p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.version-restore-confirm footer{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.version-restore-confirm footer button{height:32px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:#fff;font-size:10.5px;font-weight:620;cursor:pointer}.version-restore-confirm footer button.primary{color:#fff;border-color:var(--accent);background:var(--accent)}.version-restore-confirm footer button:disabled{opacity:.5;cursor:default}@media (max-width:980px){.version-dialog{grid-template-columns:240px minmax(0,1fr)}.version-action:first-child,.version-selected-meta em,.version-selected-meta time{display:none}.version-main-actions{gap:5px}.version-action{padding-inline:8px}.version-prompt-panel{right:130px}}@media (max-width:720px){.version-dialog-backdrop{padding:0}.version-dialog{width:100vw;height:100dvh;min-height:0;grid-template-columns:1fr;grid-template-rows:150px minmax(0,1fr);border:0;border-radius:0}.version-sidebar{border-right:0;border-bottom:1px solid var(--border)}.version-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:9px 12px}.version-search{width:150px}.version-list{flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:7px}.version-list-item{width:190px;flex:0 0 190px;padding:8px}.version-list-item b{-webkit-line-clamp:1}.version-list-skeleton{width:180px;flex:0 0 180px}.version-main-head{min-height:52px;padding:8px 9px}.version-selected-meta .version-source{display:none}.version-action{width:32px;padding:0;font-size:0}.version-export-menu>.version-action{width:32px}.version-action svg{width:15px;height:15px}.version-main-actions .version-action:first-child{display:none}.version-preview-shell{grid-template-columns:28px minmax(0,1fr) 28px;gap:5px;padding:12px 6px}.version-preview-nav{width:28px;height:28px}.version-filmstrip{min-height:76px;padding:7px 10px 9px}.version-filmstrip button{width:92px;flex-basis:92px}.version-prompt-panel{top:48px;right:8px}}@media (prefers-reduced-motion:reduce){.version-dialog,.version-dialog-backdrop{animation:none}}.global-settings-codex{display:flex;align-items:center;gap:10px;width:100%;margin:0 2px 8px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--panel);cursor:pointer;text-align:left;transition:border-color .14s ease,background .14s ease}.global-settings-codex:hover{border-color:var(--border-strong);background:var(--panel-2)}.global-settings-codex-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;border-radius:8px;color:#fff;background:linear-gradient(135deg,#6366f1,var(--accent))}.global-settings-codex-copy{display:grid;grid-gap:1px;gap:1px;flex:1 1 auto}.global-settings-codex-copy b{color:var(--ink);font-size:13px}.global-settings-codex-copy small{color:var(--muted);font-size:11.5px}.global-settings-codex>svg{color:var(--faint);flex:0 0 auto}.codex-setup-backdrop{position:fixed;z-index:var(--z-backdrop);inset:0;display:grid;place-items:center;padding:28px;background:rgba(17,24,39,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:scenario-backdrop-in .16s ease-out}.codex-setup{position:relative;z-index:var(--z-modal);width:min(560px,100%);max-height:calc(100vh - 56px);overflow-y:auto;padding:24px;border:1px solid hsla(0,0%,100%,.6);border-radius:20px;background:var(--panel);box-shadow:0 24px 70px rgba(15,23,42,.24);animation:scenario-dialog-in .18s ease-out}.codex-setup-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:var(--muted);background:transparent;cursor:pointer}.codex-setup-close:hover{color:var(--text);background:var(--panel-2)}.codex-setup-head{display:flex;align-items:center;gap:12px;padding-right:34px;margin-bottom:16px}.codex-setup-mark{display:grid;place-items:center;width:40px;height:40px;flex:0 0 auto;border-radius:11px;color:#fff;background:linear-gradient(135deg,#6366f1,var(--accent));box-shadow:var(--shadow-sm)}.codex-setup-head strong{display:block;color:var(--ink);font-size:17px}.codex-setup-head span{color:var(--muted);font-size:12.5px}.codex-detect{padding:13px;border:1px solid var(--border);border-radius:13px;background:var(--panel-2);margin-bottom:14px}.codex-detect.ok{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.07)}.codex-detect.warn{border-color:rgba(220,38,38,.28);background:var(--err-soft)}.codex-detect-status{display:flex;align-items:center;gap:10px}.codex-detect-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--faint)}.codex-detect.ok .codex-detect-dot{background:var(--ok-bright);box-shadow:0 0 0 3px rgba(34,197,94,.18)}.codex-detect.warn .codex-detect-dot{background:var(--err);box-shadow:0 0 0 3px rgba(220,38,38,.15)}.codex-detect-copy{flex:1 1 auto;display:grid;grid-gap:1px;gap:1px}.codex-detect-copy strong{color:var(--ink);font-size:13.5px}.codex-detect-copy span{color:var(--text-2);font-size:12px;line-height:1.4}.codex-redetect{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:6px 10px;border:1px solid var(--border-strong);border-radius:8px;color:var(--text-2);background:var(--panel);font-size:12px;cursor:pointer}.codex-redetect:hover:not(:disabled){color:var(--ink);border-color:var(--faint)}.codex-redetect:disabled{opacity:.55;cursor:default}.codex-redetect .spin{animation:codex-spin .8s linear infinite}@keyframes codex-spin{to{transform:rotate(1turn)}}.codex-detect-checks{list-style:none;margin:11px 0 0;padding:9px 0 0;border-top:1px solid var(--border);display:grid;grid-gap:7px;gap:7px}.codex-detect-checks li{display:flex;align-items:center;gap:8px;font-size:12px}.codex-check-icon{display:grid;place-items:center;width:18px;height:18px;flex:0 0 auto;border-radius:50%;color:#fff;background:var(--faint)}.codex-detect-checks li.on .codex-check-icon{background:var(--ok-bright)}.codex-detect-checks li.off .codex-check-icon{background:var(--faint)}.codex-check-label{color:var(--text);flex:0 0 auto}.codex-detect-checks li em{margin-left:auto;color:var(--muted);font-style:normal;font-size:11.5px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.codex-detect-checks li.on em{color:var(--ok)}.codex-options{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-bottom:16px}.codex-option{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--panel)}.codex-option.current{border-color:rgba(34,197,94,.4);background:rgba(34,197,94,.05)}.codex-option-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:var(--accent-ink);background:var(--accent-soft)}.codex-option>strong{color:var(--ink);font-size:13.5px}.codex-option>p{color:var(--text-2);font-size:12px;line-height:1.45;margin:0;flex:1 1 auto}.codex-option-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:4px;padding:8px 12px;border:0;border-radius:9px;font-size:12.5px;font-weight:600;cursor:pointer}.codex-option-cta.primary{color:#fff;background:var(--accent)}.codex-option-cta.primary:hover{background:var(--accent-ink)}.codex-cmd{margin-top:4px;display:grid;grid-gap:6px;gap:6px}.codex-cmd-hint{color:var(--muted);font-size:11.5px;line-height:1.4}.codex-cmd-row{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--panel-2)}.codex-cmd-row code{flex:1 1 auto;font-size:12.5px;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.codex-cmd-row button{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:4px 8px;border:1px solid var(--border-strong);border-radius:7px;color:var(--text-2);background:var(--panel);font-size:11px;cursor:pointer}.codex-cmd-row button:hover{color:var(--ink);border-color:var(--faint)}.codex-option-badge{display:inline-flex;align-items:center;gap:5px;margin-top:4px;color:var(--ok);font-size:11.5px;font-weight:600}.codex-caps{margin-bottom:18px}.codex-caps-title{color:var(--faint);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px}.codex-caps-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.codex-cap{display:flex;gap:9px;align-items:flex-start}.codex-cap-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;border-radius:8px;color:var(--accent-ink);background:var(--accent-soft)}.codex-cap-copy{display:grid;grid-gap:1px;gap:1px}.codex-cap-copy strong{color:var(--text);font-size:12.5px}.codex-cap-copy span{color:var(--muted);font-size:11.5px;line-height:1.4}.codex-setup-foot{display:flex;justify-content:center}.codex-skip{padding:7px 16px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:12.5px;cursor:pointer}.codex-skip:hover{color:var(--text);background:var(--panel-2)}@media (max-width:560px){.codex-caps-grid,.codex-options{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.codex-redetect .spin,.codex-setup,.codex-setup-backdrop{animation:none}}