.theater-backdrop{position:fixed;inset:0;z-index:60;background:rgba(14,10,6,.56);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:grid;place-items:stretch;padding:18px;animation:theater-fade-in .26s var(--ease-soft,ease-out)}@keyframes theater-fade-in{0%{opacity:0}to{opacity:1}}.theater-shell{width:100%;max-width:1480px;margin:0 auto;background:var(--bg-app,#1C1813);color:var(--ink-800,#DCCFB8);border-radius:20px;box-shadow:0 20px 60px -20px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.06),inset 0 1px 0 rgba(255,255,255,.04);display:flex;flex-direction:column;overflow:hidden;position:relative;animation:theater-slide-in .35s cubic-bezier(.16,1,.3,1)}.theater-shell .theater-cat{position:absolute;left:12px;bottom:6px;right:auto;z-index:6}@keyframes theater-slide-in{0%{transform:translateY(18px) scale(.985);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.theater-head{display:flex;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg,rgba(110,91,250,.05),transparent)}.theater-head-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0;flex-wrap:wrap}.theater-head-right{display:flex;align-items:center;gap:16px;flex-shrink:0}.theater-live-dot{width:8px;height:8px;border-radius:999px;background:#6E5BFA;box-shadow:0 0 0 4px rgba(110,91,250,.25);animation:theater-pulse 1.5s ease-in-out infinite}@keyframes theater-pulse{0%,to{box-shadow:0 0 0 0 rgba(110,91,250,.45)}50%{box-shadow:0 0 0 6px transparent}}.theater-status{font-weight:700;color:#C8C2FF}.theater-sep{color:rgba(255,255,255,.25)}.theater-book{color:var(--ink-900,#ECE3D2);font-weight:600}.theater-stage{color:#8A8AA8;font-size:13px}.theater-agent{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:color-mix(in srgb,var(--c,#6E5BFA) 18%,transparent);color:color-mix(in srgb,var(--c,#6E5BFA) 80%,white);font-size:12.5px;font-weight:600;border:1px solid color-mix(in srgb,var(--c,#6e5bfa) 35%,transparent)}.theater-agent-dot{width:6px;height:6px;border-radius:999px;background:var(--c,#6E5BFA);box-shadow:0 0 6px var(--c,#6E5BFA)}.theater-stat{display:flex;flex-direction:column;font-family:var(--font-num);text-align:right;min-width:56px}.theater-stat-k{font-size:10px;color:#6A6A85;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.theater-stat-v{font-size:16px;color:var(--ink-900,#ECE3D2);font-weight:700;line-height:1.1;margin-top:2px}.theater-stat-v small{font-size:10px;color:#8A8AA8;font-weight:400;margin-left:2px}.theater-stat-batch .theater-stat-v{color:var(--brand-300,#B9A8FF)}.theater-icon-btn{width:32px;height:32px;display:grid;place-items:center;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#C5C5D2;border-radius:var(--r-md,10px);cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .15s}.theater-icon-btn:hover{background:rgba(255,255,255,.1);color:white;border-color:rgba(255,255,255,.18)}.theater-icon-btn:active{transform:scale(.94)}.theater-stop-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;font-size:13px;font-weight:600;color:#FFD9A8;background:rgba(240,138,75,.12);border:1px solid rgba(240,138,75,.35);border-radius:var(--r-md,10px);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,transform .15s}.theater-stop-btn:hover{background:rgba(240,138,75,.2);color:#FFE9D2;border-color:rgba(240,138,75,.55)}.theater-stop-btn:active{transform:scale(.96)}.theater-stop-btn:disabled{opacity:.6;cursor:default}.theater-stop-btn.confirm{color:#fff;background:#E04848;border-color:#E04848;animation:theater-stop-pulse 1.2s ease-in-out infinite}@keyframes theater-stop-pulse{0%,to{box-shadow:0 0 0 0 rgba(224,72,72,.5)}50%{box-shadow:0 0 0 5px rgba(224,72,72,0)}}:where(html:not(.dark)) .theater-stop-btn{color:#B45309;background:rgba(240,138,75,.14);border-color:rgba(240,138,75,.4)}:where(html:not(.dark)) .theater-stop-btn:hover{background:rgba(240,138,75,.22);color:#92400E}:where(html:not(.dark)) .theater-stop-btn.confirm{color:#fff;background:#E04848;border-color:#E04848}.theater-pipeline{display:flex;align-items:stretch;gap:0;padding:12px 20px;background:rgba(255,255,255,.02);border-bottom:1px solid rgba(255,255,255,.06);overflow-x:auto}.theater-pipeline::-webkit-scrollbar{height:4px}.theater-pipeline::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1);border-radius:2px}.theater-pipeline .pl-step{display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:8px;flex-shrink:0;font-family:var(--font-sans-cj,var(--font-sans-ui));transition:background .15s,transform .15s}.theater-pipeline .pl-num{width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-family:var(--font-num);font-size:11.5px;font-weight:800;flex-shrink:0;font-variant-numeric:tabular-nums;transition:background .25s,color .25s,box-shadow .25s,transform .25s}.theater-pipeline .pl-info{display:flex;flex-direction:column;line-height:1.15;min-width:0}.theater-pipeline .pl-info b{font-size:13px;font-weight:600;color:var(--ink-800,#DCCFB8);letter-spacing:.01em}.theater-pipeline .pl-info em{font-style:normal;font-size:10px;font-weight:600;color:#6A6A85;margin-top:3px;letter-spacing:.1em;text-transform:none}.theater-pipeline .pl-step.pl-pending .pl-num{background:rgba(255,255,255,.06);color:#6A6A85;border:1px solid rgba(255,255,255,.1)}.theater-pipeline .pl-step.pl-pending .pl-info b{color:#8A8AA8;font-weight:500}.theater-pipeline .pl-step.pl-running{background:rgba(110,91,250,.14);transform:translateY(-1px)}.theater-pipeline .pl-step.pl-running .pl-num{background:linear-gradient(135deg,#6E5BFA,#9D8AFF);color:white;box-shadow:0 0 0 4px rgba(110,91,250,.22);animation:pl-num-pulse 1.4s ease-in-out infinite}.theater-pipeline .pl-step.pl-running .pl-info b{color:var(--ink-900,#ECE3D2)}.theater-pipeline .pl-step.pl-running .pl-info em{color:#C8C2FF;font-weight:600}@keyframes pl-num-pulse{0%,to{box-shadow:0 0 0 4px rgba(110,91,250,.22),0 0 0 0 rgba(110,91,250,0)}50%{box-shadow:0 0 0 6px rgba(110,91,250,.1),0 0 10px rgba(110,91,250,.6)}}.theater-pipeline .pl-step.pl-done .pl-num{background:rgba(63,211,148,.18);color:#3FD394;border:1px solid rgba(63,211,148,.32)}.theater-pipeline .pl-step.pl-done .pl-info b{color:#C5C5D2}.theater-pipeline .pl-step.pl-done .pl-info em{color:#3FD394}.theater-pipeline .pl-arrow{align-self:center;color:rgba(255,255,255,.16);font-size:14px;font-weight:600;padding:0 2px;margin:0 -2px;user-select:none;flex-shrink:0}.theater-pipeline .pl-arrow.pl-arrow-done{color:rgba(63,211,148,.55)}@media (prefers-reduced-motion:reduce){.theater-pipeline .pl-step.pl-running .pl-num{animation:none}}.theater-focus{padding:8px 20px;background:linear-gradient(180deg,rgba(110,91,250,.05),transparent 80%);border-bottom:1px solid rgba(255,255,255,.04)}.theater-focus .tf-strip{display:flex;align-items:center;gap:12px;padding:8px 14px;background:color-mix(in srgb,var(--c,#6E5BFA) 10%,transparent);border-left:3px solid var(--c,#6e5bfa);border-radius:0 8px 8px 0;font-size:12.5px;color:#C5C5D2;overflow:hidden}.theater-focus .tf-strip-avatar{flex:0 0 28px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:rgba(255,255,255,.06);border-radius:6px}.theater-focus .tf-strip-step{font-family:var(--font-num);font-size:10.5px;font-weight:700;color:color-mix(in srgb,var(--c,#6E5BFA) 65%,white);padding:2px 8px;background:color-mix(in srgb,var(--c,#6E5BFA) 18%,transparent);border-radius:999px;letter-spacing:.04em;flex-shrink:0}.theater-focus .tf-strip-name{font-size:14px;font-weight:700;color:var(--ink-900,#ECE3D2);flex-shrink:0}.theater-focus .tf-strip-doing{font-size:12px;color:#8A8AA8;flex-shrink:0}.theater-focus .tf-strip-doing b{color:color-mix(in srgb,var(--c,#6E5BFA) 50%,white);font-weight:600}.theater-focus .tf-strip-hint{flex:1 1 auto;font-size:12px;color:#C5C5D2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.theater-focus .tf-strip-next{font-size:11.5px;color:#8A8AA8;padding:3px 10px;background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.1);border-radius:999px;flex-shrink:0}.theater-focus .tf-strip-next b{color:#C8C2FF;font-weight:700;margin:0 4px}.theater-focus .tf-strip-next>span:first-child{color:#6E5BFA;margin-right:4px}.theater-focus .tf-strip{animation:tf-strip-enter .5s cubic-bezier(.16,1,.3,1)}@keyframes tf-strip-enter{0%{background:color-mix(in srgb,var(--c,#6E5BFA) 40%,transparent);transform:translateX(-7px);opacity:.3}60%{background:color-mix(in srgb,var(--c,#6E5BFA) 22%,transparent)}to{background:color-mix(in srgb,var(--c,#6E5BFA) 10%,transparent);transform:none;opacity:1}}.theater-focus .tf-dots{display:inline-flex;align-items:flex-end;gap:2px;margin-left:4px}.theater-focus .tf-dots i{width:3px;height:3px;border-radius:50%;background:color-mix(in srgb,var(--c,#6E5BFA) 62%,white);animation:tf-dot-blink 1.2s ease-in-out infinite}.theater-focus .tf-dots i:nth-child(2){animation-delay:.18s}.theater-focus .tf-dots i:nth-child(3){animation-delay:.36s}@keyframes tf-dot-blink{0%,75%,to{opacity:.22;transform:translateY(0)}38%{opacity:1;transform:translateY(-3px)}}.theater-focus .tf-strip-secs{font-family:var(--font-num,ui-monospace,monospace);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--c,#6E5BFA) 58%,white);background:color-mix(in srgb,var(--c,#6E5BFA) 14%,transparent);padding:2px 7px;border-radius:999px;flex-shrink:0}@media (prefers-reduced-motion:reduce){.theater-focus .tf-strip{animation:none}.theater-focus .tf-dots i{animation:none;opacity:.7;transform:none}}.theater-focus .tf-idle{padding:14px 18px;font-size:13px;color:#8A8AA8;text-align:center;font-style:italic}.theater-body{display:grid;grid-template-columns:240px minmax(0,1fr) 320px;flex:1;min-height:0}.theater-lanes{padding:14px 14px 18px;border-right:1px solid rgba(255,255,255,.06);overflow-y:auto}.theater-lanes-head{display:flex;justify-content:space-between;align-items:baseline;padding:4px 4px 10px;font-size:11.5px;font-weight:700;color:#C5C5D2;letter-spacing:.04em}.theater-lanes-head .muted{color:#6A6A85;font-weight:400;font-size:11px;font-family:var(--font-num)}.theater-dept{margin-bottom:16px;position:relative}.theater-dept.has-running:before{content:"";position:absolute;left:-8px;top:4px;bottom:4px;width:2px;border-radius:999px;background:linear-gradient(180deg,#6E5BFA,#9D8AFF);box-shadow:0 0 8px rgba(110,91,250,.6)}.theater-dept-label{font-size:10px;font-weight:700;color:#6A6A85;letter-spacing:.08em;text-transform:uppercase;padding:4px 6px;margin-bottom:4px}.theater-dept.has-running .theater-dept-label{color:#C8C2FF}.theater-lane{display:grid;grid-template-columns:22px 1fr auto;gap:8px;align-items:center;padding:6px 8px;border-radius:var(--r-sm,6px);font-size:12px;color:#8A8AA8;transition:background .15s,color .15s,transform .15s}.theater-lane>svg{flex:0 0 22px;border-radius:999px;opacity:.7;transition:opacity .2s}.theater-lane-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theater-lane-state{font-family:var(--font-num);font-size:9.5px;font-weight:700;padding:1px 5px;border-radius:999px;background:rgba(255,255,255,.04);color:#6A6A85}.theater-lane.done{color:#C5C5D2}.theater-lane.done>svg{opacity:1}.theater-lane.done .theater-lane-state{background:rgba(34,197,94,.18);color:#3FD394}.theater-lane.running{background:rgba(110,91,250,.12);color:var(--ink-900,#ECE3D2);font-weight:600;animation:theater-lane-breathe 1.6s ease-in-out infinite}.theater-lane.running>svg{opacity:1}.theater-lane.running .theater-lane-state{background:rgba(110,91,250,.32);color:#C8C2FF}.theater-lane.current{box-shadow:inset 2px 0 0 #6E5BFA}@keyframes theater-lane-breathe{0%,to{background:rgba(110,91,250,.1)}50%{background:rgba(110,91,250,.2)}}.theater-paper-wrap{display:flex;flex-direction:column;min-height:0}.theater-paper-head{display:flex;justify-content:space-between;align-items:center;padding:14px 24px 10px;border-bottom:1px solid rgba(255,255,255,.04);font-size:11.5px;color:#8A8AA8}.theater-paper-label{font-weight:700;letter-spacing:.04em;text-transform:uppercase}.theater-paper-stage{font-family:var(--font-num);color:#C5C5D2}.theater-paper{flex:1;padding:32px 48px 40px;overflow-y:auto;font-family:var(--font-serif);font-size:16.5px;line-height:2;color:var(--ink-900,#ECE3D2);letter-spacing:.02em;background:radial-gradient(ellipse at 80% 100%,rgba(110,91,250,.1),transparent 60%),radial-gradient(ellipse at 20% 0,rgba(74,138,224,.06),transparent 60%);max-width:800px;margin:0 auto;width:100%}.theater-paper .theater-paragraph{margin:0 0 1.1em;text-indent:2em;word-break:break-word;white-space:pre-wrap}.theater-paper .tk{transition:color .12s ease}.theater-paper .tk-dialog{color:var(--tk-dialog);font-weight:500;letter-spacing:.01em}.theater-paper .tk-person{color:var(--tk-person)}.theater-paper .tk-place{color:var(--tk-place)}.theater-paper .tk-time{color:var(--tk-time)}.theater-paper .tk-num{color:var(--tk-num);font-family:var(--font-num);font-weight:600;background:linear-gradient(180deg,transparent 65%,color-mix(in oklab,var(--tk-num) 22%,transparent) 65%);padding:0 1px;border-radius:2px}.theater-paper .tk-dash{color:var(--tk-punct);font-weight:600;margin:0 1px}.theater-paper .tk-ellipsis{color:var(--tk-punct);margin:0 1px;animation:tk-ellipsis-breath 2s ease-in-out infinite}@keyframes tk-ellipsis-breath{0%,to{opacity:.7}50%{opacity:1}}.theater-paper .tk-interjection{color:var(--tk-interjection);font-weight:600}.theater-paper .tk-thought{color:var(--tk-thought);font-style:italic;opacity:.92}@media (prefers-reduced-motion:reduce){.theater-paper .tk-ellipsis{animation:none}}.theater-paper .theater-paragraph:last-child{margin-bottom:0}.theater-paper .theater-paragraph:first-child:not(:only-child){font-size:18px;font-weight:600;text-indent:0;color:#F5F5FF;margin-bottom:1.4em;padding-bottom:.7em;border-bottom:1px dashed rgba(255,255,255,.1)}.theater-paper .stream-follow-btn{color:#C8C2FF;background:rgba(20,16,38,.82);border-color:rgba(157,138,255,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.theater-paper .stream-follow-btn:hover{background:rgba(45,37,84,.88)}.theater-paper-empty{color:#6A6A85;font-family:var(--font-sans);font-size:14px;font-style:italic}.theater-warmup{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:220px;padding:30px 24px;text-align:center;animation:theater-feed-in .3s var(--ease-soft,ease)}.theater-warmup-dots{display:inline-flex;gap:7px;margin-bottom:4px}.theater-warmup-dots i{width:9px;height:9px;border-radius:999px;background:var(--brand-500,#6E5BFA);animation:theater-warmup-bounce 1.3s ease-in-out infinite}.theater-warmup-dots i:nth-child(2){animation-delay:.18s}.theater-warmup-dots i:nth-child(3){animation-delay:.36s}@keyframes theater-warmup-bounce{0%,80%,to{transform:translateY(0);opacity:.5}40%{transform:translateY(-7px);opacity:1}}.theater-warmup-title{font-size:16px;font-weight:700;color:var(--ink-900,#ECE3D2);margin:0}.theater-warmup-sub{font-size:12.5px;line-height:1.7;color:#8A8AA8;max-width:30em;margin:0}.theater-warmup-time{font-size:13px;color:#C5C5D2;margin:6px 0 0}.theater-warmup-clock{font-family:var(--font-num);font-size:22px;color:var(--brand-400,#9D8AFF);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.02em}.theater-warmup-bar{margin-top:14px;width:180px;max-width:60%;height:3px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;position:relative}.theater-warmup-bar:before{content:"";position:absolute;top:0;bottom:0;left:-40%;width:40%;border-radius:999px;background:linear-gradient(90deg,transparent,var(--brand-500,#6E5BFA),transparent);animation:theater-warmup-slide 1.4s ease-in-out infinite}@keyframes theater-warmup-slide{0%{left:-40%}to{left:100%}}@media (prefers-reduced-motion:reduce){.theater-warmup-dots i{animation:none}.theater-warmup-bar:before{animation:none;left:0;width:100%;opacity:.4}}.theater-caret{display:inline-block;width:2px;height:1.1em;margin-left:3px;vertical-align:text-bottom;background:#8B79FF;border-radius:1px;animation:theater-caret 1s step-end infinite}@keyframes theater-caret{0%,to{opacity:1}50%{opacity:0}}.theater-feed{padding:14px 16px 18px;border-left:1px solid rgba(255,255,255,.06);overflow-y:auto}.theater-feed-head{display:flex;justify-content:space-between;align-items:baseline;padding:4px 4px 10px;font-size:11.5px;font-weight:700;color:#C5C5D2;letter-spacing:.04em;border-bottom:1px dashed rgba(255,255,255,.06);margin-bottom:12px}.theater-feed-head .muted{color:#6A6A85;font-weight:400;font-family:var(--font-num)}.theater-feed-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.theater-feed-item{position:relative;padding:8px 10px 8px 14px;background:rgba(255,255,255,.025);border-radius:var(--r-md,10px);font-size:12px;line-height:1.6;animation:theater-feed-in .28s var(--ease-soft,ease-out)}@keyframes theater-feed-in{0%{opacity:0;transform:translateX(8px)}to{opacity:1;transform:translateX(0)}}.theater-feed-rail{position:absolute;left:0;top:8px;bottom:8px;width:2px;background:var(--c,#6E5BFA);border-radius:999px;box-shadow:0 0 6px var(--c,#6E5BFA)}.theater-feed-head-row{display:flex;align-items:center;gap:6px;margin-bottom:4px}.theater-feed-head-row>svg{flex:0 0 18px;border-radius:999px}.theater-feed-name{color:var(--ink-900,#ECE3D2);font-size:12px;font-weight:600}.theater-feed-ts{margin-left:auto;font-family:var(--font-mono);font-size:10px;color:#6A6A85}.theater-feed-text{color:#C5C5D2}.theater-feed-empty{color:#6A6A85;font-size:12px;font-style:italic;padding:16px 8px}.relay-chain{list-style:none;margin:0;padding:2px 2px 56px;display:flex;flex-direction:column}.relay-node{position:relative;display:flex;gap:9px;padding:6px 6px 6px 2px;border-radius:10px}.relay-rail{position:absolute;left:12px;top:-3px;bottom:-3px;width:2px;background:rgba(255,255,255,.08);border-radius:999px}.relay-node:first-child .relay-rail{top:50%}.relay-node:last-child .relay-rail{bottom:50%}.relay-dot{position:relative;z-index:1;flex:0 0 22px;width:22px;height:22px;margin-top:1px;display:grid;place-items:center;border-radius:999px;font-size:10px;font-weight:700;font-family:var(--font-pixel-ui,monospace);background:var(--bg-sunken,#17131F);color:#6A6A85;border:2px solid rgba(255,255,255,.12);transition:background .25s var(--ease-soft,ease),color .25s,border-color .25s}.relay-card{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.relay-card-head{display:flex;align-items:center;gap:6px}.relay-card-head>svg{flex:0 0 20px;border-radius:999px}.relay-name{font-size:12px;font-weight:600;color:#C5C5D2;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}.relay-state{margin-left:auto;flex:0 0 auto;font-size:9.5px;font-weight:600;color:#6A6A85;font-family:var(--font-pixel-ui,monospace)}.relay-text{font-size:11px;line-height:1.5;color:#8A8AA8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.relay-done .relay-dot{background:color-mix(in oklab,#3FD394 24%,transparent);color:#3FD394;border-color:color-mix(in oklab,#3FD394 50%,transparent)}.relay-done .relay-rail{background:color-mix(in oklab,#3FD394 30%,transparent)}.relay-done .relay-state{color:#3FD394}.relay-current{background:linear-gradient(90deg,color-mix(in oklab,var(--c,#6E5BFA) 14%,transparent),transparent 72%)}.relay-current .relay-dot{background:var(--c,#6E5BFA);color:#fff;border-color:var(--c,#6E5BFA);animation:relay-pulse 1.3s ease-in-out infinite}.relay-current .relay-name{color:var(--ink-900,#ECE3D2);font-weight:700}.relay-current .relay-state{color:var(--c,#6E5BFA)}.relay-current .relay-text{color:#D8D2E8;-webkit-line-clamp:3}@keyframes relay-pulse{0%,to{box-shadow:0 0 0 3px color-mix(in oklab,var(--c,#6E5BFA) 30%,transparent)}50%{box-shadow:0 0 0 7px color-mix(in oklab,var(--c,#6E5BFA) 6%,transparent)}}.relay-idle{opacity:.5}.relay-idle .relay-text{color:#6A6A85}@media (prefers-reduced-motion:reduce){.relay-current .relay-dot{animation:none}}:where(html:not(.dark)) .relay-name{color:var(--ink-800,#4A4031)}:where(html:not(.dark)) .relay-state{color:var(--ink-500,#8A7C64)}:where(html:not(.dark)) .relay-text{color:var(--ink-500,#8A7C64)}:where(html:not(.dark)) .relay-current .relay-text{color:var(--ink-700,#56503F)}:where(html:not(.dark)) .relay-idle{opacity:.85}:where(html:not(.dark)) .relay-idle .relay-name{color:var(--ink-600,#6E6450)}:where(html:not(.dark)) .relay-idle .relay-text{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .relay-dot{border-color:var(--line-2,rgba(60,50,30,.16))}.theater-mini{position:fixed;right:18px;bottom:18px;z-index:60;display:inline-flex;align-items:center;gap:10px;padding:10px 14px;background:var(--bg-card,#2B251C);color:var(--ink-900,#ECE3D2);border:1px solid var(--line-2,rgba(255,255,255,.1));border-radius:999px;box-shadow:0 8px 24px -8px rgba(0,0,0,.4);cursor:pointer;font:inherit;font-size:12.5px;font-weight:600;transition:transform .15s,box-shadow .15s}.theater-mini:hover{transform:translateY(-2px);box-shadow:0 12px 30px -8px rgba(0,0,0,.5)}.theater-mini-dot{width:8px;height:8px;border-radius:999px;background:#6E5BFA;box-shadow:0 0 0 4px rgba(110,91,250,.25)}.theater-mini.running .theater-mini-dot{animation:theater-pulse 1.5s ease-in-out infinite}.theater-mini.done .theater-mini-dot{background:var(--ok-500,#3FD394);box-shadow:0 0 0 4px rgba(63,211,148,.18)}.theater-mini-text{white-space:nowrap}@media (max-width:980px){.theater-body{grid-template-columns:1fr}.theater-feed,.theater-lanes{display:none}}@media (prefers-reduced-motion:reduce){.theater-backdrop,.theater-feed-item,.theater-lane.running,.theater-live-dot,.theater-mini.running .theater-mini-dot,.theater-shell{animation:none}}:where(html:not(.dark)) .theater-backdrop{background:rgba(44,33,20,.4)}:where(html:not(.dark)) .theater-shell{background:var(--bg-canvas,#FCFAF5);color:var(--ink-900,#3B2E1B);box-shadow:0 24px 70px -24px rgba(60,46,27,.26),0 0 0 1px var(--line-1,rgba(31,36,51,.08)),inset 0 1px 0 rgba(255,255,255,.7)}:where(html:not(.dark)) .theater-head{background:linear-gradient(180deg,rgba(110,91,250,.06),transparent);border-bottom-color:var(--line-1,rgba(31,36,51,.08))}:where(html:not(.dark)) .theater-status{color:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-sep{color:var(--ink-300,rgba(31,36,51,.25))}:where(html:not(.dark)) .theater-book{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-stage{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-stat-k{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-stat-v{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-stat-v small{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-stat-batch .theater-stat-v{color:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-icon-btn{background:var(--bg-sunken,rgba(31,36,51,.04));border-color:var(--line-1,rgba(31,36,51,.08));color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-icon-btn:hover{background:var(--bg-hover,rgba(31,36,51,.08));color:var(--ink-900,#3B2E1B);border-color:var(--line-2,rgba(31,36,51,.16))}:where(html:not(.dark)) .theater-pipeline{background:var(--bg-sunken,rgba(31,36,51,.02));border-bottom-color:var(--line-1,rgba(31,36,51,.08))}:where(html:not(.dark)) .theater-pipeline .pl-info b{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-pipeline .pl-info em{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-pipeline .pl-step.pl-pending .pl-num{background:var(--bg-sunken,rgba(31,36,51,.06));color:var(--ink-400,#9B8E77);border-color:var(--line-2,rgba(31,36,51,.12))}:where(html:not(.dark)) .theater-pipeline .pl-step.pl-pending .pl-info b{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-pipeline .pl-step.pl-running .pl-info b{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-pipeline .pl-step.pl-running .pl-info em{color:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-pipeline .pl-step.pl-done .pl-info b{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-pipeline .pl-arrow{color:var(--ink-300,rgba(31,36,51,.2))}:where(html:not(.dark)) .theater-focus{background:linear-gradient(180deg,rgba(110,91,250,.06),transparent 80%);border-bottom-color:var(--line-1,rgba(31,36,51,.06))}:where(html:not(.dark)) .theater-focus .tf-strip{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-focus .tf-strip-avatar{background:var(--bg-sunken,rgba(31,36,51,.04))}:where(html:not(.dark)) .theater-focus .tf-strip-name{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-focus .tf-strip-doing{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-focus .tf-strip-hint{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-focus .tf-strip-next{background:var(--bg-sunken,rgba(31,36,51,.03));border-color:var(--line-2,rgba(31,36,51,.14));color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-focus .tf-strip-next b{color:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-focus .tf-idle{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-lanes{border-right-color:var(--line-1,rgba(31,36,51,.08))}:where(html:not(.dark)) .theater-lanes-head{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-lanes-head .muted{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-dept-label{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-dept.has-running .theater-dept-label{color:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-lane{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-lane-state{background:var(--bg-sunken,rgba(31,36,51,.06));color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-lane.done{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-lane.done .theater-lane-state{background:rgba(34,197,94,.14);color:var(--ok-600,#1DB97A)}:where(html:not(.dark)) .theater-lane.running{background:rgba(110,91,250,.1);color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-lane.running .theater-lane-state{background:rgba(110,91,250,.22);color:var(--brand-600,#5B47E0)}@keyframes theater-lane-breathe-light{0%,to{background:rgba(110,91,250,.08)}50%{background:rgba(110,91,250,.16)}}:where(html:not(.dark)) .theater-lane.running{animation:theater-lane-breathe-light 1.6s ease-in-out infinite}:where(html:not(.dark)) .theater-paper-head{border-bottom-color:var(--line-1,rgba(31,36,51,.04));color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-paper-stage{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-paper{color:var(--ink-900,#3B2E1B);background:radial-gradient(ellipse at 80% 100%,rgba(110,91,250,.06),transparent 60%),radial-gradient(ellipse at 20% 0,rgba(232,150,90,.05),transparent 60%)}:where(html:not(.dark)) .theater-paper-empty{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-paper .theater-paragraph:first-child:not(:only-child){color:var(--ink-900,#3B2E1B);border-bottom-color:var(--line-2,rgba(31,36,51,.12))}:where(html:not(.dark)) .theater-caret{background:var(--brand-600,#5B47E0)}:where(html:not(.dark)) .theater-feed{border-left-color:var(--line-1,rgba(31,36,51,.08))}:where(html:not(.dark)) .theater-feed-head{color:var(--ink-900,#3B2E1B);border-bottom-color:var(--line-1,rgba(31,36,51,.1))}:where(html:not(.dark)) .theater-feed-head .muted{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-feed-item{background:var(--bg-sunken,rgba(31,36,51,.03))}:where(html:not(.dark)) .theater-feed-name{color:var(--ink-900,#3B2E1B)}:where(html:not(.dark)) .theater-feed-ts{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-feed-text{color:var(--ink-600,#635948)}:where(html:not(.dark)) .theater-feed-empty{color:var(--ink-400,#9B8E77)}:where(html:not(.dark)) .theater-mini{background:var(--bg-card,#FAF5EB);color:var(--ink-900,#3B2E1B);border-color:var(--line-2,rgba(31,36,51,.16));box-shadow:0 8px 24px -8px rgba(40,30,18,.3)}@media (prefers-reduced-motion:reduce){:where(html:not(.dark)) .theater-lane.running{animation:none}}.brand-ornaments{position:fixed;inset:var(--topbar-h,56px) 0 0 var(--sidebar-w,222px);z-index:0;pointer-events:none;overflow:hidden;opacity:.48}.app{--page-prop:url(/brand/props/typewriter.webp);--page-prop-size:clamp(86px,9vw,132px);--page-prop-opacity:0;--workhead-prop-size:clamp(70px,8vw,112px);--workhead-prop-opacity:0}.app[data-route-section=creation]{--page-prop:url(/brand/props/typewriter.webp)}.app[data-route-section=knowledge]{--page-prop:url(/brand/props/story-board.webp)}.app[data-route-section=publish]{--page-prop:url(/brand/props/publishing-envelope.webp)}.app[data-route-section=system]{--page-prop:url(/brand/props/editor-bot.webp)}.app[data-route-section=settings]{--page-prop:url(/brand/props/settings-gear.webp)}.app[data-route-key=library],.app[data-route-key=wiki]{--page-prop:url(/brand/props/asset-library-desk.webp);--page-prop-size:clamp(126px,14vw,216px);--page-prop-opacity:0.19;--workhead-prop-size:clamp(116px,13vw,198px);--workhead-prop-opacity:0.16}.app[data-route-key=books]{--page-prop:url(/brand/props/book-registry-desk.webp);--page-prop-size:clamp(128px,15vw,224px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(118px,14vw,206px);--workhead-prop-opacity:0.16}.app[data-route-key=memory]{--page-prop:url(/brand/props/memory-scroll-desk.webp);--page-prop-size:clamp(128px,15vw,226px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(120px,14vw,210px);--workhead-prop-opacity:0.16}.app[data-route-key=agents],.app[data-route-key=assistant]{--page-prop:url(/brand/props/assistant-desk.webp);--page-prop-size:clamp(116px,14vw,210px);--page-prop-opacity:0.18;--workhead-prop-size:clamp(112px,13vw,198px);--workhead-prop-opacity:0.16}.app[data-route-key=system]{--page-prop:url(/brand/props/run-console.webp);--page-prop-size:clamp(108px,12vw,178px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(104px,12vw,168px);--workhead-prop-opacity:0.18}.app[data-route-key=compose],.app[data-route-key=platform-export]{--page-prop:url(/brand/props/publish-dock.webp);--page-prop-size:clamp(114px,13vw,196px);--page-prop-opacity:0.18;--workhead-prop-size:clamp(106px,12vw,184px);--workhead-prop-opacity:0.15}.app[data-route-key=editor]{--page-prop:url(/brand/props/editor-desk.webp);--page-prop-size:clamp(116px,14vw,212px);--page-prop-opacity:0.16}.app[data-route-key=runs]{--page-prop:url(/brand/props/run-console.webp);--page-prop-size:clamp(112px,13vw,190px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(112px,13vw,188px);--workhead-prop-opacity:0.18}.app[data-route-key=knowledge]{--page-prop:url(/brand/props/story-map-desk.webp);--page-prop-size:clamp(128px,15vw,226px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(120px,14vw,210px);--workhead-prop-opacity:0.16}.app[data-route-key=outline]{--page-prop:url(/brand/props/outline-planning-desk.webp);--page-prop-size:clamp(132px,15vw,232px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(122px,14vw,214px);--workhead-prop-opacity:0.16}.app[data-route-key=characters]{--page-prop:url(/brand/props/character-casting-desk.webp);--page-prop-size:clamp(132px,15vw,232px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(122px,14vw,214px);--workhead-prop-opacity:0.16}.app[data-route-key=import],.app[data-route-key=materials]{--page-prop:url(/brand/props/import-crate.webp)}.app[data-route-key=publish]{--page-prop:url(/brand/props/publish-dock.webp);--page-prop-size:clamp(118px,14vw,206px);--page-prop-opacity:0.18;--workhead-prop-size:clamp(110px,13vw,190px);--workhead-prop-opacity:0.15}.app[data-route-key=detect],.app[data-route-key=graph],.app[data-route-key=insights]{--page-prop:url(/brand/props/radar-desk.webp)}.app[data-route-key=graph]{--page-prop:url(/brand/props/story-map-desk.webp);--page-prop-size:clamp(128px,15vw,226px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(120px,14vw,210px);--workhead-prop-opacity:0.16}.app[data-route-key=capabilities],.app[data-route-key=preferences]{--page-prop:url(/brand/props/settings-gear.webp)}.app[data-route-key=llm]{--page-prop:url(/brand/props/model-rack.webp);--page-prop-size:clamp(108px,12vw,176px);--page-prop-opacity:0.18;--workhead-prop-size:clamp(104px,12vw,168px);--workhead-prop-opacity:0.16}.app[data-route-key=shortcuts]{--page-prop:url(/brand/props/shortcut-desk.webp);--page-prop-size:clamp(124px,15vw,220px);--page-prop-opacity:0.2;--workhead-prop-size:clamp(120px,15vw,212px);--workhead-prop-opacity:0.18}.app.sidebar-collapsed .brand-ornaments{left:var(--sidebar-w-mini,76px)}.brand-ornaments:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 23px,color-mix(in oklab,var(--brand-500) 2%,transparent) 24px 25px),repeating-linear-gradient(90deg,transparent 0 23px,color-mix(in oklab,var(--brand-500) 1.8%,transparent) 24px 25px);opacity:.1}.bo-town{right:clamp(18px,2vw,32px);bottom:clamp(18px,3vw,42px);width:min(19vw,210px);aspect-ratio:1;background:url(/brand/props/silicoville-mini.webp) 50%/contain no-repeat;opacity:.22;filter:saturate(.9) drop-shadow(0 10px 18px rgba(74,58,36,.12));animation:bo-town-breathe 4.6s ease-in-out infinite}.bo-prop,.bo-town{display:none;position:absolute}.bo-prop{width:clamp(42px,5vw,78px);height:auto;object-fit:contain;image-rendering:auto;opacity:.24;filter:var(--brand-asset-filter,saturate(1)) drop-shadow(0 8px 12px rgba(74,58,36,.12))}.bo-lamp{right:clamp(20px,3vw,48px);top:clamp(36px,7vh,88px);transform-origin:50% 100%;animation:bo-lamp 4.2s ease-in-out infinite}.bo-plant{left:clamp(14px,2vw,36px);bottom:clamp(22px,4vh,54px);animation:bo-leaf 5.2s ease-in-out infinite}.bo-manuscript{left:clamp(22px,5vw,92px);top:clamp(80px,15vh,148px);transform:rotate(-7deg)}.bo-mug{right:clamp(72px,9vw,150px);bottom:clamp(110px,16vh,190px);transform:rotate(5deg);opacity:.2}.bo-flowers{left:clamp(64px,10vw,180px);bottom:clamp(92px,12vh,148px);transform:rotate(-4deg);opacity:.2;animation:bo-leaf 6.4s ease-in-out infinite reverse}.bo-page-prop{display:none;position:absolute;right:clamp(110px,15vw,250px);top:clamp(52px,9vh,118px);width:var(--page-prop-size,clamp(78px,9vw,132px));aspect-ratio:1;background:var(--page-prop) center /contain no-repeat;opacity:var(--page-prop-opacity,.18);filter:var(--brand-asset-filter,saturate(1)) drop-shadow(0 12px 18px rgba(74,58,36,.13));transform:rotate(-3deg);animation:bo-page-float 5.6s ease-in-out infinite}.bo-light{position:absolute;border-radius:999px;background:color-mix(in oklab,var(--brand-500) 38%,var(--accent-gold,#FFD66A));opacity:.08;filter:blur(12px);animation:bo-light-breathe 3.8s ease-in-out infinite}.bo-light-a{width:26px;height:26px;right:clamp(40px,5vw,86px);top:clamp(66px,9vh,110px)}.bo-light-b{width:16px;height:16px;left:clamp(96px,12vw,210px);bottom:clamp(150px,19vh,240px);animation-delay:1.1s}@keyframes bo-town-breathe{0%,to{transform:scale(1);opacity:.18}50%{transform:scale(1.04);opacity:.28}}@keyframes bo-light-breathe{0%,to{transform:scale(1);opacity:.14}50%{transform:scale(1.12);opacity:.26}}@keyframes bo-lamp{0%,to{transform:rotate(0deg);opacity:.24}50%{transform:rotate(-1.5deg);opacity:.34}}@keyframes bo-leaf{0%,to{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(2deg) translateY(-2px)}}@keyframes bo-page-float{0%,to{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(2deg) translateY(-3px)}}:where(html.dark) .brand-ornaments{opacity:.34}:where(html.dark) .bo-page-prop,:where(html.dark) .bo-prop,:where(html.dark) .bo-town{opacity:.16}@media (max-width:880px){.brand-ornaments{left:0}.bo-flowers,.bo-manuscript,.bo-mug,.bo-page-prop{display:none}.bo-town{width:144px;opacity:.16}}@media (prefers-reduced-motion:reduce){.bo-light,.bo-page-prop,.bo-prop,.bo-town{animation:none!important}}