*{box-sizing:border-box}:root{--accent: #d4a91f;--accent-strong: #a77d08;--brand-ink: #362814;--danger: #b42318;--ink: #2d2418;--line: rgba(152, 123, 61, .22);--line-strong: rgba(165, 126, 34, .34);--mint: #6d8460;--muted: #7e735f;--page-bg: #faf4e3;--surface: rgba(255, 252, 244, .86);--surface-strong: rgba(255, 253, 247, .96);--gold-soft: #f3e5bc;--gold-wash: #fff9e9;--brown: #4a3517;--olive: #667650;--shadow: 0 22px 58px rgba(89, 64, 26, .13);--shadow-soft: 0 12px 30px rgba(89, 64, 26, .08);color:var(--ink);background:var(--page-bg);font-family:Inter,Segoe UI,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none;text-rendering:geometricPrecision}body{margin:0;min-width:0;min-height:100vh;overflow-x:hidden;background:linear-gradient(135deg,#faf4e3fc,#fff9e9fa 48%,#f7eed3f5),linear-gradient(90deg,#d4a91f14,#6676500a);background-attachment:fixed}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}.appShell{min-height:100vh;padding-bottom:250px}.topBar{align-items:center;display:flex;gap:24px;height:72px;justify-content:space-between;padding:0 34px}.brand{align-items:center;display:flex;gap:12px}.brandMark{align-items:center;background:#fff;border:1px solid #e3e8ee;border-radius:8px;display:grid;height:36px;overflow:hidden;place-items:center;width:36px}.brandMark img{display:block;height:28px;object-fit:contain;width:28px}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{color:#758391;font-size:12px;margin-top:2px}.topTools{align-items:center;display:flex;gap:10px}.searchBox,.keyBox{align-items:center;background:#ffffffc7;border:1px solid rgba(221,226,232,.86);border-radius:8px;display:flex;gap:8px;height:38px;padding:0 10px}.searchBox input,.keyBox input{background:transparent;border:0;color:#1f2937;outline:0;width:150px}.rememberKey{align-items:center;color:#596676;display:flex;font-size:13px;gap:5px}.topActionButton,.userPill,.balancePill{align-items:center;background:#ffffffdb;border:1px solid #e4e8ed;border-radius:8px;color:#1f2937;display:inline-flex;font-size:13px;height:38px;padding:0 12px}.topActionButton.strong{background:#111827;border-color:#111827;color:#fff}.userPill{background:#eef7f0;border-color:#d6eadb;color:#176235;font-weight:700}.balancePill{background:#fff8e5;border-color:#f4df9e;color:#805b00;font-weight:700}.workspace{margin:0 auto;max-width:1420px;padding:10px 34px 0}.modeSwitch{background:#edf1f4;border:1px solid #dfe6ed;border-radius:8px;display:inline-flex;gap:4px;margin-bottom:14px;padding:4px}.modeSwitch button{align-items:center;background:transparent;border-radius:6px;color:#5f6d7c;display:inline-flex;gap:6px;height:34px;padding:0 13px}.modeSwitch button.selected{background:#fff;box-shadow:0 3px 12px #11182714;color:#111827;font-weight:800}.workspaceError{align-items:center;background:#fff4f2;border:1px solid rgba(180,35,24,.22);border-radius:8px;color:#9f241c;display:flex;font-size:14px;font-weight:800;gap:12px;justify-content:space-between;line-height:1.55;margin:0 0 14px;padding:11px 12px}.workspaceError button{align-items:center;background:#b423181a;border-radius:999px;color:#9f241c;display:grid;flex:0 0 auto;height:26px;place-items:center;width:26px}.inferenceWorkbench,.pairWorkbench,.settingsWorkbench,.usageWorkbench{display:grid;gap:14px;padding-bottom:34px}.pairWorkbenchHeader{align-items:center;display:flex;justify-content:flex-start}.storyboardTotal{align-items:center;background:#ffffffdb;border:1px solid #e4e9ef;border-radius:8px;color:#405063;display:inline-flex;gap:7px;height:38px;padding:0 12px}.storyboardTotal strong{color:#111827;font-size:18px;line-height:1}.pairLayout{align-items:start;display:grid;gap:14px;grid-template-columns:minmax(0,1fr) 238px}.pairList{display:grid;gap:14px}.promptPair{background:#fffffff0;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 10px 30px #1118270d;display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.pairIndex{align-items:center;background:#eef6f8;border:1px solid #d7ebf0;border-radius:7px;color:#0f6f85;display:inline-flex;font-size:13px;font-weight:900;grid-column:1 / -1;height:30px;justify-self:start;padding:0 10px}.promptPair label{color:#405063;display:grid;font-size:12px;font-weight:800;gap:7px}.promptPair textarea{background:#f8fafc;border:1px solid #d9e2ec;border-radius:7px;color:#17202a;flex:initial;font-size:14px;line-height:1.55;min-height:260px;outline:0;padding:10px;resize:vertical}.promptPair textarea::placeholder{color:#8b98a8}.pairActions{display:flex;gap:8px;grid-column:1 / -1;justify-content:flex-end}.pairActions button{align-items:center;background:#111827;border-radius:8px;color:#fff;display:inline-flex;font-weight:800;gap:7px;height:36px;padding:0 14px}.pairActions button:disabled{background:#cfd7de;cursor:not-allowed}.pairActions .copyPromptButton{background:#f0f3f6;color:#1f2937}.pairActions .copyPromptButton.copied{background:#e8f7ef;color:#0b7a42}.pairActions .copyPromptButton:disabled{background:#edf1f5;color:#9aa6b2}.copiedPromptDot{align-self:center;background:#22a862;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 3px #22a86224;display:inline-block;flex:0 0 auto;height:10px;margin-left:-2px;width:10px}.pairFooter{align-items:end;display:flex;gap:10px;justify-content:center;padding:4px 0 0}.rangeControl{color:#405063;display:grid;font-size:12px;font-weight:800;gap:6px;min-width:280px}.rangeControl input,.rangeControl select{background:#f8fafc;border:1px solid #d9e2ec;border-radius:7px;color:#17202a;height:38px;outline:0;padding:0 10px}.rangeControl input:disabled,.rangeControl select:disabled{color:#8b98a8}.addPairButton,.inferAllButton{align-items:center;background:#0aa6c8;border-radius:8px;color:#fff;display:inline-flex;font-weight:800;gap:7px;height:38px;padding:0 16px}.inferAllButton{background:#111827}.inferAllButton:disabled{background:#cfd7de;cursor:not-allowed}.addPairButton:disabled{background:#cfd7de;cursor:not-allowed}.pairSidebar{background:#fffffff0;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 10px 30px #1118270d;display:grid;gap:12px;padding:12px;position:sticky;top:14px}.pairSidebarHeader{align-items:center;border-bottom:1px solid #edf0f4;color:#405063;display:flex;font-size:12px;font-weight:800;justify-content:space-between;padding-bottom:10px}.pairSidebarHeader strong{color:#111827;font-size:13px}.pairSidebar .rangeControl{min-width:0}.sidebarCostNote{background:#0aa6c814;border:1px solid rgba(10,166,200,.16);border-radius:7px;color:#176b80;font-size:12px;font-weight:800;line-height:1.45;margin:-4px 0 0;padding:8px 9px}.sidebarErrorNote{align-items:start;background:#fff4f2;border:1px solid rgba(180,35,24,.2);border-radius:7px;color:#a32920;display:flex;font-size:12px;font-weight:800;gap:8px;justify-content:space-between;line-height:1.45;margin:0;padding:8px 9px}.sidebarErrorNote button{align-items:center;background:#b423181a;border-radius:999px;color:#a32920;display:grid;flex:0 0 auto;height:22px;place-items:center;width:22px}.sidebarActions{display:grid;gap:8px}.sidebarButton{justify-content:center;width:100%}.exportPromptsButton{align-items:center;background:#f0f3f6;border-radius:8px;color:#1f2937;display:inline-flex;font-weight:800;gap:7px;height:38px;padding:0 16px}.importDocumentButton{align-items:center;background:#eef7f0;border-radius:8px;color:#176235;display:inline-flex;font-weight:800;gap:7px;height:38px;padding:0 16px}.clearStoryboardButton{align-items:center;background:#fff0ef;border-radius:8px;color:#b42318;display:inline-flex;font-weight:800;gap:7px;height:38px;padding:0 16px}.importDocumentButton:disabled{color:#9aa6b2;cursor:not-allowed}.clearStoryboardButton:disabled{color:#c8a4a0;cursor:not-allowed}.exportPromptsButton:disabled{color:#9aa6b2;cursor:not-allowed}.pairImportStatus{border-radius:7px;font-size:12px;font-weight:800;line-height:1.45;margin:0;padding:8px 9px}.pairImportStatus.success{background:#e8f7ef;color:#0b7a42}.pairImportStatus.failed{background:#fdecec;color:#b42318}.pairSidebarHint{color:#718093;font-size:12px;line-height:1.5;margin:0}.inferenceToolbar,.inferenceInputPanel,.inferenceOutputPanel,.settingsPanel{background:#fffffff0;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 10px 30px #1118270d}.settingsPanel{display:grid;gap:12px;padding:14px}.usageHeader,.usageRecord,.emptyUsage{background:#fffffff0;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 10px 30px #1118270d}.usageHeader{align-items:center;display:flex;justify-content:space-between;padding:14px}.usageHeader strong,.usageHeader span{display:block}.usageHeader strong{color:#111827;font-size:15px}.usageHeader span{color:#718093;font-size:12px;margin-top:4px}.usageHeader button{align-items:center;background:#f0f3f6;border-radius:7px;color:#1f2937;display:inline-flex;gap:6px;height:34px;padding:0 12px}.usageHeader button:disabled{color:#a7b1be;cursor:not-allowed}.emptyUsage{align-items:center;color:#718093;display:flex;gap:10px;justify-content:center;min-height:180px;padding:20px}.usageList{display:grid;gap:12px}.usageRecord{display:grid;gap:12px;padding:12px}.usageRecordTop{align-items:center;display:flex;justify-content:space-between}.usageRecordTop strong,.usageRecordTop span{display:block}.usageRecordTop strong{color:#111827;font-size:14px}.usageRecordTop span{color:#718093;font-size:12px;margin-top:3px}.recordStatus{border-radius:999px;font-size:12px;font-weight:900;padding:5px 9px}.recordStatus.success{background:#e8f7ef;color:#0b7a42}.recordStatus.failed{background:#fdecec;color:#b42318}.usageOutput{display:grid;gap:6px}.usageOutput span{color:#405063;font-size:12px;font-weight:800}.usageRecord details{border:1px solid #edf0f4;border-radius:7px;overflow:hidden}.usageRecord summary{align-items:center;background:#f8fafc;color:#1f2937;cursor:pointer;display:flex;font-size:12px;font-weight:900;justify-content:space-between;padding:9px 10px}.usageRecord summary button{background:#e7edf3;border-radius:6px;color:#1f2937;height:26px;padding:0 9px}.usageRecord pre,.usageOutput pre{background:#0f172a;color:#dbeafe;font-family:ui-monospace,SFMono-Regular,Consolas,Microsoft YaHei,monospace;font-size:12px;line-height:1.5;margin:0;max-height:420px;overflow:auto;padding:10px;white-space:pre-wrap;word-break:break-word}.settingsGrid{align-items:end;display:grid;gap:10px;grid-template-columns:150px minmax(260px,1fr) 170px minmax(180px,260px) auto}.settingsSectionTitle{border-top:1px solid #edf0f4;color:#111827;font-size:14px;font-weight:900;padding-top:14px}.settingsSectionTitle:first-child{border-top:0;padding-top:0}.inferenceToolbar{align-items:end;display:grid;gap:10px;grid-template-columns:150px minmax(260px,1fr) 170px minmax(180px,260px) auto;padding:12px}.compactField,.inferenceOptions label,.inputRow label{color:#5f6d7c;display:grid;font-size:12px;font-weight:700;gap:6px}.compactField input,.compactField select,.inferenceOptions input,.inferenceWorkbench textarea{background:#f8fafc;border:1px solid #dfe6ed;border-radius:7px;color:#17202a;outline:0}.compactField input,.compactField select,.inferenceOptions input{height:36px;padding:0 10px}.compactField.wide{min-width:0}.keyField input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.inferenceRemember{height:36px;justify-content:center}.inferenceGrid{align-items:start;display:grid;gap:14px;grid-template-columns:minmax(430px,.92fr) minmax(520px,1.08fr)}.inferenceInputPanel,.inferenceOutputPanel{padding:14px}.inputRow{display:grid;gap:12px;margin-bottom:12px}.inputRow.split{grid-template-columns:repeat(2,minmax(0,1fr))}.inferenceWorkbench textarea{flex:initial;font-size:14px;line-height:1.55;min-height:118px;padding:10px;resize:vertical}.inferenceWorkbench .sourceTextarea{min-height:260px}.templateEditor{border-top:1px solid #edf0f4;display:grid;gap:8px;margin-top:4px;padding-top:12px}.templateHeader{align-items:center;display:flex;justify-content:space-between}.templateHeader span{color:#5f6d7c;font-size:12px;font-weight:800}.templateHeader button{background:#f0f3f6;border-radius:7px;color:#1f2937;height:30px;padding:0 10px}.templateControls{align-items:end;display:grid;gap:10px;grid-template-columns:minmax(210px,280px) minmax(240px,1fr) auto}.templateControls .templateNameField{min-width:0}.templateSaveButton{align-items:center;background:#111827;border-radius:8px;color:#fff;display:inline-flex;font-weight:800;gap:7px;height:36px;justify-content:center;min-width:106px;padding:0 14px;white-space:nowrap}.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea{background:#f8fafc;border:1px solid #dfe6ed;border-radius:7px;color:#17202a;font-family:ui-monospace,SFMono-Regular,Consolas,Microsoft YaHei,monospace;font-size:13px;line-height:1.6;min-height:560px;outline:0;overflow:auto;padding:12px;resize:vertical;white-space:pre-wrap}.settingsWorkbench .templateTextarea:focus,.inferenceWorkbench .templateTextarea:focus{border-color:#0aa6c8;box-shadow:0 0 0 3px #0aa6c81f}.inferenceOptions{align-items:end;border-top:1px solid #edf0f4;display:grid;gap:10px;grid-template-columns:minmax(160px,1fr) 108px 92px auto;padding-top:12px}.inferenceActions,.outputActions,.panelActions{align-items:center;display:flex;gap:8px;justify-content:flex-end}.inferenceActions button,.outputActions button,.panelActions button{align-items:center;background:#f0f3f6;border-radius:7px;color:#1f2937;display:inline-flex;gap:6px;height:34px;padding:0 12px}.inferenceActions .primaryAction{background:#0aa6c8;color:#fff;font-weight:800}.inferenceActions .primaryAction:disabled{background:#cfd7de;cursor:not-allowed}.outputHeader{align-items:center;border-bottom:1px solid #edf0f4;display:flex;justify-content:space-between;margin:-2px 0 12px;padding-bottom:12px}.outputHeader strong,.outputHeader span{display:block}.outputHeader strong{color:#111827;font-size:15px}.outputHeader span{color:#7a8795;font-size:12px;margin-top:3px}.storyboardList{display:grid;gap:10px;max-height:calc(100vh - 210px);overflow:auto;padding-right:4px}.storyboardPanel{background:#f8fafc;border:1px solid #e3e9ef;border-radius:8px;display:grid;gap:12px;grid-template-columns:58px minmax(0,1fr);padding:12px}.panelIndex{align-content:start;display:grid;gap:6px;justify-items:center}.panelIndex strong{background:#111827;border-radius:7px;color:#fff;display:grid;font-size:14px;height:34px;place-items:center;width:42px}.panelIndex span{color:#7a8795;font-size:12px;font-weight:800}.panelBody{min-width:0}.subtitleText{color:#111827;font-size:15px;line-height:1.55;margin:0 0 10px}.promptBlock{background:#fff;border:1px solid #e6ebf0;border-radius:7px;margin-bottom:8px;padding:9px 10px}.promptBlock span{color:#8190a0;display:block;font-size:12px;font-weight:800;margin-bottom:5px}.promptBlock p{color:#253140;font-size:14px;line-height:1.55;margin:0}.panelMeta{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.panelMeta span{background:#edf7fa;border:1px solid #d7ebf0;border-radius:999px;color:#087996;font-size:12px;padding:4px 8px}.emptyInference{align-items:center;border:1px dashed #d5dce3;border-radius:8px;color:#8a97a7;display:flex;flex-direction:column;gap:10px;height:420px;justify-content:center}.hero{align-items:center;display:flex;flex-direction:column;min-height:calc(100vh - 370px);padding-top:26px}.hero h1{color:#030712;font-size:30px;font-weight:800;letter-spacing:0;margin:22px 0 64px}.emptyStage{align-items:center;border:1px dashed #d5dce3;border-radius:8px;color:#8a97a7;display:flex;flex-direction:column;gap:10px;height:220px;justify-content:center;width:min(860px,80vw)}.jobArea{padding-top:4px}.jobFilters{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin-bottom:12px}.jobFilters button{align-items:center;background:#ffffffdb;border:1px solid #e4e8ed;border-radius:8px;color:#1f2937;display:flex;gap:6px;height:36px;padding:0 13px}.jobFilters .breadcrumbButton{margin-right:auto}.jobLayout{display:block}.jobList{display:grid;gap:14px;margin:0 auto;max-width:1060px}.jobCard{background:#ffffffeb;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 10px 30px #1118270d;padding:18px}.jobCard.active{border-color:#00a7ce73;box-shadow:0 14px 36px #00687e1f}.jobStatusLine,.jobMeta,.jobActions,.phaseLine,.resultActions,.modalActions{align-items:center;display:flex}.jobStatusLine{color:#7b8794;font-size:13px;justify-content:space-between}.statusBadge{align-items:center;border-radius:999px;display:inline-flex;font-size:12px;gap:5px;height:24px;padding:0 9px}.statusBadge.processing,.statusBadge.submitting{background:#e9f7fb;color:#008db3}.statusBadge.success{background:#e9f8ef;color:#16803b}.statusBadge.failed{background:#fff0ef;color:#c23b32}.jobPrompt{color:#111827;font-size:20px;line-height:1.5;margin:16px 0 12px;max-height:230px;overflow:auto;padding-right:4px}.jobMeta{color:#6b7280;flex-wrap:wrap;font-size:13px;gap:8px;margin-bottom:16px}.jobMeta span{background:#f2f4f7;border-radius:6px;padding:5px 8px}.videoPreview,.pendingPreview,.largePending{background:#eef2f5;border-radius:8px;overflow:hidden}.videoPreview video{aspect-ratio:16 / 9;display:block;width:100%}.imageResultGrid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.imageResultGrid a{background:#eef2f5;border-radius:8px;display:block;overflow:hidden}.imageResultGrid img{aspect-ratio:1 / 1;display:block;height:100%;object-fit:contain;width:100%}.pendingPreview{align-items:center;color:#6d7b88;display:flex;gap:10px;height:240px;justify-content:center}.generatingPreview{background:linear-gradient(135deg,#ffffffeb,#f1f5f9db),repeating-linear-gradient(90deg,rgba(15,23,42,.04) 0 1px,transparent 1px 26px);border:1px solid #e4eaf0;color:#111827;gap:24px;justify-content:flex-start;overflow:hidden;padding:22px;position:relative}.generatingPreview:before{animation:previewGlow 2.8s ease-in-out infinite;background:linear-gradient(90deg,transparent,rgba(10,166,200,.16),transparent);content:"";top:0;right:0;bottom:0;left:0;position:absolute;transform:translate(-100%)}.generatingStage{align-items:center;aspect-ratio:16 / 10;background:#0f172a;border-radius:8px;box-shadow:inset 0 0 0 1px #ffffff0f;display:grid;flex:0 0 240px;justify-items:center;overflow:hidden;position:relative}.generatingStage:before{background:linear-gradient(transparent 0 48%,rgba(255,255,255,.14) 49% 51%,transparent 52%),repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 12px);content:"";top:0;right:0;bottom:0;left:0;opacity:.78;position:absolute}.generatingScan{animation:scanLine 2.4s linear infinite;background:linear-gradient(180deg,transparent,rgba(27,186,216,.55),transparent);height:44px;left:0;position:absolute;right:0;top:-48px}.generatingLogo{animation:logoPulse 1.8s ease-in-out infinite;background:#fffffff0;border-radius:8px;display:grid;height:68px;place-items:center;position:relative;width:68px;z-index:1}.generatingLogo img{display:block;height:48px;object-fit:contain;width:48px}.generatingBars{bottom:18px;display:grid;gap:6px;left:18px;position:absolute;right:18px;z-index:1}.generatingBars span{animation:barShimmer 1.4s ease-in-out infinite;background:#ffffff3d;border-radius:999px;height:5px;width:100%}.generatingBars span:nth-child(2){animation-delay:.16s;width:72%}.generatingBars span:nth-child(3){animation-delay:.32s;width:88%}.generatingBars span:nth-child(4){animation-delay:.48s;width:56%}.generatingCopy{display:grid;gap:9px;min-width:0;position:relative;z-index:1}.generatingCopy strong{color:#101827;font-size:18px}.generatingCopy span,.generatingCopy small{color:#6c7886;font-size:13px}.progressTrack{background:#dfe7ee;border-radius:999px;height:8px;margin-top:5px;overflow:hidden;width:min(360px,42vw)}.progressTrack i{background:linear-gradient(90deg,#111827,#0aa6c8,#e8b923);border-radius:inherit;display:block;height:100%;transition:width .35s ease}.progressTrack.indeterminate i{animation:indeterminateProgress 1.35s ease-in-out infinite}.pendingPreview.failed{background:#fff5f4;color:#bf342d;height:auto;justify-content:flex-start;min-height:58px;padding:14px 16px;text-align:left}.failureText{display:grid;gap:6px}.refundNotice{color:#167a52;font-size:13px;font-weight:700}.jobActions{gap:8px;margin-top:14px}.jobActions button,.resultActions button,.resultActions a{align-items:center;background:#f0f3f6;border-radius:7px;color:#1f2937;display:inline-flex;gap:6px;height:32px;padding:0 10px;text-decoration:none}.jobInspector{min-width:0}.inspectorPanel{background:#fffffff0;border:1px solid #e4e9ef;border-radius:8px;padding:18px;position:sticky;top:18px}.inspectorHeader{align-items:center;display:flex;justify-content:space-between}.inspectorHeader>span{font-weight:700}.inspectorSummary{color:#111827;font-size:16px;line-height:1.55;margin:18px 0 14px}.phaseLine{color:#4b5563;flex-wrap:wrap;font-size:14px;gap:12px;margin-bottom:16px}.largePending{align-items:center;color:#9aa5b1;display:flex;flex-direction:column;gap:10px;height:260px;justify-content:center}.resultBlock video{aspect-ratio:16 / 9;background:#0b1016;border-radius:8px;display:block;width:100%}.resultActions{gap:8px;margin-top:10px}.inlineResultActions{justify-content:flex-end}.payloadBlock{border-top:1px solid #edf0f4;margin-top:18px;padding-top:14px}.payloadBlock span{color:#8190a0;display:block;font-size:12px;margin-bottom:6px}.payloadBlock p{color:#374151;line-height:1.5;margin:0}.assetGrid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.assetMini{align-items:center;background:#f5f7f9;border-radius:7px;color:#4b5563;display:flex;gap:6px;min-width:0;padding:8px}.assetMini span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composerWrap{bottom:28px;left:50%;max-width:1060px;position:fixed;transform:translate(-50%);width:calc(100vw - 68px);z-index:20}.composer{align-items:stretch;background:#fffffff0;border:1px solid rgba(220,225,231,.9);border-radius:28px;box-shadow:0 24px 70px #1118271f;display:flex;gap:18px;min-height:176px;padding:26px 24px 18px}.addTile{align-items:center;align-self:flex-start;background:#eef0f2;border-radius:6px;color:#8b96a3;display:flex;flex-direction:column;gap:6px;height:86px;justify-content:center;transform:rotate(-7deg);width:64px}.addTile span{font-size:12px}.composerMain{display:flex;flex:1;flex-direction:column;min-width:0;position:relative}.referenceStrip{align-items:center;display:flex;gap:8px;min-height:42px;overflow-x:auto;padding-bottom:4px}.referenceChip{align-items:center;background:#f5f7f9;border:1px solid #e6ebf0;border-radius:8px;display:flex;flex:0 0 auto;gap:8px;max-width:260px;min-height:40px;padding:6px}.referenceChip.needsRemote{background:#fff8ed;border-color:#f1d4a8}.thumbButton{align-items:center;background:#e8edf2;border-radius:6px;color:#4b5563;display:grid;height:36px;overflow:hidden;place-items:center;width:42px}.thumbButton img{height:100%;object-fit:cover;width:100%}.refFields{display:grid;gap:2px;min-width:80px}.refFields input{background:transparent;border:0;color:#1f2937;font-size:13px;min-width:72px;outline:0;width:100%}.refFields span,.remoteInput::placeholder{color:#8a96a3;font-size:11px}.remoteInput{color:#8a4b00!important;width:145px!important}.removeRef{align-items:center;background:transparent;color:#8b96a3;display:grid;height:24px;place-items:center;width:24px}.smallAdd,.linkAdd{align-items:center;background:#edf7fa;border-radius:8px;color:#008db3;display:inline-flex;flex:0 0 auto;gap:5px;height:34px;padding:0 10px}.linkAdd{background:#f2f4f7;color:#4b5563}.composer textarea{background:transparent;border:0;color:#24303d;flex:1;font-size:19px;line-height:1.65;min-height:82px;outline:0;resize:none;width:100%}.composer textarea::placeholder{color:#97a3b0}.composerFooter{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-top:10px}.leftControls,.rightControls{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.selectControl{align-items:center;color:#1f2937;display:inline-flex;gap:6px;height:34px;position:relative}.selectControl select{cursor:pointer;top:0;right:0;bottom:0;left:0;opacity:0;position:absolute;width:100%}.selectControl span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iconText,.audioToggle{align-items:center;color:#1f2937;display:inline-flex;gap:6px;height:34px}.iconText{background:transparent}.audioToggle input{accent-color:#00a6c8}.costPill{background:#f4f7fa;border:1px solid #e4eaf0;border-radius:999px;color:#66717f;font-size:13px;font-weight:700;height:34px;line-height:32px;padding:0 12px;white-space:nowrap}.submitButton{align-items:center;background:#dfe3e8;border-radius:999px;color:#fff;display:grid;height:52px;place-items:center;width:52px}.submitButton:not(:disabled){background:#0aa6c8;box-shadow:0 12px 24px #00a6c83d}.submitButton:disabled{cursor:not-allowed}.mentionMenu{background:#fff;border:1px solid #e1e7ed;border-radius:8px;bottom:58px;box-shadow:0 18px 50px #11182724;display:grid;gap:4px;min-width:220px;padding:8px;position:absolute;right:180px;z-index:30}.mentionHeader{align-items:center;color:#7b8794;display:flex;font-size:12px;justify-content:space-between;padding:4px 6px}.mentionHeader button,.modalHeader button{background:transparent}.mentionMenu>button{align-items:center;background:transparent;border-radius:6px;color:#1f2937;display:flex;gap:8px;height:34px;padding:0 8px;text-align:left}.mentionMenu>button:hover{background:#f1f5f8}.errorToast{align-items:center;background:#1f2937;border-radius:8px;bottom:calc(100% + 12px);box-shadow:0 18px 40px #11182738;color:#fff;display:flex;gap:12px;justify-content:space-between;left:50%;max-width:780px;padding:12px 14px;position:absolute;transform:translate(-50%);width:max-content}.errorToast button{align-items:center;background:#ffffff1f;border-radius:999px;color:#fff;display:grid;height:24px;place-items:center;width:24px}.modalBackdrop{align-items:center;background:#1118275c;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;position:fixed;z-index:50}.urlModal,.authModal,.adminModal,.announcementModal{background:#fffdf7;border-radius:8px;box-shadow:0 24px 90px #59401a38;display:grid;gap:16px;padding:20px;width:430px}.authModal{width:390px}.adminModal{max-height:min(760px,calc(100vh - 60px));overflow:auto;width:620px}.announcementBackdrop{background:radial-gradient(circle at 50% 42%,rgba(212,169,31,.18),transparent 28%),#36281461}.announcementModal{gap:0;overflow:hidden;padding:0;width:min(520px,calc(100vw - 40px))}.announcementHeader{align-items:center;background:linear-gradient(135deg,#3e2c13,#6e4d12);color:#fff;display:flex;justify-content:space-between;padding:18px 20px}.announcementHeader>div{align-items:center;display:flex;gap:10px}.announcementHeader button{align-items:center;background:#ffffff1f;border-radius:999px;color:#fff;display:grid;height:30px;place-items:center;width:30px}.announcementBody{color:var(--ink);font-size:15px;line-height:1.75;max-height:46vh;overflow:auto;padding:22px 22px 18px;white-space:pre-wrap}.announcementModal .modalActions{border-top:1px solid rgba(161,128,54,.18);padding:14px 18px 18px}.modalHeader{align-items:center;display:flex;justify-content:space-between}.segmented{background:#f1f4f7;border-radius:8px;display:grid;gap:4px;grid-template-columns:repeat(3,1fr);padding:4px}.segmented button{align-items:center;background:transparent;border-radius:6px;color:#596676;display:flex;gap:5px;height:36px;justify-content:center}.segmented button.selected{background:#fff;color:#111827;box-shadow:0 3px 10px #11182714}.urlModal label,.authModal label,.adminModal label{color:#596676;display:grid;font-size:13px;gap:6px}.urlModal input,.authModal input,.adminModal input{border:1px solid #dfe5eb;border-radius:7px;height:38px;outline:0;padding:0 10px}.urlModal input:focus,.authModal input:focus,.adminModal input:focus,.adminModal textarea:focus{border-color:#0aa6c8}.adminModal textarea{background:#fff;border:1px solid #dfe5eb;border-radius:7px;color:#1f2937;flex:initial;font-size:14px;line-height:1.55;min-height:126px;outline:0;padding:10px;resize:vertical;width:100%}.modalHint,.formError,.formSuccess{font-size:13px;line-height:1.5;margin:0}.modalHint{color:#7a8795}.formError{color:#bf342d}.formSuccess{color:#16803b}.channelStatus{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.channelStatus div{background:#f5f7f9;border:1px solid #e6ebf0;border-radius:8px;display:grid;gap:5px;padding:12px}.channelStatus span{color:#768391;font-size:12px}.channelStatus strong{color:#111827;font-size:14px}.adminSectionTitle{border-top:1px solid #edf0f4;color:#111827;font-size:14px;font-weight:800;padding-top:14px}.adminSectionTitle:first-of-type{border-top:0;padding-top:0}.userCreditList{display:grid;gap:8px}.userCreditRow{align-items:center;background:#f7f9fb;border:1px solid #e6ebf0;border-radius:8px;display:flex;gap:12px;justify-content:space-between;min-height:58px;padding:10px 12px}.userCreditRow strong,.userCreditRow span{display:block}.userCreditRow strong{color:#111827;font-size:14px}.userCreditRow span,.userCreditRow em{color:#7a8795;font-size:12px;font-style:normal;margin-top:3px}.creditControls{align-items:center;display:flex;gap:8px}.creditControls input{background:#fff;border:1px solid #dfe5eb;border-radius:7px;height:34px;outline:0;padding:0 9px;width:112px}.creditControls button{background:#111827;border-radius:7px;color:#fff;height:34px;padding:0 12px}.modalActions{gap:8px;justify-content:flex-end}.modalActions button{border-radius:7px;height:36px;padding:0 14px}.modalActions button:first-child{background:#f1f4f7}.modalActions button:last-child{background:#111827;color:#fff}.modalActions button:disabled{background:#dfe3e8;cursor:not-allowed}button{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,filter .18s ease,transform .18s ease}button:not(:disabled):hover{filter:saturate(1.04);transform:translateY(-1px)}button:not(:disabled):active{transform:translateY(0)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0;box-shadow:0 0 0 3px #0aa6c829}.appShell{color:var(--ink);position:relative}.appShell:before{background:linear-gradient(90deg,rgba(255,255,255,.7),transparent 35%,rgba(255,255,255,.5)),linear-gradient(180deg,rgba(10,166,200,.04),transparent 420px);content:"";top:0;right:0;bottom:0;left:0;pointer-events:none;position:fixed;z-index:-1}.topBar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f7fcfbcc;border-bottom:1px solid rgba(209,222,232,.72);box-shadow:0 10px 28px #1f31410d;position:sticky;top:0;z-index:20}.brandMark{background:linear-gradient(145deg,#fff,#edf9f7);border-color:#0aa6c82e;box-shadow:inset 0 1px #ffffffe6,0 10px 22px #0aa6c81c}.brand strong{color:var(--brand-ink);letter-spacing:0}.brand span{color:var(--muted)}.searchBox,.keyBox,.topActionButton,.userPill,.balancePill{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffbd;border-color:var(--line);box-shadow:0 8px 20px #1f31410a}.searchBox:focus-within,.keyBox:focus-within{border-color:#0aa6c87a;box-shadow:0 0 0 3px #0aa6c81c,0 10px 24px #1f31410f}.topActionButton.strong{background:linear-gradient(135deg,#102a33,#0b6f82);border-color:#0b6f828c}.modeSwitch{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffad;border-color:var(--line);box-shadow:inset 0 1px #ffffffb8,0 12px 28px #1f31410d}.modeSwitch button{color:var(--muted)}.modeSwitch button.selected{background:linear-gradient(135deg,#fff,#f1fbf9);box-shadow:0 8px 18px #1f314114,inset 0 0 0 1px #0aa6c814;color:var(--brand-ink)}.pairWorkbench,.settingsWorkbench,.usageWorkbench,.inferenceWorkbench{gap:18px}.storyboardTotal{background:#ffffffc7;border-color:var(--line);box-shadow:var(--shadow-soft)}.pairLayout{gap:18px;grid-template-columns:minmax(0,1fr) 270px}.pairList{gap:18px}.promptPair,.inferenceToolbar,.inferenceInputPanel,.inferenceOutputPanel,.settingsPanel,.usageHeader,.usageRecord,.emptyUsage,.pairSidebar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-soft)}.promptPair{padding:12px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.promptPair:hover{border-color:#0aa6c842;box-shadow:var(--shadow);transform:translateY(-1px)}.pairIndex{background:linear-gradient(135deg,#e8f7f4fa,#e8f7fffa);border-color:#0aa6c833;color:var(--accent-strong);box-shadow:inset 0 1px #ffffffd1}.promptPair label,.rangeControl,.inputRow label,.templateHeader span{color:#3d4e5f}.promptPair textarea,.rangeControl input,.rangeControl select,.compactField input,.compactField select,.inferenceOptions input,.inferenceWorkbench textarea,.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea,.urlModal input,.authModal input,.adminModal input,.adminModal textarea,.creditControls input{background:#fafdfde0;border-color:#869aae4d;color:var(--ink);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.promptPair textarea{min-height:300px;box-shadow:inset 0 1px 2px #1f314108}.promptPair textarea:hover,.rangeControl input:hover,.rangeControl select:hover,.compactField input:hover,.compactField select:hover,.inferenceOptions input:hover,.inferenceWorkbench textarea:hover,.settingsWorkbench .templateTextarea:hover,.inferenceWorkbench .templateTextarea:hover{border-color:#0aa6c857}.promptPair textarea:focus,.rangeControl input:focus,.rangeControl select:focus,.compactField input:focus,.compactField select:focus,.inferenceOptions input:focus,.inferenceWorkbench textarea:focus,.settingsWorkbench .templateTextarea:focus,.inferenceWorkbench .templateTextarea:focus,.urlModal input:focus,.authModal input:focus,.adminModal input:focus,.adminModal textarea:focus,.creditControls input:focus{background:#fff;border-color:#0aa6c8b8;box-shadow:0 0 0 3px #0aa6c824,0 10px 24px #1f31410f}.pairActions button,.addPairButton,.inferAllButton,.templateSaveButton,.inferenceActions .primaryAction{box-shadow:0 10px 20px #0a617429}.pairActions button:not(.copyPromptButton),.inferAllButton,.templateSaveButton{background:linear-gradient(135deg,#102a33,#0b7185)}.addPairButton,.inferenceActions .primaryAction{background:linear-gradient(135deg,#17a585,#0aa6c8)}.pairActions .copyPromptButton,.exportPromptsButton,.templateHeader button,.inferenceActions button,.outputActions button,.panelActions button{background:#ffffffdb;border:1px solid var(--line);color:#213242}.pairActions .copyPromptButton.copied{background:linear-gradient(135deg,#e8f7ef,#effcf8);border-color:#2eb67d52;color:#0b7a42}.importDocumentButton{background:linear-gradient(135deg,#eaf8f1,#eaf9fb);border:1px solid rgba(46,182,125,.22);color:#176235}.clearStoryboardButton{background:linear-gradient(135deg,#fff4f2,#fff8f6);border:1px solid rgba(180,35,24,.16);color:var(--danger)}.pairSidebar{gap:14px;padding:14px;top:90px}.pairSidebarHeader{border-bottom-color:#869aae2e}.pairSidebarHeader strong{color:var(--brand-ink)}.sidebarActions{gap:10px}.pairImportStatus{border:1px solid transparent}.pairImportStatus.success{border-color:#2eb67d29}.pairImportStatus.failed{border-color:#b4231829}.pairSidebarHint,.usageHeader span,.outputHeader span,.modalHint{color:var(--muted)}.settingsPanel{padding:16px}.templateEditor,.inferenceOptions,.outputHeader{border-color:#869aae2e}.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea{min-height:min(720px,68vh)}.usageRecord,.channelStatus div,.userCreditRow{background:#ffffffb8;border-color:var(--line)}.modalBackdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.appShell:before{background:linear-gradient(90deg,rgba(255,253,247,.64),transparent 38%,rgba(255,250,236,.7)),linear-gradient(180deg,rgba(212,169,31,.08),transparent 420px)}.topBar{background:#faf4e3d6;border-bottom-color:#b0892f2e;box-shadow:0 12px 32px #59401a14}.brandMark{background:linear-gradient(145deg,#fffdf7,#f4e5bd);border-color:#d4a91f4d;box-shadow:inset 0 1px #fffffff0,0 10px 22px #976f1821}.brand strong{color:var(--brown)}.brand span{color:#8d7e65}.searchBox,.keyBox,.topActionButton,.userPill,.balancePill{background:#fffdf7c7;border-color:#a1803638;box-shadow:0 8px 22px #59401a0d}.searchBox:focus-within,.keyBox:focus-within{border-color:#d4a91f9e;box-shadow:0 0 0 3px #d4a91f24,0 10px 24px #59401a14}.topActionButton.strong,.modalActions button:last-child,.creditControls button{background:linear-gradient(135deg,#4a3517,#7a5616);border-color:#7a561680}.userPill{background:#f1f4e5;border-color:#6676503d;color:#566743}.balancePill{background:#fff4cf;border-color:#d4a91f57;color:#8a6505}.modeSwitch{background:#fffdf7b8;border-color:#a180362e;box-shadow:inset 0 1px #ffffffd1,0 14px 28px #59401a0f}.modeSwitch button{color:#81745f}.modeSwitch button.selected{background:linear-gradient(135deg,#fffdf8,#f8edcf);box-shadow:0 8px 18px #59401a17,inset 0 0 0 1px #d4a91f2e;color:var(--brown)}.workspace{max-width:1520px}.pairLayout{align-items:start;gap:20px;grid-template-columns:minmax(0,1fr) 292px}.pairList{gap:20px}.promptPair,.inferenceToolbar,.inferenceInputPanel,.inferenceOutputPanel,.settingsPanel,.usageHeader,.usageRecord,.emptyUsage,.pairSidebar{background:linear-gradient(180deg,#fffdf8f0,#fffbefe0);border-color:#a1803633;box-shadow:var(--shadow-soft)}.promptPair{border-radius:10px;padding:14px}.promptPair:hover{border-color:#d4a91f61;box-shadow:var(--shadow)}.pairIndex{background:linear-gradient(135deg,#fff4cf,#f6e2a8);border-color:#d4a91f5c;color:#8a6505}.storyboardTotal{background:#fffdf7d1;border-color:#a1803633}.storyboardTotal strong{color:var(--accent-strong)}.promptPair label,.rangeControl,.inputRow label,.templateHeader span,.compactField,.inferenceOptions label,.adminModal label{color:#5f513c}.promptPair textarea,.rangeControl input,.rangeControl select,.compactField input,.compactField select,.inferenceOptions input,.inferenceWorkbench textarea,.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea,.urlModal input,.authModal input,.adminModal input,.adminModal textarea,.creditControls input{background:#fffef9e6;border-color:#9d804147;color:var(--ink)}.promptPair textarea{box-shadow:inset 0 1px 2px #59401a0a}.promptPair textarea::placeholder,.rangeControl input::placeholder,.adminModal input::placeholder,.adminModal textarea::placeholder{color:#aa9b82}.promptPair textarea:hover,.rangeControl input:hover,.rangeControl select:hover,.compactField input:hover,.compactField select:hover,.inferenceOptions input:hover,.inferenceWorkbench textarea:hover,.settingsWorkbench .templateTextarea:hover,.inferenceWorkbench .templateTextarea:hover{border-color:#d4a91f70}.promptPair textarea:focus,.rangeControl input:focus,.rangeControl select:focus,.compactField input:focus,.compactField select:focus,.inferenceOptions input:focus,.inferenceWorkbench textarea:focus,.settingsWorkbench .templateTextarea:focus,.inferenceWorkbench .templateTextarea:focus,.urlModal input:focus,.authModal input:focus,.adminModal input:focus,.adminModal textarea:focus,.creditControls input:focus{background:#fffef9;border-color:#d4a91fc2;box-shadow:0 0 0 3px #d4a91f29,0 10px 24px #59401a14}.pairActions button,.addPairButton,.inferAllButton,.templateSaveButton,.inferenceActions .primaryAction{box-shadow:0 12px 22px #75531129}.pairActions button:not(.copyPromptButton),.inferAllButton,.templateSaveButton{background:linear-gradient(135deg,#4a3517,#725012)}.addPairButton,.inferenceActions .primaryAction,.submitButton{background:linear-gradient(135deg,#d9b12c,#b9890d);color:#fffdf5}.pairActions .copyPromptButton,.exportPromptsButton,.templateHeader button,.inferenceActions button,.outputActions button,.panelActions button{background:#fffdf7e6;border-color:#a1803633;color:#4d3a1f}.pairActions .copyPromptButton.copied,.importDocumentButton,.pairImportStatus.success{background:linear-gradient(135deg,#f1f4e5,#f9f5df);border-color:#6676503d;color:#566743}.clearStoryboardButton,.pairImportStatus.failed{background:linear-gradient(135deg,#fff2ef,#fff8ed);border-color:#b4231829;color:var(--danger)}.pairSidebar{border-radius:10px;gap:15px;padding:15px;top:92px}.pairSidebarHeader{border-bottom-color:#a180362e;color:#6f6049}.sidebarCostNote{background:#d4a91f1a;border-color:#d4a91f33;color:#805f08}.sidebarErrorNote,.workspaceError{background:#fff2ef;border-color:#b4231833;color:#a32920}.templateEditor,.inferenceOptions,.outputHeader,.settingsSectionTitle,.adminSectionTitle{border-color:#a180362e}.settingsSectionTitle,.adminSectionTitle,.usageHeader strong,.outputHeader strong,.channelStatus strong,.userCreditRow strong{color:var(--brown)}.usageRecord,.channelStatus div,.userCreditRow{background:#fffdf7b8;border-color:#a180362e}.composer{background:linear-gradient(180deg,#fffdf8f5,#fffaedeb);border-color:#a1803638;box-shadow:0 24px 70px #59401a29}.composer textarea{color:var(--ink)}.costPill{background:#fff4cf;border-color:#d4a91f57;color:#805f08!important}.adminModal,.authModal,.urlModal{background:#fffdf7;border-color:#a1803638}.modalBackdrop{background:#3628145c}*{scrollbar-color:rgba(150,112,27,.5) rgba(255,248,229,.7)}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#fff8e5b8}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#d4a91fb8,#805f089e);border:2px solid rgba(255,248,229,.86);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#d4a91fe6,#805f08c2)}button:disabled,.pairActions button:disabled,.inferAllButton:disabled,.addPairButton:disabled,.templateSaveButton:disabled,.submitButton:disabled{background:#e5dcc5;color:#a1947b;box-shadow:none}.rangeControl select,.compactField select{cursor:pointer}.promptPair textarea,.inferenceWorkbench textarea,.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea{caret-color:var(--accent-strong);line-height:1.68}.pairSidebarHint{border-top:1px solid rgba(161,128,54,.14);padding-top:10px}.workspaceError button,.sidebarErrorNote button{box-shadow:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 3px #d4a91f33}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes previewGlow{50%{transform:translate(100%)}to{transform:translate(100%)}}@keyframes scanLine{to{transform:translateY(250px)}}@keyframes logoPulse{50%{transform:scale(1.04)}}@keyframes barShimmer{50%{opacity:.45;transform:scaleX(.94)}}@keyframes indeterminateProgress{0%{transform:translate(-120%)}to{transform:translate(330%)}}@media(max-width:1080px){.inferenceToolbar,.inferenceGrid,.pairLayout,.promptPair,.settingsGrid,.templateControls,.inputRow.split,.inferenceOptions{grid-template-columns:1fr}.pairSidebar{position:static}.storyboardList{max-height:none}.jobLayout{grid-template-columns:1fr}.jobInspector{display:none}.composerWrap{width:calc(100vw - 32px)}.composer{border-radius:20px}}@media(max-width:900px){.topBar{align-items:stretch;gap:14px;height:auto;padding:14px 18px}.topTools{flex-wrap:wrap;width:100%}.searchBox,.keyBox{flex:1 1 220px}.searchBox input,.keyBox input{width:100%}.workspace{padding:16px 18px 0}.modeSwitch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.modeSwitch button{justify-content:center}.pairWorkbenchHeader{align-items:stretch}.storyboardTotal{justify-content:center;width:100%}.pairSidebar{order:-1;top:0}.sidebarActions{grid-template-columns:repeat(2,minmax(0,1fr))}.rangeControl{min-width:0}.templateControls,.inferenceOptions{grid-template-columns:1fr}.templateSaveButton,.inferenceActions .primaryAction{width:100%}}@media(max-width:640px){.topBar{padding:12px}.brand{min-width:0}.brand strong{font-size:15px}.brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace{padding:12px 12px 0}.modeSwitch{grid-template-columns:1fr}.promptPair{gap:12px;padding:10px}.promptPair textarea{min-height:220px}.pairActions,.inferenceActions,.outputActions,.panelActions,.usageHeader,.composerFooter{align-items:stretch;flex-direction:column}.pairActions button,.inferenceActions button,.outputActions button,.panelActions button,.usageHeader button{justify-content:center;width:100%}.sidebarActions{grid-template-columns:1fr}.settingsPanel,.inferenceInputPanel,.inferenceOutputPanel,.usageHeader,.usageRecord,.emptyUsage,.pairSidebar{padding:12px}.settingsWorkbench .templateTextarea,.inferenceWorkbench .templateTextarea{min-height:420px}.composerWrap{width:calc(100vw - 24px)}}.topBar{min-height:72px;padding-inline:clamp(18px,3vw,42px)}.topTools,.guestActions{align-items:center;display:flex;gap:8px}.accountMenu{position:relative}.accountMenu summary{align-items:center;background:#fffdf7e0;border:1px solid rgba(161,128,54,.22);border-radius:8px;box-shadow:0 8px 22px #59401a0f;cursor:pointer;display:flex;gap:9px;height:46px;list-style:none;padding:0 10px 0 8px;-webkit-user-select:none;user-select:none}.accountMenu summary::-webkit-details-marker{display:none}.accountMenu summary:focus-visible{box-shadow:0 0 0 3px #d4a91f33;outline:0}.accountAvatar{align-items:center;background:#f1f4e5;border:1px solid rgba(102,118,80,.2);border-radius:7px;color:var(--olive);display:inline-flex;height:30px;justify-content:center;width:30px}.accountIdentity{display:grid;gap:2px;min-width:96px}.accountIdentity strong{color:var(--brown);font-size:13px;line-height:1.1;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accountIdentity small{align-items:center;color:#87734a;display:flex;font-size:11px;gap:4px}.accountChevron,.sidebarToggleChevron,.sidebarDangerZone summary svg:last-child{transition:transform .18s ease}.accountMenu[open] .accountChevron,.pairSidebar.mobileOpen .sidebarToggleChevron,.sidebarDangerZone[open] summary svg:last-child{transform:rotate(180deg)}.accountMenuPopover{background:#fffdf7;border:1px solid rgba(161,128,54,.24);border-radius:8px;box-shadow:0 18px 48px #3d2d122e;display:grid;gap:6px;min-width:210px;padding:8px;position:absolute;right:0;top:calc(100% + 8px);z-index:40}.accountBalanceRow{align-items:center;background:#fff7da;border-radius:7px;color:#7a6132;display:flex;font-size:12px;justify-content:space-between;padding:10px}.accountBalanceRow strong{color:#8a6505;font-size:15px}.accountMenuPopover button{align-items:center;background:transparent;border-radius:7px;color:#4d3a1f;display:flex;gap:8px;min-height:38px;padding:0 10px;text-align:left;width:100%}.accountMenuPopover button:hover{background:#f6edda}.workspace{padding-top:18px}.pairWorkbenchHeader{align-items:stretch;display:grid;gap:12px;grid-template-columns:minmax(280px,1fr) minmax(390px,540px)}.storyboardOverview,.pairHeaderTools{align-items:center;background:#fffdf7cc;border:1px solid rgba(161,128,54,.18);border-radius:8px;box-shadow:0 8px 24px #59401a0d;display:flex;gap:14px;min-height:54px;padding:8px 10px}.storyboardTotal{background:transparent;border:0;box-shadow:none;flex:0 0 auto;height:38px;padding:0 6px}.storyboardTotal strong{font-size:20px}.storyboardProgressBlock{display:grid;flex:1;gap:6px;min-width:120px}.storyboardProgressLabel{align-items:center;color:#77694f;display:flex;font-size:11px;justify-content:space-between}.storyboardProgressLabel strong{color:var(--olive);font-size:12px}.storyboardProgressTrack{background:#eee6d2;border-radius:999px;height:6px;overflow:hidden}.storyboardProgressTrack span{background:linear-gradient(90deg,#76885f,#b3a33d);border-radius:inherit;display:block;height:100%;min-width:0;transition:width .25s ease}.pairHeaderTools{justify-content:flex-end}.storyboardSearch,.storyboardJump{align-items:center;background:#fffefa;border:1px solid rgba(157,128,65,.26);border-radius:7px;display:flex;height:38px}.storyboardSearch{color:#93846a;flex:1;gap:7px;min-width:190px;padding:0 8px}.storyboardSearch:focus-within,.storyboardJump:focus-within{border-color:#d4a91fb3;box-shadow:0 0 0 3px #d4a91f21}.storyboardSearch input,.storyboardJump input{background:transparent;border:0;color:var(--ink);min-width:0;outline:0}.storyboardSearch input{flex:1}.storyboardSearch button{align-items:center;background:transparent;color:#8f8168;display:inline-flex;justify-content:center;padding:3px}.storyboardJump{flex:0 0 132px;overflow:hidden}.storyboardJump input{padding:0 8px;width:74px}.storyboardJump input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.storyboardJump button{align-self:stretch;background:#6a774f;color:#fff;flex:1;font-size:12px;font-weight:800;padding:0 10px}.pairLayout{grid-template-columns:minmax(0,1fr) 304px}.pairList{min-width:0}.promptPair{border-radius:8px;box-shadow:0 10px 28px #59401a12;padding:14px;scroll-margin-top:104px}.promptPair:hover{box-shadow:0 14px 38px #59401a1c;transform:translateY(-1px)}.pairCardHeader{align-items:center;display:flex;grid-column:1 / -1;justify-content:space-between}.pairCardHeader .pairIndex{grid-column:auto}.pairState{align-items:center;border:1px solid transparent;border-radius:999px;display:inline-flex;font-size:11px;font-weight:800;gap:5px;height:28px;padding:0 9px}.pairState.complete{background:#edf3e4;border-color:#66765033;color:#52653f}.pairState.pending{background:#f4f0e6;border-color:#8e7e5b2e;color:#897c64}.pairSidebar{max-height:calc(100vh - 104px);overflow:auto;overscroll-behavior:contain;padding:12px}.pairSidebarToggle{display:none}.pairSidebarContent{display:grid;gap:13px}.sidebarSection{border-top:1px solid rgba(161,128,54,.14);display:grid;gap:9px;padding-top:12px}.sidebarSectionLabel{color:#8c7b60;font-size:11px;font-weight:800}.sidebarActions.secondaryActions{grid-template-columns:repeat(2,minmax(0,1fr))}.secondaryActions .sidebarButton{font-size:12px;padding:0 8px}.sidebarDangerZone{border-top:1px solid rgba(180,35,24,.1);padding-top:8px}.sidebarDangerZone summary{align-items:center;border-radius:7px;color:#9c5b50;cursor:pointer;display:grid;font-size:12px;font-weight:800;gap:7px;grid-template-columns:auto 1fr auto;list-style:none;min-height:34px;padding:0 8px}.sidebarDangerZone summary::-webkit-details-marker{display:none}.sidebarDangerZone summary:hover{background:#b423180d}.sidebarDangerZone .sidebarActions{margin-top:8px}.pairPagination{align-items:center;background:#fffdf7db;border:1px solid rgba(161,128,54,.18);border-radius:8px;display:flex;gap:10px;justify-content:center;min-height:54px;padding:8px 12px}.pairPagination>button{align-items:center;background:#f3ead6;border:1px solid rgba(161,128,54,.18);border-radius:7px;color:#5b4828;display:inline-flex;height:34px;justify-content:center;width:34px}.pairPagination>button:disabled{background:#eee8da;color:#b2a893}.paginationPosition{color:#75674f;font-size:13px;min-width:88px;text-align:center}.paginationPosition strong{color:var(--accent-strong)}.pairPagination label{align-items:center;color:#8a7c63;display:flex;font-size:12px;gap:5px}.pairPagination select{background:#fffefa;border:1px solid rgba(157,128,65,.26);border-radius:6px;color:#5b4828;height:32px;padding:0 6px}.emptyStoryboardSearch{align-items:center;background:#fffdf7c7;border:1px dashed rgba(161,128,54,.28);border-radius:8px;color:#918269;display:flex;flex-direction:column;gap:9px;justify-content:center;min-height:220px;padding:24px;text-align:center}.emptyStoryboardSearch strong{color:#5a4a31}.emptyStoryboardSearch button{background:#f2ead8;border-radius:7px;color:#66512d;font-weight:800;min-height:34px;padding:0 12px}.submitButton:not(:disabled){background:linear-gradient(135deg,#d9b12c,#b9890d);box-shadow:0 12px 26px #75531133;color:#fffdf5}.settingsWorkbench .inputRow textarea{background:#fffef9eb;border:1px solid rgba(157,128,65,.28);border-radius:7px;color:var(--ink);font-size:14px;line-height:1.65;min-height:112px;outline:0;padding:10px 11px;resize:vertical;width:100%}.settingsWorkbench .inputRow.split textarea{min-height:132px}.settingsWorkbench .inputRow textarea::placeholder{color:#aa9b82}.settingsWorkbench .inputRow textarea:hover{border-color:#d4a91f70}.settingsWorkbench .inputRow textarea:focus{background:#fffef9;border-color:#d4a91fc2;box-shadow:0 0 0 3px #d4a91f29}@media(max-width:1080px){.pairWorkbenchHeader,.pairLayout{grid-template-columns:1fr}.pairSidebar{max-height:calc(100vh - 96px);order:-1;padding:8px;position:sticky;top:84px;z-index:12}.pairSidebarToggle{align-items:center;background:transparent;color:#57462a;display:grid;font-weight:800;gap:8px;grid-template-columns:auto 1fr auto auto;min-height:40px;padding:0 6px;text-align:left;width:100%}.pairSidebarToggle strong{color:var(--olive);font-size:12px}.pairSidebarContent{display:none;margin-top:8px}.pairSidebar.mobileOpen .pairSidebarContent{display:grid}}@media(max-width:900px){.topBar{align-items:center;flex-direction:row;min-height:66px;padding:10px 14px}.topTools{flex-wrap:nowrap;justify-content:flex-end;width:auto}.workspace{padding:12px 14px 0}.modeSwitch{grid-template-columns:repeat(2,minmax(0,1fr))}.pairSidebar{top:76px}}@media(max-width:640px){.appShell{padding-bottom:160px}.topBar{padding:9px 10px}.brand{gap:8px}.brandMark{height:32px;width:32px}.brandMark img{height:24px;width:24px}.brand span{display:none}.accountMenu summary{height:42px;padding-right:8px}.accountAvatar{height:28px;width:28px}.accountIdentity{min-width:76px}.accountIdentity strong{max-width:92px}.accountMenuPopover{position:fixed;right:10px;top:60px}.guestActions{gap:5px}.guestActions .topActionButton{font-size:12px;padding:0 8px}.workspace{padding:10px 10px 0}.modeSwitch{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:10px}.modeSwitch button{min-width:0;padding:0 8px}.pairWorkbench{gap:10px}.pairWorkbenchHeader{gap:8px}.storyboardOverview,.pairHeaderTools{min-height:50px;padding:7px 8px}.storyboardTotal{gap:5px;justify-content:flex-start;padding:0 3px;width:auto}.storyboardTotal strong{font-size:18px}.storyboardProgressBlock{min-width:100px}.pairHeaderTools{align-items:stretch;flex-direction:column}.storyboardSearch,.storyboardJump{flex:0 0 38px;width:100%}.storyboardJump input{flex:1;width:auto}.pairLayout,.pairList{gap:10px}.pairSidebar{max-height:calc(100vh - 74px);top:70px}.promptPair{gap:10px;padding:10px}.promptPair textarea{min-height:180px}.pairActions{align-items:center;flex-direction:row}.pairActions button{flex:0 1 auto;justify-content:center;min-width:92px;width:auto}.pairPagination{flex-wrap:wrap;gap:7px}.sidebarActions.secondaryActions{grid-template-columns:1fr}}:root{--accent: #c79a28;--accent-strong: #85651a;--brand-ink: #252823;--brown: #34312b;--ink: #292b27;--line: rgba(69, 65, 55, .14);--line-strong: rgba(89, 80, 57, .24);--muted: #77776f;--olive: #5b6d52;--page-bg: #f8f5ec;--surface: rgba(255, 254, 250, .92);--surface-strong: #fffefa;--shadow: 0 18px 48px rgba(61, 56, 44, .1);--shadow-soft: 0 7px 24px rgba(61, 56, 44, .06)}body{background:#f8f5ec}.appShell:before{background:linear-gradient(180deg,rgba(229,216,177,.18),transparent 260px),linear-gradient(90deg,rgba(255,255,255,.38),transparent 45%,rgba(237,240,229,.26))}.topBar{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fcfaf3eb;border-bottom:1px solid rgba(72,67,57,.12);box-shadow:0 4px 18px #3d382c0b;display:grid;gap:20px;grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr);height:68px;min-height:68px;padding-inline:clamp(18px,3vw,42px)}.brand{justify-self:start}.brandMark{background:#fffefa;border-color:#59503929;box-shadow:0 4px 14px #3d382c12}.brand strong{color:var(--brand-ink);font-weight:700}.brand span{color:#85847d}.topBar .modeSwitch{align-self:center;background:#efede6;border:0;box-shadow:inset 0 0 0 1px #48433912;justify-self:center;margin:0;padding:3px}.topBar .modeSwitch button{color:#6e6f69;font-size:13px;font-weight:600;height:34px;padding:0 12px}.topBar .modeSwitch button.selected{background:#fffefa;box-shadow:0 2px 8px #3d382c14,inset 0 0 0 1px #48433914;color:#2f382c}.topTools{justify-self:end}.accountMenu summary{background:#fffefa;border-color:#48433921;box-shadow:none;height:42px}.accountAvatar{background:#edf1e9;border-color:#5b6d5229}.accountIdentity strong{color:#2c302a;font-weight:700}.accountIdentity small{color:#7b806f}.workspace{max-width:1500px;padding-top:18px}.pairWorkbench{gap:16px}.pairWorkbenchHeader{align-items:center;background:#fffefaf0;border:1px solid rgba(72,67,57,.12);border-radius:8px;box-shadow:var(--shadow-soft);gap:18px;grid-template-columns:minmax(300px,1fr) minmax(390px,520px);padding:10px 12px}.storyboardOverview,.pairHeaderTools{background:transparent;border:0;box-shadow:none;min-height:42px;padding:0}.storyboardTotal{color:#70716b;font-size:12px}.storyboardTotal strong{color:#33372f;font-size:19px}.storyboardProgressLabel{color:#85847d}.storyboardProgressLabel strong{color:var(--olive);font-weight:700}.storyboardProgressTrack{background:#e9e7df;height:5px}.storyboardProgressTrack span{background:#718265}.storyboardSearch,.storyboardJump{background:#f9f8f4;border-color:#48433924}.storyboardSearch:focus-within,.storyboardJump:focus-within{background:#fff;border-color:#5b6d5294;box-shadow:0 0 0 3px #5b6d521c}.storyboardJump button{background:#596a51;font-weight:700}.pairLayout{gap:16px;grid-template-columns:minmax(0,1fr) 300px}.pairList{gap:14px}.promptPair,.pairSidebar,.settingsPanel,.usageHeader,.usageRecord,.emptyUsage,.inferenceToolbar,.inferenceInputPanel,.inferenceOutputPanel{background:#fffefaf5;border-color:#48433921;box-shadow:0 5px 20px #3d382c0e}.promptPair{gap:12px;padding:14px}.promptPair:hover{border-color:#5b6d5252;box-shadow:0 9px 28px #3d382c16;transform:none}.pairIndex{background:#f3eedf;border-color:#8f6f2133;color:#695526;font-weight:700}.pairState{font-weight:700}.pairState.complete{background:#edf1e9;border-color:#5b6d522e;color:#506049}.pairState.pending{background:#f2f1ed;border-color:#4843391a;color:#7d7d76}.promptPair label{color:#555851;font-weight:600}.promptPair textarea{background:#faf9f5;border-color:#48433926;box-shadow:none;color:#282b27;font-size:14px;padding:11px 12px}.promptPair textarea:hover{border-color:#5b6d5257}.promptPair textarea:focus{background:#fff;border-color:#5b6d529e;box-shadow:0 0 0 3px #5b6d521a}.pairActions button{box-shadow:none;font-weight:650}.pairActions button:not(.copyPromptButton),.inferAllButton,.templateSaveButton{background:#39443a;box-shadow:none}.pairActions .copyPromptButton,.exportPromptsButton,.templateHeader button,.inferenceActions button,.outputActions button,.panelActions button{background:#fffefa;border-color:#48433924;color:#42453f}.pairActions .copyPromptButton.copied,.importDocumentButton,.pairImportStatus.success{background:#eef2e9;border-color:#5b6d5233;color:#506049}.clearStoryboardButton,.pairImportStatus.failed{background:#f8efec;border-color:#974e4129;color:#9a4f43}.addPairButton,.inferenceActions .primaryAction,.submitButton:not(:disabled){background:#c69d2f;box-shadow:none;color:#fff}.pairSidebar{box-shadow:0 7px 24px #3d382c12;padding:14px;top:84px}.pairSidebarHeader{color:#73746e;font-weight:650}.pairSidebarHeader strong{color:#42483e}.sidebarCostNote{background:#f5f1e4;border-color:#8f6f2124;color:#715d2d;font-weight:650}.sidebarSectionLabel{color:#85847d;font-weight:700}.rangeControl,.compactField,.inferenceOptions label,.adminModal label{color:#5f625c;font-weight:600}.rangeControl input,.rangeControl select,.compactField input,.compactField select,.inferenceOptions input,.settingsWorkbench .inputRow textarea,.settingsWorkbench .templateTextarea,.adminModal input,.adminModal textarea{background:#faf9f5;border-color:#48433926}.pairPagination{background:#fffefaf0;border-color:#4843391f;box-shadow:0 4px 16px #3d382c0b}.pairPagination>button{background:#f1efe8;border-color:#4843391a;color:#4f554b}.paginationPosition,.pairPagination label{color:#73746e}.paginationPosition strong{color:#4f6049}.settingsSectionTitle,.adminSectionTitle,.usageHeader strong,.outputHeader strong{color:#30332e}.usageRecord pre,.usageOutput pre{background:#1f2521;color:#e8eee6}.composer{background:#fffefaf7;border-color:#48433924;box-shadow:0 22px 64px #3d382c24}.confirmationBackdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#2527226b;z-index:80}.confirmationModal{background:#fffefa;border:1px solid rgba(72,67,57,.14);border-radius:8px;box-shadow:0 26px 80px #1f211d3d;display:grid;gap:14px;grid-template-columns:auto 1fr;padding:20px;width:min(440px,calc(100vw - 32px))}.confirmationIcon{align-items:center;background:#f5edda;border:1px solid rgba(143,111,33,.16);border-radius:8px;color:#916d18;display:flex;height:40px;justify-content:center;width:40px}.confirmationContent{display:grid;gap:7px}.confirmationContent strong{color:#292c27;font-size:16px}.confirmationContent p{color:#6f716b;font-size:13px;line-height:1.65;margin:0}.confirmationActions{display:flex;gap:8px;grid-column:1 / -1;justify-content:flex-end;padding-top:3px}.confirmationActions button{align-items:center;border-radius:7px;display:inline-flex;font-weight:650;gap:7px;height:38px;justify-content:center;padding:0 14px}.confirmationCancel{background:#f1f0eb;border:1px solid rgba(72,67,57,.1);color:#555852}.confirmationSubmit{background:#39443a;color:#fff}@media(max-width:900px){.topBar{align-items:center;gap:8px 12px;grid-template-columns:1fr auto;height:auto;min-height:112px;padding:9px 12px 10px}.topBar .modeSwitch{display:grid;grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));grid-row:2;width:100%}.topBar .modeSwitch button{justify-content:center;min-width:0;padding:0 7px}.pairWorkbenchHeader{grid-template-columns:1fr}.pairSidebar{top:124px}}@media(max-width:640px){.topBar{min-height:108px}.topBar .modeSwitch button{font-size:12px;gap:5px}.workspace{padding-top:10px}.pairWorkbenchHeader{gap:8px;padding:8px}.pairSidebar{top:118px}.promptPair{scroll-margin-top:124px}.confirmationModal{gap:11px;padding:16px}.confirmationActions button{flex:1}}.appShell:has(.novelStudio),.appShell:has(.novelAuthGate){padding-bottom:28px}.workspace:has(.novelStudio),.workspace:has(.novelAuthGate){max-width:1560px;padding-inline:20px}.novelStudio{background:#fffefaf5;border:1px solid rgba(72,67,57,.13);border-radius:8px;box-shadow:0 18px 50px #3d382c17;display:grid;grid-template-columns:254px minmax(0,1fr);min-height:calc(100vh - 112px);overflow:hidden}.novelProjectRail{background:#f3f0e7;border-right:1px solid rgba(72,67,57,.11);display:flex;flex-direction:column;min-width:0;padding:18px 12px}.novelRailHeader,.panelSectionHeader,.artifactHeader,.qualityHeader,.scriptToolbar,.novelWorkspaceHeader,.novelControlStrip{align-items:center;display:flex}.novelRailHeader{justify-content:space-between;padding:0 7px 14px}.novelRailHeader>div,.novelTitleBlock,.artifactHeader>div,.panelSectionHeader>div{min-width:0}.novelRailHeader strong,.novelRailHeader .eyebrow{display:block}.novelRailHeader strong{color:#32352f;font-size:15px;margin-top:3px}.novelRailHeader .eyebrow{color:#91805e;font-size:9px;font-weight:800}.railCount{align-items:center;background:#fffefa;border:1px solid rgba(72,67,57,.1);border-radius:6px;color:#6c6a62;display:inline-flex;font-size:11px;font-weight:750;height:24px;justify-content:center;min-width:27px;padding:0 7px}.newProjectForm{display:grid;gap:6px;grid-template-columns:minmax(0,1fr) 34px;margin-bottom:12px}.newProjectForm input,.novelStudio input,.novelStudio select,.novelStudio textarea{background:#fbfaf6;border:1px solid rgba(72,67,57,.15);border-radius:6px;color:#292c27;outline:0}.newProjectForm input{height:35px;min-width:0;padding:0 10px}.newProjectForm button{align-items:center;background:#39443a;border-radius:6px;color:#fff;display:flex;justify-content:center}.novelProjectList{display:flex;flex:1;flex-direction:column;gap:4px;min-height:120px;overflow-y:auto}.novelProjectItem{align-items:center;background:transparent;border:1px solid transparent;border-radius:6px;color:#60625d;display:grid;gap:9px;grid-template-columns:31px minmax(0,1fr) auto;min-height:55px;padding:7px;text-align:left;width:100%}.novelProjectItem:hover{background:#fffefab8}.novelProjectItem.selected{background:#fffefa;border-color:#5b6d522e;box-shadow:0 4px 14px #3d382c0e;color:#30372f}.projectIcon{align-items:center;background:#e7eadf;border:1px solid rgba(91,109,82,.12);border-radius:6px;color:#596a51;display:flex;height:31px;justify-content:center;width:31px}.projectCopy,.projectCopy strong,.projectCopy small{display:block;min-width:0}.projectCopy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectCopy small{color:#8a887f;font-size:10px;margin-top:4px}.railEmpty{color:#929087;font-size:12px;line-height:1.65;margin:14px 8px}.novelStudioMain{display:flex;flex-direction:column;min-width:0}.novelWorkspaceHeader{border-bottom:1px solid rgba(72,67,57,.1);justify-content:space-between;min-height:76px;padding:12px 20px}.novelTitleInput{background:transparent!important;border:0!important;border-radius:0!important;color:#2c302a!important;font-size:20px;font-weight:750;height:30px;max-width:520px;padding:0!important;width:min(52vw,520px)}.novelMetaLine{align-items:center;color:#85847d;display:flex;flex-wrap:wrap;font-size:11px;gap:7px 12px;margin-top:4px}.statusDot{background:#718265;border-radius:50%;box-shadow:0 0 0 3px #7182651c;height:7px;width:7px}.novelHeaderActions,.scriptActions{align-items:center;display:flex;gap:7px}.stageCost{align-items:center;background:#f5f1e4;border:1px solid rgba(143,111,33,.13);border-radius:6px;color:#715d2d;display:inline-flex;font-size:11px;font-weight:650;gap:5px;height:34px;padding:0 10px}.novelStudio .iconButton,.novelStudio .iconTextButton,.novelStudio .primaryAction,.novelStudio .secondaryAction,.novelStudio .repairButton,.novelStudio .suggestedAction{align-items:center;border-radius:6px;display:inline-flex;font-size:12px;font-weight:700;gap:6px;height:36px;justify-content:center;padding:0 12px;white-space:nowrap}.novelStudio .iconButton{background:#f3f1eb;border:1px solid rgba(72,67,57,.1);color:#555a52;padding:0;width:36px}.novelStudio .iconButton.danger{color:#a55448}.novelStudio .iconTextButton,.novelStudio .secondaryAction{background:#fffefa;border:1px solid rgba(72,67,57,.14);color:#4d524b}.novelStudio .primaryAction,.novelStudio .suggestedAction{background:#39443a;color:#fff}.novelStudio .repairButton{background:#c69d2f;color:#fff;width:100%}.novelStudio button:disabled{cursor:not-allowed;opacity:.48}.novelStageBar{align-items:stretch;background:#faf9f5;border-bottom:1px solid rgba(72,67,57,.1);display:flex;min-height:52px;overflow-x:auto;padding:0 16px}.novelStageBar button{align-items:center;background:transparent;border-bottom:2px solid transparent;color:#777871;display:inline-flex;flex:1;font-size:12px;font-weight:650;gap:7px;justify-content:center;min-width:128px;padding:0 12px}.novelStageBar button>span{align-items:center;background:#eceae3;border-radius:50%;color:#898981;display:inline-flex;font-size:9px;height:19px;justify-content:center;width:19px}.novelStageBar button.selected{border-bottom-color:#748268;color:#39443a}.novelStageBar button.selected>span{background:#748268;color:#fff}.novelControlStrip{background:#fffefa;border-bottom:1px solid rgba(72,67,57,.08);gap:10px;min-height:52px;padding:8px 20px}.novelControlStrip>label{align-items:center;color:#76776f;display:flex;font-size:11px;font-weight:650;gap:9px}.rangeInputs{align-items:center;display:flex;gap:5px}.rangeInputs input{height:31px;padding:0 6px;text-align:center;width:58px}.rangeInputs i{color:#aaa69c;font-size:10px;font-style:normal}.rangeSummary{color:#949188;font-size:11px}.suggestedAction{margin-left:auto}.novelNotice{align-items:center;background:#eef2e9;border-bottom:1px solid rgba(91,109,82,.14);color:#52604d;display:flex;font-size:12px;gap:7px;min-height:34px;padding:7px 20px}.novelStageContent{display:flex;flex:1;min-height:0}.sourcePanel,.breakdownLayout,.scriptsLayout{display:grid;min-height:660px;width:100%}.sourcePanel{grid-template-columns:276px minmax(0,1fr)}.sourceSidebar{border-right:1px solid rgba(72,67,57,.1);display:flex;flex-direction:column;min-width:0;padding:15px 12px}.panelSectionHeader{justify-content:space-between;margin-bottom:10px;padding:0 2px}.panelSectionHeader strong,.panelSectionHeader span{display:block}.panelSectionHeader strong{color:#383b36;font-size:13px}.panelSectionHeader span{color:#949189;font-size:10px;margin-top:3px}.chapterList{display:flex;flex:1;flex-direction:column;gap:3px;max-height:710px;overflow-y:auto}.chapterList>button:not(.chapterImportEmpty){align-items:center;background:transparent;border-left:2px solid transparent;color:#62645f;display:grid;gap:9px;grid-template-columns:28px minmax(0,1fr);min-height:47px;padding:6px 8px;text-align:left}.chapterList>button:not(.chapterImportEmpty)>span:first-child{color:#aaa69c;font-size:10px;font-variant-numeric:tabular-nums}.chapterList>button:not(.chapterImportEmpty)>span:last-child,.chapterList strong,.chapterList small{display:block;min-width:0}.chapterList strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapterList small{color:#a09d94;font-size:9px;margin-top:3px}.chapterList>button.selected{background:#f5f1e4;border-left-color:#c69d2f;color:#3c413a}.chapterImportEmpty{align-items:center;background:#faf8f1;border:1px dashed rgba(143,111,33,.24);border-radius:6px;color:#82744f;display:flex;flex-direction:column;gap:9px;justify-content:center;min-height:150px;padding:18px}.sourceEditor{display:flex;flex-direction:column;min-width:0;padding:15px 18px 18px}.sourceSettingsRow{align-items:end;display:grid;gap:10px;grid-template-columns:minmax(130px,.55fr) minmax(220px,1fr) auto;margin-bottom:12px}.sourceSettingsRow label,.revisionBox{color:#6e7069;display:grid;font-size:10px;font-weight:700;gap:5px}.sourceSettingsRow select{height:36px;min-width:0;padding:0 9px}.typeAnalysisResult{align-items:flex-start;background:#eef2e9;border:1px solid rgba(91,109,82,.14);border-radius:6px;color:#556150;display:flex;font-size:11px;gap:8px;line-height:1.55;margin-bottom:10px;padding:9px 10px}.typeAnalysisResult svg{flex:none;margin-top:1px}.chapterTitleInput{background:transparent!important;border:0!important;border-bottom:1px solid rgba(72,67,57,.1)!important;border-radius:0!important;font-size:15px;font-weight:700;height:42px;padding:0 4px!important}.chapterTextEditor,.artifactEditor,.reviewViewer{line-height:1.75;resize:vertical}.chapterTextEditor{flex:1;margin-top:10px;min-height:560px;padding:15px}.editorPlaceholder,.novelEmptyState,.novelAuthGate{align-items:center;color:#8d8c84;display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center;min-height:420px;text-align:center}.artifactPanel{display:flex;flex:1;flex-direction:column;min-height:660px;min-width:0;padding:18px 20px 20px;width:100%}.artifactHeader{gap:18px;justify-content:space-between;margin-bottom:13px}.artifactHeader strong{color:#343833;display:block;font-size:14px}.artifactHeader p{color:#8d8b84;font-size:11px;line-height:1.5;margin:4px 0 0;max-width:760px}.artifactEditor{flex:1;min-height:570px;padding:15px;-moz-tab-size:2;tab-size:2}.breakdownLayout,.scriptsLayout{grid-template-columns:minmax(0,1fr) 360px}.qualityPanel{background:#f7f5ef;border-left:1px solid rgba(72,67,57,.1);display:flex;flex-direction:column;min-width:0;padding:18px 16px}.qualityHeader{gap:8px;justify-content:space-between;margin-bottom:12px}.qualityHeader strong{color:#3c403a;font-size:13px}.qualityState{align-items:center;background:#f1eee5;border:1px solid rgba(143,111,33,.14);border-radius:6px;color:#837047;display:inline-flex;font-size:10px;font-weight:750;gap:5px;height:29px;padding:0 8px;white-space:nowrap}.qualityState.pass{background:#eaf0e5;border-color:#5b6d522b;color:#52614d}.reviewViewer{flex:1;min-height:390px;padding:12px}.legacyReviewHint{background:#fff7df;border:1px solid rgba(183,142,39,.2);border-radius:6px;color:#80682f;font-size:10px;line-height:1.55;margin-bottom:10px;padding:9px 10px}.episodeLedger{background:#ffffff9e;border:1px solid rgba(72,67,57,.11);border-radius:6px;margin-top:10px;overflow:hidden}.episodeLedger summary{color:#5d625a;cursor:pointer;font-size:11px;font-weight:750;padding:10px 11px}.episodeLedger pre{border-top:1px solid rgba(72,67,57,.08);color:#686b65;font-family:inherit;font-size:10px;line-height:1.55;margin:0;max-height:180px;overflow:auto;padding:10px 11px;white-space:pre-wrap}.revisionBox{margin:12px 0 9px}.revisionBox textarea{min-height:84px;padding:10px;resize:vertical}.scriptWorkspace{display:flex;flex-direction:column;min-width:0;padding:14px 20px 20px}.scriptToolbar{border-bottom:1px solid rgba(72,67,57,.09);gap:10px;min-height:44px;padding-bottom:10px}.scriptToolbar>label{align-items:center;color:#72746d;display:flex;font-size:10px;font-weight:700;gap:7px}.scriptToolbar input{height:31px;padding:0 6px;text-align:center;width:58px}.episodeQuickPick{display:flex;flex:1;gap:4px;overflow-x:auto;padding:2px}.episodeQuickPick button{background:#f0eee7;border-radius:5px;color:#777871;flex:none;font-size:9px;font-weight:700;height:27px;padding:0 8px}.episodeQuickPick button.selected{background:#667650;color:#fff}.scriptHeader{margin-top:12px}.scriptEditor{min-height:520px}.novelEmptyState h2,.novelAuthGate h2{color:#343832;font-size:21px;margin:3px 0 0}.novelEmptyState p,.novelAuthGate p{color:#86857d;font-size:12px;line-height:1.7;margin:0;max-width:450px}.novelAuthGate{background:#fffefaf0;border:1px solid rgba(72,67,57,.12);border-radius:8px;box-shadow:var(--shadow-soft);min-height:calc(100vh - 122px)}.novelAuthGate .primaryAction{background:#39443a;border-radius:6px;color:#fff;font-weight:700;height:38px;margin-top:6px;padding:0 16px}.novelStudio input:hover,.novelStudio select:hover,.novelStudio textarea:hover{border-color:#5b6d5257}.novelStudio input:focus,.novelStudio select:focus,.novelStudio textarea:focus{background:#fff;border-color:#5b6d529e;box-shadow:0 0 0 3px #5b6d5217}.spin{animation:novel-spin .8s linear infinite}@keyframes novel-spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.novelStudio{grid-template-columns:220px minmax(0,1fr)}.breakdownLayout,.scriptsLayout{grid-template-columns:minmax(0,1fr) 310px}.stageCost{display:none}.sourceSettingsRow{grid-template-columns:minmax(120px,.6fr) minmax(180px,1fr)}.sourceSettingsRow .secondaryAction{grid-column:1 / -1;justify-self:start}}@media(max-width:900px){.workspace:has(.novelStudio),.workspace:has(.novelAuthGate){padding-inline:12px}.novelStudio{grid-template-columns:1fr}.novelProjectRail{border-bottom:1px solid rgba(72,67,57,.1);border-right:0;padding:10px}.novelRailHeader{display:none}.newProjectForm{margin-bottom:8px;max-width:320px}.novelProjectList{flex-direction:row;min-height:0;overflow-x:auto}.novelProjectItem{flex:0 0 210px}.novelWorkspaceHeader{align-items:flex-start;gap:12px}.novelHeaderActions{flex-wrap:wrap;justify-content:flex-end}.sourcePanel{grid-template-columns:220px minmax(0,1fr)}.breakdownLayout,.scriptsLayout{grid-template-columns:1fr}.qualityPanel{border-left:0;border-top:1px solid rgba(72,67,57,.1);min-height:470px}.reviewViewer{min-height:300px}}@media(max-width:640px){.workspace:has(.novelStudio),.workspace:has(.novelAuthGate){padding-inline:8px}.novelStudio{min-height:calc(100vh - 132px)}.newProjectForm{max-width:none}.novelWorkspaceHeader{display:grid;padding:11px 13px}.novelTitleInput{width:100%}.novelHeaderActions{justify-content:flex-start}.novelStageBar{justify-content:flex-start;padding:0 8px}.novelStageBar button{flex:0 0 118px;min-width:118px}.novelControlStrip{align-items:flex-start;flex-wrap:wrap;padding:8px 12px}.suggestedAction{margin-left:0;width:100%}.sourcePanel{grid-template-columns:1fr}.sourceSidebar{border-bottom:1px solid rgba(72,67,57,.1);border-right:0}.chapterList{flex-direction:row;max-height:120px;overflow-x:auto}.chapterList>button:not(.chapterImportEmpty){flex:0 0 170px}.sourceSettingsRow{grid-template-columns:1fr}.sourceSettingsRow .secondaryAction{grid-column:auto}.chapterTextEditor{min-height:440px}.artifactPanel,.scriptWorkspace{padding:14px 12px}.artifactHeader,.scriptHeader{align-items:flex-start;flex-direction:column}.artifactHeader .primaryAction,.scriptActions,.scriptActions button{width:100%}.scriptActions{display:grid;grid-template-columns:1fr 1fr}.artifactEditor{min-height:500px}}html[data-theme=dark]{--app-bg: #07090d;--app-canvas: #090d13;--app-surface: #0d1117;--app-surface-raised: #121821;--app-surface-strong: #171f2a;--app-border: #222c38;--app-border-strong: #344354;--app-text: #f3f6fa;--app-muted: #98a5b5;--app-dim: #687686;--app-accent: #61e5d6;--app-accent-strong: #2fc7b8;--app-blue: #6f8cff;--app-gold: #d8aa32;--app-success: #3ddc97;--app-warning: #f3c95e;--app-danger: #ff6978;--app-shadow: 0 24px 64px rgba(0, 0, 0, .34);--accent: var(--app-accent);--accent-strong: var(--app-accent-strong);--brand-ink: var(--app-text);--brown: var(--app-text);--danger: var(--app-danger);--ink: var(--app-text);--line: var(--app-border);--line-strong: var(--app-border-strong);--muted: var(--app-muted);--olive: var(--app-accent);--page-bg: var(--app-bg);--surface: var(--app-surface);--surface-strong: var(--app-surface-raised);--shadow: var(--app-shadow);--shadow-soft: 0 12px 34px rgba(0, 0, 0, .22);background:var(--app-bg);color:var(--app-text);color-scheme:dark;font-family:Inter,HarmonyOS Sans SC,PingFang SC,Microsoft YaHei,Segoe UI,system-ui,sans-serif}html[data-theme=dark] body{background:var(--app-bg);color:var(--app-text)}html[data-theme=dark] *{letter-spacing:0;scrollbar-color:#344354 #0a0e14}html[data-theme=dark] ::selection{background:#61e5d642;color:#fff}html[data-theme=dark] button,html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{color-scheme:dark}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] textarea:focus-visible,html[data-theme=dark] summary:focus-visible{box-shadow:0 0 0 2px var(--app-accent)!important;outline:0}html[data-theme=dark] .appShell{background:transparent;color:var(--app-text);min-height:100vh;padding-bottom:32px}html[data-theme=dark] .appShell.page-generate{padding-bottom:250px}html[data-theme=dark] .appShell:before{background-color:var(--app-bg);background-image:linear-gradient(rgba(126,148,174,.038) 1px,transparent 1px),linear-gradient(90deg,rgba(126,148,174,.038) 1px,transparent 1px);background-size:48px 48px;content:"";top:0;right:0;bottom:0;left:0;opacity:1;pointer-events:none;position:fixed;z-index:-1}html[data-theme=dark] .topBar{align-items:stretch;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#090d13f0;border:0;border-right:1px solid var(--app-border);box-shadow:none;display:flex;flex-direction:column;gap:26px;height:100vh;left:0;min-height:0;padding:20px 14px 16px;position:fixed;top:0;width:224px;z-index:60}html[data-theme=dark] .brand{align-items:center;background:transparent;border:0;color:var(--app-text);display:flex;gap:11px;justify-content:flex-start;padding:3px 5px;text-align:left;width:100%}html[data-theme=dark] .brand:hover{filter:none;transform:none}html[data-theme=dark] .brandMark{background:#eef3f8;border:1px solid rgba(255,255,255,.12);border-radius:7px;box-shadow:0 0 0 1px #61e5d61a;height:38px;width:38px}html[data-theme=dark] .brandMark img{height:29px;width:29px}html[data-theme=dark] .brand strong{color:var(--app-text);font-size:15px;font-weight:760}html[data-theme=dark] .brand span{color:var(--app-dim);font-size:9px;font-weight:700;margin-top:3px}html[data-theme=dark] .topBar .modeSwitch{align-self:stretch;background:transparent;border:0;box-shadow:none;display:grid;gap:4px;justify-self:stretch;margin:0;padding:0;width:100%}html[data-theme=dark] .topBar .modeSwitch button{background:transparent;border:1px solid transparent;border-radius:6px;color:#8290a0;font-size:13px;font-weight:630;gap:10px;height:42px;justify-content:flex-start;padding:0 12px;position:relative;width:100%}html[data-theme=dark] .topBar .modeSwitch button:hover{background:#ffffff09;border-color:#ffffff0b;color:#d9e1ea;filter:none;transform:none}html[data-theme=dark] .topBar .modeSwitch button.selected{background:#121a23;border-color:#263442;box-shadow:none;color:var(--app-text)}html[data-theme=dark] .topBar .modeSwitch button.selected:before{background:var(--app-accent);border-radius:2px;content:"";height:18px;left:-1px;position:absolute;width:2px}html[data-theme=dark] .topBar .modeSwitch button.selected svg{color:var(--app-accent)}html[data-theme=dark] .topTools{align-items:stretch;display:flex;flex-direction:column;gap:9px;margin-top:auto;width:100%}html[data-theme=dark] .notificationButton{align-items:center;align-self:flex-end;background:#101720;border:1px solid var(--app-border);border-radius:6px;color:var(--app-muted);display:inline-flex;height:38px;justify-content:center;position:relative;width:38px}html[data-theme=dark] .notificationButton i{background:var(--app-accent);border:2px solid #101720;border-radius:50%;height:8px;position:absolute;right:7px;top:7px;width:8px}html[data-theme=dark] .keyBox,html[data-theme=dark] .topActionButton,html[data-theme=dark] .accountLoading,html[data-theme=dark] .accountMenu summary{background:#10161e;border:1px solid var(--app-border);box-shadow:none;color:var(--app-text)}html[data-theme=dark] .accountLoading{align-items:center;border-radius:7px;color:var(--app-muted);display:flex;font-size:11px;gap:8px;height:44px;justify-content:center;width:100%}html[data-theme=dark] .keyBox{width:100%}html[data-theme=dark] .keyBox input{color:var(--app-text);min-width:0;width:100%}html[data-theme=dark] .rememberKey{color:var(--app-muted)}html[data-theme=dark] .guestActions{display:grid;gap:6px;grid-template-columns:1fr 1fr}html[data-theme=dark] .guestActions .topActionButton{height:36px;justify-content:center;padding:0 8px}html[data-theme=dark] .guestActions .topActionButton.strong{background:var(--app-accent);border-color:var(--app-accent);color:#05221f;grid-column:1 / -1;font-weight:760}html[data-theme=dark] .accountMenu,html[data-theme=dark] .accountMenu summary{width:100%}html[data-theme=dark] .accountMenu summary{height:48px;padding:0 8px}html[data-theme=dark] .accountAvatar{background:#61e5d614;border-color:#61e5d63d;color:var(--app-accent)}html[data-theme=dark] .accountIdentity strong{color:var(--app-text)}html[data-theme=dark] .accountIdentity small{color:var(--app-gold)}html[data-theme=dark] .accountChevron{color:var(--app-muted);margin-left:auto}html[data-theme=dark] .accountMenuPopover{background:#111821;border:1px solid var(--app-border-strong);bottom:0;box-shadow:var(--app-shadow);left:calc(100% + 10px);min-width:210px;right:auto;top:auto}html[data-theme=dark] .accountBalanceRow{background:#d8aa3214;color:#b9a36a}html[data-theme=dark] .accountBalanceRow strong{color:var(--app-gold)}html[data-theme=dark] .accountMenuPopover button{color:#c9d2dc}html[data-theme=dark] .accountMenuPopover button:hover{background:#61e5d612;color:var(--app-text)}html[data-theme=dark] .workspace{margin:0 0 0 224px;max-width:none;min-height:100vh;padding:24px clamp(20px,3vw,44px) 28px;width:auto}html[data-theme=dark] .workspace.homeWorkspace{padding-top:0}html[data-theme=dark] .workspaceError{background:#ff697814;border-color:#ff697857;color:#ff9ca6}html[data-theme=dark] .workspaceError button{background:transparent;color:#ff9ca6}html[data-theme=dark] .homeDashboard{margin:0 auto;max-width:1440px;min-width:0}html[data-theme=dark] .homeLead{align-items:center;border-bottom:1px solid var(--app-border);display:grid;gap:clamp(36px,6vw,88px);grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);min-height:338px;padding:42px 6px 38px;position:relative}html[data-theme=dark] .homeLead:after{border-right:1px solid rgba(97,229,214,.12);border-top:1px solid rgba(97,229,214,.12);content:"";height:72px;position:absolute;right:0;top:0;width:72px}html[data-theme=dark] .systemStatus{align-items:center;color:#8291a0;display:inline-flex;font-size:10px;font-weight:800;gap:8px}html[data-theme=dark] .systemStatus i{background:var(--app-success);border-radius:50%;box-shadow:0 0 10px #3ddc978f;height:7px;width:7px}html[data-theme=dark] .homeGreeting{color:var(--app-muted);font-size:13px;margin:24px 0 6px}html[data-theme=dark] .homeLead h1{color:var(--app-text);font-size:clamp(30px,3.2vw,46px);font-weight:760;line-height:1.16;margin:0;max-width:720px}html[data-theme=dark] .homeLeadSummary{color:var(--app-muted);font-size:14px;line-height:1.7;margin:15px 0 0}html[data-theme=dark] .homeLeadActions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}html[data-theme=dark] .homeLeadActions button{align-items:center;border-radius:6px;display:inline-flex;font-size:13px;font-weight:720;gap:9px;height:44px;justify-content:center;padding:0 16px}html[data-theme=dark] .homePrimaryAction{background:var(--app-accent);color:#06231f}html[data-theme=dark] .homePrimaryAction svg:last-child{margin-left:6px}html[data-theme=dark] .homeSecondaryAction{background:#111820;border:1px solid var(--app-border-strong);color:#dbe3eb}html[data-theme=dark] .homeFlowPanel{border-left:1px solid var(--app-border);min-width:0;padding:8px 0 8px clamp(26px,4vw,48px)}html[data-theme=dark] .homeFlowHeader{align-items:center;color:var(--app-muted);display:flex;font-size:12px;justify-content:space-between}html[data-theme=dark] .homeFlowHeader strong{color:var(--app-accent);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px}html[data-theme=dark] .homeFlowTrack,html[data-theme=dark] .spaceProgress{background:#1a2430;height:3px;overflow:hidden;width:100%}html[data-theme=dark] .homeFlowTrack{margin:13px 0 24px}html[data-theme=dark] .homeFlowTrack span,html[data-theme=dark] .spaceProgress span{background:var(--app-accent);display:block;height:100%}html[data-theme=dark] .homeFlowSteps{display:grid;gap:18px}html[data-theme=dark] .homeFlowStep{align-items:center;color:#5d6c7b;display:grid;gap:12px;grid-template-columns:18px 1fr}html[data-theme=dark] .homeFlowStep.complete{color:var(--app-success)}html[data-theme=dark] .homeFlowStep span,html[data-theme=dark] .homeFlowStep strong,html[data-theme=dark] .homeFlowStep small{display:block}html[data-theme=dark] .homeFlowStep strong{color:#dce4ed;font-size:13px;font-weight:680}html[data-theme=dark] .homeFlowStep small{color:var(--app-dim);font-size:11px;margin-top:3px}html[data-theme=dark] .homeStatsBand{border-bottom:1px solid var(--app-border);display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}html[data-theme=dark] .homeStatsBand>div{border-right:1px solid var(--app-border);display:grid;min-height:116px;padding:22px 24px}html[data-theme=dark] .homeStatsBand>div:first-child{padding-left:6px}html[data-theme=dark] .homeStatsBand>div:last-child{border-right:0}html[data-theme=dark] .homeStatsBand span{color:var(--app-muted);font-size:12px}html[data-theme=dark] .homeStatsBand strong{color:var(--app-text);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:26px;font-weight:650;margin-top:6px}html[data-theme=dark] .homeStatsBand small{align-self:end;color:#718092;font-size:9px;font-weight:800}html[data-theme=dark] .homeSection,html[data-theme=dark] .homeActivity{padding:34px 0 0}html[data-theme=dark] .homeSectionHeader{align-items:end;display:flex;justify-content:space-between;margin-bottom:17px}html[data-theme=dark] .homeSectionHeader span{color:var(--app-dim);font-size:9px;font-weight:820}html[data-theme=dark] .homeSectionHeader h2{color:var(--app-text);font-size:20px;margin:4px 0 0}html[data-theme=dark] .homeSectionHeader p{color:var(--app-muted);font-size:12px;margin:0}html[data-theme=dark] .homeSectionHeader>button{align-items:center;background:transparent;color:var(--app-muted);display:inline-flex;font-size:12px;gap:6px}html[data-theme=dark] .creationSpaceGrid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}html[data-theme=dark] .creationSpaceCard{background:var(--app-surface);border:1px solid var(--app-border);border-radius:8px;display:grid;gap:24px;min-height:246px;padding:20px;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}html[data-theme=dark] .creationSpaceCard:hover{background:#10161e;border-color:var(--app-border-strong);transform:translateY(-2px)}html[data-theme=dark] .creationSpaceCard.storyboardSpace{border-top-color:#61e5d6a6}html[data-theme=dark] .creationSpaceCard.novelSpace{border-top-color:#6f8cffa6}html[data-theme=dark] .creationSpaceCard.generateSpace{border-top-color:#d8aa32a6}html[data-theme=dark] .creationSpaceTop{align-items:center;display:flex;justify-content:space-between}html[data-theme=dark] .creationSpaceIcon{align-items:center;background:#151e28;border:1px solid #263340;border-radius:6px;color:var(--app-accent);display:inline-flex;height:40px;justify-content:center;width:40px}html[data-theme=dark] .novelSpace .creationSpaceIcon{color:var(--app-blue)}html[data-theme=dark] .generateSpace .creationSpaceIcon{color:var(--app-gold)}html[data-theme=dark] .spaceCode{color:#718092;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;font-weight:700}html[data-theme=dark] .creationSpaceCard h3{color:var(--app-text);font-size:17px;margin:0}html[data-theme=dark] .creationSpaceCard p{color:var(--app-muted);font-size:12px;line-height:1.55;margin:6px 0 0}html[data-theme=dark] .spaceSignal{align-items:end;display:flex;gap:4px;height:14px}html[data-theme=dark] .spaceSignal i{background:#263342;display:block;height:5px;width:18%}html[data-theme=dark] .spaceSignal i:nth-child(2){height:9px}html[data-theme=dark] .spaceSignal i:nth-child(3){background:var(--app-blue);height:14px}html[data-theme=dark] .generateSpace .spaceSignal i:nth-child(3){background:var(--app-gold)}html[data-theme=dark] .creationSpaceCard>button{align-items:center;align-self:end;background:transparent;border-top:1px solid var(--app-border);color:#c7d0da;display:flex;font-size:12px;font-weight:680;justify-content:space-between;padding:14px 0 0;text-align:left;width:100%}html[data-theme=dark] .homeActivity{padding-bottom:22px}html[data-theme=dark] .recentJobList{border-bottom:1px solid var(--app-border);border-top:1px solid var(--app-border)}html[data-theme=dark] .recentJobRow{align-items:center;background:transparent;border-bottom:1px solid rgba(34,44,56,.75);color:var(--app-text);display:grid;gap:12px;grid-template-columns:34px minmax(0,1fr) auto 18px;min-height:67px;padding:10px 8px;text-align:left;width:100%}html[data-theme=dark] .recentJobRow:last-child{border-bottom:0}html[data-theme=dark] .recentJobRow:hover{background:#ffffff06;filter:none;transform:none}html[data-theme=dark] .recentJobStatus{align-items:center;background:#141c25;border:1px solid #263340;border-radius:6px;color:var(--app-blue);display:flex;height:32px;justify-content:center;width:32px}html[data-theme=dark] .recentJobStatus.success{color:var(--app-success)}html[data-theme=dark] .recentJobStatus.failed{color:var(--app-danger)}html[data-theme=dark] .recentJobCopy,html[data-theme=dark] .recentJobCopy strong,html[data-theme=dark] .recentJobCopy small{display:block;min-width:0}html[data-theme=dark] .recentJobCopy strong{color:#dce4ed;font-size:12px;font-weight:620;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-theme=dark] .recentJobCopy small{color:var(--app-dim);font-size:10px;margin-top:4px}html[data-theme=dark] .recentJobBadge{color:var(--app-blue);font-size:10px;font-weight:720}html[data-theme=dark] .recentJobBadge.success{color:var(--app-success)}html[data-theme=dark] .recentJobBadge.failed{color:var(--app-danger)}html[data-theme=dark] .homeEmptyActivity{align-items:center;border-bottom:1px solid var(--app-border);border-top:1px solid var(--app-border);color:var(--app-muted);display:grid;gap:12px;grid-template-columns:24px minmax(0,1fr) auto;min-height:76px;padding:12px 8px}html[data-theme=dark] .homeEmptyActivity strong,html[data-theme=dark] .homeEmptyActivity small{display:block}html[data-theme=dark] .homeEmptyActivity strong{color:#dce4ed;font-size:12px}html[data-theme=dark] .homeEmptyActivity small{color:var(--app-dim);font-size:10px;margin-top:4px}html[data-theme=dark] .homeEmptyActivity button,html[data-theme=dark] .homeAdminLine button{background:#141c25;border:1px solid var(--app-border);border-radius:6px;color:#cbd5df;height:34px;padding:0 11px}html[data-theme=dark] .homeAdminLine{align-items:center;color:var(--app-muted);display:flex;font-size:11px;gap:8px;justify-content:flex-end;padding-top:14px}html[data-theme=dark] .homeAdminLine span{align-items:center;display:inline-flex;gap:7px;margin-right:auto}html[data-theme=dark] .homeAdminLine i{background:var(--app-success);border-radius:50%;height:6px;width:6px}html[data-theme=dark] .pairWorkbenchHeader,html[data-theme=dark] .promptPair,html[data-theme=dark] .pairSidebar,html[data-theme=dark] .settingsPanel,html[data-theme=dark] .usageHeader,html[data-theme=dark] .usageRecord,html[data-theme=dark] .emptyUsage,html[data-theme=dark] .inferenceToolbar,html[data-theme=dark] .inferenceInputPanel,html[data-theme=dark] .inferenceOutputPanel{background:#0d1117f5;border:1px solid var(--app-border);box-shadow:0 12px 34px #0000002e}html[data-theme=dark] .pairWorkbenchHeader{padding:11px 12px}html[data-theme=dark] .storyboardOverview,html[data-theme=dark] .pairHeaderTools{background:transparent;border:0;box-shadow:none}html[data-theme=dark] .storyboardTotal,html[data-theme=dark] .storyboardProgressLabel,html[data-theme=dark] .pairSidebarHeader,html[data-theme=dark] .sidebarSectionLabel,html[data-theme=dark] .rangeControl,html[data-theme=dark] .compactField,html[data-theme=dark] .promptPair label,html[data-theme=dark] .paginationPosition,html[data-theme=dark] .pairPagination label,html[data-theme=dark] .usageHeader span,html[data-theme=dark] .usageRecordTop span,html[data-theme=dark] .modalHint{color:var(--app-muted)}html[data-theme=dark] .storyboardTotal strong,html[data-theme=dark] .pairSidebarHeader strong,html[data-theme=dark] .settingsSectionTitle,html[data-theme=dark] .adminSectionTitle,html[data-theme=dark] .usageHeader strong,html[data-theme=dark] .usageRecordTop strong,html[data-theme=dark] .outputHeader strong,html[data-theme=dark] .paginationPosition strong{color:var(--app-text)}html[data-theme=dark] .storyboardProgressLabel strong{color:var(--app-accent)}html[data-theme=dark] .storyboardProgressTrack,html[data-theme=dark] .pairPagination{background:#111821;border-color:var(--app-border)}html[data-theme=dark] .storyboardProgressTrack span{background:var(--app-accent)}html[data-theme=dark] .storyboardSearch,html[data-theme=dark] .storyboardJump,html[data-theme=dark] .promptPair textarea,html[data-theme=dark] .rangeControl input,html[data-theme=dark] .rangeControl select,html[data-theme=dark] .compactField input,html[data-theme=dark] .compactField select,html[data-theme=dark] .inferenceOptions input,html[data-theme=dark] .settingsWorkbench .inputRow textarea,html[data-theme=dark] .settingsWorkbench .templateTextarea,html[data-theme=dark] .adminModal input,html[data-theme=dark] .adminModal textarea{background:#0a0f15;border-color:var(--app-border);box-shadow:none;color:#dfe7ef}html[data-theme=dark] .storyboardSearch input,html[data-theme=dark] .storyboardJump input,html[data-theme=dark] .promptPair textarea::placeholder,html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#5d6b7a}html[data-theme=dark] .storyboardSearch:focus-within,html[data-theme=dark] .storyboardJump:focus-within,html[data-theme=dark] .promptPair textarea:focus,html[data-theme=dark] .settingsWorkbench .templateTextarea:focus{background:#0b1118;border-color:#61e5d694;box-shadow:0 0 0 2px #61e5d621}html[data-theme=dark] .promptPair:hover{border-color:#334354;box-shadow:0 16px 40px #00000038;transform:none}html[data-theme=dark] .pairIndex{background:#61e5d614;border-color:#61e5d638;color:var(--app-accent)}html[data-theme=dark] .pairState.complete,html[data-theme=dark] .pairImportStatus.success{background:#3ddc9714;border-color:#3ddc9738;color:var(--app-success)}html[data-theme=dark] .pairState.pending{background:#98a5b50f;border-color:var(--app-border);color:var(--app-muted)}html[data-theme=dark] .pairActions button:not(.copyPromptButton),html[data-theme=dark] .inferAllButton,html[data-theme=dark] .templateSaveButton,html[data-theme=dark] .storyboardJump button,html[data-theme=dark] .inferenceActions .primaryAction,html[data-theme=dark] .submitButton:not(:disabled){background:var(--app-accent);border-color:var(--app-accent);box-shadow:none;color:#05231f}html[data-theme=dark] .pairActions .copyPromptButton,html[data-theme=dark] .exportPromptsButton,html[data-theme=dark] .templateHeader button,html[data-theme=dark] .inferenceActions button,html[data-theme=dark] .outputActions button,html[data-theme=dark] .panelActions button,html[data-theme=dark] .pairPagination>button{background:#141c25;border-color:var(--app-border);color:#cbd5df}html[data-theme=dark] .pairActions .copyPromptButton.copied,html[data-theme=dark] .importDocumentButton{background:#3ddc9714;border-color:#3ddc9738;color:var(--app-success)}html[data-theme=dark] .copiedPromptDot{background:var(--app-success);box-shadow:0 0 8px #3ddc979e}html[data-theme=dark] .addPairButton{background:var(--app-blue);color:#080d1a}html[data-theme=dark] .sidebarCostNote,html[data-theme=dark] .costPill,html[data-theme=dark] .stageCost{background:#d8aa3214;border-color:#d8aa323d;color:var(--app-gold)!important}html[data-theme=dark] .clearStoryboardButton,html[data-theme=dark] .pairImportStatus.failed,html[data-theme=dark] .sidebarErrorNote{background:#ff697814;border-color:#ff69783d;color:var(--app-danger)}html[data-theme=dark] .pairSidebar{top:24px}html[data-theme=dark] .sidebarDangerZone{border-color:#ff69782e}html[data-theme=dark] .sidebarDangerZone summary{color:#e78791}html[data-theme=dark] .usageRecord details{border-color:var(--app-border)}html[data-theme=dark] .usageRecord summary{background:#111821;color:#d7e0e9}html[data-theme=dark] .usageRecord summary button{background:#1a2430;color:#cbd5df}html[data-theme=dark] .usageRecord pre,html[data-theme=dark] .usageOutput pre{background:#070a0f;border-top:1px solid var(--app-border);color:#c6f5ef}html[data-theme=dark] .recordStatus.success{background:#3ddc9717;color:var(--app-success)}html[data-theme=dark] .recordStatus.failed{background:#ff697817;color:var(--app-danger)}html[data-theme=dark] .hero h1,html[data-theme=dark] .jobPrompt,html[data-theme=dark] .payloadBlock p{color:var(--app-text)}html[data-theme=dark] .emptyStage,html[data-theme=dark] .jobCard,html[data-theme=dark] .pendingPreview,html[data-theme=dark] .videoPreview,html[data-theme=dark] .imageResultGrid,html[data-theme=dark] .payloadBlock{background:var(--app-surface);border-color:var(--app-border);box-shadow:none}html[data-theme=dark] .emptyStage,html[data-theme=dark] .jobMeta,html[data-theme=dark] .jobStatusLine,html[data-theme=dark] .generatingCopy span{color:var(--app-muted)}html[data-theme=dark] .jobFilters{scrollbar-width:thin}html[data-theme=dark] .jobFilters button,html[data-theme=dark] .jobActions button,html[data-theme=dark] .resultActions button{background:#111821;border-color:var(--app-border);color:#c7d1db}html[data-theme=dark] .jobFilters .breadcrumbButton{background:#61e5d614;border-color:#61e5d63d;color:var(--app-accent)}html[data-theme=dark] .pendingPreview.failed,html[data-theme=dark] .formError{background:#ff697812;border-color:#ff697838;color:var(--app-danger)}html[data-theme=dark] .composerWrap{left:calc(50% + 112px);width:min(1060px,calc(100vw - 272px))}html[data-theme=dark] .composer{background:#0d1219f7;border:1px solid #2b3948;border-radius:8px;box-shadow:0 28px 80px #0000007a}html[data-theme=dark] .addTile,html[data-theme=dark] .referenceChip,html[data-theme=dark] .thumbButton,html[data-theme=dark] .linkAdd,html[data-theme=dark] .selectControl,html[data-theme=dark] .audioToggle,html[data-theme=dark] .iconText{background:#141c25;border-color:var(--app-border);color:var(--app-muted)}html[data-theme=dark] .addTile{transform:rotate(-3deg)}html[data-theme=dark] .smallAdd{background:#61e5d614;color:var(--app-accent)}html[data-theme=dark] .composer textarea,html[data-theme=dark] .refFields input{color:var(--app-text)}html[data-theme=dark] .composer textarea::placeholder,html[data-theme=dark] .refFields span,html[data-theme=dark] .remoteInput::placeholder{color:#5e6d7d}html[data-theme=dark] .submitButton:not(:disabled){border-radius:6px}html[data-theme=dark] .novelStudio,html[data-theme=dark] .novelAuthGate{background:#0d1117f7;border-color:var(--app-border);box-shadow:0 18px 56px #00000042}html[data-theme=dark] .novelProjectRail,html[data-theme=dark] .sourceSidebar{background:#090e14;border-color:var(--app-border)}html[data-theme=dark] .novelWorkspaceHeader,html[data-theme=dark] .novelStageBar,html[data-theme=dark] .novelControlStrip,html[data-theme=dark] .sourcePanel,html[data-theme=dark] .artifactPanel,html[data-theme=dark] .qualityPanel,html[data-theme=dark] .scriptWorkspace{background:#0d1219;border-color:var(--app-border)}html[data-theme=dark] .novelRailHeader strong,html[data-theme=dark] .novelTitleInput,html[data-theme=dark] .panelSectionHeader strong,html[data-theme=dark] .artifactHeader strong,html[data-theme=dark] .qualityHeader strong,html[data-theme=dark] .scriptHeader,html[data-theme=dark] .novelEmptyState h2,html[data-theme=dark] .novelAuthGate h2{color:var(--app-text)!important}html[data-theme=dark] .novelRailHeader .eyebrow,html[data-theme=dark] .novelMetaLine,html[data-theme=dark] .projectCopy small,html[data-theme=dark] .railEmpty,html[data-theme=dark] .panelSectionHeader span,html[data-theme=dark] .artifactHeader p,html[data-theme=dark] .novelEmptyState p,html[data-theme=dark] .novelAuthGate p,html[data-theme=dark] .rangeSummary,html[data-theme=dark] .legacyReviewHint{color:var(--app-muted)}html[data-theme=dark] .railCount,html[data-theme=dark] .novelProjectItem.selected,html[data-theme=dark] .chapterList>button:not(.chapterImportEmpty),html[data-theme=dark] .episodeQuickPick button,html[data-theme=dark] .revisionBox,html[data-theme=dark] .typeAnalysisResult,html[data-theme=dark] .episodeLedger{background:#111821;border-color:var(--app-border);color:#cbd5df}html[data-theme=dark] .novelProjectItem{color:var(--app-muted)}html[data-theme=dark] .novelProjectItem:hover{background:#ffffff08}html[data-theme=dark] .novelProjectItem.selected,html[data-theme=dark] .chapterList>button.selected,html[data-theme=dark] .episodeQuickPick button.selected{background:#61e5d612;border-color:#61e5d642;color:var(--app-text)}html[data-theme=dark] .projectIcon,html[data-theme=dark] .novelStageBar button.selected>span,html[data-theme=dark] .statusDot{background:#61e5d61a;border-color:#61e5d633;color:var(--app-accent)}html[data-theme=dark] .novelStageBar button{color:var(--app-muted)}html[data-theme=dark] .novelStageBar button.selected{border-bottom-color:var(--app-accent);color:var(--app-text)}html[data-theme=dark] .novelStudio input,html[data-theme=dark] .novelStudio select,html[data-theme=dark] .novelStudio textarea{background:#090e14!important;border-color:var(--app-border)!important;color:#dce5ee!important}html[data-theme=dark] .novelTitleInput{background:transparent!important;border:0!important}html[data-theme=dark] .novelStudio input:hover,html[data-theme=dark] .novelStudio select:hover,html[data-theme=dark] .novelStudio textarea:hover,html[data-theme=dark] .novelStudio input:focus,html[data-theme=dark] .novelStudio select:focus,html[data-theme=dark] .novelStudio textarea:focus{border-color:#61e5d680!important}html[data-theme=dark] .novelStudio .primaryAction,html[data-theme=dark] .novelStudio .suggestedAction,html[data-theme=dark] .newProjectForm button{background:var(--app-accent);color:#05231f}html[data-theme=dark] .novelStudio .iconButton,html[data-theme=dark] .novelStudio .iconTextButton,html[data-theme=dark] .novelStudio .secondaryAction{background:#141c25;border-color:var(--app-border);color:#cbd5df}html[data-theme=dark] .novelStudio .repairButton{background:#ff697814;color:var(--app-danger)}html[data-theme=dark] .modalBackdrop,html[data-theme=dark] .confirmationBackdrop,html[data-theme=dark] .announcementBackdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#030609c7}html[data-theme=dark] .authModal,html[data-theme=dark] .urlModal,html[data-theme=dark] .adminModal,html[data-theme=dark] .announcementModal,html[data-theme=dark] .confirmationModal{background:#10161e;border:1px solid var(--app-border-strong);box-shadow:0 30px 90px #0000008f;color:var(--app-text)}html[data-theme=dark] .modalHeader,html[data-theme=dark] .announcementHeader{background:#111821;border-color:var(--app-border);color:var(--app-text)}html[data-theme=dark] .announcementHeader{background:#121b24}html[data-theme=dark] .announcementBody,html[data-theme=dark] .confirmationContent p{color:var(--app-muted)}html[data-theme=dark] .confirmationContent strong{color:var(--app-text)}html[data-theme=dark] .confirmationIcon{background:#f3c95e14;border-color:#f3c95e38;color:var(--app-warning)}html[data-theme=dark] .confirmationCancel,html[data-theme=dark] .modalActions button:first-child{background:#161f29;border-color:var(--app-border);color:#c9d2dc}html[data-theme=dark] .confirmationSubmit,html[data-theme=dark] .modalActions button:last-child,html[data-theme=dark] .announcementModal .modalActions button{background:var(--app-accent);border-color:var(--app-accent);color:#05231f}@media(max-width:1180px){html[data-theme=dark] .homeLead{gap:34px;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr)}html[data-theme=dark] .creationSpaceCard{padding:17px}}@media(min-width:901px)and (max-width:1450px){html[data-theme=dark] .novelStudio,html[data-theme=dark] .sourcePanel{grid-template-columns:220px minmax(0,1fr)}html[data-theme=dark] .sourceSettingsRow{grid-template-columns:minmax(130px,.58fr) minmax(200px,1fr)}html[data-theme=dark] .sourceSettingsRow .secondaryAction{grid-column:1 / -1;justify-self:start}html[data-theme=dark] .stageCost{display:none}}@media(max-width:900px){html[data-theme=dark] .appShell{padding-bottom:82px}html[data-theme=dark] .appShell.page-generate{padding-bottom:370px}html[data-theme=dark] .topBar{align-items:center;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid var(--app-border);border-right:0;display:flex;flex-direction:row;gap:10px;height:64px;min-height:64px;padding:8px 12px;position:sticky;width:auto}html[data-theme=dark] .brand{padding:0;width:auto}html[data-theme=dark] .brandMark{height:34px;width:34px}html[data-theme=dark] .brandMark img{height:26px;width:26px}html[data-theme=dark] .brand span{display:none}html[data-theme=dark] .topBar .modeSwitch{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#090d13f5;border-top:1px solid var(--app-border);bottom:0;display:grid;gap:4px;grid-column:auto;grid-row:auto;grid-template-columns:repeat(4,minmax(0,1fr));left:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));position:fixed;right:0;width:auto;z-index:80}html[data-theme=dark] .topBar .modeSwitch button{flex-direction:column;font-size:10px;gap:3px;height:52px;justify-content:center;min-width:0;padding:0 4px}html[data-theme=dark] .topBar .modeSwitch button.selected:before{bottom:-1px;height:2px;left:24%;width:52%}html[data-theme=dark] .topTools{align-items:center;flex-direction:row;gap:7px;margin-left:auto;margin-top:0;width:auto}html[data-theme=dark] .notificationButton{align-self:center}html[data-theme=dark] .accountMenu,html[data-theme=dark] .accountMenu summary{width:auto}html[data-theme=dark] .accountMenuPopover{bottom:auto;left:auto;right:0;top:calc(100% + 8px)}html[data-theme=dark] .guestActions{display:flex}html[data-theme=dark] .guestActions .topActionButton.strong{grid-column:auto}html[data-theme=dark] .workspace,html[data-theme=dark] .workspace.homeWorkspace{margin-left:0;min-height:calc(100vh - 64px);padding:16px 14px 24px}html[data-theme=dark] .workspace.homeWorkspace{padding-top:0}html[data-theme=dark] .homeLead{gap:28px;grid-template-columns:1fr;min-height:0;padding:32px 0 28px}html[data-theme=dark] .homeFlowPanel{border-left:0;border-top:1px solid var(--app-border);padding:24px 0 0}html[data-theme=dark] .homeStatsBand>div:first-child{padding-left:16px}html[data-theme=dark] .creationSpaceGrid{grid-template-columns:repeat(3,minmax(190px,1fr));overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory}html[data-theme=dark] .creationSpaceCard{scroll-snap-align:start}html[data-theme=dark] .pairSidebar{top:72px}html[data-theme=dark] .composerWrap{bottom:72px;left:50%;max-width:none;width:calc(100vw - 20px)}html[data-theme=dark] .composer{gap:10px;max-height:calc(100vh - 154px);min-height:0;overflow-y:auto;padding:12px}html[data-theme=dark] .composer textarea{font-size:14px;max-height:116px;min-height:58px}html[data-theme=dark] .addTile{height:70px;transform:none}html[data-theme=dark] .jobFilters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}html[data-theme=dark] .jobFilters button{flex:0 0 auto}}@media(max-width:640px){html[data-theme=dark] .topBar{min-height:60px}html[data-theme=dark] .brand strong{font-size:14px}html[data-theme=dark] .accountIdentity{min-width:0}html[data-theme=dark] .accountIdentity small,html[data-theme=dark] .accountChevron{display:none}html[data-theme=dark] .accountMenu summary{height:38px;padding:0 6px}html[data-theme=dark] .guestActions{gap:4px}html[data-theme=dark] .guestActions .topActionButton{font-size:11px;height:32px;padding:0 7px}html[data-theme=dark] .notificationButton{height:36px;width:36px}html[data-theme=dark] .workspace,html[data-theme=dark] .workspace.homeWorkspace{padding-inline:11px}html[data-theme=dark] .homeLead h1{font-size:30px}html[data-theme=dark] .homeLeadActions button{flex:1 1 auto}html[data-theme=dark] .homeStatsBand{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme=dark] .homeStatsBand>div{border-bottom:1px solid var(--app-border);min-height:96px;padding:16px}html[data-theme=dark] .homeStatsBand>div:nth-child(2){border-right:0}html[data-theme=dark] .homeStatsBand>div:nth-child(3),html[data-theme=dark] .homeStatsBand>div:nth-child(4){border-bottom:0}html[data-theme=dark] .homeStatsBand strong{font-size:22px}html[data-theme=dark] .homeSectionHeader p{display:none}html[data-theme=dark] .recentJobRow{grid-template-columns:32px minmax(0,1fr) 16px}html[data-theme=dark] .recentJobBadge{display:none}html[data-theme=dark] .homeEmptyActivity{grid-template-columns:22px minmax(0,1fr)}html[data-theme=dark] .homeEmptyActivity button{grid-column:2;justify-self:start}html[data-theme=dark] .homeAdminLine{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}html[data-theme=dark] .homeAdminLine span{grid-column:1 / -1}html[data-theme=dark] .pairWorkbenchHeader{padding:9px}html[data-theme=dark] .promptPair,html[data-theme=dark] .pairSidebar{padding:11px}html[data-theme=dark] .composer{flex-direction:column}html[data-theme=dark] .addTile{align-self:stretch;flex-direction:row;height:38px;width:100%}html[data-theme=dark] .composerFooter{align-items:stretch;gap:8px}html[data-theme=dark] .leftControls{flex-wrap:nowrap;overflow-x:auto}html[data-theme=dark] .rightControls{flex:0 0 auto}}@media(prefers-reduced-motion:reduce){html[data-theme=dark] *,html[data-theme=dark] *:before,html[data-theme=dark] *:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
