.session-startup-shell[data-v-bae54e65]{color:#202628;background:radial-gradient(circle at 18% 5%,#1188941a,#0000 28%),radial-gradient(circle at 82% 18%,#d963211a,#0000 30%),linear-gradient(135deg,#fbf8f1 0%,#fffdf8 48%,#f7f2e8 100%);place-items:center;min-height:100vh;padding:32px;display:grid}.session-startup-card[data-v-bae54e65]{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc2;border:1px solid #2026281a;border-radius:24px;width:min(420px,100%);padding:34px 36px 30px;box-shadow:0 24px 70px #2d34321a}.session-startup-logo[data-v-bae54e65]{width:118px;height:auto;display:block}.session-startup-progress[data-v-bae54e65]{background:#1188941f;border-radius:999px;height:3px;margin:28px 0 24px;overflow:hidden}.session-startup-progress span[data-v-bae54e65]{border-radius:inherit;background:linear-gradient(90deg,#118894,#2bc6d3);width:42%;height:100%;animation:1.1s ease-in-out infinite alternate session-progress-bae54e65;display:block}.session-startup-recovery-mark[data-v-bae54e65]{color:#b4541c;background:#d963211a;border-radius:50%;place-items:center;width:42px;height:42px;margin:28px 0 20px;font-size:24px;font-weight:650;display:grid}.session-startup-card h1[data-v-bae54e65]{font-family:var(--heading-font-family,var(--app-font-family));letter-spacing:-.03em;margin:0;font-size:clamp(24px,4vw,32px);font-weight:600}.session-startup-card p[data-v-bae54e65]{color:#697170;margin:10px 0 24px;font-size:14px;line-height:1.7}.session-startup-retry[data-v-bae54e65]{color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:#118894;border:0;border-radius:12px;font-weight:600}.session-startup-retry[data-v-bae54e65]:hover:not(:disabled){background:#0c7580}.session-startup-retry[data-v-bae54e65]:focus-visible{outline-offset:3px;outline:3px solid #11889440}.session-startup-retry[data-v-bae54e65]:disabled{cursor:wait;opacity:.65}.session-startup-skeleton[data-v-bae54e65]{gap:10px;display:grid}.session-startup-skeleton span[data-v-bae54e65]{background:linear-gradient(90deg,#2026280f,#2026281c,#2026280f) 0 0/220% 100%;border-radius:999px;height:12px;animation:1.4s linear infinite session-skeleton-bae54e65}.session-startup-skeleton span[data-v-bae54e65]:nth-child(2){width:82%}.session-startup-skeleton span[data-v-bae54e65]:nth-child(3){width:64%}@keyframes session-progress-bae54e65{0%{transform:translate(-12%)}to{transform:translate(150%)}}@keyframes session-skeleton-bae54e65{to{background-position:-220% 0}}@media (prefers-reduced-motion:reduce){.session-startup-progress span[data-v-bae54e65],.session-startup-skeleton span[data-v-bae54e65]{animation:none}}@media (width<=560px){.session-startup-shell[data-v-bae54e65]{padding:20px}.session-startup-card[data-v-bae54e65]{border-radius:20px;padding:28px 24px 24px}}.agent-dock-host[data-v-c777a9e7]{--agent-dock-width:clamp(420px, 30vw, 480px);--agent-dock-inset:12px;--agent-dock-content-gap:12px;--agent-dock-reserved-space:0px;--agent-dock-layout-reserve:0px;min-width:0;min-height:100vh}.agent-dock-host--expanded[data-v-c777a9e7]{--agent-dock-reserved-space:calc(var(--agent-dock-width) + var(--agent-dock-inset) + var(--agent-dock-content-gap))}.agent-dock-host__surface[data-v-c777a9e7]{width:100%;min-width:0;min-height:100vh;transition:width .22s cubic-bezier(.22,1,.36,1)}@media (width>=1280px){.agent-dock-host--expanded[data-v-c777a9e7]{--agent-dock-layout-reserve:var(--agent-dock-reserved-space)}.agent-dock-host--expanded>.agent-dock-host__surface[data-v-c777a9e7]{width:calc(100% - var(--agent-dock-layout-reserve))}}@media (prefers-reduced-motion:reduce){.agent-dock-host__surface[data-v-c777a9e7]{transition:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#fbf7ef;--color-bg-subtle:#fff8ef;--color-surface:#fff;--color-surface-muted:#fffaf3;--color-text:#141b2d;--color-heading:#101827;--color-muted:#6f7c8b;--color-soft:#9aa6b5;--color-border:#efe3d3;--color-border-strong:#e3cfb8;--workspace-accent:#52756f;--workspace-accent-hover:#405e59;--workspace-accent-soft:#edf2ef;--workspace-accent-rgb:82, 117, 111;--workspace-accent-on:#fff;--workspace-accent-dark:#aac4bd;--color-primary:var(--workspace-accent);--color-primary-dark:var(--workspace-accent-hover);--color-primary-soft:var(--workspace-accent-soft);--color-green:#d96b2b;--color-green-soft:#fff1e6;--color-blue:#c94a3a;--color-blue-soft:#fff0ed;--color-amber:#4f8cff;--color-amber-soft:#eef5ff;--color-cyan:#12bfd1;--color-cyan-soft:#e7fafc;--color-indigo:#7457d7;--color-indigo-soft:#f0ecff;--color-danger:#c24136;--shadow-soft:0 22px 52px #6e4c251f;--shadow-tight:0 10px 24px #6e4c251a;--radius-sm:6px;--radius-md:8px;--sidebar-width:220px;--app-font-family:Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;--app-header-height:64px;--app-header-padding-x:32px;--topbar-height:var(--app-header-height);--topbar-action-size:36px;--nav-font-size:14px;--nav-line-height:20px;--nav-font-weight:600;--font-page-title:700 32px / 40px var(--app-font-family);--font-section-title:700 20px / 28px var(--app-font-family);--font-card-title:700 16px / 24px var(--app-font-family);--font-body:400 14px / 22px var(--app-font-family);--font-body-medium:500 14px / 22px var(--app-font-family);--font-caption:400 12px / 18px var(--app-font-family);--font-stat-number:700 28px / 36px var(--app-font-family)}.ui-button{justify-content:center;align-items:center;gap:var(--control-gap,7px);min-height:var(--control-height,40px);border:1px solid var(--control-border);border-radius:var(--control-radius,8px);padding:var(--control-padding,0 16px);background:var(--control-surface);color:var(--control-text);font:inherit;font-size:var(--control-font-size,inherit);font-weight:var(--control-font-weight,inherit);line-height:var(--control-line-height,normal);cursor:pointer;display:inline-flex}.ui-button.primary-button,.ui-button.confirm-button{border-color:var(--control-primary-border,var(--control-primary-bg));background:var(--control-primary-bg);color:var(--control-primary-text,#fff);box-shadow:var(--control-primary-shadow,none)}.ui-button.primary-button:hover,.ui-button.primary-button:focus-visible{border-color:var(--control-primary-hover-border,var(--control-primary-border,var(--control-primary-bg)));background:var(--control-primary-hover-bg,var(--control-primary-bg))}.ui-state{display:var(--state-display,grid);justify-items:center;gap:var(--state-gap,14px);padding:var(--state-padding,24px 0);color:var(--state-text,var(--color-muted));font-size:var(--state-font-size,14px)}.ui-theme-account{--control-gap:normal;--control-height:42px;--control-padding:9px 14px;--control-font-size:14px;--control-line-height:1.4;--control-border:#c8c9c0;--control-surface:#fffdf8;--control-text:#343b34;--control-primary-bg:#146e73;--control-focus:#15787e;--state-text:#636862}.ui-theme-script{--control-height:38px;--control-padding:0 14px;--control-radius:10px;--control-font-size:13px;--control-font-weight:900;--control-border:#e7ddd2;--control-surface:#fff;--control-text:#536176;--control-primary-border:#e24e3f;--control-primary-bg:#e75243;--control-primary-hover-border:#cb3d31;--control-primary-hover-bg:#d94739;--control-primary-shadow:0 9px 20px #e04b3c33;--control-disabled-border:#e1d7cd;--control-disabled-bg:#d8d2cc;--control-focus:#e5534533;--state-display:flex;--state-gap:10px;--state-padding:0;--state-text:#778296}:is(body:has(.admin-shell),body:has(.ui-theme-admin)){--admin-canvas:#f4f3ee;--admin-surface:#fffefb;--admin-surface-strong:#fff;--admin-surface-soft:#f6f7f3;--admin-sidebar:#f2f0e8;--admin-text:#21302d;--admin-muted:#5f6f6b;--admin-border:#dde3df;--admin-control-border:#87958f;--admin-accent:#157d86;--admin-accent-hover:#126a72;--admin-accent-text:#0b6f78;--admin-accent-soft:#dcedea;--admin-shadow:0 12px 30px #37423c12;--admin-dialog-border:#e1e7ec;--admin-dialog-heading:#152232;--admin-dialog-muted:#718096;--admin-dialog-description:#5f6f7e;--admin-dialog-label:#344454;--admin-dialog-control-border:#ccd6dd;--admin-dialog-control-text:#172432;--admin-dialog-icon-border:#dfe6eb;--admin-dialog-icon-text:#52606d;--admin-dialog-reason-text:#61758b;--admin-dialog-focus:#0099b53d;--admin-dialog-primary-bg:#0099b5;--admin-dialog-primary-border:#008fa8;--admin-pool-accent:#0d8b9b;--admin-pool-accent-soft:#effbfd;--admin-pool-muted:#6b7e87;--admin-pool-control-border:#cbd9df;--admin-pool-control-text:#36514f;--admin-pool-focus:#68b8c3;--admin-danger:#c63d3d;--admin-error-bg:#fff1f1;--admin-error-text:#b42318}.ui-theme-admin{--control-gap:normal;--control-height:40px;--control-radius:10px;--control-font-weight:700;--control-line-height:inherit;--control-border:#d4dde3;--control-surface:var(--admin-surface-strong);--control-text:#425466;--control-primary-border:var(--admin-dialog-primary-border);--control-primary-bg:var(--admin-dialog-primary-bg)}.ui-theme-admin-pool{--control-radius:8px;--control-padding:9px 16px;--control-font-size:14px;--control-border:var(--admin-pool-control-border);--control-text:var(--admin-pool-control-text);--control-primary-border:var(--admin-pool-accent);--control-primary-bg:var(--admin-pool-accent);--state-display:block;--state-gap:normal;--state-padding:10px 12px;--state-text:var(--admin-pool-muted);--state-font-size:13px}*{box-sizing:border-box;scrollbar-width:none!important;scrollbar-gutter:auto!important}::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}html{background:var(--color-bg);min-height:100%;color:var(--color-text);font-family:var(--app-font-family)}body{--color-primary:var(--workspace-accent);--color-primary-dark:var(--workspace-accent-hover);--color-primary-soft:var(--workspace-accent-soft);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}body:has(.app-shell.module-scripts){--workspace-accent:#9e584c;--workspace-accent-hover:#894c41;--workspace-accent-soft:#f5eeeb;--workspace-accent-rgb:158, 88, 76;--workspace-accent-dark:#dfb4a9}body:has(.app-shell.module-image){--workspace-accent:#596f98;--workspace-accent-hover:#4d6088;--workspace-accent-soft:#eef1f7;--workspace-accent-rgb:89, 111, 152;--workspace-accent-dark:#b4c2df}body:has(.canvas-home,.creative-canvas-view,.app-shell.module-canvas){--workspace-accent:#56717f;--workspace-accent-hover:#4b6370;--workspace-accent-soft:#edf1f3;--workspace-accent-rgb:86, 113, 127;--workspace-accent-dark:#b4c8d1}a{color:inherit;text-decoration:none}button,input{font:inherit}button{color:inherit}select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}select option{background:var(--native-select-option-bg,var(--menu-panel-bg,var(--color-surface)));color:var(--native-select-option-text,var(--menu-text,var(--color-text)))}select option:checked{background:var(--native-select-option-selected-bg,var(--menu-accent,var(--module-accent,var(--color-primary-dark))));color:var(--native-select-option-selected-text,#fff)}select option:disabled{color:var(--native-select-option-disabled-text,var(--color-soft))}.app-shell.module-novels,.workspace-page{--native-select-option-bg:#f8f6f0;--native-select-option-text:#202628;--native-select-option-selected-bg:#118894;--native-select-option-selected-text:#fff;--native-select-option-disabled-text:#92928d}.app-shell.module-scripts,.scripts-page{--native-select-option-bg:#fffdfa;--native-select-option-text:#252a32;--native-select-option-selected-bg:#d84a3a;--native-select-option-selected-text:#fff;--native-select-option-disabled-text:#9ca3af}.admin-shell{--native-select-option-bg:#fff;--native-select-option-text:#172033;--native-select-option-selected-bg:#0e7490;--native-select-option-selected-text:#fff;--native-select-option-disabled-text:#98a2b3}:is(.user-menu,.user-popover,.account-action-modal,.account-action-drawer){--native-select-option-bg:var(--menu-panel-bg);--native-select-option-text:var(--menu-text);--native-select-option-selected-bg:var(--menu-action-bg);--native-select-option-selected-text:#fff;--native-select-option-disabled-text:var(--menu-soft)}:is(.user-menu.dark,.user-popover.dark,.account-action-modal.dark,.account-action-drawer.dark) select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}button,a{-webkit-tap-highlight-color:transparent}#app{min-height:100vh}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell{--shell-page-x:clamp(24px, 3.2vw, 48px);grid-template-columns:var(--shell-sidebar-track-width,var(--sidebar-width)) minmax(0, 1fr);grid-template-rows:var(--topbar-height) minmax(0, 1fr);background:radial-gradient(circle at 15% 0%, rgba(var(--workspace-accent-rgb), .05), transparent 28%), radial-gradient(circle at 82% 18%, #d96b2b1a, transparent 32%), var(--color-bg);min-height:100vh;transition:grid-template-columns .18s;display:grid}.app-shell.module-novels{--module-accent:#d96321;background:radial-gradient(circle at 16% 0,#b5dccd24,#0000 24%),linear-gradient(120deg,#fbf8f1 0%,#fffdf8 45%,#f9f2e7 100%)}.app-shell.module-image{--module-accent:#5b7cfa;background:#f6f7fb}.app-shell.module-scripts{--module-accent:#d84a3a;--sidebar-width:184px;--shell-page-x:clamp(24px, 2.4vw, 32px);background:radial-gradient(circle at 18% 0,#56968212,#0000 320px),radial-gradient(circle at 92% 6%,#d84a3a12,#0000 360px),#f8f7f4}.app-shell.without-sidebar{grid-template-columns:minmax(0,1fr)}.app-shell.workspace-mode{background:#f8f7f4;grid-template-columns:minmax(0,1fr)}.app-shell.workspace-mode .app-topbar{background:#fffffff5;border-bottom-color:#ece7df;gap:16px;padding:0 24px}.app-shell.workspace-mode .brand-link{flex-basis:112px;min-width:112px}.app-shell.workspace-mode .brand-logo{width:112px}.app-shell.workspace-mode .shell-main{grid-column:1/-1;padding:0}.app-shell.without-sidebar .shell-main{padding:24px var(--shell-page-x) 42px;grid-column:1/-1}.app-shell.workspace-mode.without-sidebar .shell-main{padding:0}.skip-link{z-index:100;background:var(--color-heading);color:#fff;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;position:fixed;top:8px;left:14px;transform:translateY(-140%)}.skip-link:focus-visible{outline:2px solid var(--color-primary);transform:translateY(0)}.app-topbar{z-index:30;min-width:0;height:var(--topbar-height);min-height:var(--topbar-height);box-sizing:border-box;border-bottom:1px solid var(--color-border);padding:0 var(--app-header-padding-x);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-family:var(--app-font-family);background:#ffffffe0;grid-column:1/-1;align-items:center;gap:24px;display:flex;position:sticky;top:0}.module-scripts .app-topbar{background:#ffffffdb;border-bottom-color:#ece7df}.shell-sidebar{top:calc(var(--topbar-height) + 16px);z-index:20;height:calc(100vh - var(--topbar-height) - 32px);border:1px solid var(--color-border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffc2;border-radius:20px;flex-direction:column;grid-row:2;min-width:0;margin:16px 0 16px 16px;transition:border-radius .18s,margin .18s;display:flex;position:sticky;box-shadow:0 18px 48px #77522714}.module-scripts .shell-sidebar{top:calc(var(--topbar-height) + 14px);height:calc(100vh - var(--topbar-height) - 28px);background:#ffffffc7;border-color:#ece7df;border-radius:18px;margin:14px 0 14px 16px;box-shadow:0 12px 34px #1118270d}.shell-sidebar-toggle{border:1px solid var(--color-border);min-width:0;min-height:40px;box-shadow:none;color:#7a8796;cursor:pointer;background:#ffffff85;border-radius:12px;flex:none;place-items:center;margin:0 12px 12px;transition:border-color .16s,background-color .16s,color .16s;display:inline-grid;position:static}.shell-sidebar-toggle:hover,.shell-sidebar-toggle:focus-visible{border-color:var(--module-accent,var(--color-primary));color:var(--module-accent,var(--color-primary-dark));background:#ffffffd1;outline:none}.workspace-actions,.topbar-right{align-items:center;gap:10px;display:flex}.brand-link{outline-offset:6px;flex:0 0 180px;align-items:center;min-width:180px;height:100%;display:inline-flex}.brand-logo{object-fit:contain;object-position:left center;width:126px;height:48px;display:block}.topbar-home-nav{flex:none;align-items:center;gap:32px;min-width:0;height:100%;display:flex;position:absolute;left:50%;transform:translate(-50%)}.topbar-nav-item{color:#5c6674;height:100%;font-family:var(--app-font-family);font-size:var(--nav-font-size);font-weight:var(--nav-font-weight);line-height:var(--nav-line-height);white-space:nowrap;align-items:center;text-decoration:none;display:flex;position:relative}.topbar-home-nav a{align-items:center;height:100%;display:inline-flex;position:relative}.topbar-nav-item:hover,.topbar-nav-item:focus-visible,.topbar-nav-item.active{color:var(--module-accent,var(--color-heading));outline:none}.topbar-nav-item:after{content:"";background:0 0;border-radius:999px;height:2px;position:absolute;bottom:0;left:0;right:0}.topbar-nav-item.active:after{background:currentColor}.topbar-right{--app-topbar-action-size:var(--topbar-action-size);flex:none;justify-content:flex-end;height:100%;margin-left:auto}.topbar-action,.avatar-btn,.icon-button{min-width:var(--topbar-action-size);min-height:var(--topbar-action-size);border:1px solid var(--color-border);color:var(--color-heading);cursor:pointer;background:#ffffffd1;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.topbar-action,.avatar-btn{width:var(--topbar-action-size);height:var(--topbar-action-size)}.module-scripts .topbar-action,.module-scripts .avatar-btn{background:#ffffffe0;border-color:#ece7df}.topbar-action:hover,.avatar-btn:hover,.icon-button:hover{border-color:var(--color-primary);color:var(--color-primary-dark)}.module-image .topbar-action:hover,.module-image .avatar-btn:hover,.module-image .icon-button:hover{color:#0f766e;border-color:#14b8a659}.avatar-btn{color:#1c2838;gap:7px;padding:0 10px;font-size:14px;font-weight:760}.sidebar-nav{flex:auto;align-content:start;gap:8px;min-height:0;padding:12px;display:grid;overflow:hidden auto}.nav-item{min-height:46px;color:var(--color-muted);border-radius:14px;align-items:center;gap:12px;padding:0 14px;font-size:15px;font-weight:760;display:flex;position:relative}.module-scripts .nav-item{color:#6b7280;border-radius:12px;min-height:44px;font-size:14px;font-weight:650}.module-scripts .nav-item:hover,.module-scripts .nav-item:focus-visible{color:#111827;background:#ffffffc2}.nav-item:hover,.nav-item:focus-visible{color:var(--color-heading);background:#fff1e694;outline:none}.nav-item.active{background:var(--color-green-soft);color:var(--color-green)}.nav-item.active:before{background:var(--color-green);content:"";border-radius:0 999px 999px 0;width:3px;position:absolute;top:12px;bottom:12px;left:0}.nav-icon{flex:none}.nav-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shell-sidebar-footer{border-top:1px solid var(--color-border);flex:none;gap:4px;margin:0 12px;padding:10px 0 12px;display:grid}.shell-sidebar-footer button{color:#5f6d7c;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;min-width:0;min-height:38px;padding:0 12px;font-size:13px;font-weight:700;display:flex}.shell-sidebar-footer button:hover,.shell-sidebar-footer button:focus-visible{background:var(--workspace-accent-soft);color:var(--workspace-accent);outline:none}@media (width>=921px){.app-shell.sidebar-collapsed{--shell-sidebar-track-width:76px}.app-shell.sidebar-collapsed .shell-sidebar{border-radius:18px}#app .app-shell.sidebar-collapsed .sidebar-nav{padding:12px 8px}#app .app-shell.sidebar-collapsed .nav-item,#app .app-shell.sidebar-collapsed .shell-sidebar-footer button{justify-content:center;gap:0;padding-left:0;padding-right:0}#app .app-shell.sidebar-collapsed .nav-label{opacity:0;width:0}#app .app-shell.sidebar-collapsed .shell-sidebar-footer,#app .app-shell.sidebar-collapsed .shell-sidebar-toggle{margin-left:8px;margin-right:8px}}@media (width>=921px) and (height<=800px){#app .app-shell.module-novels .sidebar-nav{padding-top:16px;padding-bottom:16px}}.module-scripts .nav-item.active{color:#d84a3a;background:#fff1ee}.module-scripts .nav-item.active:before{background:#d84a3a}.module-image .nav-item.active{background:var(--color-amber-soft);color:var(--color-amber)}.module-image .nav-item.active:before{background:var(--color-amber)}.module-prompts .nav-item.active,.module-canvas .nav-item.active{background:var(--color-primary-soft);color:var(--color-primary-dark)}.module-prompts .nav-item.active:before,.module-canvas .nav-item.active:before{background:var(--color-primary)}.shell-main{grid-area:2/2;min-width:0;padding:28px 32px 40px}.module-scripts .shell-main{padding:28px var(--shell-page-x) 64px}.module-scripts .module-page{gap:22px}.module-scripts .module-page-header{align-items:center;min-height:82px}.module-scripts .module-page-header h1{color:#111827;font:var(--font-page-title)}.module-scripts .module-page-header p{color:#6b7280;max-width:620px;margin-top:8px;font-size:14px;line-height:1.6}.module-scripts .eyebrow{color:#6b7280;margin-bottom:6px;font-size:13px;font-weight:650}.home-workspace,.module-page{min-width:0}.home-workspace{gap:28px;display:grid}.workspace-header,.module-page-header{justify-content:space-between;align-items:flex-start;gap:24px;min-width:0;display:flex}.workspace-header h1,.module-page-header h1{color:var(--color-heading);font:var(--font-page-title);letter-spacing:0;margin:0}.eyebrow{color:var(--color-primary);letter-spacing:0;margin:0 0 8px;font-size:13px;font-weight:760}.workspace-header p,.module-page-header p{max-width:650px;color:var(--color-muted);font:var(--font-body);margin:10px 0 0}.btn{border-radius:var(--radius-md);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:720;display:inline-flex}.btn.primary{background:var(--color-primary);color:#fff}.btn.secondary{border-color:var(--color-border);background:var(--color-surface);color:var(--color-text)}.workspace-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:28px;display:grid}.workspace-main,.workspace-aside,.module-shell-grid{gap:18px;min-width:0;display:grid}.module-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.module-card,.workspace-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-tight)}.module-card{min-height:260px;color:var(--color-text);align-content:start;gap:12px;padding:22px 18px 18px;display:grid}.module-card:hover,.module-card:focus-visible,.quick-action:hover,.quick-action:focus-visible{border-color:var(--color-border-strong);outline:none;transform:translateY(-1px)}.module-icon{width:38px;height:38px;margin-bottom:10px}.module-card h2,.workspace-panel h2,.module-panel h2{color:var(--color-heading);letter-spacing:0;margin:0;font-size:18px;line-height:1.35}.module-card p{color:var(--color-muted);margin:0;font-size:14px;line-height:1.65}.card-action{border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:40px;color:var(--color-heading);justify-content:space-between;align-self:end;align-items:center;gap:8px;margin-top:auto;padding:0 10px 0 12px;font-size:14px;font-weight:720;display:inline-flex}.accent-green .module-icon,.accent-green .project-name svg{color:var(--color-green)}.accent-blue .module-icon,.accent-blue .project-name svg{color:var(--color-blue)}.accent-amber .module-icon,.accent-amber .project-name svg{color:var(--color-amber)}.accent-cyan .module-icon,.accent-cyan .project-name svg{color:var(--color-cyan)}.accent-indigo .module-icon,.accent-indigo .project-name svg{color:var(--color-indigo)}.workspace-panel{min-width:0;padding:20px}.panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.panel-header a,.panel-header span{color:var(--color-primary);font-size:14px;font-weight:720}.recent-table{border:1px solid var(--color-border);border-radius:var(--radius-md);display:grid;overflow:hidden}.recent-row{border-top:1px solid var(--color-border);min-height:68px;color:var(--color-muted);grid-template-columns:minmax(220px,1.4fr) minmax(116px,.6fr) minmax(160px,1fr) minmax(120px,.55fr);align-items:center;gap:18px;padding:0 16px;font-size:14px;display:grid}.recent-row:first-child{border-top:0}.recent-head{background:var(--color-surface-muted);min-height:44px;color:var(--color-muted);font-size:13px;font-weight:720}.project-name{align-items:center;gap:12px;min-width:0;display:flex}.project-name svg{flex:none}.project-name span{gap:3px;min-width:0;display:grid}.project-name strong{min-width:0;color:var(--color-heading);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.project-name small,.quick-action small{color:var(--color-muted);font-size:13px;line-height:1.4}.type-chip{border-radius:var(--radius-sm);align-items:center;min-height:26px;padding:0 8px;font-size:13px;font-weight:720;display:inline-flex}.type-chip.accent-green,.quick-icon.accent-green{background:var(--color-green-soft);color:var(--color-green)}.type-chip.accent-blue,.quick-icon.accent-blue{background:var(--color-blue-soft);color:var(--color-blue)}.type-chip.accent-amber,.quick-icon.accent-amber{background:var(--color-amber-soft);color:var(--color-amber)}.type-chip.accent-cyan,.quick-icon.accent-cyan{background:var(--color-cyan-soft);color:var(--color-cyan)}.quick-panel{gap:10px;display:grid}.quick-action{border-radius:var(--radius-md);min-height:66px;color:var(--color-heading);border:1px solid #0000;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:8px;display:grid}.quick-icon{border-radius:var(--radius-md);background:var(--color-primary-soft);width:44px;height:44px;color:var(--color-primary);place-items:center;display:grid}.quick-action span:nth-child(2){gap:3px;min-width:0;display:grid}.queue-panel ul,.scope-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.queue-panel li{color:var(--color-muted);justify-content:space-between;gap:12px;font-size:14px;display:flex}.queue-panel strong{color:var(--color-primary-dark)}.module-page{gap:28px;display:grid}.module-shell-grid{grid-template-columns:minmax(0,.85fr) minmax(300px,.45fr)}.module-subnav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.module-subnav a{border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:48px;color:var(--color-heading);justify-content:space-between;align-items:center;gap:10px;padding:0 12px;font-weight:700;display:flex}.scope-list li{border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-muted);padding:12px;font-size:14px}.accent-teal .module-icon{color:var(--color-primary)}.quick-icon.accent-teal{background:var(--color-primary-soft);color:var(--color-primary)}@media (width<=1180px){.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-layout,.module-shell-grid{grid-template-columns:1fr}.workspace-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=920px){.app-shell{--app-header-padding-x:20px;--shell-page-x:20px;display:block}.app-topbar{height:auto;min-height:var(--topbar-height);padding:8px var(--app-header-padding-x) 0;flex-wrap:wrap;gap:12px;position:sticky}.brand-link{flex-basis:112px;min-width:112px}.brand-logo{width:108px;height:46px}.topbar-home-nav{flex-basis:100%;order:3;justify-content:safe center;gap:18px;width:100%;height:auto;position:static;overflow-x:auto;transform:none}.topbar-home-nav a{flex:none;min-height:42px}.topbar-right{margin-left:auto}.shell-sidebar,.module-scripts .shell-sidebar{border-radius:18px;height:auto;margin:12px 12px 0;position:static}.sidebar-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding:8px}.shell-sidebar-toggle{display:none}.shell-sidebar-footer{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 8px;padding:8px 0}.shell-sidebar-footer button{justify-content:center}.nav-item{justify-content:center;min-height:42px;padding:0 10px}.shell-main,.module-scripts .shell-main,.app-shell.without-sidebar .shell-main{padding:24px var(--shell-page-x)}.workspace-header,.module-page-header{flex-direction:column}.workspace-actions{width:100%}.workspace-actions .btn,.module-page-header .btn{flex:1 1 0}}@media (width<=720px){.app-shell{--shell-page-x:16px}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.shell-sidebar-footer,.module-grid,.workspace-aside,.module-subnav{grid-template-columns:1fr}.workspace-header h1,.module-page-header h1{font-size:28px}.topbar-right{margin-left:auto}.avatar-btn span{display:none}.recent-row{grid-template-columns:1fr;gap:6px;min-height:auto;padding:14px}.recent-head{display:none}.module-card{min-height:210px}.workspace-actions{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){.app-shell,.shell-sidebar{transition:none}}@media (width>=921px){.app-shell.has-credit-campaign{grid-template-rows:var(--topbar-height) 40px minmax(0, 1fr)}.app-shell.has-credit-campaign>.shell-sidebar{height:calc(100vh - var(--topbar-height) - 72px)}.app-shell.has-credit-campaign.module-scripts>.shell-sidebar{height:calc(100vh - var(--topbar-height) - 68px)}.app-shell.has-credit-campaign>.shell-sidebar,.app-shell.has-credit-campaign>.shell-main{grid-row:3}}:root{--novel-font-sans:Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;--novel-font-serif:"Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif}@media (width>=1024px){:root{--novel-ink:#202628;--novel-muted:#687073;--novel-border:#4a423730;--novel-surface:#f8f6f0ad;--novel-surface-soft:#f8f6f07a;--novel-primary:#0b7680;--novel-primary-hover:#095f68;--novel-primary-soft:#11889414;--novel-primary-button-bg:#e7f1ef;--novel-primary-button-bg-hover:#d9eae8;--novel-primary-border:#658e90;--novel-primary-border-hover:#557d80;--novel-primary-on-soft:#0b6870;--novel-primary-on-soft-hover:#0b626b;--novel-teal:#118894;--novel-teal-dark:#0b7680;--novel-teal-soft:#11889412;--novel-paper:#f2efe7;--novel-surface-strong:#fffefae6;--novel-vermilion:#c95724;--novel-danger:#b43b32}.app-shell.module-novels{--module-accent:var(--novel-teal);--sidebar-width:226px;background-color:var(--novel-paper);background-image:none;background-position:0 calc(100% + 140px);background-repeat:no-repeat;background-size:100%}html.novel-paper-theme-ready .app-shell.module-novels{background-image:url(/assets/hero-paper-ink-1440-eqJbpuvl.webp)}.app-shell.module-novels .app-topbar{box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8f6f0bd;border-bottom-color:#191c1d29}.app-shell.module-novels .topbar-nav-item{color:#555b5d;font-weight:500}.app-shell.module-novels .topbar-nav-item:hover,.app-shell.module-novels .topbar-nav-item:focus-visible,.app-shell.module-novels .topbar-nav-item.active{color:var(--novel-teal-dark)}.app-shell.module-novels .topbar-action,.app-shell.module-novels .avatar-btn{box-shadow:none;background:#f8f6f09e;border-color:#191c1d29}.app-shell.module-novels .topbar-action:hover,.app-shell.module-novels .topbar-action:focus-visible,.app-shell.module-novels .avatar-btn:hover,.app-shell.module-novels .avatar-btn:focus-visible{color:var(--novel-teal-dark);border-color:#1188947a;outline:3px solid #1188941a}.app-shell.module-novels .shell-sidebar{top:var(--topbar-height);height:calc(100vh - var(--topbar-height));box-shadow:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#f8f6f061;border-width:0 1px 0 0;border-color:#191c1d26;border-radius:0;margin:0}.app-shell.module-novels .sidebar-nav{gap:14px;padding:34px}.app-shell.module-novels .nav-item{color:#535d61;border-radius:7px;min-height:46px;padding:0 16px;font-size:15px;font-weight:500}.app-shell.module-novels .nav-item:hover,.app-shell.module-novels .nav-item:focus-visible{color:#1e555b;background:#1188940b}.app-shell.module-novels .nav-item.active{color:var(--novel-teal-dark);background:#11889411}.app-shell.module-novels .nav-item.active:before{background:var(--novel-teal);width:2px;top:8px;bottom:8px}.app-shell.module-novels .shell-main{background-blend-mode:screen;background-color:#fbf8f1;background-image:none;background-position:0 0;background-repeat:repeat;background-size:512px 342px;padding:0}html.novel-paper-theme-ready .app-shell.module-novels .shell-main{background-color:#d0c9bb;background-image:url(/assets/paper-novel-texture-v2-C0NrW34E.webp)}:is(body:has(.app-shell.module-novels) .agent-floating-label,body:has(.workspace-page) .agent-floating-label){font-family:Inter,PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;font-weight:500}}.workspace-dialog,.workspace-choice{border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}.workspace-dialog{outline:none}:is(button,label).workspace-choice{cursor:pointer}.workspace-choice:hover,.workspace-choice:focus-visible{border-color:var(--ui-accent-border);outline:none}.workspace-choice:is(.active,.selected){border-color:var(--ui-accent-border);background:var(--ui-accent-soft)}.workspace-input{border:1px solid var(--ui-border);background:var(--control-background,var(--ui-subtle));color:var(--ui-text);font:inherit;outline:none}.workspace-input:focus{border-color:var(--ui-accent);background:var(--ui-surface);box-shadow:0 0 0 3px var(--ui-accent-soft)}.workspace-input::placeholder{color:var(--ui-faint)}.workspace-input[aria-invalid=true]{border-color:var(--ui-danger-border);background:var(--ui-danger-soft)}.workspace-button{border:1px solid var(--ui-border);background:var(--control-background,var(--ui-surface));color:var(--ui-muted);cursor:pointer;font:inherit}.workspace-button[data-variant=accent]{border-color:var(--ui-accent-border);background:var(--ui-accent-soft);color:var(--ui-accent)}.workspace-button[data-variant=solid]{border-color:var(--ui-accent);background:var(--ui-accent);color:var(--workspace-accent-on)}.workspace-button[data-variant=danger]{border-color:var(--ui-danger-border);color:var(--ui-danger)}.workspace-button[data-variant=clear]{color:var(--ui-danger);background:0 0;border-color:#0000}.workspace-button[data-variant=accent]:hover:not(:disabled){border-color:var(--ui-accent);background:var(--ui-accent-hover)}.workspace-button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.workspace-button:disabled{border-color:var(--ui-border);background:var(--ui-subtle);color:var(--ui-faint);cursor:not-allowed;opacity:.55}:root{--ui-page:#fff;--ui-surface:#fff;--ui-subtle:#f7f8fa;--ui-hover:#f0f3f5;--ui-border:#e4e7ec;--ui-text:#20262e;--ui-muted:#66717e;--ui-faint:#84909c;--ui-accent:#087e83;--ui-accent-soft:#eaf5f4;--ui-accent-hover:#dbeeed;--ui-accent-border:#95c7c5;--ui-warning:#a55221;--ui-danger:#b53d37;--ui-danger-soft:#fff1ef;--ui-danger-border:#e4b0aa}html[data-workspace-theme=warm]{--ui-page:#fbf8f1;--ui-surface:#f8f6f0;--ui-subtle:#f2efe7;--ui-hover:#ece9e0;--ui-border:#d8d3c9;--ui-text:#202628;--ui-muted:#687073;--ui-faint:#837e75;--ui-accent:#0b7680;--ui-accent-soft:#e6ede7;--ui-accent-hover:#dce7df;--ui-accent-border:#95b9b5;--ui-warning:#a55221}html[data-workspace-theme=dark]{--ui-page:#14171b;--ui-surface:#1c2026;--ui-subtle:#181c21;--ui-hover:#272d35;--ui-border:#333b46;--ui-text:#e7ebf0;--ui-muted:#a2acb8;--ui-faint:#919caa;--ui-accent:#72d2cc;--ui-accent-soft:#203b3c;--ui-accent-hover:#294849;--ui-accent-border:#477777;--ui-warning:#edb382;--ui-danger:#f39992;--ui-danger-soft:#3c2527;--ui-danger-border:#744247}html[data-workspace-theme] body:has(.app-shell,.creation-shell,.workspace-page){--color-bg:var(--ui-page);--color-bg-subtle:var(--ui-subtle);--color-surface:var(--ui-surface);--color-surface-muted:var(--ui-subtle);--color-text:var(--ui-text);--color-heading:var(--ui-text);--color-muted:var(--ui-muted);--color-soft:var(--ui-faint);--color-border:var(--ui-border);--color-border-strong:var(--ui-border);--workspace-accent:var(--ui-accent);--workspace-accent-hover:var(--ui-accent);--workspace-accent-soft:var(--ui-accent-soft);--workspace-accent-on:#fff;--native-select-option-bg:var(--ui-surface);--native-select-option-text:var(--ui-text);--native-select-option-selected-bg:var(--ui-accent-soft);--native-select-option-selected-text:var(--ui-accent);background:var(--ui-page);color:var(--ui-text)}html[data-workspace-theme=dark] :is(.app-shell,.creation-shell,.workspace-page) select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-workspace-theme=dark] body:has(.app-shell,.creation-shell,.workspace-page){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-workspace-theme=dark] body:has(.app-shell,.creation-shell,.workspace-page){--workspace-accent-on:#102d2b}html[data-workspace-theme] :is(.app-shell,.workspace-page){--module-accent:var(--ui-accent);--sidebar-width:176px;--native-select-option-bg:var(--ui-surface);--native-select-option-text:var(--ui-text);--native-select-option-selected-bg:var(--ui-accent-soft);--native-select-option-selected-text:var(--ui-accent);background:var(--ui-page);color:var(--ui-text)}html[data-workspace-theme] :is(.app-shell,.workspace-page,.creation-shell)>:is(.app-topbar,.ws-topbar,.creation-topbar){background:var(--ui-surface);border-color:var(--ui-border);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-workspace-theme] .app-shell .shell-main{background:var(--ui-page)}html[data-workspace-theme] .app-shell .shell-sidebar{border:0;border-right:1px solid var(--ui-border);background:var(--ui-page);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;top:var(--topbar-height);height:calc(100dvh - var(--topbar-height));border-radius:0;margin:0}html[data-workspace-theme] .app-shell .sidebar-nav{gap:6px;padding:22px 12px}html[data-workspace-theme] .app-shell .nav-item{min-height:42px;color:var(--ui-muted);border-radius:7px;gap:10px;padding:0 12px;font-size:14px;font-weight:500}html[data-workspace-theme] .app-shell .nav-item:hover{background:var(--ui-hover);color:var(--ui-text)}html[data-workspace-theme] .app-shell .nav-item.active{background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-workspace-theme] .app-shell .nav-item.active:before{background:var(--ui-accent)}html[data-workspace-theme] .app-shell :is(.topbar-nav-item,.shell-sidebar-footer button){color:var(--ui-muted)}html[data-workspace-theme] .app-shell .topbar-nav-item:is(.active,:hover,:focus-visible){color:var(--ui-accent)}html[data-workspace-theme] :is(.app-shell,.workspace-page,.creation-shell) :is(.topbar-action,.shell-sidebar-toggle,.notification-trigger,.notification-bell,.user-avatar-button){background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-muted);box-shadow:none}html[data-workspace-theme] .shell-sidebar-footer{border-color:var(--ui-border)}html[data-workspace-theme] .app-shell.sidebar-collapsed .sidebar-nav{padding-inline:8px}html[data-workspace-theme] .app-shell.sidebar-collapsed .nav-item{justify-content:center;padding-inline:0}html[data-workspace-theme=dark] :is(.brand-logo,.creation-brand img,.agent-brand img){filter:brightness(0)invert(.9)}html[data-workspace-theme] .creation-mode-switch{background:var(--ui-subtle);border-color:var(--ui-border)}html[data-workspace-theme] .creation-mode-switch a{color:var(--ui-muted)}html[data-workspace-theme] .creation-mode-switch a.selected,html[data-workspace-theme] .creation-mode-switch a:hover{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-accent)}html[data-workspace-theme] .tutorial-link{background:var(--ui-accent-soft);color:var(--ui-accent);border-color:var(--ui-border)}html[data-workspace-theme] .novel-app,html[data-workspace-theme] .workspace-page{--novel-ink:var(--ui-text);--novel-muted:var(--ui-muted);--novel-border:var(--ui-border);--novel-surface:var(--ui-surface);--novel-surface-soft:var(--ui-subtle);--novel-primary:var(--ui-accent);--novel-primary-hover:var(--ui-accent);--novel-primary-soft:var(--ui-accent-soft);--novel-primary-button-bg:var(--ui-accent-soft);--novel-primary-button-bg-hover:var(--ui-accent-hover);--novel-primary-border:var(--ui-accent-border);--novel-primary-border-hover:var(--ui-accent);--novel-primary-on-soft:var(--ui-accent);--novel-primary-on-soft-hover:var(--ui-accent);--novel-teal:var(--ui-accent);--novel-teal-dark:var(--ui-accent);--novel-teal-soft:var(--ui-accent-soft);--workspace-paper:var(--ui-page);--workspace-surface:var(--ui-surface);--workspace-surface-strong:var(--ui-surface);--workspace-ink:var(--ui-text);--workspace-muted:var(--ui-muted);--workspace-border:var(--ui-border);--workspace-teal:var(--ui-accent);--workspace-teal-dark:var(--ui-accent);--workspace-teal-soft:var(--ui-accent-soft);--workspace-primary-button-bg:var(--ui-accent-soft);--workspace-primary-button-bg-hover:var(--ui-accent-hover);--workspace-teal-on-soft:var(--ui-accent);--workspace-teal-on-soft-hover:var(--ui-accent)}html[data-workspace-theme] body:has(.app-shell.module-novels,.workspace-page){--novel-ink:var(--ui-text);--novel-muted:var(--ui-muted);--novel-border:var(--ui-border);--novel-surface:var(--ui-surface);--novel-surface-soft:var(--ui-subtle);--novel-primary:var(--ui-accent);--novel-primary-hover:var(--ui-accent);--novel-primary-soft:var(--ui-accent-soft);--novel-primary-button-bg:var(--ui-accent-soft);--novel-primary-button-bg-hover:var(--ui-accent-hover);--novel-primary-border:var(--ui-accent-border);--novel-primary-border-hover:var(--ui-accent);--novel-primary-on-soft:var(--ui-accent);--novel-primary-on-soft-hover:var(--ui-accent);--novel-teal:var(--ui-accent);--novel-teal-dark:var(--ui-accent);--novel-teal-soft:var(--ui-accent-soft);--workspace-paper:var(--ui-page);--workspace-surface:var(--ui-surface);--workspace-surface-strong:var(--ui-surface);--workspace-ink:var(--ui-text);--workspace-muted:var(--ui-muted);--workspace-border:var(--ui-border);--workspace-teal:var(--ui-accent);--workspace-teal-dark:var(--ui-accent);--workspace-teal-soft:var(--ui-accent-soft);--workspace-primary-button-bg:var(--ui-accent-soft);--workspace-primary-button-bg-hover:var(--ui-accent-hover);--workspace-teal-on-soft:var(--ui-accent);--workspace-teal-on-soft-hover:var(--ui-accent)}html[data-workspace-theme] :is(.novel-app,.novel-main,.novel-main-inner){background:0 0}html[data-workspace-theme] .novel-app:before{display:none}html[data-workspace-theme] .novel-app .page-heading h1{font:600 28px/1.35 var(--app-font-family);letter-spacing:-.025em}html[data-workspace-theme] .novel-app .page-heading h1 span{color:var(--ui-accent);font-family:var(--app-font-family);background:0 0}html[data-workspace-theme] .novel-app .action-button.primary{background:var(--ui-accent-soft);color:var(--ui-accent);border-color:var(--ui-accent-border);box-shadow:none}html[data-workspace-theme] .novel-app .action-button.primary:not(:disabled):hover{background:var(--ui-accent-hover);color:var(--ui-accent)}html[data-workspace-theme] .novel-app .work-head strong{font-family:var(--app-font-family);font-size:16px}html[data-workspace-theme] .novel-app .filter-bar{margin-top:0}html[data-workspace-theme] :is(.work-card,.skeleton-card,.modal-panel,.prompt-detail-modal,.generation-drawer,.asset-drawer){background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}html[data-workspace-theme] .work-card:hover{background:var(--ui-surface);border-color:var(--ui-accent-border)}html[data-workspace-theme] :is(.status-segment,.work-head em){background:var(--ui-subtle);color:var(--ui-muted);border-color:var(--ui-border)}html[data-workspace-theme] :is(.search-field,.select-field,.action-button.secondary,.work-icon-action){background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-muted)}html[data-workspace-theme] :is(.work-synopsis,.work-meta,.work-progress>strong,.work-head em){color:var(--ui-muted)}html[data-workspace-theme] :is(.work-head strong,.search-field input,.select-field select){color:var(--ui-text)}html[data-workspace-theme] .work-progress>i{background:var(--ui-border)}html[data-workspace-theme] .work-tags small{background:var(--ui-subtle);border-color:var(--ui-border);color:var(--ui-muted)}html[data-workspace-theme] .novel-app .chip{color:var(--ui-muted)}html[data-workspace-theme] .novel-app .chip.active{background:var(--ui-surface);color:var(--ui-accent);border-color:var(--ui-accent-border)}html[data-workspace-theme] .work-icon-action:hover{background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-workspace-theme] :is(.modal-panel,.prompt-detail-modal) :is(input,textarea,select){background:var(--ui-subtle);color:var(--ui-text);border-color:var(--ui-border)}html[data-workspace-theme] .novel-app :is(.modal-panel,.prompt-detail-modal){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}html[data-workspace-theme] .novel-app .modal-panel :is(.close-button,.action-button.secondary){background:var(--ui-subtle);color:var(--ui-muted);border-color:var(--ui-border)}html[data-workspace-theme] .novel-app :is(.asset-card,.ai-history-shell,.history-list-panel,.history-detail-panel,.trash-card,.prompt-detail-body,.generation-result-body){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}html[data-workspace-theme] .novel-app .asset-card:hover{background:var(--ui-hover);border-color:var(--ui-accent-border)}html[data-workspace-theme] .novel-app .asset-card h2{color:var(--ui-text)}html[data-workspace-theme] .novel-app :is(.tab-button,.category-button,.prompt-source-tabs button,.asset-category-tabs button,.history-type-tabs button){color:var(--ui-muted)}html[data-workspace-theme] .novel-app :is(.tab-button,.category-button,.prompt-source-tabs button,.asset-category-tabs button,.history-type-tabs button).active{background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-workspace-theme] .notification-drawer{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}html[data-workspace-theme] .notification-drawer :is(button,article,.drawer-state){background:var(--ui-subtle);color:var(--ui-muted);border-color:var(--ui-border)}html[data-workspace-theme] .notification-drawer :is(p,small,.drawer-actions span){color:var(--ui-muted)}html[data-workspace-theme] .notification-drawer article.unread{background:var(--ui-accent-soft);border-color:var(--ui-accent-border)}html[data-workspace-theme] :is(.creation-shell,.creation-content){background:var(--ui-page);color:var(--ui-text)}html[data-workspace-theme] .creation-rail{background:var(--ui-subtle);border-color:var(--ui-border)}html[data-workspace-theme] .creation-shell :is(.creation-breadcrumb,.rail-label,.rail-foot,.rail-foot small,.creation-rail nav a){color:var(--ui-muted);border-color:var(--ui-border)}html[data-workspace-theme] .creation-shell .creation-breadcrumb strong{color:var(--ui-text)}html[data-workspace-theme] .creation-shell .creation-rail nav a.selected{background:var(--ui-accent-soft);color:var(--ui-accent)}html[data-workspace-theme] .workspace-page :is(.chapter-tree,.writing-tool-panel,.doc-sidebar,.wiki-sidebar,.ws-mode-tabs,.tool-row,.focus-strip,.ai-quick-row){background:var(--ui-subtle);border-color:var(--ui-border)}html[data-workspace-theme] .workspace-page :is(.paper-shell,.editor-area,.doc-card,.wiki-card,.context-card,.generation-preview,.generation-preview pre,.panel-state,.chapter-menu-popover,.outline-modal){background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text)}html[data-workspace-theme] .workspace-page :is(.ws-back-btn,.secondary-action,.header-actions button,.tool-group button,.focus-strip button,.icon-close,.om-close,.ai-chip,.chapter-meta-btn,.chapter-menu summary,.chapter-rail button,.tool-tabs button,.generation-preview button,.add-doc-btn,.add-chapter-btn){background:var(--ui-surface);color:var(--ui-muted);border-color:var(--ui-border)}html[data-workspace-theme] .workspace-page :is(.ws-mode-tabs a,.ws-mode-tabs button,.doc-cat,.wiki-type,.chapter-menu-popover button){color:var(--ui-muted)}html[data-workspace-theme] .workspace-page :is(.ai-chip.primary,.tool-tabs button.active,.ws-mode-tabs .active,.chapter-item.active,.doc-cat.active,.wiki-type.active){background:var(--ui-accent-soft);color:var(--ui-accent);border-color:var(--ui-accent-border)}html[data-workspace-theme] .workspace-page :is(.rename-input,.om-textarea,.side-field input,.side-field textarea,.side-field select,.doc-editor-view input,.doc-editor-view textarea,.doc-editor-view select,.wiki-editor-view input,.wiki-editor-view textarea,.wiki-toolbar select,.workspace-search){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}html[data-workspace-theme] .workspace-page :is(.paper-editor,.chapter-title-inline input){color:var(--ui-text);background:0 0}html[data-workspace-theme] .workspace-page :is(.paper-editor,.chapter-title-inline input)::placeholder{color:var(--ui-faint)}html[data-workspace-theme] .workspace-page :is(.chapter-create-btn,.chapter-collapse-btn,.volume-head em){background:var(--ui-surface);color:var(--ui-muted);border-color:var(--ui-border)}@media (width>=1024px){html[data-workspace-theme] .app-shell.module-novels .shell-main{padding:36px clamp(28px,3vw,56px) 56px}html[data-workspace-theme] .novel-main-inner{max-width:1600px}}@media (width<=920px){html[data-workspace-theme] .app-shell .shell-sidebar{border-right:0;height:auto;top:auto}html[data-workspace-theme] .app-shell .sidebar-nav{padding:8px 12px;display:flex;overflow-x:auto}html[data-workspace-theme] .app-shell .nav-item{flex:none}html[data-workspace-theme] .app-shell .shell-sidebar-footer{justify-content:flex-end;gap:16px;padding:4px 8px;display:flex}html[data-workspace-theme] .app-shell .shell-sidebar-footer button{min-height:32px;font-size:12px}}@media (width<=520px){html[data-workspace-theme] .app-shell>.app-topbar{grid-template-columns:minmax(0,1fr) max-content max-content max-content;gap:8px;padding:8px 12px 0;display:grid}html[data-workspace-theme] .app-shell .topbar-right{display:contents}html[data-workspace-theme] .app-shell .brand-link{grid-area:1/1;min-width:0}html[data-workspace-theme] .app-shell .brand-logo{width:80px;max-width:100%;height:40px}html[data-workspace-theme] .app-shell .theme-switch{grid-area:1/2}html[data-workspace-theme] .app-shell .tutorial-link{grid-area:1/3}html[data-workspace-theme] .app-shell .user-menu{grid-area:1/4;gap:6px}html[data-workspace-theme] .app-shell .creation-mode-switch{grid-area:2/1/auto/4;justify-self:start;margin:0}html[data-workspace-theme] .app-shell .topbar-action{grid-area:2/4;justify-self:start}html[data-workspace-theme] .app-shell .notification-root{grid-area:2/4;justify-self:end}html[data-workspace-theme] .app-shell .topbar-home-nav{grid-area:3/1/auto/-1}}.collection-page{width:100%;min-width:0;max-width:1600px;color:var(--ui-text);font-family:var(--app-font-family);flex-direction:column;gap:28px;margin-inline:auto;display:flex}.collection-content{flex-direction:column;gap:22px;min-width:0;display:flex}.collection-primary-action,.collection-text-action{min-height:36px;font:500 13px/1.4 var(--app-font-family);white-space:nowrap;cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;display:inline-flex}.collection-primary-action{background:var(--ui-accent-soft);color:var(--ui-accent)}.collection-primary-action:hover{background:var(--ui-accent-hover)}.collection-text-action{color:var(--ui-muted);background:0 0}.collection-text-action:hover{background:var(--ui-hover);color:var(--ui-text)}.collection-text-action:disabled{opacity:.5;cursor:not-allowed}.collection-primary-action:focus-visible,.collection-text-action:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}.collection-view-toggle{align-items:center;gap:4px;display:flex}.collection-view-toggle button{width:32px;height:32px;color:var(--ui-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.collection-view-toggle button[aria-pressed=true]{color:var(--ui-accent);background:var(--ui-accent-soft)}.collection-view-toggle button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}@media (width<=680px){.collection-page{gap:22px}}
