:root{font-family:Inter,SF Pro Display,Microsoft YaHei,PingFang SC,Arial,sans-serif;--app-bg: #f6f8fa;--surface: #fff;--surface-muted: #f9fafb;--surface-quiet: #f7f8fa;--surface-elevated: rgba(255, 255, 255, .94);--border: #e3e8ef;--border-soft: rgba(15, 23, 42, .07);--text: #14171f;--text-muted: #667085;--text-soft: #98a2b3;--accent: #0f766e;--accent-strong: #0b5f59;--accent-soft: #e8f5f2;--accent-blue: #465fff;--danger: #b42318;--warning: #b7791f;--shadow-soft: 0 1px 2px rgba(16, 24, 40, .032), 0 8px 22px rgba(16, 24, 40, .04);--shadow-card: 0 1px 2px rgba(16, 24, 40, .035), 0 14px 34px rgba(16, 24, 40, .045);--shadow-popover: 0 22px 60px rgba(16, 24, 40, .14);color:var(--text);background:var(--app-bg);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box;scrollbar-color:rgba(102,112,133,.38) transparent;scrollbar-width:thin}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:#66708557;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:#66708585;background-clip:padding-box}::selection{color:#0b2522;background:#0f766e2e}body{margin:0;min-width:320px;min-height:100vh;background:var(--app-bg)}button,input,textarea,select{font:inherit;letter-spacing:0}button{cursor:pointer}button,input,textarea,select{transition:border-color .14s ease,background-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}input:focus,textarea:focus,select:focus{border-color:#0f766e8c!important;box-shadow:0 0 0 3px #0f766e1f}.app-shell{--left-rail-width: 76px;--sidebar-width: clamp(220px, 12vw, 248px);--inspector-width: clamp(356px, 24vw, 420px);--collapsed-sidebar-width: 36px;display:grid;grid-template-columns:var(--left-rail-width) var(--sidebar-width) minmax(0,1fr) var(--inspector-width);grid-template-rows:68px minmax(0,1fr);height:100vh;color:var(--text);background:linear-gradient(180deg,#fbfcfd 0%,var(--app-bg) 150px,#f2f5f7 100%);transition:grid-template-columns .16s ease}.app-shell.sidebar-collapsed{--sidebar-width: var(--collapsed-sidebar-width)}.app-shell.inspector-collapsed{--inspector-width: 0px}.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(356px, 24vw, 420px);grid-template-columns:var(--left-rail-width) var(--sidebar-width) minmax(0,1fr) var(--inspector-width)}.app-shell.empty-workspace{--left-rail-width: 0px;--sidebar-width: clamp(276px, 18vw, 320px);--inspector-width: 0px}.app-shell.empty-workspace.sidebar-collapsed{--sidebar-width: clamp(276px, 18vw, 320px)}.app-shell.empty-workspace.inspector-collapsed{--inspector-width: 0px}.app-shell.sidebar-collapsed .sidebar,.app-shell.inspector-collapsed .inspector{display:none}.app-shell.empty-workspace.sidebar-collapsed .sidebar{display:block}.app-shell.empty-workspace .inspector{display:none}.access-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:#f5f5f7}.access-card{display:grid;gap:12px;width:min(440px,100%);padding:28px;border:1px solid #dedee3;border-radius:8px;background:#fff;box-shadow:0 18px 45px #00000014}.access-card>span{color:#147a72;font-size:12px;font-weight:800}.access-card h1{margin:0;font-size:28px}.access-card p{margin:0;color:#424245;line-height:1.65}.access-card form,.access-card label{display:grid;gap:8px}.access-card label{color:#6e6e73;font-size:13px;font-weight:700}.access-card input{min-height:42px;padding:9px 11px;border:1px solid #dedee3;border-radius:8px;outline:0;color:#1d1d1f;background:#fbfbfd}.auth-required-shell{position:relative;overflow:hidden;display:grid;grid-template-rows:64px minmax(0,1fr);min-height:100vh;color:var(--text);background:linear-gradient(180deg,#fffffff5,#f7fafafa 52%,#eef4f5f0),var(--app-bg)}.auth-required-shell:before{position:absolute;inset:64px 0 0;pointer-events:none;background:linear-gradient(rgba(17,24,39,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(17,24,39,.026) 1px,transparent 1px);background-size:36px 36px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent 68%);mask-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent 68%);content:""}.auth-required-topbar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px clamp(18px,2.4vw,32px);border-bottom:1px solid rgba(17,24,39,.075);background:#ffffffe6;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 1px #ffffffbd}.auth-top-login{min-height:36px;padding-inline:12px;border-color:#cbd5e1b8;background:#ffffffb3;box-shadow:none}.auth-required-panel{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,500px) minmax(320px,480px);align-content:start;align-items:center;gap:clamp(32px,5vw,68px);width:min(1040px,calc(100% - 48px));margin:0 auto;padding:clamp(74px,12vh,118px) 0 58px}.auth-required-copy{grid-column:1;display:grid;gap:15px;max-width:520px}.auth-required-copy>span{color:var(--accent);font-size:12px;font-weight:860;letter-spacing:.04em}.auth-required-copy h1{margin:0;color:#101828;font-size:clamp(38px,4vw,54px);line-height:1.05}.auth-required-copy p{max-width:520px;margin:0;color:#475467;font-size:17px;line-height:1.64}.auth-required-actions{display:flex;align-items:center;gap:14px;margin-top:8px}.auth-required-actions .primary-button,.auth-required-actions .secondary-button{min-height:44px;padding:0 18px}.auth-required-actions small{max-width:240px;color:#667085;font-size:12px;line-height:1.5}.auth-required-preview{position:relative;display:grid;gap:12px;min-height:336px;padding:16px;border:1px solid rgba(208,213,221,.72);border-radius:8px;background:linear-gradient(90deg,rgba(248,250,252,.72) 0,rgba(248,250,252,.72) 72px,transparent 72px),linear-gradient(180deg,#fffffffa,#f8fafcf5);box-shadow:0 18px 56px #10182817;transform:none}.auth-required-preview:before{position:absolute;inset:0 0 auto;height:3px;border-radius:8px 8px 0 0;background:linear-gradient(90deg,#0f766e,#85b6b0 52%,#6b7cff);content:""}.topbar{grid-column:1 / -1;display:flex;align-items:center;gap:10px;min-height:64px;padding:8px 16px;border-bottom:1px solid rgba(15,23,42,.058);background:linear-gradient(180deg,#fffffffb,#f8fbfcf5);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 1px #ffffffd1,0 8px 20px #10182807;z-index:4}.brand{display:flex;align-items:center;gap:10px;width:202px;min-width:176px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#fff;background:linear-gradient(145deg,#111827,#1c2433);box-shadow:inset 0 0 0 1px #ffffff14;font-size:12px;font-weight:800}.brand strong,.brand span{display:block}.brand span,.eyebrow,.panel-title span{color:#667085;font-size:12px}.brand strong{color:#111827;font-size:15px;line-height:1.12}.brand span{margin-top:2px;line-height:1.15}.project-select{display:flex;align-items:center;gap:8px;width:clamp(292px,24vw,440px);height:40px;padding:0 13px 0 10px;border:1px solid rgba(203,213,225,.66);border-radius:8px;background:linear-gradient(180deg,#fffffffa,#f8fafcdb);box-shadow:0 1px #ffffffd6 inset,0 1px 2px #10182809;color:#344054}.project-select svg{flex:0 0 auto;width:28px;height:28px;padding:6px;border-radius:7px;background:#0f766e14;color:#0f766e}.project-select select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#1f2937;font-size:14px;font-weight:750}.project-switcher{position:relative;padding:0;overflow:visible}.project-switcher-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:100%;min-width:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.project-switcher-trigger>span{min-width:0;max-width:100%;overflow:hidden}.project-switcher-trigger strong,.project-switcher-trigger em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-switcher-trigger strong{display:-webkit-box;overflow-wrap:anywhere;color:#111827;font-size:13.5px;font-style:normal;font-weight:800;line-height:1.15;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:1}.project-switcher-trigger em{margin-top:2px;color:#667085;font-size:11px;font-style:normal;font-weight:650;line-height:1.1}.project-switcher-chevron{width:16px!important;height:16px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#667085!important;transition:transform .16s ease}.project-switcher.open .project-switcher-chevron{transform:rotate(180deg)}.project-switcher.is-locked{border-color:#fbbf2480}.project-switcher-popover{position:absolute;top:calc(100% + 8px);left:0;z-index:80;display:grid;gap:0;width:min(420px,calc(100vw - 32px));padding:12px 12px 10px;border:1px solid rgba(92,83,67,.14);border-radius:8px;background:linear-gradient(180deg,#fcfdfafa,#f6faf7f5);box-shadow:0 18px 44px #242f331f,inset 0 1px #ffffffb8}.project-switcher-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;height:34px;margin:0 0 8px;padding:0 0 7px;border:0;border-bottom:1px solid rgba(92,83,67,.13);border-radius:0;background:transparent}.project-switcher-search svg{width:16px!important;height:16px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:var(--desk-accent-strong)!important}.project-switcher-search input{min-width:0;border:0;outline:0;background:transparent;color:#26343a;font:inherit;font-size:12.8px;font-weight:650}.project-switcher-list{display:grid;gap:0;max-height:min(360px,calc(100vh - 188px));overflow-y:auto;border-top:1px solid rgba(92,83,67,.08)}.project-switcher-item,.project-switcher-create{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 0;border:0;border-bottom:1px solid rgba(92,83,67,.105);border-radius:0;background:transparent;box-shadow:none;color:#111827;cursor:pointer;text-align:left}.project-switcher-item{position:relative}.project-switcher-item.archived{border-style:solid;color:#586870;background:transparent}.project-switcher-item:hover,.project-switcher-item:focus-visible{background:linear-gradient(90deg,#ffffffa3,#fff0 72%);outline:0;box-shadow:inset 2px 0 #0f766e33}.project-switcher-item.active{background:linear-gradient(90deg,#0f766e1a,#0f766e00 76%);box-shadow:inset 2px 0 #0f766e94}.project-switcher-actions{display:inline-flex;align-items:center;gap:6px;opacity:.46;transition:opacity .16s ease}.project-switcher-item:hover .project-switcher-actions,.project-switcher-item:focus-within .project-switcher-actions,.project-switcher-item.active .project-switcher-actions{opacity:1}.project-switcher-action{display:grid;place-items:center;width:27px;height:27px;min-height:27px;padding:0;border:1px solid rgba(92,83,67,.12);border-radius:6px;background:#ffffff80;color:#64748b;cursor:pointer}.project-switcher-action:hover,.project-switcher-action:focus-visible{border-color:#0f766e57;color:#0f766e;outline:0}.project-switcher-action.restore{color:#0f766e}.project-switcher-action:disabled{opacity:.45;cursor:not-allowed}.project-switcher-item span,.project-switcher-item strong,.project-switcher-item em{min-width:0}.project-switcher-item strong{display:block;overflow:hidden;color:#172227;font-size:12.8px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.project-switcher-item em{display:block;margin-top:2px;overflow:hidden;color:#78856f;font-size:10.8px;font-style:normal;font-weight:650;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.project-switcher-item svg{width:16px!important;height:16px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#0f766e!important}.project-switcher-create{grid-template-columns:auto minmax(0,1fr);justify-content:start;min-height:40px;margin-top:8px;border-top:1px solid rgba(92,83,67,.12);border-bottom:0;color:var(--desk-accent-strong);font-size:13px;font-weight:800;text-align:center}.project-switcher-create:hover,.project-switcher-create:focus-visible{background:#e8f5f275;outline:0;box-shadow:inset 2px 0 #0f766e47}.project-switcher-create svg{width:16px!important;height:16px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:currentColor!important}.project-switcher-archive-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:34px;padding:7px 0;border:0;border-bottom:1px solid rgba(92,83,67,.105);border-radius:0;background:transparent;color:#475467;font-size:12px;font-weight:800;cursor:pointer}.project-switcher-archive-toggle:hover,.project-switcher-archive-toggle:focus-visible{border-color:#0f766e42;color:#0f766e;outline:0}.project-switcher-archive-toggle strong{padding:2px 7px;border:1px solid rgba(92,83,67,.1);border-radius:999px;background:#ffffff73;color:#475467;font-size:11px}.project-switcher-archive-toggle .open{transform:rotate(180deg)}.project-switcher-archive-list{display:grid;gap:0;padding-top:0}.project-switcher-empty{margin:0;padding:14px 0;border:0;border-bottom:1px solid rgba(92,83,67,.105);border-radius:0;background:transparent;color:#667085;font-size:13px;text-align:center}.global-ai-status{display:inline-flex;align-items:center;justify-content:center;width:36px;max-width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#12645f;font-weight:800;white-space:nowrap;cursor:pointer}.global-ai-status span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.global-ai-status:hover,.global-ai-status:focus-visible{border-color:#0f766e3d;background:#e8f5f2b8;outline:0}.top-actions{display:flex;align-items:center;flex:0 0 auto;gap:2px;margin-left:auto;min-height:42px;padding:3px;border:1px solid rgba(203,213,225,.58);border-radius:8px;background:#ffffff9e;box-shadow:0 1px #ffffffd1 inset}.top-actions .icon-button{width:36px;height:36px;border-color:transparent;background:transparent;box-shadow:none}.top-actions .file-menu-trigger{min-height:36px;height:36px;padding-inline:9px}.top-actions .secondary-button{min-height:36px;border-color:transparent;background:transparent;box-shadow:none}.top-actions .primary-button{min-height:36px;padding-inline:14px;margin-left:3px}.top-actions .secondary-button:hover,.top-actions .secondary-button:focus-visible,.top-actions .icon-button:hover,.top-actions .icon-button:focus-visible,.top-actions .file-menu-trigger:hover,.top-actions .file-menu-trigger:focus-visible{border-color:#cbd5e1b8;background:#fffffff0}.account-button svg:last-child{margin-left:-3px}.account-button-name{overflow:hidden;max-width:112px;text-overflow:ellipsis}.account-credit-pill{max-width:84px;overflow:hidden;padding:2px 6px;border-radius:6px;color:#0f766e;background:#e8f5f2bd;font-size:11px;font-weight:850;text-overflow:ellipsis}.account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;color:#fff;background:#1d1d1f}.account-logout-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;margin-top:10px;border:1px solid #ead1cc;border-radius:8px;background:#fff;color:#a33a2d;font-weight:800}.account-logout-button:hover,.account-logout-button:focus-visible{background:#fff6f4;outline:0}.account-details-backdrop{z-index:82;align-items:start;padding-block:28px;background:#13192242}.account-details-dialog{position:relative;display:grid;gap:15px;width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 56px);overflow:auto;padding:0;border:1px solid rgba(92,83,67,.16);border-radius:8px;background:linear-gradient(90deg,rgba(15,118,110,.08) 0 1px,transparent 1px),linear-gradient(180deg,#fffdf8fa,#fafcf9fa);background-size:32px 100%,auto;box-shadow:0 28px 80px #242f332e}.account-details-dialog:before{position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--desk-accent, #0f766e),rgba(180,109,24,.56));content:""}.account-details-head,.account-details-identity,.account-credit-card,.account-logout-confirm,.account-danger-zone,.account-logout-confirm>div:last-child{display:flex;align-items:center}.account-details-head{justify-content:space-between;gap:16px;min-width:0;padding:23px 22px 0}.account-details-identity{min-width:0;gap:13px}.account-details-avatar{width:44px;height:44px;border:1px solid rgba(15,118,110,.18);color:var(--desk-accent, #0f766e);background:#0f766e14;box-shadow:none}.account-details-identity span,.account-details-grid span,.account-details-legal span,.account-logout-confirm span{display:block;color:var(--desk-muted, #8a959d);font-size:12px;font-weight:760}.account-details-identity h2{margin:2px 0 0;overflow:hidden;color:var(--desk-ink, #131922);font-size:25px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.account-details-identity p{margin:6px 0 0;max-width:48ch;color:#65717b;font-size:12px;line-height:1.55}.account-details-overview{display:grid;grid-template-columns:minmax(0,.58fr) minmax(250px,.42fr);gap:12px;align-items:stretch;padding:0 22px}.account-credit-card{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px 12px;min-width:0;min-height:148px;padding:16px;border:1px solid rgba(15,118,110,.18);border-left:3px solid rgba(15,118,110,.42);border-radius:8px;background:repeating-linear-gradient(180deg,rgba(92,83,67,.045) 0 1px,transparent 1px 30px),linear-gradient(180deg,#fffdf8fa,#f5faf7f5);box-shadow:none}.account-credit-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;color:var(--desk-accent, #0f766e);background:#0f766e14}.account-credit-mark svg,.account-credit-card svg{flex:0 0 auto}.account-credit-card span{display:block;color:#65717b;font-size:12px;font-weight:820}.account-credit-card strong{display:block;margin-top:5px;color:var(--desk-ink, #131922);font-size:clamp(28px,4vw,40px);line-height:1}.account-credit-card p{max-width:36ch;margin:8px 0 0;color:#65717b;font-size:12px;line-height:1.55}.account-credit-detail-button{grid-column:2;justify-self:start;align-self:end;min-height:34px;border-color:#0f766e33;color:var(--desk-accent-strong, #0a5f59);background:#ffffffb8;white-space:nowrap}.account-credit-detail-button svg{transition:transform .16s ease}.account-credit-detail-button[aria-expanded=true] svg{transform:rotate(90deg)}.account-return-card{border:0;border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.account-credit-usage{display:grid;gap:10px;padding:0 22px}.account-credit-usage .credits-panel{gap:10px}.author-credit-receipt .credit-card,.author-credit-receipt .job-mini,.author-credit-receipt .ledger-list{border:0;border-left:2px solid rgba(92,83,67,.14);border-radius:0;background:#fffdf89e;box-shadow:none}.author-credit-receipt .credit-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:13px 14px}.author-credit-receipt .credit-card strong{margin:4px 0 0;font-size:32px;line-height:1}.author-credit-receipt .credit-card small{align-self:start;color:#8a6a2f;font-size:12px;font-weight:820}.author-credit-receipt .job-mini{align-items:flex-start;padding:12px 14px}.author-credit-receipt .job-mini strong{display:block;margin-top:4px;color:var(--desk-ink, #131922)}.author-credit-receipt .job-mini p{max-width:22ch;margin:0;text-align:right}.author-credit-receipt .ledger-list{gap:0;padding:12px 14px 4px}.author-credit-receipt .ledger-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border:0;border-top:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent}.author-credit-receipt .ledger-row:first-of-type{border-top:0}.author-credit-receipt .ledger-row strong,.author-credit-receipt .ledger-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-credit-receipt .ledger-row em{font-size:13px}.account-profile-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;min-width:0;margin:0 22px;padding:13px 0;border:0;border-top:1px solid rgba(92,83,67,.12);border-bottom:1px solid rgba(92,83,67,.12);background:transparent}.account-profile-form label{display:grid;gap:6px;min-width:0}.account-profile-form span{color:var(--desk-muted, #8a959d);font-size:12px;font-weight:820}.account-profile-form input{width:100%;min-width:0;height:42px;padding:9px 11px;border:1px solid rgba(92,83,67,.16);border-radius:8px;color:var(--desk-ink, #131922);background:#ffffffb8;font-size:14px;font-weight:750}.account-profile-form input:focus{border-color:#0f766e6b;outline:2px solid rgba(15,118,110,.12)}.account-profile-form button{min-height:42px;white-space:nowrap}.account-more-details{display:grid;gap:0;min-width:0;margin:0 22px 22px;border:1px solid rgba(92,83,67,.13);border-radius:8px;background:#ffffff85}.account-more-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:10px 13px;color:var(--desk-ink, #131922);cursor:pointer;list-style:none}.account-more-details>summary::-webkit-details-marker{display:none}.account-more-details>summary span{display:block;color:var(--desk-muted, #8a959d);font-size:12px;font-weight:820}.account-more-details>summary strong{display:block;margin-top:3px;overflow:hidden;max-width:460px;color:var(--desk-ink, #131922);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.account-more-details>summary svg{flex:0 0 auto;color:var(--desk-muted, #8a959d);transition:transform .16s ease}.account-more-details[open]>summary svg{transform:rotate(90deg)}.account-more-body{display:grid;gap:10px;padding:0 13px 13px}.account-details-section{display:grid;gap:11px;min-width:0;padding:13px}.account-details-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.account-details-section-head span{color:var(--desk-muted, #8a959d);font-size:12px;font-weight:760}.account-details-section-head strong{color:var(--desk-ink, #131922);font-size:14px}.account-details-grid{display:grid;gap:0}.account-details-grid div{display:grid;grid-template-columns:minmax(0,.48fr) minmax(0,.52fr);gap:8px;min-width:0;padding:9px 0;border-top:1px solid rgba(92,83,67,.1)}.account-details-grid div:first-child{border-top:0}.account-details-grid strong{display:block;overflow:hidden;color:var(--desk-ink, #131922);font-size:14px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.account-details-legal{border:0;border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.account-legal-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-legal-links a{min-height:38px;display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;padding:8px 10px;border:1px solid rgba(92,83,67,.14);border-radius:8px;color:var(--desk-accent-strong, #0a5f59);background:#ffffffb3;font-size:12px;font-weight:820;text-decoration:none}.account-legal-links a:hover,.account-legal-links a:focus-visible{border-color:#0f766e52;background:#0f766e14;outline:0}.account-danger-zone{justify-content:space-between;gap:12px;min-width:0;padding:12px 0 0;border:0;border-top:1px solid rgba(180,35,24,.14);border-radius:0;background:transparent}.account-danger-zone strong{display:block;color:var(--desk-ink, #131922);font-size:14px}.account-danger-zone span{display:block;margin-top:3px;color:var(--desk-muted, #8a959d);font-size:12px;line-height:1.45}.account-logout-secondary{width:auto;flex:0 0 auto;margin-top:0}.account-logout-confirm{width:100%;justify-content:space-between;gap:14px;color:var(--danger)}.account-logout-confirm strong{display:block;color:var(--danger);font-size:14px}.account-logout-confirm span{margin-top:3px}.account-logout-confirm>div:last-child{flex:0 0 auto;gap:8px}.account-danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;border:1px solid rgba(180,35,24,.28);border-radius:8px;color:#fff;background:#b42318;font-weight:850}.account-danger-button:hover,.account-danger-button:focus-visible{background:#9f1f17;outline:0}@media(max-width:640px){.account-details-backdrop{padding-block:10px}.account-details-dialog{width:min(100%,calc(100vw - 16px));max-height:calc(100vh - 20px)}.account-details-head,.account-details-overview,.account-credit-usage{padding-inline:14px}.account-details-overview{grid-template-columns:1fr}.account-credit-card,.account-details-section{padding:12px}.account-credit-card{grid-template-columns:38px minmax(0,1fr);min-height:0}.account-credit-detail-button{grid-column:1 / -1;justify-self:stretch}.account-profile-form,.account-more-details{margin-inline:14px}.account-profile-form{grid-template-columns:1fr}.account-danger-zone,.account-logout-confirm{align-items:stretch;flex-direction:column}.account-logout-confirm>div:last-child{justify-content:flex-end}.author-credit-receipt .job-mini{display:grid;gap:6px}.author-credit-receipt .job-mini p{max-width:none;text-align:left}}@media(max-width:360px){.account-legal-links,.author-credit-receipt .credit-card,.author-credit-receipt .ledger-row,.account-details-grid div{grid-template-columns:1fr}.account-details-grid strong{text-align:left}}.file-menu{position:relative}.file-menu-trigger svg:last-child{margin-left:-2px}.file-menu-panel{position:fixed;top:58px;right:18px;z-index:92;width:min(360px,calc(100vw - 24px));max-height:min(72vh,620px);overflow:auto;padding:12px 12px 10px;border:1px solid rgba(92,83,67,.14);border-radius:8px;background:linear-gradient(180deg,#fcfdfafa,#f6faf7f5);box-shadow:0 18px 44px #242f331f,inset 0 1px #ffffffb8;overscroll-behavior:contain}.file-menu-head{display:grid;gap:2px;padding:2px 0 10px;border-bottom:1px solid rgba(92,83,67,.13)}.file-menu-head span,.file-menu-section-label{color:var(--desk-accent-strong);font-size:11px;font-weight:800;letter-spacing:0}.file-menu-head strong{color:#172227;font-size:14.5px;line-height:1.25}.file-menu-head small{color:#66756b;font-size:11.5px;font-weight:600;line-height:1.35}.file-menu-section{display:grid;gap:0;padding:8px 0 0;border-top:0}.file-menu-section+.file-menu-section{margin-top:8px;border-top:1px solid rgba(92,83,67,.11)}.file-menu-section-label{display:block;padding:0 0 5px}.file-menu-item{width:100%;display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;align-items:center;min-height:42px;padding:7px 0;border:0;border-bottom:1px solid rgba(92,83,67,.095);border-radius:0;background:transparent;box-shadow:none;color:#1d1d1f;text-align:left}.file-menu-section .file-menu-item:last-child{border-bottom:0}.file-menu-item>svg{width:16px;height:16px;color:#147a72}.file-menu-item.is-featured{border-color:transparent;background:linear-gradient(90deg,#e8f5f2c2,#e8f5f200 78%);box-shadow:inset 2px 0 #0f766e52}.file-menu-item:hover,.file-menu-item:focus-visible{border-color:transparent;background:linear-gradient(90deg,#ffffffb8,#fff0 76%);outline:0;box-shadow:inset 2px 0 #0f766e3d}.file-menu-item span{display:grid;gap:2px;min-width:0}.file-menu-item strong,.file-menu-item small{overflow:hidden;text-overflow:ellipsis}.file-menu-item strong{color:#172227;font-size:12.8px;line-height:1.25}.file-menu-item small{color:#66756b;font-size:11.3px;font-weight:500;line-height:1.35}.visually-hidden-input{display:none}.icon-button,.icon-small,.rail-button{display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}.icon-button{width:40px;height:40px}.icon-small{width:32px;height:32px}.primary-button,.secondary-button,.editor-footer button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:8px;border:1px solid transparent;font-weight:700;white-space:nowrap}.primary-button{color:#fff;background:var(--accent);box-shadow:0 1px 1px #1018280a,0 8px 18px #0f766e29}.secondary-button,.editor-footer button{color:var(--text);background:var(--surface);border-color:var(--border)}.primary-button:hover,.primary-button:focus-visible{background:var(--accent-strong);box-shadow:0 1px 1px #1018280a,0 10px 24px #0f766e33;outline:0}.secondary-button:hover,.secondary-button:focus-visible,.icon-button:hover,.icon-button:focus-visible,.icon-small:hover,.icon-small:focus-visible{border-color:#0f766e4d;background:#f7fbfa;color:var(--accent);outline:0}.icon-button:disabled,.icon-small:disabled,.primary-button:disabled,.secondary-button:disabled,.editor-footer button:disabled,.mobile-action-bar button:disabled{opacity:.45;cursor:not-allowed}.mobile-action-bar{display:none}.compact{min-height:32px;padding:0 10px;font-size:13px}.rail{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 8px;border-right:1px solid rgba(15,23,42,.055);background:linear-gradient(180deg,#ffffffe6,#f7f9fbeb)}.rail-button{position:relative;display:grid;place-items:center;align-content:center;gap:3px;width:54px;height:52px;border-color:transparent;background:transparent;color:var(--text-muted);font-size:12px;font-weight:780;line-height:1}.rail-button:before{position:absolute;inset:9px auto 9px -8px;width:3px;border-radius:999px;background:transparent;content:""}.rail-button.active,.rail-button:hover{color:var(--accent);background:#fffffff5;box-shadow:0 1px 2px #10182808,inset 0 0 0 1px #0f766e1f}.rail-button.active:before{background:var(--accent)}.rail-button span{display:block}.sidebar,.inspector{grid-row:2;position:relative;overflow-x:hidden;overflow-y:auto;padding:14px 12px 18px;background:linear-gradient(180deg,#f8fafcf5,#f3f7f9fa)}.sidebar{grid-column:2;display:grid;align-content:start;gap:12px;min-width:0;padding:16px 14px 20px;border-right:1px solid rgba(15,23,42,.06);background:linear-gradient(180deg,#fafbfc,#f3f6f8)}.inspector{grid-column:4;min-width:0;border-left:1px solid rgba(15,23,42,.06);background:linear-gradient(180deg,#fafbfc,#f3f6f8)}.mobile-inspector-close{display:none}.side-edge-hit{--side-edge-hit-width: 36px;--side-edge-lane-width: 18px;--side-edge-line-offset: calc(var(--side-edge-hit-width) / 2);position:fixed;top:68px;bottom:0;z-index:34;display:block;width:var(--side-edge-hit-width);height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;appearance:none;background:transparent;box-shadow:none;color:transparent;cursor:pointer;font-size:0;line-height:0;touch-action:manipulation;transform:none;overflow:visible;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.side-edge-hit:before{position:absolute;top:0;bottom:0;left:calc(var(--side-edge-line-offset) - (var(--side-edge-lane-width) / 2));width:var(--side-edge-lane-width);height:auto;border-radius:0;background:linear-gradient(90deg,transparent 0%,rgba(15,118,110,.14) 50%,transparent 100%);content:"";opacity:0;pointer-events:none;transform:none;transition:opacity .15s ease,box-shadow .15s ease,background-color .15s ease}.side-edge-hit:after{position:absolute;top:50%;left:calc(var(--side-edge-line-offset) - 2.5px);width:5px;height:72px;border-radius:999px;background:linear-gradient(180deg,#0f766e33,#0f766e94,#0f766e33);content:"";opacity:.54;pointer-events:none;transform:translateY(-50%);transition:background-color .15s ease,box-shadow .15s ease,opacity .15s ease,width .15s ease,height .15s ease}.side-edge-left.is-expanded,.side-edge-left.is-collapsed{left:calc(var(--left-rail-width) + var(--sidebar-width) - var(--side-edge-hit-width))}.side-edge-left:before,.side-edge-left:after,.side-edge-left.is-collapsed:after,.side-edge-left:hover:after,.side-edge-left:focus-visible:after{right:0;left:auto}.side-edge-left.is-collapsed:after{width:5px;height:82px;background:linear-gradient(180deg,#0f766e33,#0f766eb8,#0f766e33);opacity:.72}.side-edge-hit:hover,.side-edge-hit:focus-visible{outline:0}.side-edge-hit:hover:after,.side-edge-hit:focus-visible:after{width:6px;height:108px;opacity:1}.side-edge-hit:hover:before,.side-edge-hit:focus-visible:before{opacity:1;box-shadow:0 0 0 10px #0f766e09}.side-edge-hit:hover:after,.side-edge-hit:focus-visible:after{background:linear-gradient(180deg,#0f766e42,#0f766ee6,#0f766e42);box-shadow:0 0 0 10px #0f766e0d}.side-edge-hit:focus-visible:after{box-shadow:0 0 0 10px #0f766e1a}.side-edge-hit:active:after{width:8px;opacity:1}.workspace{grid-column:3;grid-row:2;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto;padding:18px 20px;background:linear-gradient(180deg,#f8fafcc2,#f4f7f9f0)}.workspace>.workspace-head{flex:0 0 auto}.workspace>.editor-panel{flex:1 1 auto;min-height:0}.panel,.editor-panel,.job-card,.credit-card,.job-mini{border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-soft)}.panel{padding:12px;margin-bottom:10px}.sidebar .panel{min-width:0;max-width:100%;margin-bottom:0;padding:13px;border-color:#0f172a0e;background:#ffffffe0;box-shadow:0 1px 2px #10182805,0 7px 16px #10182805}.panel-title{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.panel-title>div{min-width:0}.panel-title h2{margin:2px 0 0;overflow-wrap:anywhere;font-size:16px;line-height:1.2}.panel-title span{color:#6b7686;font-size:11.5px;font-weight:800}.project-card{min-width:0;max-width:100%}.project-card .panel-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.project-card .panel-title h2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.project-card .mini-actions{flex:0 0 auto;max-width:42px;justify-content:flex-end;gap:6px}.project-card .mini-actions .secondary-button.compact{max-width:52px;overflow:hidden;padding-inline:8px}.app-shell.empty-workspace .sidebar .panel:not(.project-card){display:none}.app-shell.empty-workspace .rail,.app-shell.empty-workspace .side-edge-hit{display:none}.app-shell.empty-workspace .top-actions{border-color:#cbd5e17a;background:#ffffffbd}.project-card p{display:-webkit-box;margin:0 0 10px;overflow:hidden;overflow-wrap:anywhere;padding:10px 11px;border:1px solid rgba(15,118,110,.1);border-radius:8px;color:#26313f;background:#ffffffb8;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:14px;line-height:1.55}.project-inspiration{border-color:#0f766e1f!important;background:linear-gradient(180deg,#ffffffdb,#f8fbfacc)!important}.project-card-summary{display:grid;gap:8px}.project-meta-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:6px}.project-meta-row span{display:flex;min-width:0;align-items:center;justify-content:center;overflow:hidden;padding:5px 8px;overflow-wrap:anywhere;text-align:center;text-overflow:ellipsis;white-space:normal}.project-settings-details{margin-top:2px;border:1px dashed rgba(203,213,225,.72);border-radius:8px;background:#f8fafc9e}.project-settings-details>summary{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;color:#667085;cursor:pointer;font-size:12px;font-weight:820;list-style:none}.project-settings-details>summary::-webkit-details-marker{display:none}.project-settings-details>summary em{overflow:hidden;color:#98a2b3;font-style:normal;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.project-settings-details[open]{border-style:solid;background:#ffffffd1}.project-settings-details[open]>summary{border-bottom:1px solid rgba(203,213,225,.58);color:#0f766e}.project-settings-details .project-fields{padding:9px}.project-form{display:grid;gap:12px;min-width:0;max-width:100%}.project-form input,.project-form textarea{min-width:0;max-width:100%}.project-create-form{gap:13px}.project-create-form .panel-title{align-items:start;padding-bottom:8px;border-bottom:1px solid rgba(15,23,42,.055)}.project-create-form .panel-title h2{max-width:14ch;color:#0f172a;line-height:1.14}.mini-actions{display:flex;align-items:center;gap:8px}.project-fields{display:grid;gap:10px}.project-create-form .project-fields{gap:9px}.project-fields label{display:grid;gap:5px;color:var(--text-muted);font-size:12px;font-weight:750}.project-fields input,.project-fields textarea{width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:#fbfcfd}.project-create-form .project-fields input{min-height:34px;background:#ffffffd1}.project-fields textarea{min-height:92px;resize:vertical;line-height:1.6}.project-create-form .project-fields textarea{min-height:78px;background:linear-gradient(180deg,#ffffffe0,#f8fbfad6)}.project-create-form .primary-button{min-height:38px}.project-create-advanced{display:grid;gap:8px;padding:8px 9px;border:1px solid rgba(203,213,225,.58);border-radius:8px;background:#f8fafc8f}.project-create-advanced summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none}.project-create-advanced summary::-webkit-details-marker{display:none}.project-create-advanced summary span{color:#0f766e;font-size:12px;font-weight:850}.project-create-advanced summary em{overflow:hidden;color:#6b7280;font-size:11px;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.project-create-advanced-fields{display:grid;gap:9px;padding-top:8px;border-top:1px solid rgba(203,213,225,.5)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.tag-row span{padding:4px 8px;border:1px solid rgba(17,24,39,.055);border-radius:8px;color:#3f5d71;background:#f2f6f8d1;font-size:12px;font-weight:650}.chapter-tools{display:grid;gap:9px;margin-bottom:11px}.chapter-queue-compact{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;padding:7px 9px;border:1px solid rgba(223,228,234,.66);border-radius:8px;background:#f8fafcbd;color:#667085;font-size:12px}.chapter-queue-compact strong{color:#344054;font-size:12px;font-weight:820;white-space:nowrap}.chapter-tools-toggle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;border:1px solid rgba(15,118,110,.14);border-radius:7px;background:#ffffffd1;color:var(--accent);cursor:pointer}.chapter-tools-toggle:hover,.chapter-tools-toggle:focus-visible{border-color:#0f766e47;background:#f0fdfa}.chapter-panel-starter{gap:8px}.chapter-panel-starter .panel-title{margin-bottom:2px}.chapter-starter-card{display:grid;gap:8px}.chapter-starter-current{display:grid;width:100%;min-width:0;gap:3px;padding:9px 10px;border:1px solid rgba(15,118,110,.16);border-radius:8px;background:#f7fbfadb;color:inherit;text-align:left;cursor:pointer}.chapter-starter-current:hover{border-color:#0f766e42;background:#f0fdfac7}.chapter-starter-current span,.chapter-starter-empty>strong{color:var(--accent);font-size:11px;font-weight:850;line-height:1.2}.chapter-starter-current strong{display:-webkit-box;overflow:hidden;color:#344054;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13.5px;line-height:1.25}.chapter-starter-current em{color:#667085;font-size:11.5px;font-style:normal;font-weight:720;line-height:1.25}.chapter-starter-card p{margin:0;color:#667085;font-size:12px;line-height:1.45}.chapter-starter-empty{display:grid;gap:7px;padding:9px 10px;border:1px dashed rgba(15,118,110,.22);border-radius:8px;background:#f8fafcc2}.chapter-starter-empty .secondary-button.compact{justify-self:start}.chapter-search{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid rgba(223,228,234,.8);border-radius:8px;background:#ffffffd1;color:var(--text-muted);box-shadow:0 1px 2px #10182805}.chapter-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit}.chapter-status-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;border:1px solid rgba(223,228,234,.72);border-radius:8px;background:#eff3f6c7}.chapter-status-filter button{min-width:0;min-height:28px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:#475467;font-size:12px;font-weight:700}.chapter-status-filter button.active{background:#fff;color:var(--accent);font-weight:800;box-shadow:0 1px 2px #1018280e,inset 0 0 0 1px #0f766e1f}.chapter-queue-summary{display:flex;flex-wrap:wrap;gap:6px;color:var(--text-muted);font-size:12px}.chapter-queue-summary span{padding:2px 7px;border:1px solid rgba(17,24,39,.05);border-radius:8px;background:#ffffffb8}.chapter-list{display:grid;gap:7px}.chapter-row{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:5px 8px;width:100%;min-height:54px;padding:9px 11px;border:1px solid rgba(223,228,234,.76);border-radius:8px;background:#ffffffd1;text-align:left;box-shadow:0 1px 2px #10182805}.chapter-row:hover{border-color:#0f766e33;background:#f7fbfa}.chapter-row.active{border-color:#0f766e5c;background:linear-gradient(180deg,#f3fbf9,#fffffff5);box-shadow:inset 3px 0 0 var(--accent),0 8px 18px #0f766e14}.chapter-row span,.chapter-row em{color:var(--text-muted);font-style:normal;font-size:12px}.chapter-row span{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#f2f6f8db;font-weight:800}.chapter-row.active span{color:var(--accent);background:#0f766e17}.chapter-row strong{overflow:hidden;font-size:15px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.chapter-row em{grid-column:2;margin-top:-2px}.chapter-filter-empty{padding:16px 12px;border:1px dashed rgba(15,118,110,.24);border-radius:8px;color:var(--text-muted);background:#f7fbfa;font-size:13px;text-align:center}.sidebar{gap:10px;padding-inline:13px}.sidebar .panel{padding:12px;border-color:#0f172a0d;background:#ffffffc7;box-shadow:0 1px 2px #10182805}.sidebar .panel-title{margin-bottom:8px}.sidebar .panel-title h2{font-size:15px}.sidebar .panel-title span{color:#7a8595;font-size:11px}.project-card p{margin-bottom:9px;padding:7px 0 0 9px;border:0;border-left:2px solid rgba(15,118,110,.14);border-radius:0;background:transparent!important;color:#4d5a69;-webkit-line-clamp:2;font-size:13px;line-height:1.5}.project-meta-row{display:flex;gap:5px}.project-meta-row span{flex:0 1 auto;justify-content:flex-start;padding:3px 7px;border-radius:7px;background:#f2f6f8b8;font-size:11.5px}.chapter-panel{background:#ffffffd1!important}.chapter-tools{gap:7px;margin-bottom:10px}.chapter-search{min-height:32px;border-color:#cbd5e1a8;background:#ffffffb8;box-shadow:none}.chapter-status-filter{gap:2px;padding:2px;border-color:#cbd5e194;background:#f1f5f994}.chapter-status-filter button{min-height:26px;font-size:11.5px}.chapter-status-filter button.active{box-shadow:0 1px 2px #1018280a,inset 0 0 0 1px #0f766e1a}.chapter-queue-summary{gap:5px}.chapter-queue-summary span{padding:1px 6px;border-color:#0f172a0a;background:#f8fafcad;font-size:11.5px}.chapter-list{gap:6px}.chapter-row{min-height:46px;padding:7px 9px;gap:3px 7px;border-color:transparent;background:#fff9;box-shadow:inset 0 0 0 1px #0f172a0a}.chapter-row:hover{border-color:transparent;background:#f7fbfae6;box-shadow:inset 0 0 0 1px #0f766e2e}.chapter-row.active{border-color:transparent;background:linear-gradient(180deg,#f1fbf9eb,#ffffffe6);box-shadow:inset 3px 0 0 var(--accent),inset 0 0 0 1px #0f766e38}.chapter-row span{width:26px;height:26px;background:#f1f5f9c7;font-size:11.5px}.chapter-row strong{font-size:13.5px;line-height:1.18}.chapter-row em{color:#7a8595;font-size:11.5px;line-height:1.2;margin-top:-4px}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.chapter-title{display:block;width:min(680px,100%);margin:0;border:0;outline:0;background:transparent;color:var(--text);line-height:1.12;font-size:34px;font-weight:760}.status-line{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.status-chip{min-height:28px;display:inline-flex;align-items:center;padding:5px 9px;border:1px solid rgba(223,228,234,.78);border-radius:8px;background:#ffffffc7;color:#667085;font-size:12px;font-weight:750;line-height:1;box-shadow:0 1px 2px #10182805}.status-chip.synced{border-color:#0f766e1f;color:#147a72;background:#f4fbf9}.status-chip.dirty{border-color:#b7791f2e;color:var(--warning);background:#fff8eb}.status-chip.version{color:#98a2b3;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.empty-workspace-panel{display:grid;gap:14px;width:min(980px,100%);margin:clamp(18px,7vh,70px) auto 0}.empty-workspace-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px;padding:24px;border:1px solid rgba(205,214,223,.92);border-radius:8px;background:linear-gradient(180deg,#fffffffa,#f9fbfcfa);box-shadow:0 1px 2px #10182809,0 18px 44px #1018280f}.empty-workspace-copy{flex:1 1 520px;min-width:min(100%,420px)}.empty-workspace-hero h1{max-width:680px;margin:6px 0 0;color:#111827;font-size:34px;line-height:1.14;text-wrap:balance}.empty-workspace-hero p{max-width:660px;margin:10px 0 0;color:#475467;font-size:15px;line-height:1.65}.empty-workspace-primary{flex:0 0 auto;min-width:150px}.empty-workspace-start-form{flex:1 1 360px;display:grid;gap:10px;min-width:min(100%,340px)}.empty-workspace-start-form label{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:800}.empty-workspace-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.empty-workspace-input-row input{width:100%;min-height:46px;box-sizing:border-box;padding:0 14px;border:1px solid rgba(205,214,223,.92);border-radius:8px;color:#182230;background:#fff;font-size:14px}.empty-workspace-input-row input::placeholder{color:#98a2b3}.empty-workspace-input-row .primary-button{min-height:46px;white-space:nowrap}.empty-workspace-start-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px}.empty-workspace-start-foot p,.empty-workspace-error{margin:0;font-size:12px;line-height:1.5}.empty-workspace-start-foot p{color:#667085}.empty-workspace-error{color:#b42318}.empty-workspace-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.empty-workspace-flow article,.empty-workspace-note{border:1px solid rgba(223,228,234,.9);border-radius:8px;background:#ffffffeb;box-shadow:0 1px 2px #10182809}.empty-workspace-flow article{display:grid;align-content:start;gap:9px;min-height:142px;padding:16px}.empty-workspace-flow article>div{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.empty-workspace-flow span{color:#667085;font-size:12px;font-weight:800}.empty-workspace-flow strong{color:#182230;font-size:14px;font-weight:650;line-height:1.55}.empty-workspace-note{display:flex;align-items:center;gap:10px;padding:13px 15px;color:#16645d;background:#f3fbf9}.empty-workspace-note p{margin:0;color:#285955;font-size:14px;line-height:1.55}.workspace-head{align-items:center;gap:14px;margin-bottom:12px}.workspace-head>div:first-child{min-width:0}.chapter-title{font-size:32px;line-height:1.08}.status-line{align-items:center;gap:5px;padding-top:2px}.status-chip{min-height:24px;padding:4px 7px;border-color:#cbd5e199;border-radius:7px;background:#ffffffa8;font-size:11.5px;box-shadow:none}.draft-recovery-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e7b66b;border-radius:8px;background:#fff8ea}.draft-recovery-copy{min-width:0}.draft-recovery-banner span{display:block;color:#8a5a00;font-size:12px;font-weight:750}.draft-recovery-banner strong{display:block;margin-top:3px;color:#1d1d1f}.draft-recovery-banner p{margin:4px 0 0;color:#424245;font-size:13px}.draft-recovery-title,.draft-recovery-note{color:#6e4c16}.draft-recovery-preview{margin:8px 0 0;padding-left:10px;border-left:3px solid #e7b66b;color:#1d1d1f;font-size:13px;line-height:1.55}.draft-recovery-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.save-conflict-banner{display:grid;gap:12px;padding:12px;border:1px solid #d66f5d;border-radius:8px;background:#fff4f1}.save-conflict-head,.save-conflict-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.save-conflict-head span,.save-conflict-grid span{display:block;color:#a33a2d;font-size:12px;font-weight:750}.save-conflict-head strong,.save-conflict-grid strong{display:block;margin-top:3px}.save-conflict-head em,.save-conflict-note,.save-conflict-grid p{margin:0;color:#5f4a45;font-size:13px;line-height:1.55}.save-conflict-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.save-conflict-grid article{min-width:0;padding:10px;border:1px solid rgba(214,111,93,.32);border-radius:8px;background:#fff}.save-conflict-actions{flex-wrap:wrap;justify-content:flex-end}.draft-generation-panel{display:grid;gap:12px;padding:14px 16px 16px;border-bottom:1px solid var(--border-soft);background:linear-gradient(180deg,#fff,#fbfcfd)}.draft-generation-panel label,.draft-generation-body,.draft-generation-grid,.draft-generation-notes{min-width:0}.draft-generation-body{display:grid;gap:12px}.draft-generation-panel label{display:grid;align-content:start}.draft-generation-panel label span,.ai-confirmation-draft-options span,.ai-confirmation-draft-starter span{display:block;color:var(--text-muted);font-size:12px;font-weight:800}.ai-confirmation-draft-options>strong,.ai-confirmation-draft-starter>strong{display:block;margin-top:2px;color:var(--text);font-size:16px;line-height:1.35}.draft-generate-button{flex:0 0 auto;min-height:38px;padding-inline:16px}.draft-generation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.draft-generation-summary span{display:grid;gap:2px;min-width:0;padding:8px 10px;border:1px solid rgba(203,213,225,.62);border-radius:8px;background:#f8fafcad}.draft-generation-summary em,.draft-generation-summary small{overflow:hidden;color:#667085;font-size:11px;font-style:normal;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.draft-generation-summary strong{overflow:hidden;color:#111827;font-size:13px;line-height:1.32;text-overflow:ellipsis;white-space:nowrap}.draft-generation-grid{display:grid;grid-template-columns:minmax(120px,.62fr) repeat(2,minmax(160px,1fr));gap:10px}.draft-generation-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.draft-generation-panel input,.draft-generation-panel select,.draft-generation-panel textarea{width:100%;min-width:0;margin-top:6px;border:1px solid rgba(223,228,234,.92);border-radius:8px;background:#fbfcfd;color:var(--text);font:inherit}.draft-generation-panel input,.draft-generation-panel select{height:38px;padding:0 12px}.draft-generation-panel textarea{min-height:78px;resize:vertical;padding:9px 11px;line-height:1.5}.ai-confirmation-draft-options,.ai-confirmation-draft-starter{display:grid;gap:4px;padding:11px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.ai-confirmation-draft-options p,.ai-confirmation-draft-starter p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.5}.draft-guidance{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border-soft);background:linear-gradient(180deg,#fffffff5,#f9fbfcf5)}.draft-guidance-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:10px}.draft-guidance-target,.draft-guidance-scenes{min-width:0;padding:10px 11px;border:1px solid var(--border-soft);border-radius:8px;background:#ffffffd1;box-shadow:0 1px #10182805}.draft-guidance-target{display:grid;gap:7px}.draft-guidance-target>div:first-child,.draft-guidance-scenes{display:grid;gap:4px}.draft-guidance span,.draft-guidance em{color:var(--text-muted);font-size:12px;font-style:normal;font-weight:760}.draft-guidance strong{color:var(--text);line-height:1.5}.draft-guidance-hints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.draft-guidance-hints article,.draft-guidance-hints>p{min-width:0;margin:0;padding:10px 11px;border:1px solid var(--border-soft);border-radius:8px;background:#fff}.draft-guidance-hints p{margin:4px 0 0;color:#3f4756;font-size:12px;line-height:1.48}.editor-panel{position:relative;min-height:620px;overflow:hidden;border-color:#0f172a12;background:#fffffffa;box-shadow:0 1px 2px #10182807,0 14px 32px #1018280a}.workspace-tab-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:9px 12px;border-bottom:1px solid rgba(15,23,42,.065);background:linear-gradient(180deg,#fffffffa,#fafcfdf5)}.workspace-mobile-sections{display:none}.tabs{display:flex;flex-wrap:nowrap;gap:6px;padding:10px;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid var(--border-soft);background:#fffffff0;scrollbar-width:thin}.workspace-tabs{flex:1 1 auto;width:auto;min-width:0;gap:4px;padding:4px;border-bottom:0;border:1px solid rgba(223,228,234,.72);border-radius:8px;background:#f4f6f8d1;box-shadow:inset 0 1px #ffffffc2}.workspace-tabs button{min-height:32px;padding:0 13px;border-radius:6px;color:#475467;font-size:13px}.workspace-tabs button.active{color:var(--accent);background:#fff;box-shadow:0 1px 3px #1018280f,inset 0 0 0 1px #0f766e21}.workspace-tab-actions{position:absolute;top:9px;right:12px;z-index:9;display:inline-flex;align-items:center;justify-content:flex-end;min-width:0}.tabs button{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-height:32px;padding:0 11px;border:0;border-radius:8px;color:var(--text-muted);font-weight:760;background:transparent}.tabs button.active{color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px #0f766e24}.draft-editor-shell{position:relative;min-width:0;flex:1 1 auto;min-height:0;padding:0 clamp(8px,1.2vw,18px);background:linear-gradient(180deg,#fbfcfd,#fff 18% 100%)}.draft-editor-shell[data-empty=true]:after{content:attr(data-empty-label);position:absolute;top:42px;left:calc(clamp(8px,1.6vw,24px) + clamp(24px,3.4vw,52px));z-index:1;pointer-events:none;color:#66708575;font-family:LXGW WenKai,Songti SC,"Noto Serif SC",serif;font-size:18px;letter-spacing:0}.draft-editor{position:relative;z-index:1;display:block;width:min(100%,1120px);min-height:clamp(560px,calc(100vh - 270px),860px);margin:0 auto;padding:34px clamp(24px,3.4vw,52px);border:0;outline:0;resize:vertical;color:#1f2937;background:linear-gradient(90deg,rgba(15,118,110,.07) 0,rgba(15,118,110,.07) 1px,transparent 1px) 0 0 / clamp(24px,3.4vw,52px) 100% no-repeat,linear-gradient(180deg,#fff 0% 100%);caret-color:var(--accent);font-family:LXGW WenKai,Songti SC,"Noto Serif SC",serif;font-size:18px;line-height:2.05;scrollbar-gutter:stable}.editor-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px 14px;padding:10px 12px;border-top:1px solid var(--border-soft);color:var(--text-muted);background:#f8fafcf5}.editor-footer-stats,.editor-footer-actions,.editor-footer-group{display:inline-flex;align-items:center;min-width:0}.editor-footer-stats{flex:1 1 180px;gap:8px}.editor-footer-stats span{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border:1px solid rgba(223,228,234,.82);border-radius:8px;background:#ffffffb8;font-size:12px;font-weight:760;white-space:nowrap}.editor-footer-actions{flex:0 1 auto;justify-content:flex-end;flex-wrap:wrap;gap:6px}.editor-footer-group{gap:3px;padding:3px;border:1px solid rgba(223,228,234,.82);border-radius:8px;background:#ffffffb8}.editor-footer button{min-height:30px;margin-left:0;padding:0 9px;border-color:transparent;background:transparent;color:#475467;font-size:12px}.editor-footer button:hover,.editor-footer button:focus-visible{border-color:#0f766e2e;background:#fff}@media(max-width:1540px){.draft-generation-panel{padding:13px 14px 15px}.draft-generation-grid{grid-template-columns:minmax(112px,.7fr) repeat(2,minmax(132px,1fr))}.draft-generation-panel textarea{min-height:72px}}.card-form-view,.blueprint-form-view{padding:16px}.blueprint-form-view{display:grid;gap:14px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcfd)}.blueprint-studio-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;min-height:92px;padding:4px 0 15px 14px;border-bottom:1px solid rgba(17,24,39,.08)}.blueprint-studio-head:before{position:absolute;top:8px;bottom:18px;left:0;width:3px;border-radius:999px;background:linear-gradient(180deg,#147a72,#91cbc0);content:""}.blueprint-studio-head span{color:#667085;font-size:12px;font-weight:760}.blueprint-studio-head strong{display:block;margin-top:4px;color:#111827;font-size:22px;line-height:1.22}.blueprint-studio-head p{max-width:710px;margin:7px 0 0;color:#475467;font-size:14px;line-height:1.62}.blueprint-studio-actions{display:grid;justify-items:end;gap:8px}.blueprint-studio-actions em{color:#667085;font-size:12px;font-style:normal;font-weight:760}.blueprint-studio-actions .json-actions{justify-content:flex-end;margin-bottom:0}.blueprint-completion-strip{display:flex;flex-wrap:wrap;gap:7px}.blueprint-completion-strip span{padding:6px 8px;border:1px solid rgba(183,121,31,.15);border-radius:8px;color:#8a5a00;background:#fff8ea;font-size:12px;font-weight:760}.blueprint-completion-strip span.complete{border-color:#0f766e24;color:#0f766e;background:#eef8f6}.card-form-grid,.blueprint-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-form-grid label,.blueprint-form-grid label{display:grid;gap:6px;color:#6e6e73;font-size:12px}.blueprint-form-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:10px}.blueprint-form-grid label{align-content:start;min-height:112px;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#fffffff5;box-shadow:0 1px 2px #10182807;color:#667085;font-weight:760}.blueprint-title-field,.blueprint-logline-field{min-height:126px}.blueprint-logline-field textarea{color:#111827;font-weight:680}.chapter-card-completion,.chapter-card-advanced{display:grid;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fbfbfd}.chapter-card-completion-head,.advanced-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.chapter-card-completion-head span,.advanced-head span{color:#147a72;font-size:12px;font-weight:800}.chapter-card-completion-head strong{display:block;margin-top:3px;font-size:18px}.chapter-card-completion-head p,.advanced-head p{margin:5px 0 0;color:#6e6e73;font-size:13px;line-height:1.55}.chapter-card-completion-head em{min-width:44px;padding:5px 8px;border:1px solid rgba(15,118,110,.18);border-radius:999px;color:#147a72;background:#edf7f5;font-size:13px;font-style:normal;font-weight:850;text-align:right}.completion-checks{display:flex;flex-wrap:wrap;gap:8px}.completion-checks span{padding:6px 8px;border-radius:8px;color:#8a5a00;background:#fff3da;font-size:12px;font-weight:750}.completion-checks span.complete{color:#147a72;background:#edf7f5}.card-form-grid input,.card-form-grid textarea,.blueprint-form-grid input,.blueprint-form-grid textarea{width:100%;min-height:38px;padding:9px 10px;border:1px solid #dedee3;border-radius:8px;outline:0;color:#1d1d1f;background:#fff}.card-form-grid textarea,.blueprint-form-grid textarea{min-height:92px;resize:vertical;line-height:1.6}.blueprint-form-grid textarea{min-height:82px;background:#f8fafc}.blueprint-form-grid input{background:#f8fafc}@media(max-width:720px){.blueprint-form-view{gap:10px;padding:12px}.blueprint-studio-head{grid-template-columns:1fr;align-items:start;gap:10px;min-height:0;padding:3px 0 12px 12px}.blueprint-studio-head:before{top:6px;bottom:14px}.blueprint-studio-head strong{font-size:22px;line-height:1.18}.blueprint-studio-head p{margin-top:6px;font-size:13px;line-height:1.52}.blueprint-studio-actions{justify-items:stretch;width:100%}.blueprint-studio-actions em{justify-self:start}.blueprint-studio-actions .json-actions{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) auto;gap:6px;justify-content:stretch}.blueprint-studio-actions .json-actions button{min-width:0;padding:0 8px}.blueprint-completion-strip{gap:5px}.blueprint-completion-strip span{padding:5px 7px;font-size:11.5px}.blueprint-form-grid{grid-template-columns:1fr;gap:8px}.blueprint-title-field,.blueprint-logline-field,.blueprint-form-grid label{min-height:0;padding:10px}.blueprint-form-grid textarea{min-height:76px}}.wide-field{grid-column:1 / -1}.scene-beats-field{display:grid;gap:10px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#f5f5f7}.scene-beats-head,.scene-beat-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.scene-beats-head span{display:block;color:#1d1d1f;font-size:13px;font-weight:800}.scene-beats-head p{margin:3px 0 0;color:#6e6e73;font-size:12px;line-height:1.5}.scene-beat-list{display:grid;gap:8px}.scene-beat-card{display:grid;gap:10px;padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fff}.scene-beat-card strong{color:#1d1d1f;font-size:13px}.scene-beat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.raw-card-editor{display:grid;gap:10px;margin-top:12px}.versions-view{display:grid;gap:14px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcfd)}.versions-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;min-height:88px;padding:4px 0 14px 14px;border-bottom:1px solid rgba(17,24,39,.08)}.versions-toolbar:before{position:absolute;top:8px;bottom:18px;left:0;width:3px;border-radius:999px;background:linear-gradient(180deg,#147a72,#91cbc0);content:""}.versions-toolbar span,.versions-summary span,.version-card span,.version-preview-head span{color:#667085;font-size:12px;font-weight:760}.versions-toolbar strong{display:block;margin-top:4px;color:#111827;font-size:22px;line-height:1.22}.versions-toolbar p{max-width:690px;margin:7px 0 0;color:#475467;font-size:14px;line-height:1.62}.versions-summary{min-width:96px;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:linear-gradient(180deg,#f5fbfa,#fff);text-align:right;box-shadow:0 1px 2px #10182809}.versions-summary strong{display:block;color:#111827;font-size:26px;line-height:1}.versions-toolbar-side{display:grid;justify-items:end;gap:8px}.versions-empty{display:grid;justify-items:center;gap:10px;padding:22px;border:1px dashed rgba(15,118,110,.22);border-radius:8px;background:#f0fdfa61}.versions-workbench{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(248px,.62fr);align-items:start;gap:12px}.version-preview{display:grid;gap:12px;padding:14px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#fff;box-shadow:0 1px 2px #10182809,0 12px 32px #1018280a}.version-preview-head,.version-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.version-preview-head span{display:block}.version-preview-head strong{display:block;margin-top:2px;color:#111827;font-size:18px}.version-preview-head p{margin:5px 0 0;color:#667085;font-size:12px}.version-preview-head em{padding:6px 8px;border-radius:8px;color:#0f766e;background:#eef8f6;font-style:normal;font-weight:800}.version-preview-head em.negative{color:#8a5a00;background:#fff8ea}.version-diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.version-recover-panel{display:grid;gap:10px;padding:12px;border:1px solid rgba(15,118,110,.16);border-radius:8px;background:#f4fbfa}.version-recover-head,.version-recover-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.version-recover-head span{display:block;color:#0f766e;font-size:12px;font-weight:800}.version-recover-head strong{display:block;margin-top:2px;color:#111827;font-size:15px}.version-recover-head em{padding:5px 8px;border-radius:999px;color:#0f766e;background:#e7f6f3;font-size:12px;font-style:normal;font-weight:800}.version-full-text{width:100%;min-height:220px;max-height:min(42vh,420px);resize:vertical;overflow:auto;padding:12px;border:1px solid rgba(17,24,39,.1);border-radius:8px;color:#242426;background:#fff;font:inherit;font-size:14px;line-height:1.75;white-space:pre-wrap}.version-excerpt{min-height:188px;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#f8fafc}.version-excerpt span{display:block;color:#667085;font-size:12px;font-weight:760}.version-excerpt p{margin:8px 0 0;color:#242426;font-size:13px;line-height:1.65;white-space:pre-wrap}.version-timeline{position:relative;display:grid;gap:8px}.version-timeline:before{position:absolute;top:14px;bottom:14px;left:15px;width:1px;background:#0f766e29;content:""}.version-card{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;padding:10px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#fff;box-shadow:0 1px 2px #10182808}.version-card.active{border-color:#0f766e57;background:linear-gradient(180deg,#f5fbfa,#fff);box-shadow:0 1px 2px #10182809,0 10px 26px #0f766e0f}.version-card-index{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(15,118,110,.16);border-radius:999px;background:#fff}.version-card.active .version-card-index{color:#fff;background:#0f766e}.version-card-index span{color:inherit;font-size:12px;font-weight:850}.version-card-copy{min-width:0}.version-card strong{display:block;margin-top:2px;overflow:hidden;color:#111827;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.version-card p{margin:3px 0 0;color:#667085;font-size:12px}.version-card .version-actions{grid-column:2;justify-content:flex-start}@media(max-width:720px){.versions-view{gap:10px;padding:12px}.versions-toolbar{grid-template-columns:1fr;align-items:start;gap:10px;min-height:0;padding:3px 0 12px 12px}.versions-toolbar:before{top:6px;bottom:14px}.versions-toolbar strong{font-size:22px}.versions-toolbar p{margin-top:6px;font-size:13px;line-height:1.52}.versions-toolbar-side{width:100%;justify-items:stretch}.versions-summary{display:flex;align-items:center;justify-content:space-between;min-width:0;padding:9px 10px;text-align:left}.versions-workbench,.version-diff-grid{grid-template-columns:1fr}.version-preview{padding:12px}.version-preview-head{display:grid}.version-preview-head em{justify-self:start}.version-excerpt{min-height:132px}.version-card{grid-template-columns:30px minmax(0,1fr);align-items:start}.version-card .version-actions{grid-column:2;justify-content:flex-start}}.memory-view{display:grid;gap:14px;padding:16px}.memory-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.memory-toolbar span,.memory-focus>span,.memory-field span,.memory-field small{color:#6e6e73;font-size:12px}.memory-toolbar strong{display:block;margin-top:3px;font-size:20px}.memory-toolbar p{max-width:640px;margin:6px 0 0;color:#424245;line-height:1.6}.memory-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.memory-focus{display:grid;gap:9px;padding:12px;border:1px solid rgba(203,213,225,.7);border-radius:8px;background:#fff}.memory-focus-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.memory-focus-chips span{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid rgba(203,213,225,.7);border-radius:8px;background:#fbfcfd}.memory-focus-chips strong{color:#103f3b;font-size:14px}.memory-focus-chips small{overflow:hidden;color:#6e6e73;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.memory-focus-actions{display:flex;justify-content:flex-end}.memory-focus-actions .secondary-button{white-space:nowrap}.memory-advanced-details{border:1px dashed rgba(203,213,225,.7);border-radius:8px;background:#fff}.memory-advanced-details>summary{display:flex;min-height:40px;align-items:center;gap:8px;padding:9px 12px;color:#425466;cursor:pointer;font-size:13px;font-weight:780;list-style:none}.memory-advanced-details>summary::-webkit-details-marker{display:none}.memory-advanced-details>summary em{flex:1;overflow:hidden;color:#8a8f98;font-size:12px;font-style:normal;font-weight:680;text-align:right;text-overflow:ellipsis;white-space:nowrap}.memory-advanced-details>summary svg{color:#0f766e;transition:transform .16s ease}.memory-advanced-details[open]{border-style:solid;background:#fff}.memory-advanced-details[open]>summary{border-bottom:1px solid rgba(203,213,225,.5);color:#0f766e}.memory-advanced-details[open]>summary svg{transform:rotate(180deg)}.memory-advanced-details .memory-grid{padding:12px}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-field{display:grid;gap:6px;padding:12px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fff}.memory-field textarea{width:100%;min-height:132px;padding:9px 10px;border:1px solid rgba(203,213,225,.72);border-radius:8px;outline:0;color:#1d1d1f;background:#fff;line-height:1.6;resize:vertical}.memory-archive{display:grid;gap:12px;padding:12px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fff}.memory-archive-head,.memory-archive-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.memory-archive-head span,.memory-archive-item span{color:#6e6e73;font-size:12px}.memory-archive-head strong,.memory-archive-item strong{display:block;margin-top:3px}.memory-archive-head p,.memory-archive-item p{margin:6px 0 0;color:#424245;line-height:1.6}.memory-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-archive-item{min-height:92px;padding:12px;border:1px solid rgba(203,213,225,.6);border-radius:8px;background:#fbfcfd}.notes-view{display:grid;gap:12px;padding:16px;background:linear-gradient(180deg,#fff,#f8fafc)}.notes-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;min-height:86px;padding:3px 0 14px 14px;border-bottom:1px solid rgba(17,24,39,.06)}.notes-toolbar:before{position:absolute;top:8px;bottom:18px;left:0;width:2px;border-radius:999px;background:linear-gradient(180deg,#147a72cc,#91cbc0b3);content:""}.notes-toolbar span,.notes-summary span,.notes-index-head span,.note-card span,.note-card em,.note-editor-head span,.note-editor-head p,.note-editor-field,.note-editor-meta label{color:#667085;font-size:12px;font-weight:740}.notes-toolbar strong{display:block;margin-top:4px;color:#111827;font-size:22px;line-height:1.22}.notes-toolbar p{max-width:680px;margin:7px 0 0;color:#475467;font-size:14px;line-height:1.58}.notes-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.notes-actions>span{flex-basis:100%;text-align:right}.notes-actions button{min-height:36px;padding-inline:12px}.notes-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.notes-summary span{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:8px 11px;border:1px solid rgba(203,213,225,.64);border-radius:8px;background:#ffffffe6;box-shadow:none}.notes-summary strong{color:#111827;font-size:18px}.notes-workbench{display:grid;grid-template-columns:minmax(210px,.42fr) minmax(0,.58fr);gap:12px;align-items:start}.notes-index,.note-editor{border:1px solid rgba(203,213,225,.66);border-radius:8px;background:#fffffff0;box-shadow:none}.notes-index{display:grid;gap:8px;max-height:min(620px,calc(100vh - 330px));padding:10px;overflow:auto;overscroll-behavior:contain}.notes-index-head{position:sticky;top:-10px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-10px -10px 0;padding:10px;border-bottom:1px solid rgba(203,213,225,.42);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.notes-index-head strong{display:block;margin-top:2px;color:#111827;font-size:15px}.notes-list{display:grid;gap:7px}.note-card{display:grid;gap:5px;width:100%;padding:10px;border:1px solid transparent;border-radius:8px;background:#f8fafce6;text-align:left;cursor:pointer}.note-card.archived{opacity:.72}.note-card.active,.note-card:hover,.note-card:focus-visible{border-color:#0f766e33;background:#f8fbfb;outline:0;box-shadow:inset 2px 0 #147a72e6}.note-card strong{overflow:hidden;color:#111827;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.note-card p{display:-webkit-box;min-height:38px;margin:0;overflow:hidden;color:#475467;font-size:12.5px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.note-card em{overflow:hidden;color:#0f766e;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.note-editor{display:grid;gap:10px;padding:12px}.note-editor.archived{background:#f8fafcf0}.note-editor-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(203,213,225,.42)}.note-editor-head strong{display:block;margin-top:2px;color:#111827;font-size:18px;line-height:1.28}.note-editor-head p{margin:5px 0 0;color:#667085;line-height:1.45}.note-editor-head em{padding:5px 8px;border-radius:999px;color:#0f766e;background:#e8f5f2bf;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.note-editor-meta{display:grid;grid-template-columns:minmax(120px,.42fr) minmax(0,.58fr);gap:8px}.note-editor-meta label,.note-editor-field{display:grid;gap:5px}.note-editor input,.note-editor textarea,.note-editor select{width:100%;border:1px solid rgba(203,213,225,.7);border-radius:8px;outline:0;color:#111827;background:#fffffff5;box-shadow:inset 0 1px 1px #10182805}.note-editor input,.note-editor select{min-height:38px;padding:8px 10px}.note-editor textarea{min-height:190px;padding:10px;line-height:1.65;resize:vertical}.note-editor input:focus,.note-editor textarea:focus,.note-editor select:focus{border-color:#0f766e4d;box-shadow:0 0 0 3px #0f766e0d}.note-editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:2px}.note-editor-actions button:disabled{cursor:not-allowed;opacity:.48}.reference-handoff-actions,.brief-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}.reference-handoff-actions .secondary-button,.brief-head-actions .secondary-button{white-space:nowrap}@media(max-width:720px){.notes-view{gap:10px;padding:10px}.notes-toolbar,.notes-workbench,.note-editor-meta{grid-template-columns:1fr}.notes-toolbar{min-height:0;gap:10px;padding-bottom:10px}.notes-toolbar strong{font-size:20px}.notes-actions{justify-content:stretch}.notes-actions>span{text-align:left}.notes-actions button{flex:1 1 120px;justify-content:center}.notes-summary{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px;scroll-snap-type:x proximity;scrollbar-width:none}.notes-summary::-webkit-scrollbar{display:none}.notes-summary span{flex:0 0 94px;min-height:42px;scroll-snap-align:start}.notes-index{max-height:255px}.note-card p{min-height:0}.note-editor{padding:10px}.note-editor textarea{min-height:170px}.note-editor-actions{justify-content:stretch}.note-editor-actions button{flex:1 1 128px;justify-content:center}.reference-handoff-actions,.brief-head-actions{align-items:flex-start}}.search-view{display:grid;gap:10px;padding:12px;background:#fff}.search-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;min-height:0;padding:0 0 10px;border-bottom:1px solid rgba(17,24,39,.08)}.search-toolbar:before{display:none}.search-toolbar span,.search-form label,.search-result span,.search-result em,.search-stats span,.search-quick-terms button,.search-type-filter button{color:#667085;font-size:12px;font-weight:740}.search-toolbar strong{display:block;margin-top:2px;color:#111827;font-size:18px;line-height:1.22}.search-toolbar p{max-width:640px;margin:5px 0 0;color:#475467;font-size:13px;line-height:1.5}.search-summary{min-width:96px;padding:12px;border:1px solid rgba(203,213,225,.78);border-radius:8px;background:linear-gradient(180deg,#f5fbfa,#fff);text-align:right;box-shadow:0 1px 2px #10182809}.search-summary strong{display:block;color:#111827;font-size:26px;line-height:1}.search-console{display:grid;gap:9px;padding:10px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#f8fafcb8}.search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.search-form label{display:grid;gap:6px}.search-input-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:44px;padding:0 11px;border:1px solid rgba(203,213,225,.86);border-radius:8px;background:#fff;box-shadow:inset 0 1px 1px #10182809}.search-input-row svg{color:#0f766e}.search-form input{width:100%;min-height:42px;padding:0;border:0;outline:0;color:#111827;background:transparent;font-size:15px}.search-input-row:focus-within{border-color:#0f766e6b;box-shadow:0 0 0 3px #0f766e14}.search-form .primary-button{min-height:44px;padding-inline:18px}.search-quick-terms{display:flex;flex-wrap:wrap;gap:6px}.search-quick-terms button{min-height:28px;padding:4px 9px;border:1px solid rgba(203,213,225,.76);border-radius:8px;background:#f8fafc}.search-quick-terms button:hover,.search-quick-terms button:focus-visible{border-color:#0f766e47;color:#0f766e;background:#f4fbfa;outline:0}.search-dashboard{display:grid;gap:8px}.search-stats{display:flex;flex-wrap:wrap;gap:7px}.search-stats span{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:5px 9px;border:1px solid rgba(203,213,225,.62);border-radius:8px;background:#ffffffd1}.search-stats strong{color:#111827}.search-type-filter{display:flex;flex-wrap:wrap;gap:6px;padding:3px;border:1px solid rgba(203,213,225,.68);border-radius:8px;background:#f1f5f9c7}.search-type-filter button{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:4px 9px;border:0;border-radius:6px;background:transparent}.search-type-filter button.active,.search-type-filter button:hover,.search-type-filter button:focus-visible{color:#0f766e;background:#fff;outline:0;box-shadow:0 1px 3px #10182814,inset 0 0 0 1px #0f766e1f}.search-type-filter strong{color:inherit}.search-results{display:grid;gap:8px}.search-result{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;min-height:92px;padding:10px;border:1px solid rgba(203,213,225,.76);border-radius:8px;background:#ffffffe6;text-align:left;box-shadow:0 1px 2px #10182808}.search-result:hover,.search-result:focus-visible{border-color:#0f766e4d;outline:0;box-shadow:0 8px 24px #0f766e14,inset 3px 0 #147a72}.search-result-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(15,118,110,.14);border-radius:8px;color:#0f766e;background:#e8f5f2}.search-result-copy{display:grid;gap:5px;min-width:0}.search-result strong{overflow:hidden;color:#111827;font-size:15px;line-height:1.34;text-overflow:ellipsis;white-space:nowrap}.search-result p{display:-webkit-box;margin:0;overflow:hidden;color:#475467;font-size:13px;line-height:1.58;-webkit-box-orient:vertical;-webkit-line-clamp:2}.search-result mark{border-radius:4px;color:#78350f;background:#fbbf2452;box-shadow:0 0 0 1px #fbbf242e}.search-result em{align-self:start;min-width:44px;padding:5px 7px;border-radius:999px;color:#0f766e;background:#e8f5f2;font-style:normal;font-weight:800;text-align:center;white-space:nowrap}@media(max-width:720px){.search-view{gap:10px;padding:10px}.search-toolbar,.search-form{grid-template-columns:1fr}.search-toolbar{min-height:0;padding-bottom:10px}.search-toolbar strong{font-size:20px}.search-summary{width:100%;text-align:left}.search-form .primary-button{width:100%;justify-content:center}.search-stats,.search-type-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.search-stats::-webkit-scrollbar,.search-type-filter::-webkit-scrollbar{display:none}.search-stats span,.search-type-filter button{flex:0 0 auto;scroll-snap-align:start}.search-result{grid-template-columns:32px minmax(0,1fr);gap:8px;min-height:0}.search-result em{grid-column:2;width:fit-content}}.progress-view{display:grid;gap:14px;padding:16px}.progress-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.progress-toolbar span,.progress-summary span,.progress-card span,.progress-forecast span,.progress-focus-item span,.progress-focus-item em{color:#6e6e73;font-size:12px}.progress-toolbar strong{display:block;margin-top:3px;font-size:20px}.progress-toolbar p{max-width:660px;margin:6px 0 0;color:#424245;line-height:1.6}.progress-ring{display:grid;place-items:center;width:104px;height:104px;border:1px solid #dedee3;border-radius:50%;background:#fff;text-align:center}.progress-ring strong{margin:0;color:#1d1d1f;font-size:24px}.progress-ring span{margin-top:-20px}.progress-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}.progress-summary div,.progress-card,.progress-focus-item{border:1px solid #dedee3;border-radius:8px;background:#fff}.progress-summary div{padding:12px}.progress-summary strong{display:block;margin-top:4px;font-size:22px}.progress-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.progress-card{display:grid;gap:12px;padding:12px}.progress-card-head strong{display:block;margin-top:3px;font-size:16px}.progress-stage-list{display:grid;gap:8px}.progress-stage-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;background:#f5f5f7}.progress-forecast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.progress-forecast span{padding:8px;border-radius:8px;background:#f5f5f7;font-weight:700}.progress-focus-list{display:grid;gap:10px}.progress-focus-item{display:grid;gap:6px;width:100%;padding:12px;text-align:left}.progress-focus-item:hover{border-color:#1a7f73}.progress-focus-item.missing_target,.progress-focus-item.behind{border-left:4px solid #a33a2d}.progress-focus-item.not_started,.progress-focus-item.reviewing{border-left:4px solid #8a5a00}.progress-focus-item.over{border-left:4px solid #5475b6}.progress-focus-item strong{color:#1d1d1f;font-size:16px}.progress-focus-item p{margin:0;color:#424245;line-height:1.6}.progress-focus-item em{font-style:normal;font-weight:750}.revision-view{display:grid;gap:14px;padding:16px}.revision-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.revision-toolbar span,.revision-summary span,.revision-task span,.revision-task em{color:#6e6e73;font-size:12px}.revision-toolbar strong{display:block;margin-top:3px;font-size:20px}.revision-toolbar p{max-width:640px;margin:6px 0 0;color:#424245;line-height:1.6}.revision-summary-pill{min-width:96px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fff;text-align:right}.revision-summary-pill strong{font-size:24px}.revision-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px}.revision-summary div,.revision-task{border:1px solid #dedee3;border-radius:8px;background:#fff}.revision-summary div{padding:12px}.revision-summary strong{display:block;margin-top:4px;font-size:22px}.revision-list{display:grid;gap:10px}.revision-task{display:grid;gap:9px;padding:12px}.revision-task.high{border-left:4px solid #a33a2d}.revision-task.medium{border-left:4px solid #8a5a00}.revision-task.low{border-left:4px solid #147a72}.revision-task-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.revision-task-head strong{display:block;margin-top:3px;color:#1d1d1f;font-size:16px}.revision-task em{padding:4px 7px;border-radius:8px;background:#f5f5f7;font-style:normal;font-weight:800}.revision-task p{margin:0;color:#424245;line-height:1.6}.revision-tags{display:flex;flex-wrap:wrap;gap:6px}.revision-tags span{padding:5px 7px;border-radius:8px;background:#f5f5f7;color:#424245;font-size:12px}.outline-view{display:grid;gap:14px;padding:16px}.outline-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.outline-toolbar span,.outline-card-head span,.outline-status span,.outline-note span,.outline-card-body span,.outline-meta span,.outline-summary span{color:#6e6e73;font-size:12px}.outline-toolbar strong{display:block;margin-top:3px;font-size:20px}.outline-toolbar p{max-width:560px;margin:6px 0 0;color:#424245;line-height:1.6}.outline-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.outline-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px}.outline-summary div,.review-board,.review-item,.outline-card{border:1px solid #dedee3;border-radius:8px;background:#fff}.outline-summary div{padding:12px}.outline-summary strong{display:block;margin-top:4px;font-size:22px}.bulk-chapter-planner{display:grid;grid-template-columns:minmax(92px,120px) minmax(180px,1fr) auto;align-items:end;gap:10px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fff}.bulk-chapter-planner label{display:grid;gap:5px;color:#6e6e73;font-size:12px}.bulk-chapter-planner input{min-height:36px;padding:0 10px;border:1px solid #dedee3;border-radius:8px;outline:0;color:#1d1d1f;background:#fbfbfd}.outline-list{display:grid;gap:10px}.review-board{display:grid;gap:12px;padding:12px}.review-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.review-board-head span,.review-item span,.outline-next-action span{display:block;color:#6e6e73;font-size:12px}.review-board-head strong{display:block;margin-top:3px;font-size:18px}.review-board-head p{margin:0;color:#424245;font-size:13px;line-height:1.5;text-align:right}.review-board-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.review-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;padding:10px;background:#fbfbfd}.review-item svg{margin-top:2px;color:#147a72}.review-item.high svg{color:#a33a2d}.review-item.medium svg{color:#8a5a00}.review-item strong,.outline-next-action strong{display:block;margin-top:3px;color:#1d1d1f;font-size:14px}.review-item p,.outline-next-action p,.outline-diagnosis-summary p{margin:4px 0 0;color:#424245;font-size:13px;line-height:1.5}.review-action-button{width:fit-content;margin-top:8px}.outline-card{padding:12px}.outline-card.active{border-color:#147a72;box-shadow:inset 0 0 0 1px #147a72}.outline-card-head{display:grid;grid-template-columns:34px minmax(0,1fr) 110px 126px;align-items:start;gap:12px}.outline-order-controls{display:grid;gap:6px}.outline-order-controls .icon-small:disabled{cursor:not-allowed;color:#b8b8bf;background:#f5f5f7}.outline-open{display:grid;gap:4px;min-width:0;padding:0;border:0;background:transparent;text-align:left}.outline-open strong{overflow:hidden;color:#1d1d1f;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.outline-status{display:grid;gap:5px}.outline-status select{width:100%;min-height:34px;padding:0 8px;border:1px solid #dedee3;border-radius:8px;outline:0;background:#fbfbfd}.outline-card-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.outline-card-body p{display:-webkit-box;min-height:42px;margin:4px 0 0;overflow:hidden;color:#424245;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.outline-meta{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:10px;padding-top:4px;border-top:1px solid #ececf1}.outline-gaps{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.outline-gaps span{padding:5px 7px;border-radius:8px;border:1px solid rgba(203,213,225,.68);background:#f8fafc;color:#475467;font-size:12px;font-weight:700}.outline-gaps .outline-gaps-label{padding-left:0;border-color:transparent;background:transparent;color:#667085}.outline-gaps .outline-gaps-more{border-color:#0f766e24;background:#f0fdfad9;color:#147a72}.outline-next-action{grid-column:1 / -1;padding:10px;border-radius:8px;background:#f5f5f7}.outline-next-action.high{background:#fff1ed}.outline-next-action.medium{background:#fff7e8}.outline-next-action.low{background:#edf7f5}.outline-diagnosis-summary{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(29,29,31,.1)}.outline-diagnosis-summary div{display:flex;flex-wrap:wrap;gap:6px}.outline-diagnosis-summary em{padding:4px 7px;border-radius:8px;background:#ffffffb8;color:#6e4a00;font-size:12px;font-style:normal;font-weight:750}.pacing-view{display:grid;gap:14px}.pacing-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.pacing-toolbar span,.pacing-stat span,.pacing-delta span,.pacing-open span,.pacing-meta span{color:#6e6e73;font-size:12px}.pacing-toolbar strong{display:block;margin-top:3px;font-size:20px}.pacing-toolbar p{max-width:680px;margin:6px 0 0;color:#424245;line-height:1.6}.pacing-delta{min-width:150px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fff}.pacing-delta strong{font-size:22px}.pacing-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.pacing-stat,.pacing-item{border:1px solid #dedee3;border-radius:8px;background:#fff}.pacing-stat{padding:12px}.pacing-stat strong{display:block;margin-top:4px;font-size:22px}.pacing-alerts,.pacing-warnings,.pacing-meta{display:flex;flex-wrap:wrap;gap:6px}.pacing-alerts span,.pacing-warnings span{padding:5px 8px;border-radius:8px;background:#fff3da;color:#8a5a00;font-size:12px;font-weight:750}.pacing-list{display:grid;gap:10px}.pacing-item{display:grid;gap:10px;padding:12px}.pacing-item.too_short,.pacing-item.too_long,.pacing-item.missing_target{border-color:#e7b66b}.pacing-item.on_track{border-color:#a7d7ce}.pacing-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.pacing-open{display:grid;gap:4px;min-width:0;padding:0;border:0;background:transparent;text-align:left}.pacing-open strong{color:#1d1d1f;font-size:17px}.pacing-item-head em{padding:5px 8px;border-radius:8px;background:#f5f5f7;color:#424245;font-size:12px;font-style:normal;font-weight:750}.pacing-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pacing-copy p{margin:0;color:#424245;font-size:13px;line-height:1.55}.pacing-copy strong{display:block;margin-bottom:3px;color:#1d1d1f}.timeline-view{display:grid;gap:14px}.timeline-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.timeline-toolbar span,.timeline-stat span,.timeline-open span,.timeline-note span,.timeline-side-title span,.character-state-card span{color:#6e6e73;font-size:12px}.timeline-toolbar strong{display:block;margin-top:3px;font-size:20px}.timeline-toolbar p{max-width:640px;margin:6px 0 0;color:#424245;line-height:1.6}.timeline-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.timeline-stat,.timeline-item,.character-state-card{border:1px solid #dedee3;border-radius:8px;background:#fff}.timeline-stat{padding:12px}.timeline-stat strong{display:block;margin-top:4px;font-size:22px}.timeline-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.42fr);gap:12px;align-items:start}.timeline-list,.character-state-list{display:grid;gap:10px}.timeline-item,.character-state-card{display:grid;gap:10px;padding:12px}.timeline-open{display:grid;gap:4px;min-width:0;padding:0;border:0;background:transparent;text-align:left}.timeline-open strong,.character-state-card strong,.timeline-side-title strong{display:block;color:#1d1d1f}.timeline-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.timeline-note p,.character-state-card p{margin:4px 0 0;color:#424245;font-size:13px;line-height:1.55}.timeline-tags,.knowledge-list{display:flex;flex-wrap:wrap;gap:6px}.timeline-tags span,.knowledge-list span{padding:5px 7px;border-radius:8px;background:#f5f5f7;color:#424245;font-size:12px}.knowledge-list span{background:#edf7f5;color:#147a72}.character-bible-view{display:grid;gap:14px}.character-bible-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.character-bible-toolbar span,.character-bible-stat span,.character-bible-block span{color:#6e6e73;font-size:12px}.character-bible-toolbar strong{display:block;margin-top:3px;font-size:20px}.character-bible-toolbar p{max-width:660px;margin:6px 0 0;color:#424245;line-height:1.6}.character-bible-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.character-bible-stat,.character-bible-card{border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fff}.character-bible-stat{padding:12px}.character-bible-stat strong{display:block;margin-top:4px;font-size:22px}.character-bible-list{display:grid;gap:10px}.character-bible-card{display:grid;gap:12px;padding:12px}.character-bible-card.needs-attention{border-color:#d68b0047}.character-bible-block p,.character-memory-list p,.character-chapter-strip p{margin:4px 0 0;color:#424245;font-size:13px;line-height:1.55}.character-warning-list,.character-chapter-strip{display:flex;flex-wrap:wrap;gap:6px}.character-warning-list em{padding:5px 8px;border-radius:999px;background:#fff3dab8;color:#8a5a00;font-size:12px;font-style:normal;font-weight:750}.character-bible-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.character-bible-block,.character-chapter-strip button,.character-memory-list{border-radius:8px;background:#f8fafc}.character-bible-block{padding:10px}.character-chapter-strip button{display:grid;gap:4px;min-width:min(220px,100%);padding:10px;border:0;color:#1d1d1f;text-align:left}.character-chapter-strip span{color:#6e6e73;font-size:12px}.character-chapter-strip strong{font-size:14px}.character-knowledge-list span{max-width:100%;overflow-wrap:anywhere}.character-memory-list{display:grid;gap:6px;padding:10px}.character-memory-list strong{color:#1d1d1f}.outline-view,.pacing-view,.timeline-view,.character-bible-view{gap:16px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcfd)}.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar{position:relative;min-height:88px;padding:4px 0 14px 14px;border-bottom:1px solid rgba(17,24,39,.08)}.outline-toolbar:before,.pacing-toolbar:before,.timeline-toolbar:before,.character-bible-toolbar:before{position:absolute;top:8px;bottom:18px;left:0;width:3px;border-radius:999px;background:linear-gradient(180deg,#147a72,#91cbc0);content:""}.outline-toolbar span,.pacing-toolbar span,.timeline-toolbar span,.character-bible-toolbar span{color:#667085;font-size:12px;font-weight:760}.outline-toolbar strong,.pacing-toolbar strong,.timeline-toolbar strong,.character-bible-toolbar strong{margin-top:4px;color:#111827;font-size:22px;line-height:1.22}.outline-toolbar p,.pacing-toolbar p,.timeline-toolbar p,.character-bible-toolbar p{max-width:760px;margin-top:7px;color:#475467;font-size:14px;line-height:1.62}.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary{gap:8px}.outline-summary div,.pacing-stat,.timeline-stat,.character-bible-stat{min-height:78px;padding:12px 13px;border-color:#11182714;background:linear-gradient(180deg,#fffffffa,#f8fafce6);box-shadow:0 1px 2px #10182809}.outline-summary div:first-child,.pacing-stat:first-child,.timeline-stat:first-child,.character-bible-stat:first-child{border-color:#0f766e38;background:linear-gradient(180deg,#f5fbfa,#fff)}.outline-summary span,.pacing-stat span,.timeline-stat span,.character-bible-stat span{color:#667085;font-weight:720}.outline-summary strong,.pacing-stat strong,.timeline-stat strong,.character-bible-stat strong{margin-top:5px;color:#111827;font-size:24px;line-height:1.08}.bulk-chapter-planner,.review-board,.pacing-alerts{border-color:#11182714;background:#fbfcfd;box-shadow:0 1px 2px #10182808}.bulk-chapter-planner{padding:12px 13px}.review-board{padding:14px}.review-board-head strong{color:#111827}.review-board-head p{color:#667085}.review-item,.outline-card,.pacing-item,.timeline-item,.character-state-card,.character-bible-card{border-color:#11182717;background:#fff;box-shadow:0 1px 2px #10182809,0 10px 28px #10182809;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.outline-card:hover,.pacing-item:hover,.timeline-item:hover,.character-state-card:hover,.character-bible-card:hover{border-color:#0f766e3d;box-shadow:0 1px 2px #1018280b,0 14px 34px #1018280f;transform:translateY(-1px)}.outline-card.active{border-color:#147a72;box-shadow:inset 3px 0 #147a72,0 1px 2px #1018280a,0 14px 34px #0f766e14}.outline-open strong,.pacing-open strong,.timeline-open strong,.character-state-card strong{color:#111827}.outline-next-action,.character-bible-block,.character-chapter-strip button,.character-memory-list{background:#f6f8fa}.outline-next-action.high{background:#fff4f1}.outline-next-action.medium{background:#fff8ea}.outline-next-action.low{background:#eef8f6}.pacing-alerts{padding:2px 0;background:transparent;box-shadow:none}.pacing-alerts span,.pacing-warnings span{background:#fff4d6;color:#7a4a00}.timeline-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.46fr)}.timeline-side-title{padding:2px 0 0}.timeline-notes{gap:10px}.timeline-note{padding:9px 10px;border-radius:8px;background:#f8fafc}.timeline-tags span,.knowledge-list span{font-weight:720}.character-bible-card{padding:14px}.character-bible-card.needs-attention{border-color:#d68b005c;box-shadow:inset 3px 0 #d68b00c7,0 1px 2px #10182809}.character-chapter-strip button{border:1px solid rgba(17,24,39,.05)}.character-chapter-strip button:hover,.character-chapter-strip button:focus-visible{border-color:#0f766e33;background:#eef8f6;outline:0}.character-bible-workbench{display:grid;grid-template-columns:minmax(220px,.42fr) minmax(0,.58fr);gap:12px;align-items:start}.character-bible-index,.character-dossier{border:1px solid rgba(203,213,225,.66);border-radius:8px;background:#fffffff0;box-shadow:none}.character-bible-index{display:grid;gap:8px;max-height:min(650px,calc(100vh - 330px));padding:10px;overflow:auto;overscroll-behavior:contain}.character-bible-index-head{position:sticky;top:-10px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-10px -10px 0;padding:10px;border-bottom:1px solid rgba(203,213,225,.42);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.character-bible-index-head span,.character-bible-card span,.character-bible-card em,.character-bible-card small,.character-dossier-head span,.character-dossier-head p,.character-dossier-title span{color:#667085;font-size:12px;font-weight:740}.character-bible-index-head strong{display:block;margin-top:2px;color:#111827;font-size:15px;line-height:1.25}.character-bible-index-head em{padding:5px 8px;border-radius:999px;color:#0f766e;background:#e8f5f2bf;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.character-bible-list{gap:7px}.character-bible-card{display:grid;gap:5px;width:100%;padding:10px;border:1px solid transparent;border-radius:8px;background:#f8fafce6;text-align:left;cursor:pointer;box-shadow:none;transform:none}.character-bible-card:hover,.character-bible-card:focus-visible,.character-bible-card.active{border-color:#0f766e33;background:#f8fbfb;outline:0;box-shadow:inset 2px 0 #147a72e6;transform:none}.character-bible-card.needs-attention{border-color:#d68b0033;box-shadow:inset 2px 0 #d68b00b8}.character-bible-card.active.needs-attention{border-color:#0f766e33;box-shadow:inset 2px 0 #147a72e6}.character-bible-card strong{overflow:hidden;color:#111827;font-size:15px;line-height:1.34;text-overflow:ellipsis;white-space:nowrap}.character-bible-card p,.character-bible-card small{display:-webkit-box;margin:0;overflow:hidden;line-height:1.48;-webkit-box-orient:vertical}.character-bible-card p{min-height:36px;color:#475467;font-size:12.5px;-webkit-line-clamp:2}.character-bible-card small{color:#667085;font-size:11.5px;-webkit-line-clamp:1}.character-bible-card-meta{display:flex;flex-wrap:wrap;gap:4px}.character-bible-card-meta em{padding:3px 6px;border-radius:999px;color:#0f766e;background:#e8f5f2b8;font-style:normal}.character-bible-card-meta em.warn{color:#8a5a00;background:#fff3dab8}.character-dossier{display:grid;gap:12px;padding:14px}.character-dossier.needs-attention{border-color:#d68b0038}.character-dossier-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(203,213,225,.42)}.character-dossier-head strong{display:block;margin-top:2px;color:#111827;font-size:22px;line-height:1.22}.character-dossier-head p{margin:6px 0 0;color:#475467;line-height:1.52}.character-dossier .character-bible-grid{gap:9px}.character-dossier .character-bible-block{min-height:104px;padding:11px;border:1px solid rgba(203,213,225,.48);background:#fbfcfd}.character-dossier-section{display:grid;gap:8px}.character-dossier-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.character-dossier-title strong{color:#111827;font-size:13px}.character-dossier .character-chapter-strip{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.character-dossier .character-chapter-strip::-webkit-scrollbar{display:none}.character-dossier .character-chapter-strip button{flex:0 0 min(280px,82%);scroll-snap-align:start}.character-dossier .character-knowledge-list,.character-dossier .character-memory-list{gap:6px}@media(max-width:720px){.character-bible-workbench,.character-dossier-head,.character-dossier .character-bible-grid{grid-template-columns:1fr}.character-bible-index{max-height:285px}.character-bible-summary{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px;scroll-snap-type:x proximity;scrollbar-width:none}.character-bible-summary::-webkit-scrollbar{display:none}.character-bible-stat{flex:0 0 96px;min-height:58px;padding:9px 10px;scroll-snap-align:start}.character-dossier{padding:10px}.character-dossier-head strong{font-size:20px}.character-warning-list{justify-content:flex-start}}.draft-generation-panel,.draft-guidance{border-bottom-color:#11182714}.draft-generation-panel{gap:14px;padding:17px;background:radial-gradient(circle at 100% 0%,rgba(15,118,110,.06),transparent 34%),linear-gradient(180deg,#fff,#f9fbfb)}.draft-generation-panel label span,.draft-guidance span,.draft-guidance em{color:#667085}.draft-generate-button{min-height:40px;padding-inline:17px;box-shadow:0 10px 22px #0f766e24}.draft-generation-grid{grid-template-columns:minmax(120px,.72fr) repeat(2,minmax(160px,1fr))}.draft-generation-panel label{min-height:66px;padding:10px 11px;border:1px solid rgba(17,24,39,.075);border-radius:8px;background:#ffffffeb;box-shadow:0 1px 2px #10182808}.draft-generation-grid label:first-child{border-color:#0f766e2e;background:linear-gradient(180deg,#f5fbfa,#fff)}.draft-generation-panel input,.draft-generation-panel select,.draft-generation-panel textarea{border-color:#dfe4ead1;background:#fff}.draft-generation-panel textarea{min-height:86px}.draft-guidance{gap:14px;padding:16px 18px;background:linear-gradient(180deg,#fff,#f8fafc)}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{border-color:#11182712;background:#fff;box-shadow:0 1px 2px #10182806}.draft-guidance-target{border-color:#0f766e2e;background:linear-gradient(180deg,#f7fcfb,#fff)}.draft-guidance strong{color:#111827}.draft-guidance-hints article,.draft-guidance-hints>p{border-style:dashed;background:#ffffffc7}.draft-generation-panel{gap:12px;padding:15px 17px 16px;background:linear-gradient(180deg,#fff,#fbfcfd)}.draft-generation-panel label span{color:#667085}.draft-generation-body{gap:10px;padding:12px;border:1px solid rgba(223,228,234,.72);border-radius:8px;background:#f8fafcc7}.draft-generation-grid{grid-template-columns:minmax(120px,.68fr) repeat(2,minmax(160px,1fr))}.draft-generation-panel label{min-height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.draft-generation-grid label:first-child{border:0;background:transparent}.draft-generation-panel input,.draft-generation-panel select,.draft-generation-panel textarea{margin-top:6px;border-color:#cdd6dfdb;background:#fffffff5;box-shadow:0 1px 2px #10182806}.draft-generation-panel textarea{min-height:74px}.draft-generate-button{min-height:38px;padding-inline:15px;box-shadow:0 8px 18px #0f766e1f}.editor-footer{gap:8px 12px;padding:9px 14px;background:linear-gradient(180deg,#fafcfdfa,#f6f9fafa)}.editor-footer-stats{gap:6px}.editor-footer-stats span{min-height:30px;padding-inline:9px;border-color:#cdd6dfc2;background:#ffffffbd;color:#536072}.editor-footer-actions{gap:7px}.editor-footer-group{gap:4px;padding:3px;border-color:#cdd6dfb3;background:#ffffffa8}.editor-footer button{min-height:32px;padding-inline:10px;color:#4b5563}.editor-footer button[data-testid=save-chapter]{color:var(--accent);background:#0f766e14}.editor-footer button:hover,.editor-footer button:focus-visible{border-color:#0f766e33;background:#fff;outline:0}.inspector{padding:0 16px 18px}.inspector-empty{padding:18px 18px 20px}.inspector-header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;box-sizing:border-box;max-width:100%;margin:0 0 14px;padding:12px 14px 10px;border-bottom:1px solid rgba(223,228,234,.82);background:linear-gradient(180deg,#f7f9fbfa,#f3f7f8f0);box-shadow:0 12px 26px #1018280f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.empty-inspector-panel{display:grid;gap:14px;max-width:520px}.empty-inspector-head{display:grid;gap:8px;padding:18px 18px 16px;border:1px solid rgba(205,214,223,.78);border-radius:8px;background:linear-gradient(180deg,#fffffff5,#f8fbfbf0);box-shadow:0 1px 2px #10182807,0 14px 34px #1018280b}.empty-inspector-head span{color:var(--accent);font-size:12px;font-weight:850}.empty-inspector-head h2{margin:0;color:#182230;font-size:20px;line-height:1.3}.empty-inspector-head p{margin:0;color:#586474;font-size:13px;line-height:1.68}.empty-inspector-steps{display:grid;overflow:hidden;border:1px solid rgba(205,214,223,.72);border-radius:8px;background:#ffffffd1;box-shadow:0 1px 2px #10182807}.empty-inspector-steps article{display:grid;grid-template-columns:34px auto minmax(0,1fr);align-items:start;gap:6px 11px;padding:13px 14px;border-top:1px solid rgba(223,228,234,.72)}.empty-inspector-steps article:first-child{border-top:0}.empty-inspector-steps article>div{grid-row:span 2;display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(15,118,110,.1);border-radius:8px;color:var(--accent);background:#e8f6f3c7}.empty-inspector-steps span{color:#98a2b3;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;font-weight:800;line-height:1.6}.empty-inspector-steps strong{min-width:0;color:#1d2939;font-size:14px;line-height:1.45}.empty-inspector-steps p{grid-column:2 / 4;margin:0;color:#667085;font-size:13px;line-height:1.56}.empty-inspector-action{width:100%;justify-content:center;min-height:42px;color:var(--accent);background:#ffffffbd}.assistant-panel,.quality-panel,.credits-panel{gap:12px}.assistant-copilot,.prompt-box,.chat-history,.job-list,.quality-panel>section,.quality-panel>div,.credits-panel>section,.credits-panel>div{border-color:#11182714;box-shadow:0 1px 2px #10182809,0 10px 28px #10182809}.assistant-copilot{gap:9px;padding:11px;background:linear-gradient(180deg,#fff,#f8fbfa)}.assistant-panel>.prompt-box{padding:13px}.assistant-panel>.assistant-chat-box{border-color:#0f766e38}.chat-history,.job-list{background:#ffffffe6}.chat-message{border-color:#11182712;background:#fff}.job-card{background:#fff}.foreshadow-view{display:grid;gap:14px}.foreshadow-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.foreshadow-toolbar span,.foreshadow-stat span,.foreshadow-item-head span,.foreshadow-events span{color:#6e6e73;font-size:12px}.foreshadow-toolbar strong{display:block;margin-top:3px;font-size:20px}.foreshadow-toolbar p{max-width:620px;margin:6px 0 0;color:#424245;line-height:1.6}.foreshadow-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.foreshadow-stat,.foreshadow-item{border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fff}.foreshadow-stat{padding:12px}.foreshadow-stat strong{display:block;margin-top:4px;font-size:22px}.foreshadow-list{display:grid;gap:10px}.foreshadow-item{display:grid;gap:10px;padding:12px}.foreshadow-item.stale{border-color:#d68b0047}.foreshadow-item.resolved{background:#fcfcfd}.foreshadow-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.foreshadow-item-head strong{display:block;margin-top:4px;overflow-wrap:anywhere}.foreshadow-status{padding:5px 8px;border-radius:999px;background:#f5f5f7e0;color:#424245;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.foreshadow-status.open{background:#edf7f5cc;color:#147a72}.foreshadow-status.stale{background:#fff3dabd;color:#8a5a00}.foreshadow-status.resolved{background:#f5f5f7e0;color:#6e6e73}.foreshadow-status.memory{background:#eef2ffc7;color:#3f51a3}.foreshadow-events{display:flex;flex-wrap:wrap;gap:6px}.foreshadow-events span{padding:5px 7px;border-radius:8px;background:#f5f5f7e0}.foreshadow-workbench{display:grid;grid-template-columns:minmax(230px,.44fr) minmax(0,.56fr);gap:12px;align-items:start}.foreshadow-index,.foreshadow-detail{border:1px solid rgba(203,213,225,.66);border-radius:8px;background:#fffffff0;box-shadow:none}.foreshadow-index{display:grid;gap:9px;max-height:min(650px,calc(100vh - 330px));padding:10px;overflow:auto;overscroll-behavior:contain}.foreshadow-status-filter{position:sticky;top:-10px;z-index:2;display:flex;flex-wrap:wrap;gap:4px;margin:-10px -10px 0;padding:10px;border-bottom:1px solid rgba(203,213,225,.42);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.foreshadow-status-filter button{display:inline-flex;min-height:29px;align-items:center;gap:5px;padding:4px 8px;border:1px solid rgba(203,213,225,.66);border-radius:8px;color:#667085;background:#fbfcfd;font-size:12px;font-weight:760}.foreshadow-status-filter button.active,.foreshadow-status-filter button:hover,.foreshadow-status-filter button:focus-visible{border-color:#0f766e2e;color:#0f766e;background:#f8fbfb;outline:0;box-shadow:inset 0 0 0 1px #0f766e0d}.foreshadow-status-filter strong{color:inherit}.foreshadow-list{gap:7px}.foreshadow-item{width:100%;padding:10px;border:1px solid transparent;background:#f8fafce6;text-align:left;cursor:pointer;box-shadow:none}.foreshadow-item.active,.foreshadow-item:hover,.foreshadow-item:focus-visible{border-color:#0f766e33;background:#f8fbfb;outline:0;box-shadow:inset 2px 0 #147a72e6}.foreshadow-item.stale{border-color:#d68b0038;box-shadow:inset 2px 0 #d68b00b8}.foreshadow-item.active.stale{border-color:#0f766e33;box-shadow:inset 2px 0 #147a72e6}.foreshadow-item.resolved{background:#f8fafce6}.foreshadow-item-head strong{color:#111827;font-size:15px;line-height:1.34}.foreshadow-events{overflow:hidden}.foreshadow-events span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.foreshadow-detail{display:grid;gap:12px;padding:14px}.foreshadow-detail.stale{border-color:#d68b0038}.foreshadow-detail-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(203,213,225,.42)}.foreshadow-detail-head span,.foreshadow-detail-body span,.foreshadow-event-timeline span{color:#667085;font-size:12px;font-weight:740}.foreshadow-detail-head strong{display:block;margin-top:3px;color:#111827;font-size:20px;line-height:1.28;overflow-wrap:anywhere}.foreshadow-detail-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.foreshadow-detail-body>div{min-height:118px;padding:11px;border:1px solid rgba(203,213,225,.48);border-radius:8px;background:#fbfcfd}.foreshadow-detail-body strong{display:block;margin-top:4px;color:#111827;font-size:16px}.foreshadow-detail-body p{margin:7px 0 0;color:#475467;font-size:13px;line-height:1.55}.foreshadow-event-timeline{display:grid;gap:8px;position:relative}.foreshadow-event-timeline:before{position:absolute;top:10px;bottom:10px;left:9px;width:2px;border-radius:999px;background:#0f766e2e;content:""}.foreshadow-event-timeline>div{position:relative;display:grid;gap:3px;padding:8px 10px 8px 28px;border:1px solid rgba(203,213,225,.48);border-radius:8px;background:#fbfcfd}.foreshadow-event-timeline>div:before{position:absolute;top:13px;left:5px;width:10px;height:10px;border:2px solid #fff;border-radius:999px;background:#147a72d9;box-shadow:0 0 0 1px #0f766e29;content:""}.foreshadow-event-timeline strong{color:#111827;font-size:13px}.foreshadow-event-timeline p{margin:0;color:#475467;font-size:12px}@media(max-width:720px){.foreshadow-summary{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px;scroll-snap-type:x proximity;scrollbar-width:none}.foreshadow-summary::-webkit-scrollbar{display:none}.foreshadow-stat{flex:0 0 104px;min-height:58px;padding:9px 10px;scroll-snap-align:start}.foreshadow-workbench,.foreshadow-detail-head,.foreshadow-detail-body{grid-template-columns:1fr}.foreshadow-index{max-height:340px}.foreshadow-detail{padding:10px}}.version-actions{flex:0 0 auto}.json-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.json-editor{width:100%;max-height:540px;min-height:520px;overflow:auto;padding:16px;border:0;outline:0;border-radius:8px;background:#1d1d1f;color:#f5f5f7;font-size:13px;line-height:1.6;resize:vertical;font-family:Cascadia Code,Consolas,monospace}.inspector-tabs{position:static;z-index:auto;flex-wrap:nowrap;overflow-x:auto;gap:5px;margin:0;padding:3px;border:1px solid rgba(223,228,234,.78);border-radius:8px;background:#ffffffb8;box-shadow:inset 0 1px #ffffffc7;-webkit-backdrop-filter:none;backdrop-filter:none;min-width:0}.inspector-tabs button{flex:1 1 0;justify-content:center;min-width:0;min-height:36px;padding-inline:10px;border-radius:6px;color:#536072}.inspector-tabs button svg{flex:0 0 auto}.inspector-tabs button.active{background:#fff;box-shadow:0 1px 4px #10182814,inset 0 0 0 1px #0f766e24}.assistant-panel,.quality-panel,.credits-panel{display:grid;gap:12px}.assistant-copilot{display:grid;gap:10px;padding:12px;border:1px solid rgba(15,118,110,.14);border-radius:8px;background:linear-gradient(180deg,#fffffff5,#f8fbfaf5);box-shadow:0 1px 2px #10182808}.assistant-copilot-head span{color:var(--accent);font-size:12px;font-weight:800}.assistant-copilot-head strong{display:block;margin-top:2px;font-size:15px;letter-spacing:0}.assistant-copilot-head p{margin:4px 0 0;color:var(--text-muted);font-size:12px;line-height:1.45}.prompt-box{display:grid;gap:9px;padding:11px;border:1px solid rgba(223,228,234,.78);border-radius:8px;background:#ffffffe0;box-shadow:0 1px 2px #10182806}.prompt-box:focus-within{border-color:#0f766e47;box-shadow:0 0 0 3px #0f766e14,var(--shadow-soft)}.prompt-box-head{grid-column:1 / -1;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.prompt-box label,.prompt-box-head span{color:var(--text-muted);font-size:12px;font-weight:800}.prompt-box-head span{max-width:48%;overflow:hidden;color:#98a2b3;text-align:right;text-overflow:ellipsis;white-space:nowrap}.prompt-box textarea{width:100%;min-height:68px;border:1px solid rgba(223,228,234,.9);border-radius:8px;outline:0;padding:9px 10px;resize:vertical;line-height:1.52;background:#f8fafce6}.prompt-box button{justify-self:stretch}.assistant-panel>.prompt-box{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:11px;background:linear-gradient(180deg,#fffffff0,#fafcfdf0)}.assistant-panel>.assistant-chat-box{border-color:#0f766e29;background:linear-gradient(180deg,#fffffffa,#f8fcfbf5)}.assistant-panel>.assistant-rewrite-box{background:#ffffffd1}.assistant-panel>.prompt-box textarea{grid-column:1 / -1;min-height:68px;background:#fff}.assistant-panel>.assistant-rewrite-box textarea{min-height:58px}.assistant-panel>.prompt-box button{grid-column:2;justify-self:end;min-width:104px}.prompt-quick-actions{grid-column:1;display:flex;flex-wrap:wrap;gap:5px;min-width:0;align-self:center}.prompt-quick-actions button{min-width:0!important;min-height:26px;justify-self:auto!important;padding:0 8px;border:1px solid rgba(223,228,234,.9);border-radius:8px;color:#475467;background:#f8fafcdb;font-size:12px;font-weight:760}.prompt-quick-actions button:hover,.prompt-quick-actions button:focus-visible{border-color:#0f766e42;color:var(--accent);background:var(--accent-soft);outline:0}.admin-gate{display:grid;gap:6px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fbfbfd}.admin-gate strong{font-size:15px}.admin-gate p{margin:0;color:#6e6e73;font-size:13px;line-height:1.55}.chat-history{display:grid;gap:9px;max-height:320px;overflow:auto;padding:11px;border:1px solid rgba(223,228,234,.88);border-radius:8px;background:#ffffffd1;box-shadow:0 1px 2px #10182809}.chat-history .empty-hint{min-height:54px;padding:10px 11px;background:#f8fafcbd;font-size:13px}.chat-history .empty-hint svg{width:18px;height:18px}.draft-generation-panel{gap:13px;padding:16px 18px 18px;border-bottom-color:#0f172a0e;background:linear-gradient(180deg,#fffffffa,#fafcfdfa)}.draft-generation-body{gap:12px;padding:13px;border:1px solid rgba(15,23,42,.06);border-radius:8px;background:linear-gradient(180deg,#f8fafcb8,#f5f8fa99);box-shadow:inset 0 1px #ffffffc7}.draft-generation-panel label span,.prompt-box label,.prompt-box-head span{color:#6b7688;font-size:11.5px}.draft-generation-panel input,.draft-generation-panel select,.draft-generation-panel textarea,.prompt-box textarea{border-color:#cbd5e1b8;background:#fffffffa;box-shadow:0 1px #10182805}.draft-generation-panel input:hover,.draft-generation-panel select:hover,.draft-generation-panel textarea:hover,.prompt-box textarea:hover{border-color:#94a3b8db}.draft-guidance{border-bottom-color:#0f172a0e;background:linear-gradient(180deg,#fffffffa,#f8fafce6)}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{border-color:#0f172a0f;background:#ffffffdb;box-shadow:0 1px #10182805}.draft-guidance-target{border-color:#0f766e24;background:linear-gradient(180deg,#f7fcfbeb,#ffffffeb)}.inspector-header{border-bottom-color:#0f172a0f;background:linear-gradient(180deg,#fafcfdfa,#f6f9fbf0);box-shadow:0 10px 22px #1018280a}.inspector-tabs{border-color:#cbd5e1ad;background:#f4f7f9c2}.inspector-tabs button.active{box-shadow:0 1px 3px #1018280e,inset 0 0 0 1px #0f766e1f}.assistant-copilot,.prompt-box,.chat-history,.job-list{border-color:#0f172a0f;background:#ffffffe6;box-shadow:0 1px 2px #10182806,0 8px 18px #10182806}.assistant-panel>.assistant-chat-box{border-color:#0f766e21;background:linear-gradient(180deg,#fffffffa,#f9fcfbf5)}.prompt-box:focus-within{border-color:#0f766e3d;box-shadow:0 0 0 3px #0f766e12,0 10px 22px #10182809}.prompt-quick-actions button{border-color:#cbd5e1c2;background:#ffffffbd}.chat-history .empty-hint{border-color:#0f172a0e;background:#f8fafca8}.assistant-panel{gap:10px}.assistant-copilot{gap:8px;padding:10px;border-color:#0f766e1c;background:linear-gradient(180deg,#fffffff5,#f8fbfae6);box-shadow:0 1px 2px #10182806}.assistant-copilot-head{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}.assistant-copilot-head span{font-size:11.5px}.assistant-copilot-head strong{margin-top:0;font-size:16px;line-height:1.25}.assistant-copilot-head p{margin-top:0;font-size:12px;line-height:1.42}.assistant-panel>.prompt-box{gap:7px;padding:10px;border-color:#0f172a0f;background:#ffffffe6;box-shadow:0 1px 2px #10182806}.assistant-panel>.assistant-chat-box{border-color:#0f766e1f}.prompt-box-head{align-items:center}.prompt-box label{color:#344054}.assistant-panel>.prompt-box textarea{min-height:58px;padding:8px 9px}.assistant-panel>.assistant-rewrite-box textarea{min-height:48px}.prompt-quick-actions{gap:4px}.prompt-quick-actions button{min-height:24px;border-radius:6px}.assistant-panel>.prompt-box button{min-height:32px}.chat-history,.job-list{gap:8px;padding:10px}.assistant-panel{gap:8px}.assistant-copilot,.assistant-panel>.prompt-box,.chat-history,.job-list{border-color:#0f172a0b;background:#ffffffbd;box-shadow:none}.assistant-copilot{gap:7px;padding:9px 10px 10px;background:linear-gradient(180deg,#ffffffdb,#f8fbfaad)}.assistant-copilot-head{gap:2px}.assistant-copilot-head span{font-size:11px}.assistant-copilot-head strong{font-size:15px}.assistant-copilot-head p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1;font-size:11.5px}.assistant-panel>.prompt-box{gap:6px;padding:9px;background:#ffffffc7}.assistant-panel>.assistant-chat-box{border-color:#0f766e1a}.prompt-box-head span{max-width:46%;color:#8b96a8;font-size:11px}.prompt-box label{font-size:11.5px}.assistant-panel>.prompt-box textarea{min-height:50px;padding:7px 8px;border-color:#cbd5e194;background:#ffffffd1;font-size:12.5px;line-height:1.45}.assistant-panel>.assistant-rewrite-box textarea{min-height:42px}.prompt-quick-actions{gap:3px}.prompt-quick-actions button{min-height:22px;padding-inline:7px;border-color:#cbd5e194;background:#f8fafc94;font-size:11.5px}.assistant-panel>.prompt-box button{min-height:30px}.assistant-panel>.prompt-box>.primary-button,.assistant-panel>.prompt-box>.secondary-button{padding-inline:11px}.chat-history,.job-list{gap:7px;padding:9px;background:#ffffffad}.chat-history .empty-hint,.job-list .empty-hint{min-height:48px;padding:9px 10px;border-color:#0f172a0b;background:#f8fafc8a;font-size:12px}.job-list .ai-history-filters{gap:6px}.job-list .segmented-control{border-color:#cbd5e18a;background:#f8fafca3}.job-list .segmented-control button{min-height:30px;color:#5e6a7a;background:transparent}.job-list .segmented-control button.active{color:#0f766e;background:#ffffffe0;box-shadow:inset 0 0 0 1px #0f766e1f,0 1px 2px #10182809}.job-list .ai-history-search,.job-list .ai-history-secondary-filters select{min-height:30px;border-color:#cbd5e18f;background:#ffffffbd;font-size:12px}.job-list .ai-history-search input{min-height:0;border:0;background:transparent}.assistant-secondary-section{gap:0;max-height:none;overflow:visible;padding:0}.assistant-secondary-section>summary.panel-list-title{display:flex;min-height:42px;align-items:center;gap:8px;padding:0 10px;border-radius:8px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.assistant-secondary-section>summary.panel-list-title::-webkit-details-marker{display:none}.assistant-secondary-section>summary.panel-list-title:after{width:8px;height:8px;margin-left:auto;border-right:2px solid rgba(102,112,133,.72);border-bottom:2px solid rgba(102,112,133,.72);border-radius:1px;content:"";transform:rotate(45deg) translateY(-2px);transition:border-color .15s ease,transform .15s ease}.assistant-secondary-section[open]>summary.panel-list-title:after{border-color:#0f766e;transform:rotate(225deg) translateY(-2px)}.assistant-secondary-section>summary.panel-list-title:hover:after,.assistant-secondary-section>summary.panel-list-title:focus-visible:after{border-color:#0f766e}.assistant-secondary-section>summary.panel-list-title:focus-visible{outline:3px solid rgba(15,118,110,.13);outline-offset:-2px}.assistant-secondary-section .assistant-secondary-body{display:grid;max-height:none;gap:7px;overflow:visible;padding:0 9px 9px}.assistant-secondary-section:not([open]){background:#ffffff8f}.assistant-secondary-section:not([open])>summary.panel-list-title{color:#344054}.draft-editor-shell{padding:12px clamp(8px,1.2vw,18px) 0;background:linear-gradient(180deg,#fafcfdf5,#fff 28% 100%)}.draft-editor-shell[data-empty=true]:after{top:56px;left:calc(clamp(10px,1.8vw,26px) + clamp(24px,4vw,64px));color:#66708561;letter-spacing:.06em}.draft-editor{width:min(100%,1180px);min-height:clamp(640px,calc(100vh - 230px),900px);padding:38px clamp(32px,4vw,78px) 56px;border:1px solid rgba(15,23,42,.055);border-bottom:0;border-radius:8px 8px 0 0;color:#202938;background:linear-gradient(180deg,#fffffffa,#fff);box-shadow:0 1px 2px #10182805,0 18px 44px #10182809;font-size:18.5px;line-height:2.08}@media(min-width:721px){.draft-editor-panel .draft-workbench,.draft-editor-panel .draft-editor-shell{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden}.draft-editor-panel .draft-editor{flex:1 1 auto;height:100%;min-height:0;max-height:100%;resize:none}}.draft-editor:focus{border-color:#0f766e1f;box-shadow:0 0 0 3px #0f766e0b,0 18px 44px #1018280a}.draft-generation-panel{gap:8px;padding:10px 14px 12px;border-bottom-color:#0f172a0b;background:linear-gradient(180deg,#fffffffc,#fafcfdf0)}.draft-generation-body{gap:7px;padding:8px 9px;border-color:#cbd5e17a;background:#f8fafc80;box-shadow:none}.draft-generation-grid{grid-template-columns:minmax(96px,.52fr) repeat(2,minmax(150px,1fr));gap:8px}.draft-generation-notes{gap:8px}.draft-generation-panel label span{color:#717d8e;font-size:10.5px}.draft-generation-panel input,.draft-generation-panel select,.draft-generation-panel textarea{margin-top:4px;border-color:#cbd5e1ad;background:#fffffff0;box-shadow:none}.draft-generation-panel input,.draft-generation-panel select{height:32px;padding-inline:10px}.draft-generation-panel textarea{min-height:46px;padding:7px 10px;line-height:1.38}.draft-generate-button{min-height:36px;padding-inline:14px;box-shadow:0 7px 15px #0f766e1c}.draft-guidance{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:9px;padding:9px 14px;border-bottom-color:#0f172a0b;background:#fafcfdc7}.draft-guidance-main{gap:8px}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{padding:8px 10px;border-color:#cbd5e17a;background:#ffffffb3;box-shadow:none}.draft-guidance-target{border-color:#0f766e1c;background:#f6fcfab3}.draft-guidance span,.draft-guidance em{font-size:11px}.draft-guidance strong{font-size:13px;line-height:1.42}.draft-guidance-hints{gap:7px}.draft-editor-shell{padding-top:10px}.draft-editor{min-height:590px}.editor-footer{padding:10px 14px;border-top-color:#0f172a0e;background:linear-gradient(180deg,#fafcfdfa,#f6f9fafa)}.editor-footer-stats span{border-color:#cbd5e1ad;background:#ffffffad}.editor-footer-group{border-color:#cbd5e19e;background:#ffffff94}.editor-footer button{color:#536072}.editor-footer button[data-testid=save-chapter]{color:var(--accent);background:#0f766e13}.active-stream-panel{display:grid;gap:9px;padding:10px;border:1px solid rgba(15,118,110,.24);border-radius:8px;background:var(--accent-soft)}.active-stream-card{display:grid;gap:8px;padding:10px;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:#fff}.active-stream-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.active-stream-card span{color:var(--accent);font-size:12px;font-weight:800}.active-stream-card strong{display:inline-flex;align-items:center;gap:6px;font-size:13px}.active-stream-card p{margin:0;color:var(--text-muted);font-size:13px}.active-stream-card blockquote{max-height:180px;margin:0;overflow:auto;padding:10px;border-left:3px solid var(--accent);background:#f7fbfa;line-height:1.65;white-space:pre-wrap}.panel-list-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-list-title h3{margin:0;color:var(--text);font-size:14px}.panel-list-title span,.chat-message span{color:var(--text-muted);font-size:12px}.chat-message{padding:10px;border:1px solid rgba(223,228,234,.72);border-radius:8px;background:#f8fafceb}.chat-message.user{background:#f8fafc}.chat-message p{margin:5px 0 0;font-size:13px;line-height:1.55;white-space:pre-wrap}.suggestion-list{display:grid;gap:5px;margin:8px 0 0;padding:0;color:#424245;line-height:1.5;list-style:none}.suggestion-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;border-radius:8px;background:#f8fafc}.suggestion-list li>span{grid-column:1 / -1;color:#424245;font-size:13px}.assistant-text-action-block{display:grid;gap:7px;margin-top:4px}.assistant-text-action-block.is-priority{gap:8px;margin-top:0}.assistant-prose-snippet{display:grid;gap:6px;padding:8px;border:1px solid rgba(15,118,110,.14);border-radius:8px;background:#f0fdfa94}.assistant-text-action-block.is-priority .assistant-prose-snippet{border-color:#0f766e38;background:linear-gradient(180deg,#f0fdfafa,#e8f5f2d1);box-shadow:0 8px 18px #0f766e12}.assistant-prose-snippet span{color:#0f766e;font-size:12px;font-weight:780}.assistant-prose-snippet blockquote{margin:0;color:#243443;font-size:13px;line-height:1.65}.assistant-text-placement-note{margin:0;color:#475467;font-size:12px;line-height:1.45}.assistant-text-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.assistant-text-actions .secondary-button{min-height:30px;border-color:#0f766e29;color:#0f766e;background:#f0fdfac7}.assistant-text-action-block.is-priority .assistant-text-actions [data-testid=append-assistant-text]{border-color:#0f766e33;color:#fff;background:#0f766e;box-shadow:0 8px 16px #0f766e29}.assistant-text-actions .secondary-button:hover,.assistant-text-actions .secondary-button:focus-visible{background:#fff}.job-list{display:grid;gap:10px;max-height:none;overflow:visible;padding:11px;border:1px solid rgba(223,228,234,.88);border-radius:8px;background:#ffffffd1;box-shadow:0 1px 2px #10182809}.assistant-secondary-section.chat-history,.assistant-secondary-section.job-list{gap:0;max-height:none;overflow:visible;padding:0}.assistant-secondary-section.job-list>summary.panel-list-title{min-height:42px}.assistant-secondary-section.job-list .assistant-secondary-body{max-height:none;overflow:visible}.ai-history-filters{display:grid;gap:8px}.ai-history-primary-filters,.ai-history-secondary-filters{display:grid;gap:7px}.ai-history-primary-filters{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center}.ai-history-secondary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.segmented-control button{min-height:32px;border:0;border-right:1px solid var(--border);background:transparent;color:#344054;font-size:12px;font-weight:750}.segmented-control button:last-child{border-right:0}.segmented-control button.active{color:#fff;background:#111827}.ai-history-search,.ai-history-secondary-filters select{min-width:0;min-height:32px;padding:0 9px;border:1px solid var(--border);border-radius:8px;outline:0;background:#fff}.ai-history-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px}.ai-history-search svg{color:#667085}.ai-history-search input{min-width:0;border:0;outline:0;background:transparent;color:#111827;font:inherit;font-size:12px}.ai-history-advanced-filters{display:grid;gap:7px}.ai-history-advanced-filters>summary{display:inline-flex;align-items:center;gap:7px;width:fit-content;min-height:28px;padding:0 8px;border:1px solid rgba(203,213,225,.62);border-radius:7px;color:#667085;cursor:pointer;font-size:12px;font-weight:800;list-style:none}.ai-history-advanced-filters>summary::-webkit-details-marker{display:none}.ai-history-advanced-filters>summary small{color:#98a2b3;font-size:11px;font-weight:750}.ai-history-advanced-filters>summary:hover,.ai-history-advanced-filters>summary:focus-visible,.ai-history-advanced-filters[open]>summary{border-color:#0f766e47;color:#0f766e;outline:0}.job-card{padding:10px;border-color:#dfe4eae0;background:#fbfcfd}.job-card>div:first-child,.ledger-row,.job-mini{display:flex;align-items:center;justify-content:space-between;gap:10px}.job-card span,.job-card p,.ledger-row span,.credit-card p,.job-mini p{color:var(--text-muted);font-size:12px}.admin-token-input{width:100%;min-height:38px;padding:0 10px;border:1px solid #dedee3;border-radius:8px;outline:0}.admin-trend-chart{position:relative;display:grid;gap:10px;min-width:0}.admin-trend-canvas{min-width:0;min-height:280px}.admin-trend-series-picker{position:absolute;top:10px;right:10px;z-index:5}.admin-trend-series-picker>summary{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;border:1px solid rgba(203,213,225,.84);border-radius:8px;color:#344054;background:#fffffff0;box-shadow:0 1px 2px #1018280b;cursor:pointer;list-style:none}.admin-trend-series-picker>summary::-webkit-details-marker{display:none}.admin-trend-series-picker>summary span,.admin-trend-series-picker>summary strong{font-size:12px}.admin-trend-series-picker>div{position:absolute;top:calc(100% + 8px);right:0;z-index:6;display:grid;gap:6px;min-width:188px;padding:8px;border:1px solid rgba(203,213,225,.88);border-radius:8px;background:#fff;box-shadow:0 14px 34px #10182824}.admin-trend-series-picker label{display:grid;grid-template-columns:auto 10px minmax(0,1fr);align-items:center;gap:8px;min-height:28px;color:#344054;font-size:12px;font-weight:700}.admin-trend-series-picker i{width:10px;height:10px;border-radius:999px}.admin-action-summary,.admin-chart-note{color:#667085;font-size:12px;line-height:1.55}.job-card strong{display:inline-flex;align-items:center;gap:6px}.job-card-status-actions{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.job-usage-feedback{display:inline-flex;align-items:center;width:fit-content;gap:5px;margin-top:8px;padding:4px 8px;border:1px solid #b9ded7;border-radius:999px;color:#0f766e!important;background:#effbf8;font-weight:700}.patch-preview blockquote,.job-card blockquote{margin:10px 0;padding:10px 12px;border-left:3px solid var(--accent);background:#f7fbfa;line-height:1.7}.stream-preview{display:grid;gap:8px;margin-top:10px;padding:10px;border:1px solid #cfe5df;border-radius:8px;background:#f7fbfa}.stream-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.stream-preview blockquote{max-height:220px;overflow:auto;white-space:pre-wrap}.draft-candidate-preview{display:grid;gap:10px;margin-top:10px;padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fff}.draft-candidate-head,.draft-candidate-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.draft-candidate-preview blockquote{max-height:none;overflow:visible;white-space:pre-wrap}.draft-candidate-full{margin:0;padding:9px 10px;border-left:3px solid rgba(15,118,110,.3);border-radius:7px;background:#f8fafcb8;color:#344054;font-size:12.5px;line-height:1.62}.draft-candidate-note{margin:0;color:#6e6e73;font-size:12px;line-height:1.45}.draft-candidate-context{display:grid;gap:6px;padding-top:2px;color:#6e6e73;font-size:12px}.draft-candidate-context summary{width:max-content;max-width:100%;cursor:pointer;color:#0f766e;font-weight:750;outline-offset:3px}.draft-candidate-context[open]{padding:8px 9px;border-radius:8px;background:#f8fafcc7}.draft-candidate-actions{justify-content:flex-start}.rule-candidate{display:grid;gap:6px;margin:10px 0;padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fff}.rule-candidate span{color:#6e6e73;font-size:12px}.rule-candidate strong,.rule-candidate p{margin:0}.rule-candidate p{color:#424245;font-size:13px;line-height:1.55}.warn-text{color:#a33a2d!important}.credit-card,.job-mini{padding:14px}.credit-card strong{display:block;margin:4px 0;font-size:42px;letter-spacing:0}.panel-list{display:grid;gap:8px}.panel-list h3{margin:0;font-size:15px}.finding,.continuity-card,.ledger-row,.empty-hint{padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fff}.finding p{margin:0;line-height:1.55}.finalization-panel{display:grid;gap:12px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fff}.finalization-panel.quiet{border-color:#b8ded6;background:#f7fbfa}.finalization-panel.advisory{border-color:#0f766e38;background:#fbfdfc}.admin-console-shell{min-height:100vh;color:var(--text);background:#f5f7f8}.admin-console-topbar{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,860px);gap:18px;align-items:center;min-height:66px;padding:10px 24px;border-bottom:1px solid rgba(203,213,225,.72);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 1px 2px #10182808}.admin-console-brand{color:inherit;text-decoration:none}.admin-console-auth{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr)) auto;gap:10px;align-items:end;min-width:0}.admin-console-auth label,.admin-action-form label{display:grid;gap:5px;min-width:0;color:#667085;font-size:12px;font-weight:720}.admin-console-auth input,.admin-action-form input,.admin-action-form select,.admin-action-form textarea{width:100%;min-height:38px;padding:0 10px;border:1px solid rgba(203,213,225,.9);border-radius:8px;outline:0;background:#fff;color:var(--text);font:inherit}.admin-action-form textarea{min-height:76px;padding-top:9px;line-height:1.5;resize:vertical}.admin-console-auth input:focus,.admin-action-form input:focus,.admin-action-form select:focus,.admin-action-form textarea:focus{border-color:#0f766e6b;box-shadow:0 0 0 3px #0f766e14}.admin-console-main{display:grid;gap:16px;width:min(1480px,calc(100vw - 48px));margin:0 auto;padding:20px 0 42px}.admin-console-gate{max-width:none}.admin-console-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.admin-metric-card,.admin-console-card{border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fffffff2;box-shadow:0 1px 2px #10182809}.admin-metric-card{display:grid;gap:6px;min-height:132px;padding:13px}.admin-metric-card>div{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:#0f766e;background:#e9f7f4}.admin-metric-card span,.admin-console-card-head span{color:#667085;font-size:12px;font-weight:760}.admin-metric-card strong{font-size:24px;line-height:1.05}.admin-metric-card p{margin:0;color:#667085;font-size:12px;line-height:1.45}.admin-console-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-console-wide{grid-column:1 / -1}.admin-section-menu-list{display:grid;gap:10px}.admin-menu-section{display:grid;gap:8px;min-width:0}.admin-menu-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:58px;padding:10px 12px;border:1px solid rgba(203,213,225,.78);border-radius:8px;background:#fffffff5;color:#101828;text-align:left;box-shadow:0 1px 2px #10182809}.admin-menu-toggle:hover{border-color:#0f766e47;background:#fff}.admin-menu-section.open .admin-menu-toggle{border-color:#0f766e47;background:#f7fbfa}.admin-menu-chevron{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;color:#0f766e;background:#e9f7f4}.admin-menu-copy,.admin-menu-meta{min-width:0}.admin-menu-copy em,.admin-menu-copy strong,.admin-menu-meta b,.admin-menu-meta span{display:block}.admin-menu-copy em{color:#667085;font-size:12px;font-style:normal;font-weight:760}.admin-menu-copy strong{margin-top:2px;overflow:hidden;font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.admin-menu-meta{display:grid;justify-items:end;gap:3px;color:#667085;font-size:12px}.admin-menu-meta b{padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#475467;font-size:11px;font-weight:820}.admin-menu-meta b.loaded{background:#e9f7f4;color:#0f766e}.admin-menu-body{display:grid;gap:10px;min-width:0}.admin-menu-body-actions{display:flex;justify-content:flex-end}.admin-action-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-console-card{display:grid;gap:12px;padding:14px;min-width:0}.admin-console-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-console-card-head h2{margin:2px 0 0;font-size:18px;line-height:1.25}.admin-table-wrap{overflow:auto;border:1px solid rgba(226,232,240,.9);border-radius:8px}.admin-table{width:100%;min-width:780px;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{padding:9px 10px;border-bottom:1px solid rgba(226,232,240,.82);text-align:left;white-space:nowrap}.admin-table th{color:#667085;background:#f8fafb;font-size:12px;font-weight:800}.admin-table td{font-size:13px}.admin-table tbody tr:last-child td{border-bottom:0}.admin-data-table-card{gap:10px}.admin-table-count{color:#0f766e;font-size:13px;white-space:nowrap}.admin-table-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.admin-column-picker{position:relative}.admin-column-picker summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid rgba(203,213,225,.82);border-radius:7px;background:#fff;color:#344054;cursor:pointer;font-size:12px;font-weight:780;list-style:none}.admin-column-picker summary::-webkit-details-marker{display:none}.admin-column-picker summary strong{color:#0f766e}.admin-column-picker-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:25;display:grid;gap:4px;width:220px;padding:8px;border:1px solid rgba(203,213,225,.92);border-radius:8px;background:#fff;box-shadow:0 18px 42px #10182824}.admin-column-picker-menu label{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 6px;border-radius:6px;color:#344054;font-size:12px;font-weight:740}.admin-column-picker-menu label:hover{background:#f8fafb}.admin-column-picker-menu input{width:15px;height:15px;accent-color:#0f766e}.admin-table-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,190px) auto;gap:10px;align-items:end}.admin-table-toolbar.recharge-toolbar{grid-template-columns:minmax(240px,1fr) minmax(150px,180px) minmax(150px,180px) minmax(150px,180px) auto}.admin-table-toolbar label{display:grid;gap:5px;color:#344054;font-size:12px;font-weight:750}.admin-table-toolbar input,.admin-table-toolbar select,.admin-inline-select{width:100%;min-height:36px;border:1px solid rgba(203,213,225,.92);border-radius:7px;background:#fff;color:#101828;font:inherit}.admin-table-toolbar input,.admin-table-toolbar select{padding:7px 9px}.admin-inline-select{min-width:108px;padding:5px 7px}.admin-management-table{min-width:1040px}.admin-management-table td strong{display:block;max-width:320px;overflow:hidden;color:#101828;text-overflow:ellipsis}.admin-management-table td small{display:block;margin-top:3px;color:#667085;font-size:11px;line-height:1.35}.admin-management-table td code{font-size:12px}.admin-table-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#667085;font-size:12px}.admin-table-pager>div{display:flex;gap:8px}.admin-action-form{align-content:start}.admin-form-note{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.admin-menu-form{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fffffff5;box-shadow:0 1px 2px #10182809}.admin-maintenance-form{grid-column:1 / -1}.admin-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-account-picker{display:grid;gap:9px}.admin-account-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.admin-selected-account,.admin-account-results{border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#f8fafcc7}.admin-selected-account{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:9px 11px}.admin-selected-account strong,.admin-account-results strong{display:block;color:#101828;font-size:13px}.admin-selected-account span,.admin-account-results small{color:#667085;font-size:12px}.admin-selected-account svg{color:#0f766e;flex:0 0 auto}.admin-selected-account.muted{justify-content:flex-start;color:#667085}.admin-account-results{display:grid;gap:0;overflow:hidden}.admin-account-results>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:0;border-bottom:1px solid rgba(226,232,240,.9);background:#fff;color:inherit;text-align:left;cursor:pointer}.admin-account-results>button:last-child{border-bottom:0}.admin-account-results>button:hover,.admin-account-results>button.active{background:#f0fdfaeb}.admin-account-results em{color:#0f766e;font-size:12px;font-style:normal;font-weight:850;white-space:nowrap}.admin-account-results>small{padding:11px;color:#667085}.admin-checkbox{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important}.admin-checkbox input{width:16px;min-height:16px;padding:0}.admin-record-list{min-height:240px}.admin-record-items{display:grid;gap:8px}.admin-record-row{display:grid;gap:5px;padding:10px;border:1px solid rgba(226,232,240,.88);border-radius:8px;background:#fbfcfd}.admin-record-row strong{font-size:14px;line-height:1.35}.admin-record-row span,.admin-record-row code{color:#667085;font-size:12px;line-height:1.45}.admin-record-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.maintenance-notice{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 24px);z-index:80;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;width:min(720px,calc(100vw - 32px));padding:14px;border:1px solid rgba(203,213,225,.9);border-radius:8px;background:#fffffffa;box-shadow:0 18px 44px #1018282e;transform:translate(-50%)}.app-shell.maintenance-notice-visible .editor-footer{margin-bottom:92px}.maintenance-notice>div{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;color:#0f766e;background:#e9f7f4}.maintenance-warning>div{color:#9a5b00;background:#fff4dc}.maintenance-critical>div{color:#b42318;background:#fff0ed}.maintenance-notice section{min-width:0}.maintenance-notice span{display:block;color:#667085;font-size:12px;font-weight:800}.maintenance-notice strong{display:block;margin-top:2px;font-size:15px;line-height:1.45}.maintenance-notice p{margin:4px 0 0;color:#667085;font-size:12px}@media(max-width:1180px){.admin-console-topbar{grid-template-columns:1fr}.admin-console-auth{grid-template-columns:minmax(0,1fr)}.admin-console-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-console-grid,.admin-action-menu-grid{grid-template-columns:1fr}.admin-table-toolbar,.admin-table-toolbar.recharge-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table-toolbar button{justify-self:start}}@media(max-width:720px){.admin-console-main{width:min(100vw - 24px,1480px);padding-top:12px}.admin-console-overview,.admin-form-row,.admin-form-row.three,.admin-menu-toggle,.admin-table-toolbar,.admin-table-toolbar.recharge-toolbar{grid-template-columns:1fr}.admin-menu-toggle,.admin-menu-meta{justify-items:start}.admin-table-head-actions{justify-content:flex-start}.admin-model-summary-head,.admin-detail-table-head{display:grid}.admin-column-picker-menu{right:auto;left:0}.maintenance-notice{grid-template-columns:minmax(0,1fr);align-items:start}}.finalization-panel.blocked{border-color:#e7b66b;background:#fffaf0}.finalization-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.finalization-head span,.finalization-head em{display:block;color:#6e6e73;font-size:12px;font-style:normal}.finalization-head strong{display:block;margin-top:2px;font-size:24px}.finalization-head em{padding:5px 8px;border-radius:8px;background:#edf7f5;color:#147a72;font-weight:800}.finalization-panel.blocked .finalization-head em{background:#fff3da;color:#8a5a00}.finalization-panel.advisory .finalization-head em{background:#edf7f5;color:#147a72}.finalization-checks,.finalization-warnings{display:flex;flex-wrap:wrap;gap:6px}.finalization-checks span,.finalization-warnings span{padding:5px 8px;border-radius:8px;font-size:12px;font-weight:760}.finalization-checks span{color:#475569;background:#f1f5f9}.finalization-checks span.warning{color:#7c5a18;background:#f8f3e8}.finalization-warnings span{color:#8a5a00;background:#fff3da}.finalization-panel>p,.finalization-blockers p{margin:0;color:#424245;font-size:13px;line-height:1.55}.finalization-blockers{display:grid;gap:7px}.finalization-blockers b{display:block;color:#1d1d1f}.finalization-action{justify-self:stretch}.scene-execution{display:grid;gap:12px;padding:12px;border:1px solid #dedee3;border-radius:8px;background:#fff}.scene-execution-head,.scene-execution-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.scene-execution-head span,.scene-execution-head em,.scene-execution-item-head span,.scene-execution-stats span,.scene-field-grid b{display:block;color:#6e6e73;font-size:12px;font-style:normal}.scene-execution-head strong{display:block;margin-top:2px;font-size:24px}.scene-execution-head em,.scene-execution-item-head em{padding:5px 8px;border-radius:8px;background:#edf7f5;color:#147a72;font-size:12px;font-style:normal;font-weight:800}.scene-execution-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.scene-execution-stats div{padding:9px;border-radius:8px;background:#f5f5f7}.scene-execution-stats strong{display:block;margin-top:2px;font-size:18px}.scene-execution-warnings{display:flex;flex-wrap:wrap;gap:6px}.scene-execution-warnings span{padding:5px 8px;border-radius:8px;background:#fff3da;color:#8a5a00;font-size:12px;font-weight:760}.scene-execution-list{display:grid;gap:8px}.scene-execution-item{display:grid;gap:8px;padding:10px;border:1px solid #dedee3;border-radius:8px;background:#fbfbfd}.scene-execution-item.available,.scene-execution-item.partial{border-color:#e7b66b}.scene-execution-item.reserved,.scene-execution-item.missing{border-color:#ebb4a8}.scene-execution-item-head strong{display:block;margin-top:3px;color:#1d1d1f}.scene-execution-item.available .scene-execution-item-head em,.scene-execution-item.partial .scene-execution-item-head em{background:#fff4df;color:#9a5a15}.scene-execution-item.reserved .scene-execution-item-head em,.scene-execution-item.missing .scene-execution-item-head em{background:#fff1ed;color:#a33a2d}.scene-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:6px}.scene-field-grid p{display:grid;gap:3px;margin:0;padding:8px;border-radius:8px;background:#fff;color:#424245;font-size:12px;line-height:1.45}.scene-field-grid p.reserved,.scene-field-grid p.missing{background:#fff8ee}.scene-field-grid em{color:#147a72;font-size:11px;font-style:normal;font-weight:800}.scene-execution-item>p{margin:0;color:#424245;font-size:13px;line-height:1.55}.writing-brief{display:grid;gap:12px;padding:12px;border:1px solid rgba(214,235,230,.72);border-radius:8px;background:#fbfcfc}.brief-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.brief-head span,.brief-head em{display:block;color:#6e6e73;font-size:12px;font-style:normal}.brief-head strong{display:block;margin-top:2px;font-size:24px}.brief-objective,.brief-grid{display:grid;gap:8px}.brief-objective p{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;margin:0;color:#424245;line-height:1.5}.brief-objective b{color:#147a72}.brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brief-block{display:grid;gap:5px;padding:10px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fbfcfd}.brief-block strong{font-size:13px}.brief-block p,.brief-risks p{margin:0;color:#424245;font-size:13px;line-height:1.55}.brief-checks{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.brief-checks b{color:#6e6e73;font-size:12px}.brief-checks span{padding:5px 8px;border-radius:8px;color:#6e6e73;background:#ffffffeb;font-size:12px;font-weight:760}.brief-checks span.pass{color:#147a72;background:#eaf6f3c7}.brief-checks span.warning{color:#9a5a15;background:#fff4dfc7}.brief-risks{display:grid;gap:7px}.brief-risks h3{margin:0;font-size:14px}.brief-risks b{display:block;color:#1d1d1f}.continuity-card{display:grid;gap:8px}.continuity-card span,.continuity-next span{display:block;color:#6e6e73;font-size:12px}.continuity-card strong{display:block;margin-top:2px}.continuity-card p{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px;margin:0;color:#424245;line-height:1.55}.continuity-card b{color:#147a72;font-weight:760}.continuity-card blockquote{margin:0;padding-left:10px;border-left:3px solid rgba(203,213,225,.72);color:#424245;font-size:13px;line-height:1.6}.continuity-next{padding:10px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#f8fafc}.continuity-next p{margin:5px 0 0;color:#424245;line-height:1.5}.ledger-list{display:grid;gap:8px}.ledger-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#5c5f63;font-size:12px}.ledger-list-head span{font-weight:800;color:#2b2f33}.ledger-list-head em{font-style:normal}.ledger-row strong,.ledger-row span{display:block}.ledger-row em{font-style:normal;font-weight:800}.positive{color:#147a72}.negative{color:#a33a2d}.empty-hint{display:flex;align-items:center;gap:8px;color:#6e6e73}.empty-hint{padding:12px 13px;border:1px solid rgba(223,228,234,.9);border-left:3px solid rgba(15,118,110,.34);border-radius:8px;background:#fbfcfd;color:var(--text-muted);line-height:1.55}.empty-hint svg{flex:0 0 auto;color:var(--accent)}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:10;padding:10px 14px;border-radius:8px;color:#fff;background:#111827eb;box-shadow:var(--shadow-popover)}.modal-backdrop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;overflow-y:auto;background:#11182757;-webkit-backdrop-filter:blur(12px) saturate(112%);backdrop-filter:blur(12px) saturate(112%)}.auth-dialog{position:relative;overflow:auto;display:grid;gap:15px;width:min(540px,100%);max-height:calc(100vh - 36px);padding:24px;border:1px solid rgba(255,255,255,.88);border-radius:8px;background:linear-gradient(135deg,#e8f5f2c2,#fff0 32%),linear-gradient(180deg,#fffffffb,#fafcfdfb);box-shadow:0 30px 88px #10182833,0 1px #ffffffc7 inset}.auth-dialog:before{position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--accent) 0%,#83c5be 52%,var(--accent-blue) 100%);content:""}.auth-dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.auth-dialog-heading{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;min-width:0}.auth-dialog-brandmark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;color:#fff;background:#111827;box-shadow:0 10px 22px #11182729}.auth-dialog-title span{display:block;color:var(--accent);font-size:12px;font-weight:850}.auth-dialog-title h2{margin:3px 0 0;color:#101828;font-size:24px;line-height:1.18}.auth-dialog-title p{max-width:390px;margin:7px 0 0;color:var(--text-muted);font-size:13px;line-height:1.55}.auth-mode-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;border:1px solid rgba(223,228,234,.9);border-radius:8px;background:#eef2f5}.auth-mode-tabs button{min-height:38px;border:0;border-radius:6px;background:transparent;color:#475467;font-weight:800}.auth-mode-tabs button.active{color:#fff;background:#111827;box-shadow:0 8px 18px #11182724}.auth-form{display:grid;gap:11px}.auth-field{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:800}.auth-field-label{display:inline-flex;align-items:center;gap:6px;min-height:18px}.auth-field-label svg{color:#0f766e}.auth-form input:not([type=checkbox]){width:100%;min-height:48px;padding:11px 14px;border:1px solid rgba(223,228,234,.96);border-radius:8px;outline:0;color:var(--text);background:linear-gradient(180deg,#fff,#fcfdfefa);box-shadow:inset 0 1px #ffffffdb;font-weight:650}.auth-form input:not([type=checkbox]):hover{border-color:#c1c9d3fa}.auth-form input:not([type=checkbox]):focus{border-color:#0f766e8c;box-shadow:0 0 0 3px #0f766e1a,inset 0 1px #ffffffe6}.auth-agreement{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;align-items:start;padding:11px;border:1px solid rgba(223,228,234,.82);border-radius:8px;color:var(--text-muted);font-size:13px;font-weight:500;line-height:1.55;background:#fff}.auth-agreement>label{display:inline-flex;align-items:center;gap:8px;color:#344054;font-weight:800;cursor:pointer}.auth-agreement .auth-legal-links{justify-content:flex-end}.auth-agreement input{width:14px;height:14px;margin:0}.auth-legal-links{display:flex;flex-wrap:wrap;gap:7px}.auth-legal-links a{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid rgba(15,118,110,.16);border-radius:8px;color:var(--accent);background:#f6fbfa;cursor:pointer;font-size:12px;font-weight:800;text-decoration:none}.auth-legal-links a:hover,.auth-legal-links a:focus-visible{border-color:#0f766e57;background:var(--accent-soft);outline:0}.auth-legal-note{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid rgba(15,118,110,.13);border-radius:8px;background:#fbfcfd}.auth-legal-note>span{color:#55706b;font-size:12px;font-weight:850}.auth-dev-code{padding:9px 10px;border:1px solid rgba(15,118,110,.22);border-radius:8px;color:var(--accent);background:var(--accent-soft);font-size:13px;font-weight:700}.auth-helper{margin:-2px 0 0;color:var(--text-muted);font-size:12px;line-height:1.5}.auth-trust-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid rgba(223,228,234,.68);color:var(--text-muted);font-size:12px}@media(max-width:520px){.auth-dialog{padding:18px}.auth-dialog-heading{grid-template-columns:36px minmax(0,1fr);gap:10px}.auth-dialog-brandmark{width:36px;height:36px}.auth-agreement{grid-template-columns:1fr}.auth-agreement .auth-legal-links{justify-content:flex-start}.auth-legal-note{align-items:flex-start;flex-direction:column}}.auth-trust-row span{display:inline-flex;align-items:center;gap:5px}.auth-trust-row svg{color:var(--accent)}.auth-switch{justify-self:center;display:inline-flex;align-items:center;gap:6px;min-height:32px;border:0;color:var(--accent);background:transparent;font-weight:800}.auth-form .primary-button{min-height:46px;box-shadow:0 12px 28px #0f766e29}.form-error{margin:0;padding:10px 11px;border:1px solid rgba(180,35,24,.18);border-radius:8px;color:var(--danger);background:#fff7f5;font-size:13px;line-height:1.5}.ai-confirmation-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:18px;background:#0f172a5c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai-confirmation-card{display:grid;gap:16px;width:min(520px,100%);padding:20px;border:1px solid rgba(203,213,225,.88);border-radius:8px;background:linear-gradient(180deg,#fff,#fbfcfd);box-shadow:0 28px 80px #0f172a38,0 1px #ffffffe6 inset}.ai-confirmation-head{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:12px}.ai-confirmation-brandmark,.candidate-confirmation-brandmark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:linear-gradient(180deg,#102826,#0f766e);color:#fff;box-shadow:0 14px 26px #0f766e2e}.ai-confirmation-title{min-width:0}.ai-confirmation-head span,.ai-confirmation-grid span{display:block;color:#667085;font-size:12px;font-weight:800}.ai-confirmation-head h2{margin:2px 0 0;color:#101828;font-size:22px;line-height:1.18}.ai-confirmation-head svg{color:inherit}.ai-confirmation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-confirmation-grid div{min-width:0;padding:12px;border:1px solid rgba(226,232,240,.88);border-radius:8px;background:#fff;box-shadow:0 1px #ffffffe6 inset}.ai-confirmation-grid strong{display:block;margin-top:5px;color:#101828;font-size:16px;line-height:1.25}.ai-confirmation-grid .enough strong{color:#147a72}.ai-confirmation-grid .insufficient strong{color:#a33a2d}.ai-confirmation-card p{margin:0;color:#475467;font-size:13px;line-height:1.6}.ai-confirmation-draft-options,.ai-confirmation-draft-starter{gap:5px;padding:12px;border:1px solid rgba(15,118,110,.16);background:#e8f5f2ad}.ai-confirmation-draft-starter{background:#f0fdfab8}.ai-confirmation-draft-options>strong,.ai-confirmation-draft-starter>strong{font-size:15px}.ai-confirmation-draft-options p,.ai-confirmation-draft-starter p{color:#52606d}.ai-confirmation-draft-starter p strong{color:#101828;font-size:inherit}.ai-confirmation-actions{display:flex;justify-content:flex-end;gap:8px}.ai-confirmation-actions button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:720px){.ai-confirmation-backdrop{align-items:end;padding:12px}.ai-confirmation-card{max-height:calc(100dvh - 24px);overflow:auto}}.candidate-confirmation-backdrop{position:fixed;inset:0;z-index:62;display:grid;place-items:center;padding:18px;background:#0f172a5c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.candidate-confirmation-card{display:grid;gap:16px;width:min(560px,100%);max-height:min(90dvh,720px);overflow-y:auto;overscroll-behavior:contain;padding:20px;border:1px solid rgba(203,213,225,.88);border-radius:8px;background:linear-gradient(180deg,#fff,#fbfcfd);box-shadow:0 28px 80px #0f172a38,0 1px #ffffffe6 inset}.candidate-confirmation-head{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:12px}.candidate-confirmation-head span{display:block;color:#667085;font-size:12px;font-weight:800}.candidate-confirmation-head h2{margin:2px 0 0;color:#101828;font-size:22px;line-height:1.18}.candidate-confirmation-head svg{color:inherit}.candidate-confirmation-card p{margin:0;color:#475467;font-size:13px;line-height:1.6}.candidate-confirmation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.candidate-confirmation-summary-item{min-width:0;padding:10px 11px;border:1px solid rgba(20,122,114,.14);border-radius:8px;background:#f7fbfa}.candidate-confirmation-summary-item span{display:block;color:#667085;font-size:12px;font-weight:800}.candidate-confirmation-summary-item strong{display:block;margin-top:4px;color:#101828;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.candidate-confirmation-impact{display:grid;gap:8px;margin:0;padding:0;list-style:none}.candidate-confirmation-impact li{position:relative;padding:10px 11px 10px 28px;border:1px solid rgba(226,232,240,.88);border-radius:8px;background:#fff;color:#475467;font-size:13px;line-height:1.45}.candidate-confirmation-impact li:before{position:absolute;top:16px;left:12px;width:6px;height:6px;border-radius:999px;background:#147a72;content:""}.candidate-confirmation-actions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:560px){.candidate-confirmation-summary{grid-template-columns:1fr}}.splash{display:grid;place-items:center;align-content:center;gap:12px;min-height:100vh;color:#1d1d1f}.splash h1{margin:0;font-size:22px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1320px){.app-shell{--left-rail-width: 76px;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;height:auto;min-height:100vh}.topbar{flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;overflow-x:visible}.brand{width:180px;flex:0 0 auto}.project-select{width:auto;max-width:360px;flex:1 1 260px}.global-ai-status{flex:0 0 auto;max-width:36px}.top-actions{flex:0 0 auto;justify-content:flex-end;margin-left:auto;max-width:100%;overflow-x:visible;padding:3px}.rail{grid-row:2 / 5;padding:10px 6px}.rail-button{width:62px}.side-edge-hit{display:none}.sidebar,.workspace,.inspector{grid-column:2;border:0}.app-shell.empty-workspace .sidebar{grid-row:3}.app-shell.empty-workspace .workspace{grid-row:2}.app-shell.empty-workspace .inspector{grid-row:4}.workspace{grid-row:2}.sidebar{grid-row:3}.inspector{grid-row:4}.sidebar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px}.panel{margin-bottom:0}.draft-generation-panel,.draft-guidance,.draft-guidance-main,.draft-guidance-hints,.draft-generation-grid,.draft-generation-notes,.save-conflict-grid{grid-template-columns:1fr}.outline-summary,.progress-summary,.progress-split,.pacing-summary,.pacing-copy,.bulk-chapter-planner,.timeline-summary,.character-bible-summary,.character-bible-grid,.foreshadow-summary,.memory-grid,.memory-archive-list,.notes-list,.timeline-grid,.review-board-items,.outline-card-body,.version-diff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-workspace-panel{margin-top:0}}@media(min-width:900px)and (max-width:1320px){.draft-generation-body{grid-template-columns:minmax(300px,.74fr) minmax(0,1.26fr);align-items:end;gap:7px}.draft-generation-grid{grid-template-columns:minmax(88px,.46fr) repeat(2,minmax(132px,1fr));gap:7px}.draft-generation-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.draft-generation-panel textarea{height:46px;min-height:46px;padding:5px 9px;font-size:13px;line-height:1.28}.draft-guidance{grid-template-columns:minmax(320px,.55fr) minmax(0,1fr);align-items:stretch;gap:8px;padding:8px 14px}.draft-guidance-main,.draft-guidance-hints{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{padding:7px 9px}.draft-guidance-hints>p{grid-column:1 / -1}}@media(max-width:720px){.auth-required-shell{grid-template-rows:auto minmax(0,1fr)}.auth-required-topbar{padding:10px 12px}.auth-required-topbar .brand{width:auto;min-width:0}.auth-required-panel{grid-template-columns:1fr;width:calc(100% - 24px);gap:26px;padding:34px 0 44px}.auth-required-copy{gap:12px}.auth-required-copy h1{font-size:34px;line-height:1.08}.auth-required-copy p{font-size:15px}.auth-required-actions{display:grid;justify-items:start;gap:9px}.auth-required-preview{min-height:260px;padding:14px;transform:none}.app-shell{--left-rail-width: 0px;grid-template-columns:1fr;grid-template-rows:auto auto auto auto auto;padding-bottom:0}.topbar{display:grid;grid-template-columns:38px minmax(0,1fr);gap:6px;padding:8px 12px 7px;overflow:hidden}.topbar .brand{grid-column:1;width:38px;min-width:38px;min-height:38px;justify-content:center;gap:0}.topbar .brand-mark{width:34px;height:34px}.topbar .brand>div:last-child{display:none}.topbar .project-select{grid-column:2;width:100%;max-width:none;flex:none;height:38px;padding-inline:9px 10px;background:#ffffffeb}.topbar .project-select svg{width:26px;height:26px;padding:5px}.topbar .project-select select{font-size:13px}.top-actions{grid-column:1 / -1;width:100%;flex:none;display:grid;grid-template-columns:minmax(88px,1.1fr) repeat(2,minmax(34px,.55fr));align-items:center;gap:4px;justify-content:stretch;overflow:visible;margin-top:0;padding:0}.app-shell.empty-workspace .top-actions{grid-template-columns:minmax(108px,1fr) 42px minmax(72px,.72fr)}.top-action-save{display:none}.top-action-account,.top-action-search,.top-action-file,.top-action-file .file-menu-trigger{width:100%;min-width:0}.top-action-account,.top-action-file .file-menu-trigger{justify-content:center;padding-inline:7px}.top-action-account{overflow:hidden;text-overflow:ellipsis}.top-action-search,.top-action-file .file-menu-trigger{min-height:34px;height:34px;padding-inline:0;gap:0;font-size:0}.top-action-account{min-height:34px;height:34px;font-size:12px}.top-action-file .file-menu-trigger svg:last-child{display:none}.top-action-file .file-menu-trigger svg:first-child{display:block;width:18px;height:18px}.file-menu-panel{top:64px;right:8px;left:8px;width:auto;max-height:min(74dvh,calc(100dvh - 86px))}.file-menu-item{min-height:44px}.rail{display:none}.side-edge-hit{--side-edge-hit-width: 36px;top:76px;bottom:0;width:36px;height:auto;min-height:0}.side-edge-left.is-expanded,.side-edge-left.is-collapsed{left:0;width:36px}.sidebar,.workspace,.inspector{grid-column:1;padding:12px}.app-shell.empty-workspace .sidebar{grid-row:3}.app-shell.empty-workspace .workspace{grid-row:2}.app-shell.empty-workspace .inspector{grid-row:4}.empty-inspector-action{display:none}.workspace{grid-row:2}.sidebar{grid-row:3}.inspector{grid-row:4}.sidebar{grid-template-columns:1fr}.app-shell.empty-workspace .sidebar .panel:not(.project-card){display:none}.app-shell.empty-workspace .workspace{padding-top:10px}.app-shell.empty-workspace .sidebar{padding-top:4px}.workspace-head{display:grid;gap:7px}.workspace-tab-shell{grid-template-columns:1fr;align-items:stretch;gap:8px;padding:8px 9px}.workspace-mobile-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:3px;border:1px solid rgba(203,213,225,.74);border-radius:8px;background:#f2f5f8e0;box-shadow:inset 0 1px #ffffffb8}.workspace-mobile-sections button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:0 6px;border:0;border-radius:7px;color:#536178;background:transparent;font-size:12px;font-weight:790}.workspace-mobile-sections button.active{color:#0f766e;background:#fff;box-shadow:0 1px 3px #10182812,inset 0 0 0 1px #0f766e1f}.workspace-mobile-sections svg{flex:0 0 auto;width:15px;height:15px}.workspace-mobile-sections span{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}.workspace-tabs{flex:1 1 100%;width:100%;gap:3px;padding:3px}.workspace-tabs button{min-height:30px;padding-inline:11px}.status-line{justify-content:flex-start;gap:4px}.status-chip{min-height:22px;padding:2px 6px;font-size:10.5px}.chapter-title{font-size:23px}.empty-workspace-panel{gap:10px}.empty-workspace-hero{display:grid;gap:16px;padding:18px}.empty-workspace-hero h1{font-size:27px}.empty-workspace-hero p{font-size:14px}.empty-workspace-primary{width:100%}.empty-workspace-input-row{grid-template-columns:1fr}.empty-workspace-start-foot{align-items:stretch;flex-direction:column}.empty-workspace-flow{grid-template-columns:1fr;gap:8px}.empty-workspace-flow article{grid-template-columns:34px minmax(0,1fr);min-height:0;align-items:center;gap:4px 10px;padding:12px}.empty-workspace-flow article>div{grid-row:span 2}.empty-workspace-note{align-items:flex-start}.draft-generation-panel{gap:8px;padding:10px 12px 12px}.draft-generation-body{gap:8px;padding:8px}.draft-generation-panel input,.draft-generation-panel select{height:34px;margin-top:4px}.draft-generation-panel textarea{min-height:52px;margin-top:4px;padding:7px 9px;line-height:1.34}.editor-panel{display:flex;flex-direction:column}.workspace-tab-shell{order:0}.draft-generation-panel{order:1}.draft-editor-shell{order:3}.editor-footer{order:4}.draft-guidance{order:5}.draft-generate-button{width:auto;min-width:92px;padding-inline:14px}.draft-editor{min-height:420px;padding:18px;font-size:17px}.draft-editor-shell{padding-top:12px;padding-bottom:6px}.draft-editor-shell[data-empty=true]:after{top:38px;left:18px;font-size:16px}.foreshadow-summary,.notes-summary,.progress-summary,.progress-split,.pacing-summary,.pacing-copy,.pacing-item-head,.character-bible-summary,.character-bible-grid,.timeline-summary,.timeline-grid,.review-board-items,.timeline-notes,.foreshadow-item-head,.field-grid,.card-form-grid,.blueprint-form-grid,.brief-grid,.scene-execution-stats,.scene-field-grid,.memory-focus-chips,.memory-grid,.memory-archive-list,.notes-list,.outline-summary,.bulk-chapter-planner,.draft-generation-grid,.draft-generation-notes,.draft-recovery-banner,.outline-card-body,.outline-card-head,.scene-beat-grid,.version-diff-grid{grid-template-columns:1fr}.draft-generation-grid{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)}.draft-generation-grid label:nth-child(3){grid-column:1 / -1}.inspector{overflow-x:hidden}.assistant-panel,.quality-panel{min-width:0}.review-board-head{display:grid}.review-board-head p{text-align:left}.draft-recovery-actions{justify-content:flex-start}.save-conflict-head,.save-conflict-actions,.ai-history-filters,.ai-history-primary-filters,.ai-history-secondary-filters{display:grid;grid-template-columns:1fr}.outline-toolbar,.progress-toolbar,.pacing-toolbar,.search-toolbar,.search-form,.character-bible-toolbar,.memory-toolbar,.memory-archive-head,.memory-archive-item,.notes-toolbar{display:grid}.editor-footer{position:sticky;bottom:12px;z-index:3;align-items:center;flex-wrap:nowrap;gap:8px;overflow:hidden;border:1px solid var(--border-soft);border-radius:8px;box-shadow:0 12px 28px #00000012}.editor-footer-stats{flex:0 0 auto;flex-wrap:wrap;width:auto;max-width:126px;gap:4px}.editor-footer-stats span{min-height:24px;padding:0 6px;font-size:11px}.editor-footer-actions{flex:1 1 auto;width:auto;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:1px}.editor-footer-group{flex:0 0 auto}.app-shell.empty-workspace .mobile-action-bar{display:none}.app-shell:not(.empty-workspace) .sidebar{grid-row:4}.app-shell:not(.empty-workspace) .inspector{grid-row:5}}@media(min-width:1321px){.workspace-head{align-items:end;gap:12px;margin-bottom:9px}.workspace-head .eyebrow{color:#7f8a99;font-size:11.5px;font-weight:720}.chapter-title{font-size:30px;line-height:1.08}.status-line{gap:5px}.status-chip{min-height:23px;padding:3px 7px;border-color:#cbd5e180;background:#ffffff94;color:#758195;font-size:11px}.editor-panel{border-color:#cbd5e19e;background:#fffffff5;box-shadow:0 1px 2px #10182806,0 12px 28px #10182809}.workspace-tab-shell{min-height:44px;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:6px 10px;border-bottom-color:#cbd5e17a;background:#fafcfdb8}.workspace-tabs{width:max-content;max-width:100%;gap:2px;padding:2px;border-color:#cbd5e18a;border-radius:7px;background:#f2f5f8b8;box-shadow:none}.workspace-tabs button{min-height:28px;padding:0 10px;border-radius:6px;color:#657084;font-size:12px;font-weight:740}.workspace-tabs button.active{color:#0f766e;background:#fffffff5;box-shadow:0 1px 2px #1018280f,inset 0 0 0 1px #0f766e1a}.draft-generation-panel{gap:5px;padding:8px 12px;border-bottom-color:#cbd5e16b;background:linear-gradient(180deg,#ffffffeb,#fafcfdb8)}.draft-generation-body{grid-template-columns:minmax(310px,.78fr) minmax(0,1.22fr);align-items:end;gap:7px;padding:2px 0 0;border:0;background:transparent}.draft-generation-grid{grid-template-columns:minmax(88px,.46fr) repeat(2,minmax(140px,1fr));gap:6px}.draft-generation-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.draft-generation-panel label span{font-size:10px}.draft-generation-panel input,.draft-generation-panel select{height:30px;margin-top:3px}.draft-generation-panel textarea{height:44px;min-height:44px;max-height:72px;margin-top:3px;padding:4px 8px;font-size:13px;line-height:1.28}.draft-generate-button{min-height:32px;padding-inline:12px;box-shadow:0 6px 14px #0f766e1a}.draft-guidance{grid-template-columns:minmax(330px,.55fr) minmax(0,1fr);align-items:stretch;gap:7px;padding:6px 12px 7px;background:#fafcfd9e}.draft-guidance-main{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:6px}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{padding:6px 8px;border-color:#cbd5e16b;background:#ffffff8a}.draft-guidance-target{gap:4px;background:#f6fcfa94}.draft-guidance-target>div:first-child,.draft-guidance-scenes{gap:2px}.draft-guidance span,.draft-guidance em{font-size:10.5px}.draft-guidance strong{font-size:12.5px;line-height:1.32}.draft-guidance-hints{gap:6px}.draft-guidance-hints>p{grid-column:1 / -1}.draft-guidance-hints p{display:-webkit-box;margin-top:2px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11.5px;line-height:1.35}}@media(min-width:1321px){.sidebar{gap:8px;padding:14px 12px 18px;background:linear-gradient(180deg,#fafcfde6,#f4f7f9f0)}.sidebar .panel{padding:11px;border-color:#cbd5e180;background:#ffffff94;box-shadow:none}.sidebar .panel-title{margin-bottom:7px}.sidebar .panel-title h2{font-size:14px;line-height:1.18}.sidebar .panel-title span{color:#8a95a5;font-size:10.5px;font-weight:720}.sidebar .icon-small,.sidebar .secondary-button.compact{min-height:28px;border-color:#cbd5e1ad;background:#ffffffb8;box-shadow:none}.project-card p{margin:1px 0 8px;padding:6px 0 0 9px;border-left-color:#0f766e33;color:#2f3947;font-size:12.8px;line-height:1.5}.project-meta-row{gap:4px}.project-meta-row span{max-width:100%;padding:2px 6px;border-color:#cbd5e170;background:#f8fafc9e;color:#5f6b7a;font-size:10.8px;font-weight:650}.chapter-panel{background:#ffffff9e!important}.chapter-tools{gap:6px;margin-bottom:8px}.chapter-search{min-height:30px;border-color:#cbd5e180;background:#ffffff94}.chapter-search input{height:28px;font-size:12px}.chapter-status-filter{border-color:#cbd5e16b;background:#f1f5f975}.chapter-status-filter button{min-height:24px;padding-inline:7px;color:#647084;font-size:11px}.chapter-status-filter button.active{background:#fffffff0;color:#0f766e;box-shadow:0 1px 2px #1018280b,inset 0 0 0 1px #0f766e1c}.chapter-queue-summary{gap:4px}.chapter-queue-summary span{padding:1px 5px;border:0;background:transparent;color:#7b8797;font-size:10.8px}.chapter-list{gap:0;overflow:hidden;border:1px solid rgba(203,213,225,.42);border-radius:8px;background:#ffffff6b}.chapter-row{min-height:38px;padding:5px 9px;gap:2px 8px;border:0;border-radius:0;border-bottom:1px solid rgba(203,213,225,.34);background:transparent;box-shadow:none}.chapter-row:last-of-type{border-bottom:0}.chapter-row:hover{background:#f8fafcc7;box-shadow:none}.chapter-row.active{background:linear-gradient(90deg,#0f766e1f,#ffffffb8 42%,#ffffff75);box-shadow:inset 3px 0 0 var(--accent)}.chapter-row span{width:23px;height:23px;border:1px solid rgba(203,213,225,.42);background:#f8fafcb8;color:#647084;font-size:11px}.chapter-row.active span{border-color:#0f766e2e;background:#e8f5f2e0;color:#0f766e}.chapter-row strong{font-size:12.7px;line-height:1.12}.chapter-row em{margin-top:-5px;color:#8a95a5;font-size:10.5px;line-height:1.05}.chapter-filter-empty{margin:7px;border-color:#cbd5e17a;background:#f8fafc80;color:#7b8797}}@media(min-width:1321px){.quality-panel{gap:8px}.quality-panel>section,.quality-panel>div,.quality-panel .writing-brief,.quality-panel .scene-execution,.quality-panel .finalization-panel,.quality-panel .panel-list{border-color:#cbd5e185;border-radius:8px;background:#ffffffb8;box-shadow:none}.quality-panel .writing-brief,.quality-panel .scene-execution,.quality-panel .finalization-panel,.quality-panel .panel-list{gap:8px;padding:10px}.brief-head,.scene-execution-head,.finalization-head{align-items:center;gap:10px}.brief-head span,.brief-head em,.scene-execution-head span,.scene-execution-head em,.finalization-head span,.finalization-head em{color:#7b8797;font-size:10.8px}.brief-head strong,.scene-execution-head strong,.finalization-head strong{margin-top:1px;font-size:18px;line-height:1.08}.brief-head em,.scene-execution-head em,.finalization-head em{padding:3px 7px;border-radius:999px;background:#e8f5f2d1;color:#0f766e;font-weight:780}.finalization-panel.blocked .finalization-head em{background:#fff4dfdb;color:#8a5a00}.brief-objective,.brief-grid,.scene-execution-list{gap:6px}.brief-objective p{grid-template-columns:38px minmax(0,1fr);gap:7px;line-height:1.38}.brief-objective b{color:#0f766e;font-size:12px}.brief-objective span,.brief-block p,.brief-risks p,.finalization-panel>p,.finalization-blockers p,.scene-execution-item>p,.panel-list p{font-size:12.2px;line-height:1.42}.brief-block{gap:4px;min-height:74px;padding:8px;border-color:#cbd5e175;background:#ffffffa3}.brief-block strong,.brief-risks h3{font-size:12.5px}.brief-checks,.finalization-checks,.finalization-warnings,.scene-execution-warnings{gap:4px}.brief-checks span,.finalization-checks span,.finalization-warnings span,.scene-execution-warnings span{padding:3px 6px;border-radius:7px;font-size:10.8px}.brief-risks{gap:5px;padding-top:1px}.brief-risks b,.finalization-blockers b{display:inline;margin-right:6px;font-size:12.2px}.scene-execution-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.scene-execution-stats div{padding:7px;background:#f8fafcb8}.scene-execution-stats span{font-size:10.5px}.scene-execution-stats strong{font-size:15px}.scene-execution-item{gap:6px;padding:8px;border-color:#cbd5e180;background:#f8fafc8f}.scene-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.scene-field-grid p{padding:6px;font-size:11.5px;line-height:1.34}.finalization-blockers{gap:5px}.finalization-action{min-height:34px}.quality-panel .panel-list{gap:7px}.quality-panel .panel-list h3{font-size:13px}.continuity-card,.finding{gap:6px;padding:8px;border-color:#cbd5e170;background:#ffffff94}.finding p{font-size:12px;line-height:1.42}}@media(min-width:1321px)and (max-width:1540px){.app-shell{--left-rail-width: 64px;--sidebar-width: clamp(184px, 12vw, 200px);--inspector-width: clamp(352px, 24vw, 392px)}.sidebar{gap:8px;padding:14px 10px 18px}.workspace{padding:12px 14px}.inspector{padding:10px 8px 14px}.workspace-head{margin-bottom:8px}.draft-generation-panel{padding:9px 11px 10px}.draft-generation-body{grid-template-columns:1fr;align-items:stretch;gap:8px}.draft-generation-grid{grid-template-columns:minmax(84px,.5fr) repeat(2,minmax(130px,1fr))}.draft-generation-notes{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-generation-panel textarea{height:52px;min-height:52px;max-height:96px;line-height:1.36}.draft-guidance{grid-template-columns:1fr}.draft-guidance-main{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-editor{width:min(100%,1080px);padding-inline:clamp(22px,3vw,44px)}.draft-editor-shell{padding-inline:clamp(4px,.8vw,10px)}.assistant-panel>.prompt-box textarea{min-height:56px}}.editor-panel{display:flex;flex-direction:column}.workspace-tab-shell,.draft-recovery-banner,.save-conflict-banner{order:0}.draft-generation-panel{order:1}.draft-editor-shell{order:3}.editor-footer{order:4}.draft-guidance{order:5}@media(max-width:720px){.draft-generation-summary{grid-template-columns:1fr}}.draft-generation-advanced{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(203,213,225,.54);border-radius:8px;background:#ffffff94;scroll-margin-top:76px}.draft-generation-advanced>summary{position:relative;z-index:1;display:flex;min-height:34px;align-items:center;gap:8px;padding:0 10px;cursor:pointer;list-style:none;scroll-margin-top:76px;-webkit-user-select:none;user-select:none}.draft-generation-advanced>summary::-webkit-details-marker{display:none}.draft-generation-advanced>summary:after{width:8px;height:8px;margin-left:4px;border-right:2px solid rgba(102,112,133,.68);border-bottom:2px solid rgba(102,112,133,.68);border-radius:1px;content:"";transform:rotate(45deg) translateY(-2px);transition:border-color .15s ease,transform .15s ease}.draft-generation-advanced[open]>summary{border-bottom:1px solid rgba(203,213,225,.46)}.draft-generation-advanced[open]>summary:after{border-color:#0f766e;transform:rotate(225deg) translateY(-2px)}.draft-generation-advanced>summary:focus-visible{outline:3px solid rgba(15,118,110,.13);outline-offset:-2px}.draft-generation-advanced>summary span{color:#475467;font-size:11px;font-weight:780}.draft-generation-advanced>summary strong{margin-left:auto;color:#8a95a5;font-size:11px;font-weight:760}.draft-generation-advanced .draft-generation-notes{padding:7px}.editor-footer{display:grid;grid-template-columns:minmax(160px,max-content) minmax(0,1fr);align-items:center;gap:8px 14px;padding:8px 12px;border-top-color:#cbd5e194;background:linear-gradient(180deg,#ffffffc7,#f7fafbf0);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.editor-footer-stats{display:inline-flex;flex:0 0 auto;gap:9px;min-width:0;color:#667085}.editor-footer-stats span{min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px;font-weight:760}.editor-footer-stats span+span:before{content:"";display:inline-block;width:1px;height:11px;margin-right:9px;background:#94a3b885;vertical-align:-1px}.editor-footer-actions{justify-self:end;display:inline-flex;flex:0 1 auto;gap:0;min-width:0;padding:3px;border:1px solid rgba(203,213,225,.62);border-radius:8px;background:#ffffffb8;box-shadow:inset 0 1px #ffffffd6}.editor-footer-group{position:relative;gap:2px;padding:0 6px;border:0;border-radius:0;background:transparent}.editor-footer-group:first-child{padding-left:0}.editor-footer-group:last-child{padding-right:0}.editor-footer-group+.editor-footer-group:before{position:absolute;top:6px;bottom:6px;left:0;width:1px;background:#cbd5e1ad;content:""}.editor-footer button{min-height:30px;padding-inline:9px;border:1px solid transparent;border-radius:7px;background:transparent;color:#475467;font-size:12px;font-weight:760}.editor-footer button[data-testid=save-chapter]{color:#fff;background:var(--accent);box-shadow:0 7px 16px #0f766e29}.editor-footer button:hover,.editor-footer button:focus-visible{border-color:#0f766e33;background:#ffffffeb;outline:0}.editor-footer button[data-testid=save-chapter]:hover,.editor-footer button[data-testid=save-chapter]:focus-visible{border-color:#0f766e5c;background:#0f766e}@media(max-width:720px){.editor-footer{grid-template-columns:1fr;align-items:stretch}.editor-footer-stats{justify-content:space-between;width:100%;max-width:none}.editor-footer-actions{justify-self:stretch;overflow-x:auto}.editor-footer-group{flex:0 0 auto}}@media(min-width:1321px){.topbar{gap:12px;min-height:68px;padding:8px 14px 8px 12px;border-bottom-color:#cbd5e18f;background:linear-gradient(180deg,#fffffffa,#f9fbfcf0);box-shadow:0 1px #ffffffd6,0 10px 24px #10182806}.brand{width:190px;min-width:176px;gap:9px}.brand-mark{width:32px;height:32px;border-radius:7px}.brand strong{font-size:14.5px}.brand span{color:#7b8797;font-size:11.5px}.project-select{width:clamp(310px,25vw,470px);height:38px;border-color:#cbd5e18a;background:#ffffffb8;box-shadow:none}.project-select svg{width:26px;height:26px;padding:5px;background:#0f766e13}.project-select select{font-size:13.5px}.global-ai-status{height:38px;max-width:150px;border-color:#0f766e33;background:#e8f5f2b8;box-shadow:none}.top-actions{flex:0 0 auto;min-height:40px;padding:2px;gap:1px;border-color:#cbd5e18f;background:#f8fafcb3;box-shadow:none}.top-actions .icon-button{flex:0 0 auto;width:34px;height:34px;border-radius:7px;color:#475467}.top-actions .file-menu-trigger,.top-actions .secondary-button{flex:0 0 auto;min-height:34px;height:34px}.top-action-account{min-width:0;max-width:124px;overflow:hidden;text-overflow:ellipsis}.top-actions .primary-button{min-height:34px;padding-inline:13px;margin-left:2px;box-shadow:0 8px 18px #0f766e24}}@media(min-width:1321px)and (max-width:1540px){.brand{width:160px;min-width:148px}.project-select{width:clamp(240px,20vw,320px)}.top-actions .primary-button{padding-inline:10px}.top-action-save{display:inline-flex}}@media(max-width:1320px){.topbar{border-bottom-color:#cbd5e18f;background:#fafcfdf5}.top-actions{border-color:#cbd5e18f;background:#ffffffa8;box-shadow:none}}@media(min-width:1321px){.draft-generation-body{align-items:center}.draft-generation-advanced:not([open]){align-self:end}}@media(max-width:720px){.draft-generation-advanced>summary{min-height:38px}}.sidebar .panel:not(.project-card){background:#ffffff61}.sidebar .panel-title{margin-bottom:6px}.chapter-tools{gap:6px;margin-bottom:8px}.chapter-queue-summary{gap:3px 6px}.chapter-queue-summary span{padding:0;border:0;background:transparent;color:#7b8797;font-size:10.8px}.chapter-status-filter{gap:2px;padding:2px}.chapter-status-filter button{min-height:25px;padding-inline:7px}.chapter-list{border-color:#cbd5e16b;background:#ffffff80}.chapter-row{min-height:38px}@media(min-width:1321px)and (max-width:1500px){.draft-generation-panel{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:8px 10px}.draft-generation-body{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr) minmax(112px,.26fr);align-items:end;gap:6px;padding:0}.draft-generation-grid{grid-template-columns:minmax(76px,.42fr) repeat(2,minmax(104px,1fr));gap:6px}.draft-generation-panel input,.draft-generation-panel select{height:30px;margin-top:3px}.draft-generation-advanced{align-self:end}.draft-generation-advanced>summary{min-height:30px;padding:0 8px}.draft-generation-advanced>summary span,.draft-generation-advanced>summary strong{font-size:10.5px}.draft-generate-button{grid-column:2;grid-row:1;min-height:32px;padding-inline:12px}}.assistant-panel{gap:10px;padding:10px;border:1px solid rgba(203,213,225,.5);border-radius:8px;background:linear-gradient(180deg,#ffffffc7,#f6f9fb9e);box-shadow:inset 0 1px #ffffffc7}.assistant-copilot,.assistant-panel>.prompt-box,.assistant-secondary-section.chat-history,.assistant-secondary-section.job-list{border-color:transparent;background:transparent;box-shadow:none}.assistant-copilot{gap:9px;padding:0 0 10px;border-bottom:1px solid rgba(203,213,225,.48);border-radius:0}.assistant-copilot-head{padding:0 2px}.assistant-copilot-head span,.prompt-box label{color:#0f766e}.assistant-copilot-head strong{font-size:16px;line-height:1.22}.assistant-copilot-head p{max-width:96%;color:#5d6878;-webkit-line-clamp:2}.assistant-panel>.assistant-chat-box{gap:8px;padding:11px;border:1px solid rgba(15,118,110,.16);border-radius:8px;background:linear-gradient(180deg,#fffffffa,#f9fcfbf0);box-shadow:0 10px 24px #0f766e0b}.assistant-panel>.assistant-chat-box textarea{min-height:76px;border-color:#0f766e29;background:#fff;font-size:13px;line-height:1.52}.assistant-panel>.assistant-chat-box>.primary-button{min-height:36px;padding-inline:18px;box-shadow:0 8px 18px #0f766e29}.assistant-panel>.assistant-rewrite-box{gap:6px;padding:9px 2px 0;border-top:1px dashed rgba(203,213,225,.72);border-radius:0;background:transparent}.assistant-panel>.assistant-rewrite-box textarea{min-height:44px;border-color:#cbd5e18f;background:#ffffffbd}.assistant-panel>.assistant-rewrite-box>.secondary-button{color:#344054;background:#ffffffd6}.assistant-panel>.assistant-rewrite-box>.secondary-button:hover{color:#0f766e;background:#fff}.prompt-box-head{padding-inline:2px}.prompt-box-head span{max-width:50%}.prompt-quick-actions{align-self:center}.assistant-inline-prompt-actions{justify-content:flex-start;flex-wrap:wrap;gap:6px;padding-inline:2px}.assistant-inline-prompt-actions button{min-height:30px;padding-inline:10px}.assistant-alternative-actions{justify-self:stretch;justify-content:flex-start;align-self:stretch;gap:6px}.assistant-alternative-section,.assistant-suggestion-section,.assistant-active-work-section{margin-top:2px;border-color:#cbd5e16b;background:#f8fafc9e}.assistant-alternative-section>summary.panel-list-title,.assistant-suggestion-section>summary.panel-list-title,.assistant-active-work-section>.panel-list-title{min-height:34px;padding-inline:10px}.assistant-alternative-section>summary.panel-list-title h3,.assistant-suggestion-section>summary.panel-list-title h3,.assistant-active-work-section>.panel-list-title h3{font-size:12.5px}.assistant-primary-actions{display:grid;gap:6px}.assistant-active-work-section{border-color:#0f766e24;background:#f7fcfbbd;box-shadow:none}.assistant-active-work-section:not([open]){border-color:#0f766e1a;background:#f7fcfb75}.assistant-active-work-section:not([open])>.panel-list-title{min-height:32px}.assistant-active-work-section>.panel-list-title span{color:#0f766e}.assistant-active-work-section .assistant-secondary-body{gap:8px}.assistant-active-work-section .active-job-panel,.assistant-active-work-section .active-stream-panel{padding:6px 8px;border-color:#0f172a0a;background:#ffffff75;box-shadow:none}.assistant-active-work-section .active-stream-card{border-color:#0f172a0f;background:#ffffffc7}.assistant-active-work-section .job-card.active-writing-job{padding:8px 0;border-width:1px 0 0;border-radius:0;border-color:#0f172a0f;background:transparent}.assistant-active-work-section .job-card.active-writing-job:first-of-type{border-top-color:transparent}.assistant-active-work-section .job-card.active-writing-job>p{margin:2px 0 0}.assistant-active-work-section .job-card.active-writing-job [data-testid=cancel-ai-job]{width:fit-content;min-height:30px;padding-inline:8px;border-color:#0f766e2e;color:#0f766e;background:#ffffffb8}.assistant-active-work-more{margin:0;color:#667085;font-size:12px;line-height:1.45}.assistant-alternative-actions>span{display:inline-flex;align-items:center;min-height:28px;color:#667085;font-size:12px;font-weight:800}.prompt-quick-actions button{border-color:#cbd5e19e;background:#ffffffad}.assistant-secondary-section.chat-history,.assistant-secondary-section.job-list{border:1px solid rgba(203,213,225,.5);border-radius:8px;background:#ffffff94}.assistant-secondary-section>summary.panel-list-title{min-height:40px;padding-inline:12px}.assistant-secondary-section>summary.panel-list-title h3{font-size:13.5px}.assistant-secondary-section .assistant-secondary-body{padding:0 10px 10px}.chat-message,.job-card{border-color:#cbd5e175;background:#ffffffb8}@media(min-width:1321px)and (max-width:1540px){.assistant-panel{padding:9px}.assistant-panel>.assistant-chat-box textarea{min-height:68px}}@media(max-width:720px){.assistant-panel{padding:8px}.assistant-copilot{padding-bottom:8px}.assistant-panel>.assistant-chat-box{padding:10px}.prompt-box-head span{max-width:46%}}.assistant-panel{gap:11px}.assistant-copilot{padding-bottom:11px}.assistant-copilot-head strong{font-size:17px}.assistant-panel>.assistant-chat-box{padding:12px;background:linear-gradient(180deg,#fff,#f7fbfa)}.assistant-panel>.assistant-chat-box textarea{min-height:88px}.assistant-panel>.assistant-chat-box>.primary-button{min-width:112px}.assistant-panel>.assistant-rewrite-box{transition:background-color .16s ease,border-color .16s ease,opacity .16s ease;grid-template-columns:minmax(0,1fr)}.assistant-panel>.assistant-rewrite-box .assistant-rewrite-template,.assistant-panel>.assistant-rewrite-box [data-testid=rewrite-selection]{grid-column:1 / -1}.assistant-panel>.assistant-rewrite-box [data-testid=rewrite-selection]{justify-self:stretch;width:100%}.assistant-panel>.assistant-rewrite-box.is-quiet{padding-top:8px;opacity:.82}.assistant-panel>.assistant-rewrite-box.is-quiet textarea{display:none}.assistant-panel>.assistant-rewrite-box.is-quiet .prompt-quick-actions{display:none}.assistant-rewrite-empty{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;min-height:38px;padding:8px 9px;border:1px dashed rgba(148,163,184,.5);border-radius:8px;color:#667085;background:#f8fafcb8}.assistant-rewrite-empty svg{color:#0f766e}.assistant-rewrite-empty p{margin:0;font-size:12px;line-height:1.45}.assistant-panel>.assistant-rewrite-box.is-quiet .assistant-rewrite-template{display:none}.assistant-panel>.assistant-rewrite-box.is-quiet [data-testid=rewrite-selection]{display:none}.assistant-panel>.assistant-rewrite-box.is-armed{padding:10px;border:1px solid rgba(15,118,110,.14);border-radius:8px;background:#e8f5f26b}.assistant-panel>.assistant-rewrite-box.is-armed textarea{min-height:74px;background:#fff}.assistant-secondary-section>summary.panel-list-title{color:#344054}.assistant-secondary-section .assistant-secondary-body{border-top:1px solid rgba(203,213,225,.42);padding-top:10px}.ai-history-section .assistant-secondary-body{display:grid;gap:10px}.chat-history-inline{display:grid;gap:7px;min-width:0;padding:9px;border:1px solid rgba(15,118,110,.1);border-radius:8px;background:#f7fcfbb8}.assistant-history-subhead{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.assistant-history-subhead span{color:#0f766e;font-size:12px;font-weight:850}.assistant-history-subhead small{min-width:0;overflow:hidden;color:#667085;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.ai-history-filter-details{display:grid;gap:7px}.ai-history-filter-summary{display:inline-flex;align-items:center;gap:6px;width:fit-content;min-height:30px;padding:0 8px;border:1px solid rgba(203,213,225,.72);border-radius:7px;color:#475467;cursor:pointer;font-size:12px;font-weight:800;list-style:none}.ai-history-filter-summary::-webkit-details-marker{display:none}.ai-history-filter-summary:hover,.ai-history-filter-summary:focus-visible{border-color:#0f766e5c;color:#0f766e;outline:none}.assistant-intent-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:4px;padding:3px;border:1px solid rgba(203,213,225,.58);border-radius:8px;background:#f1f5f9c7}.assistant-intent-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:0;border-radius:6px;color:#475467;background:transparent;font-size:12px;font-weight:800}.assistant-intent-tabs button.active,.assistant-intent-tabs button:hover,.assistant-intent-tabs button:focus-visible{color:#0f766e;background:#fff;outline:0;box-shadow:inset 0 0 0 1px #0f766e1f,0 1px 2px #1018280a}.assistant-rewrite-template{display:grid;justify-self:stretch;gap:8px;min-width:0;width:100%}.assistant-rewrite-template textarea{width:100%}.assistant-chat-result{display:grid;gap:8px}.assistant-latest-answer{display:grid;gap:8px;padding:10px;border:1px solid rgba(15,118,110,.14);border-radius:8px;background:linear-gradient(180deg,#fffffff5,#f0fdfa8a)}.assistant-latest-draft{display:grid;gap:8px;padding:10px;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:linear-gradient(180deg,#f0fdfac7,#fffffff5)}.assistant-latest-draft .job-card{margin:0;border-color:#0f766e2e;background:#ffffffd1}.assistant-latest-draft .draft-candidate-preview{margin-top:2px}.assistant-latest-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.assistant-latest-head>div{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:6px}.assistant-latest-head span{color:#0f766e;font-size:12px;font-weight:850}.assistant-latest-head small{overflow:hidden;color:#667085;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.assistant-latest-answer blockquote{margin:0;padding:9px 10px;border-left:3px solid rgba(15,118,110,.45);border-radius:7px;background:#ffffffc2;color:#1f2937;font-size:13px;line-height:1.65;max-height:none;overflow:visible;white-space:pre-wrap}.assistant-chat-result>blockquote{max-height:none;overflow:visible;white-space:pre-wrap}.assistant-latest-answer.is-actionable{gap:8px}.assistant-latest-context-label{color:#667085;font-size:11px;font-weight:780}.assistant-latest-answer.is-actionable .assistant-latest-context{border-left-color:#94a3b859;background:#f8fafcad;color:#475467;font-size:12.5px;line-height:1.58}.assistant-chat-question{display:grid;gap:3px;margin:0;padding:8px 9px;border-radius:8px;color:#344054;background:#f8fafce6;line-height:1.48;overflow-wrap:anywhere}.assistant-chat-question span{color:#0f766e;font-size:11px;font-weight:850}.ai-history-section .job-card[data-action=assistant_chat] blockquote,.chat-history-inline .chat-message p{overflow-wrap:anywhere}.assistant-panel .assistant-secondary-section,.assistant-panel .assistant-secondary-section.chat-history,.assistant-panel .assistant-secondary-section.job-list,.assistant-panel .assistant-secondary-section .assistant-secondary-body,.assistant-panel .job-list{max-height:none;overflow:visible}.assistant-panel .assistant-latest-answer blockquote,.assistant-panel .assistant-chat-result blockquote,.assistant-panel .stream-preview blockquote,.assistant-panel .draft-candidate-preview blockquote,.assistant-panel .chat-history-inline .chat-message p{overflow-wrap:anywhere}.assistant-panel .assistant-latest-answer>blockquote,.assistant-panel .assistant-chat-result>blockquote,.assistant-panel .stream-preview blockquote,.assistant-panel .draft-candidate-preview blockquote{max-height:none;overflow:visible;white-space:pre-wrap}.assistant-panel .chat-history-inline .chat-message.assistant p{max-height:none;overflow:visible}@media(min-width:1321px)and (max-width:1540px){.assistant-panel>.assistant-chat-box textarea{min-height:82px}}.quality-panel{gap:10px;padding:10px;border:1px solid rgba(203,213,225,.5);border-radius:8px;background:linear-gradient(180deg,#ffffffc7,#f6f9fb9e);box-shadow:inset 0 1px #ffffffc7}.quality-panel>section,.quality-panel>div,.quality-panel .writing-brief,.quality-panel .scene-execution,.quality-panel .finalization-panel,.quality-panel .panel-list{border-color:#cbd5e17a;background:#ffffff9e;box-shadow:none}.quality-panel .brief-block,.quality-panel .scene-execution-item,.quality-panel .continuity-card,.quality-panel .finding{border-color:#cbd5e16b;background:#ffffffad;box-shadow:none}.quality-panel .scene-execution-stats div,.quality-panel .scene-field-grid p{border-color:#cbd5e157;background:#f8fafc85}.quality-panel .scene-field-grid p.missing{background:#fff8edbd}.quality-panel .brief-risks,.quality-panel .finalization-blockers,.quality-panel .scene-execution-list{gap:7px}.quality-panel .brief-grid,.quality-panel .scene-execution-list{padding-right:2px}.quality-panel .panel-list h3{color:#243041}.quality-panel .panel-list .empty-hint{border-color:#cbd5e16b;background:#f8fafc94}.quality-secondary-list{gap:0;overflow:hidden;padding:0!important}.quality-secondary-list>summary{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;border-radius:8px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.quality-secondary-list>summary::-webkit-details-marker{display:none}.quality-secondary-list>summary span{min-width:0;max-width:45%;overflow:hidden;color:#7b8797;font-size:12px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.quality-secondary-list>summary:after{width:7px;height:7px;margin-left:auto;border-right:1.8px solid #7b8797;border-bottom:1.8px solid #7b8797;content:"";transform:rotate(45deg) translateY(-2px);transition:transform .15s ease}.quality-secondary-list[open]>summary{border-bottom:1px solid rgba(203,213,225,.42);border-bottom-right-radius:0;border-bottom-left-radius:0}.quality-secondary-list[open]>summary:after{transform:rotate(225deg) translateY(-2px)}.quality-secondary-body{display:grid;gap:7px;padding:9px}.quality-secondary-list:not([open])>.quality-secondary-body{display:none}.quality-secondary-list[open]>.quality-secondary-body{display:grid}.local-reference-body{gap:10px}.reference-mini-section{display:grid;gap:7px;min-width:0;padding:9px;border:1px solid rgba(203,213,225,.38);border-radius:8px;background:#ffffff94}.reference-mini-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.reference-mini-head strong{color:#1f2937;font-size:13px;font-weight:850}.reference-mini-head span{min-width:0;max-width:48%;overflow:hidden;color:#667085;font-size:11px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}@media(min-width:1321px){.quality-panel{gap:9px;padding:9px}.quality-panel .writing-brief,.quality-panel .scene-execution,.quality-panel .finalization-panel,.quality-panel .panel-list,.quality-panel .scene-execution-item{padding:9px}}@media(max-width:720px){.quality-panel,.reference-mini-section{padding:8px}}.draft-guidance{border-top:1px solid rgba(203,213,225,.46);border-bottom:0;background:#f8fafc94;box-shadow:inset 0 1px #ffffffc2}.draft-guidance{grid-template-columns:minmax(0,.62fr) minmax(0,.38fr);gap:7px;padding:8px 12px}.draft-guidance-main{grid-template-columns:minmax(120px,.72fr) minmax(150px,1fr);gap:6px}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{border-color:#cbd5e16b;border-radius:6px;background:#ffffff8f;box-shadow:none}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{padding:6px 8px}.draft-guidance-target{border-color:#0f766e1f;background:#f7fcfb94}.draft-guidance span,.draft-guidance em{font-size:10.75px}.draft-guidance strong{font-size:12.5px;line-height:1.34}.draft-guidance-hints{gap:6px}.draft-guidance-hints p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media(max-width:720px){.draft-guidance{grid-template-columns:1fr;gap:6px;padding:8px}.draft-guidance-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.draft-guidance-hints{grid-template-columns:1fr;gap:5px}.draft-guidance-target,.draft-guidance-scenes,.draft-guidance-hints article,.draft-guidance-hints>p{padding:6px 7px}}.card-form-view{display:grid;gap:10px;padding:12px;background:linear-gradient(180deg,#fffffffa,#f8fafcd1)}.card-form-view>.json-actions{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:7px;margin:-12px -12px 0;padding:9px 12px;border-bottom:1px solid rgba(203,213,225,.54);background:#ffffffe6;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.card-form-view>.json-actions button{min-height:34px;padding-inline:12px}.card-form-view>.card-form-grid,.chapter-card-advanced .card-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 10px}.card-form-view .card-form-grid label,.chapter-card-advanced .card-form-grid label{gap:4px;color:#667085;font-size:11.5px;font-weight:720}.card-form-view .card-form-grid input,.card-form-view .card-form-grid textarea,.chapter-card-advanced .card-form-grid input,.chapter-card-advanced .card-form-grid textarea{min-height:34px;padding:7px 9px;border-color:#cbd5e1b8;background:#ffffffdb;font-size:13px;line-height:1.45;box-shadow:0 1px #10182805}.card-form-view .card-form-grid textarea,.chapter-card-advanced .card-form-grid textarea{min-height:68px;resize:vertical}.card-form-view .wide-field{grid-column:1 / -1}.chapter-card-completion{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;margin-bottom:0;padding:10px 12px;border-color:#0f766e24;background:linear-gradient(180deg,#f7fcfbeb,#ffffffd1);box-shadow:none}.chapter-card-completion-head{display:contents}.chapter-card-completion-head>div{min-width:0}.chapter-card-completion-head span{font-size:11px}.chapter-card-completion-head strong{margin-top:2px;font-size:16px;line-height:1.2}.chapter-card-completion-head p{margin-top:3px;overflow:hidden;color:#667085;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.chapter-card-completion-head em{min-width:54px;font-size:22px;line-height:1}.completion-checks{grid-column:1 / -1}.completion-checks{gap:5px}.completion-checks span{min-height:22px;padding:3px 7px;border-radius:999px;font-size:11px}.scene-beats-field{gap:8px;padding:10px;border-color:#cbd5e194;background:#f8fafca8}.scene-beats-head span{color:#1f2937}.scene-beats-head p{font-size:11.5px;line-height:1.38}.scene-beat-list{gap:7px}.scene-beat-card{gap:8px;padding:8px;border-color:#cbd5e19e;background:#ffffffc7;box-shadow:none}.scene-beat-card-head{align-items:center}.scene-beat-card-head strong{color:#243041;font-size:12.5px}.scene-beat-grid{grid-template-columns:minmax(150px,.86fr) minmax(220px,1.28fr) minmax(210px,1fr);gap:7px;align-items:end}.scene-beat-grid .wide-field{grid-column:auto}@media(max-width:720px){.card-form-view{gap:8px;padding:10px}.card-form-view>.json-actions{display:grid;grid-template-columns:1fr 1fr;margin:-10px -10px 0;padding:8px 10px}.card-form-view>.json-actions button{min-width:0;padding-inline:8px}.card-form-view>.json-actions button:last-child{grid-column:1 / -1}.card-form-view>.card-form-grid,.chapter-card-advanced .card-form-grid,.scene-beat-grid{grid-template-columns:1fr}.chapter-card-completion{gap:6px 10px;padding:9px}.chapter-card-completion-head p{white-space:normal}.completion-checks span{flex:1 1 calc(50% - 5px);justify-content:center}.card-form-view .card-form-grid textarea,.chapter-card-advanced .card-form-grid textarea{min-height:62px}.scene-beats-field,.scene-beat-card{padding:8px}}.outline-view{gap:10px;padding:12px}.outline-toolbar{min-height:0;padding:2px 0 10px 12px}.outline-toolbar:before{top:6px;bottom:14px}.outline-toolbar strong{font-size:20px}.outline-toolbar p{max-width:720px;margin-top:4px;font-size:13px;line-height:1.45}.outline-toolbar-actions button{min-height:34px;padding-inline:12px}.outline-summary{grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:8px}.outline-summary div{min-height:58px;padding:8px 10px;min-width:0;box-shadow:none}.outline-summary span{font-size:11px}.outline-summary strong{margin-top:3px;font-size:19px;white-space:nowrap}.bulk-chapter-planner{grid-template-columns:minmax(90px,110px) minmax(180px,1fr) auto;gap:8px;padding:9px 10px;box-shadow:none}.bulk-chapter-planner input{min-height:34px}.review-board{gap:8px;padding:10px;box-shadow:none}.review-board-head strong{font-size:16px}.review-board-head p{font-size:12px}.review-board-items{gap:7px}.review-item{padding:8px;box-shadow:none}.review-item p,.outline-next-action p,.outline-diagnosis-summary p{font-size:12px;line-height:1.4}.outline-list{gap:8px}.outline-card{padding:9px 10px;box-shadow:0 1px 1px #10182806}.outline-card:hover{box-shadow:0 1px 2px #10182809,0 8px 20px #1018280a}.outline-card-head{grid-template-columns:84px minmax(0,1fr) 92px 118px;align-items:center;gap:9px}.outline-order-controls{grid-template-columns:repeat(3,26px);gap:4px}.outline-order-controls .icon-small{min-height:26px}.outline-open{gap:2px}.outline-open strong{font-size:15px}.outline-status{gap:3px}.outline-status select{min-height:32px}.outline-card-body{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;margin-top:8px}.outline-card-body p{min-height:0;margin-top:2px;font-size:12.5px;line-height:1.42;-webkit-line-clamp:1}.outline-meta{gap:8px;padding-top:2px}.outline-gaps{gap:4px}.outline-gaps span,.outline-diagnosis-summary em{padding:3px 6px;border-radius:999px;font-size:11px}.outline-next-action{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr) auto;align-items:center;gap:5px 10px;padding:7px 8px}.outline-next-action>span{grid-column:1}.outline-next-action>strong{grid-column:1;margin-top:0}.outline-next-action>p{grid-column:2;margin-top:0}.outline-next-action>button{grid-column:3;grid-row:1 / span 2;margin-top:0}.outline-diagnosis-summary{grid-column:1 / -1;gap:4px;margin-top:2px;padding-top:6px}@media(max-width:720px){.outline-view{gap:8px;padding:10px}.outline-toolbar{display:grid;min-height:0;gap:8px;padding:0 0 8px 10px}.outline-toolbar strong{font-size:18px}.outline-toolbar p{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}.outline-toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.outline-toolbar-actions button{width:100%;min-width:0}.outline-summary{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px;scroll-snap-type:x proximity;scrollbar-width:none}.outline-summary::-webkit-scrollbar{display:none}.outline-summary div{flex:0 0 112px;min-height:54px;padding:7px 8px;scroll-snap-align:start}.outline-summary strong{font-size:17px;white-space:nowrap}.bulk-chapter-planner{grid-template-columns:74px minmax(0,1fr);gap:7px;padding:8px}.bulk-chapter-planner button{grid-column:1 / -1;width:100%;min-height:32px}.review-board{gap:7px;padding:8px}.review-board-head{display:grid;gap:4px}.review-board-head p{text-align:left}.review-board-items{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.review-board-items::-webkit-scrollbar{display:none}.review-item{flex:0 0 min(82vw,284px);scroll-snap-align:start}.outline-card{padding:8px}.outline-card-head{grid-template-columns:minmax(0,1fr) 74px;gap:7px}.outline-order-controls{grid-column:1 / -1;display:flex;justify-content:flex-end;order:3}.outline-open{grid-column:1}.outline-status{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px}.outline-status select{min-height:32px}.outline-card-body{grid-template-columns:1fr;gap:6px;margin-top:7px}.outline-card-body p{-webkit-line-clamp:2}.outline-next-action{grid-template-columns:1fr;gap:3px}.outline-next-action>span,.outline-next-action>strong,.outline-next-action>p,.outline-next-action>button{grid-column:1;grid-row:auto}.outline-next-action>button{width:fit-content}}.progress-view,.revision-view{gap:16px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcfd)}.progress-toolbar,.revision-toolbar{position:relative;min-height:92px;padding:4px 0 14px 14px;border-bottom:1px solid rgba(17,24,39,.08)}.progress-toolbar:before,.revision-toolbar:before{position:absolute;top:8px;bottom:18px;left:0;width:3px;border-radius:999px;background:linear-gradient(180deg,#147a72,#91cbc0);content:""}.progress-toolbar span,.revision-toolbar span,.progress-summary span,.revision-summary span,.progress-card span,.progress-focus-item span,.revision-task span{color:#667085;font-weight:720}.progress-toolbar strong,.revision-toolbar strong{color:#111827;font-size:22px;line-height:1.22}.progress-toolbar p,.revision-toolbar p{color:#475467;font-size:14px;line-height:1.62}.progress-ring,.revision-summary-pill{min-width:106px;height:auto;border-color:#11182714;border-radius:8px;background:#f6faf9;color:#12645f;box-shadow:none}.progress-ring{width:112px;min-height:58px;border-radius:8px}.progress-ring strong,.revision-summary-pill strong{color:#12645f;font-size:18px}.progress-ring span,.revision-summary-pill span{margin-top:0;color:#667085;font-weight:720}.progress-summary,.revision-summary{gap:8px}.progress-summary div,.revision-summary div,.progress-card,.progress-focus-item,.revision-task{border-color:#11182717;background:#fff;box-shadow:0 1px 2px #10182809}.progress-summary div,.revision-summary div{min-height:78px;padding:12px 13px;background:linear-gradient(180deg,#fffffffa,#f8fafce6)}.progress-summary div:first-child,.revision-summary div:first-child{border-color:#0f766e38;background:linear-gradient(180deg,#f5fbfa,#fff)}.progress-summary strong,.revision-summary strong{color:#111827;font-size:24px;line-height:1.08}.progress-card{padding:13px;background:#fbfcfd}.progress-card-head strong{color:#111827}.progress-forecast span{background:#f6f8fa;color:#344054}.progress-focus-list{grid-template-columns:repeat(auto-fit,minmax(228px,1fr))}.progress-focus-item{min-height:154px;padding:13px;border-left-width:1px;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.progress-focus-item:hover,.progress-focus-item:focus-visible{border-color:#0f766e47;outline:0;box-shadow:0 1px 2px #1018280b,0 14px 34px #1018280f;transform:translateY(-1px)}.progress-focus-item.missing_target,.progress-focus-item.behind{border-left-width:1px;box-shadow:inset 3px 0 #a33a2d,0 1px 2px #10182809}.progress-focus-item.not_started,.progress-focus-item.reviewing{border-left-width:1px;box-shadow:inset 3px 0 #8a5a00,0 1px 2px #10182809}.progress-focus-item.over{border-left-width:1px;box-shadow:inset 3px 0 #3d6ea7,0 1px 2px #10182809}.revision-workbench{display:grid;gap:12px}.revision-list{display:grid;gap:10px;max-width:820px}.revision-task{gap:8px;padding:12px 13px;border-left-width:1px;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.revision-task:hover,.revision-task:focus-within{border-color:#0f766e40;box-shadow:0 1px 2px #1018280b,0 14px 30px #1018280f;transform:translateY(-1px)}.revision-task.high{border-left-width:1px;box-shadow:inset 3px 0 #a33a2d,0 1px 2px #10182809}.revision-task.medium{border-left-width:1px;box-shadow:inset 3px 0 #8a5a00,0 1px 2px #10182809}.revision-task.low{border-left-width:1px;box-shadow:inset 3px 0 #147a72,0 1px 2px #10182809}.revision-task-head{display:grid;grid-template-columns:minmax(0,1fr) auto}.revision-task-head strong{color:#111827;font-size:15px;line-height:1.32}.revision-task em{color:#344054;background:#f2f4f7}.revision-task p{color:#475467;font-size:13px;line-height:1.55}.revision-tags span{background:#f6f8fa;color:#475467;font-weight:720}.revision-task .secondary-button.compact{width:fit-content;min-height:32px}@media(max-width:1180px){.progress-focus-list{grid-template-columns:1fr}}@media(max-width:720px){.progress-view,.revision-view{padding:12px}.progress-toolbar,.revision-toolbar{display:grid;min-height:0;padding-bottom:12px}.progress-ring,.revision-summary-pill{justify-self:start;min-width:92px;min-height:70px}.progress-split{grid-template-columns:1fr}}.app-shell.focus-mode{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100vh;background:#f5f6f7}.app-shell.focus-mode .topbar,.app-shell.focus-mode .rail,.app-shell.focus-mode .sidebar,.app-shell.focus-mode .inspector,.app-shell.focus-mode .side-edge-hit,.app-shell.focus-mode .draft-generation-panel,.app-shell.focus-mode .draft-guidance,.app-shell.focus-mode .workspace-tab-shell,.app-shell.focus-mode .status-line,.app-shell.focus-mode .editor-panel>.tabs,.app-shell.focus-mode .mobile-action-bar{display:none}.app-shell.focus-mode .workspace{grid-column:1;grid-row:1;width:min(100%,1080px);margin:0 auto;padding:34px clamp(18px,5vw,64px);overflow:auto}.app-shell.focus-mode .workspace-head{align-items:center;margin-bottom:18px}.focus-mode-pill{padding:7px 11px;border:1px solid rgba(15,118,110,.18);border-radius:8px;color:var(--accent);background:#e8f5f2e6;font-size:12px;font-weight:800;white-space:nowrap}.app-shell.focus-mode .editor-panel{min-height:calc(100vh - 148px);overflow:visible;border:1px solid rgba(17,24,39,.06);background:#fff;box-shadow:0 24px 80px #10182814}.app-shell.focus-mode .draft-editor{min-height:calc(100vh - 238px);padding:42px clamp(18px,5vw,58px) 132px;resize:none;color:#182230;background:#fff;font-size:20px;line-height:2.12}.app-shell.focus-mode .draft-editor-shell[data-empty=true]:after{top:50px;left:clamp(18px,5vw,58px);font-size:20px}.app-shell.focus-mode .editor-footer{position:sticky;bottom:18px;width:fit-content;max-width:100%;margin:16px auto 0;border:1px solid rgba(17,24,39,.1);border-radius:8px;background:#ffffffeb;box-shadow:0 18px 46px #10182821;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.app-shell.maintenance-notice-visible.focus-mode .editor-footer{bottom:108px;margin-bottom:16px}@media(max-width:720px){.app-shell.focus-mode{padding-bottom:0}.app-shell.focus-mode .workspace{padding:16px}.app-shell.focus-mode .workspace-head{display:grid}.app-shell.focus-mode .draft-editor{min-height:calc(100vh - 244px);padding:24px 18px 150px;font-size:18px}.app-shell.focus-mode .editor-footer{width:100%}.app-shell.maintenance-notice-visible .editor-footer{margin-bottom:118px}.app-shell.maintenance-notice-visible.focus-mode .editor-footer{bottom:calc(env(safe-area-inset-bottom,0px) + 122px);margin-bottom:16px}}.draft-generation-panel{gap:7px;padding:9px 12px 10px}.draft-generation-panel label span,.draft-generation-advanced>summary span{font-size:10.6px;letter-spacing:0}.draft-generation-body{gap:8px}.draft-generation-panel input,.draft-generation-panel select{height:32px}.draft-generation-advanced>summary{min-height:32px}.draft-editor-shell{padding-top:10px;background:linear-gradient(180deg,#f8fafcbd,#fffffff5 18%,#fff)}.draft-editor{border:1px solid rgba(203,213,225,.52);border-radius:8px;box-shadow:inset 0 1px #ffffffdb}.editor-footer{border-top-color:#cbd5e175;background:linear-gradient(180deg,#ffffffe0,#f8fafceb)}.side-edge-hit{--side-edge-hit-width: 36px;--side-edge-lane-width: 18px}.side-edge-hit:before{background:linear-gradient(90deg,transparent 0%,rgba(15,118,110,.16) 50%,transparent 100%)}.side-edge-hit:after{width:5px;height:76px;opacity:.58}.side-edge-left.is-collapsed:after{width:6px;height:92px;opacity:.78}.side-edge-hit:hover:after,.side-edge-hit:focus-visible:after{width:7px;height:112px}@media(min-width:900px){.draft-generation-body{grid-template-columns:minmax(0,1fr) minmax(186px,.34fr);align-items:end}.draft-generation-grid{grid-template-columns:minmax(92px,.46fr) repeat(2,minmax(132px,1fr));gap:7px}.draft-generation-advanced{align-self:stretch}.draft-generation-advanced:not([open]){align-self:end}}@media(max-width:1320px){.side-edge-hit{display:none}}@media(max-width:720px){.workspace-tab-shell{gap:6px;padding:7px}.workspace-mobile-sections{order:0}.workspace-tabs{order:1}.draft-generation-panel{gap:7px;padding:9px}.draft-generation-body{gap:7px;padding:0}.draft-generation-grid,.draft-generation-notes{gap:6px}.draft-editor-shell{padding:8px}.blank-draft-starter{grid-template-columns:1fr;margin:0 8px 7px}.blank-draft-starter button{justify-content:center}.draft-editor{min-height:390px;padding:18px 16px;border-color:#cbd5e199;font-size:16.5px;line-height:1.95}.editor-footer{gap:7px;padding:7px 8px}.editor-footer-actions{padding:2px}.editor-footer button{min-height:32px;padding-inline:8px}.mobile-action-bar{position:fixed;right:12px;bottom:max(8px,env(safe-area-inset-bottom,0px));left:12px;z-index:48;display:grid;grid-row:auto;gap:6px;margin:0;padding:6px;border:1px solid rgba(203,213,225,.72);border-radius:8px;background:#fffffff0;box-shadow:0 1px 2px #1018280b,0 6px 18px #1018280e;-webkit-backdrop-filter:none;backdrop-filter:none;overflow:hidden;grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell:not(.empty-workspace) .mobile-action-bar{position:fixed;right:12px;bottom:max(8px,env(safe-area-inset-bottom,0px));left:12px}.mobile-action-bar:has(.mobile-action-more){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(66px,auto);overflow:visible}.app-shell:not(.empty-workspace) .mobile-action-bar:has(.mobile-action-more){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(66px,auto);overflow:visible}.mobile-action-bar button,.mobile-action-more>summary{display:grid;grid-template-columns:1fr;grid-template-rows:18px auto;align-content:center;justify-items:center;gap:4px;min-width:0;min-height:54px;padding:6px 4px;border:0;border-radius:7px;line-height:1;overflow:hidden}.mobile-action-bar button{color:#1d1d1f;background:transparent}.mobile-action-more{position:relative;min-width:0}.mobile-action-more>summary{border:1px solid rgba(203,213,225,.82);color:#475467;background:#ffffffc2;list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.mobile-action-more>summary::-webkit-details-marker{display:none}.mobile-action-more>summary svg{width:18px;height:18px}.mobile-action-more[open]>summary{border-color:#0f766e33;background:#fffffff0}.mobile-action-more-panel{position:absolute;right:0;bottom:calc(100% + 8px);z-index:50;display:grid;min-width:170px;max-width:min(240px,calc(100vw - 24px));gap:5px;padding:7px;border:1px solid rgba(203,213,225,.86);border-radius:8px;background:#fffffffa;box-shadow:0 12px 30px #10182821}.mobile-action-more-panel button{justify-content:flex-start;min-height:38px;padding-inline:8px}.mobile-action-bar button.primary{border-color:#147a72;color:#fff;background:#0f766e;box-shadow:none}.mobile-action-bar button svg{grid-row:1;justify-self:center}.mobile-action-bar span,.mobile-action-bar em{min-width:0;max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;text-align:center;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mobile-action-bar span{font-size:11px;line-height:1.12}.mobile-action-bar em{display:none}}.quality-panel,.quality-panel *{min-width:0}.quality-panel{overflow:visible}.quality-panel .brief-grid,.quality-panel .scene-execution-list,.quality-secondary-body{max-height:none;overflow:visible;padding-right:0;overscroll-behavior:auto}.quality-panel .brief-grid,.quality-panel .scene-execution-list{align-items:start}.quality-panel .brief-grid{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}.quality-panel .scene-field-grid{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}.quality-panel .brief-objective p,.quality-panel .brief-objective span,.quality-panel .brief-block,.quality-panel .brief-block p,.quality-panel .brief-risks p,.quality-panel .finalization-blockers p,.quality-panel .scene-execution-item,.quality-panel .scene-execution-item-head strong,.quality-panel .scene-execution-item>p,.quality-panel .scene-field-grid p,.quality-panel .scene-field-grid span,.quality-panel .finding p,.quality-panel .continuity-card p{overflow-wrap:anywhere;word-break:break-word}.quality-panel .brief-block{align-content:start}.quality-panel .brief-block p+p{margin-top:4px}.quality-panel .quiet-copy{color:var(--muted);font-size:12px;line-height:1.55;margin-top:8px}.sidebar .chapter-panel{order:1}.editor-draft-candidate-dock{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 12px 10px;padding:10px;border:1px solid rgba(15,118,110,.16);border-radius:8px;background:#f0fdfa9e}.editor-draft-candidate-copy{display:grid;gap:5px;min-width:0}.editor-draft-candidate-copy .editor-draft-candidate-meta{color:#0f766e;font-size:12px;font-weight:800}.editor-draft-candidate-status,.editor-draft-candidate-copy p{margin:0;color:#667085;font-size:12px;line-height:1.5}.editor-draft-candidate-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.assistant-chat-head{align-items:flex-start}.assistant-chat-title{display:grid;gap:2px;min-width:0}.assistant-chat-title span{max-width:none;overflow:visible;text-align:left;text-overflow:clip;white-space:normal}.assistant-chat-head .assistant-intent-tabs{flex:0 0 min(190px,42%);width:min(190px,42%);margin-left:auto;gap:3px;padding:2px}.assistant-chat-head .assistant-intent-tabs button{grid-column:auto;min-width:0;min-height:28px;justify-self:stretch;padding:0 8px}@media(max-width:720px){.assistant-chat-head{flex-wrap:wrap}.assistant-chat-head .assistant-intent-tabs{flex-basis:100%;width:100%;margin-left:0}}.app-shell{--inspector-width: clamp(356px, 24vw, 420px)}@media(min-width:1321px){.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector{grid-column:4;grid-row:2;box-sizing:border-box;width:auto;min-width:0;max-width:var(--inspector-width);position:relative;inset:auto;transform:none;opacity:1;pointer-events:auto}}@media(min-width:1321px)and (max-width:1540px){.app-shell:not(.empty-workspace):not(.inspector-collapsed){--inspector-width: clamp(352px, 24vw, 392px)}}@media(min-width:1240px)and (max-width:1320px){.app-shell:not(.empty-workspace){--left-rail-width: 64px;grid-template-columns:var(--left-rail-width) var(--sidebar-width) minmax(0,1fr) var(--inspector-width);grid-template-rows:68px minmax(0,1fr);height:100vh;min-height:100vh}.app-shell:not(.empty-workspace):not(.sidebar-collapsed){--sidebar-width: clamp(188px, 14vw, 204px)}.app-shell:not(.empty-workspace):not(.inspector-collapsed){--inspector-width: clamp(336px, 28vw, 368px)}.app-shell:not(.empty-workspace) .topbar{grid-column:1 / -1;grid-row:1;flex-wrap:nowrap;min-height:68px;overflow-x:auto}.app-shell:not(.empty-workspace) .brand{width:168px;min-width:154px}.app-shell:not(.empty-workspace) .project-select{flex:1 1 260px;width:auto;max-width:320px}.app-shell:not(.empty-workspace) .rail{grid-column:1;grid-row:2;padding:10px 5px}.app-shell:not(.empty-workspace) .rail-button{width:52px}.app-shell:not(.empty-workspace):not(.sidebar-collapsed) .sidebar{grid-column:2;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 10px 14px}.app-shell:not(.empty-workspace) .workspace{grid-column:3;grid-row:2;padding:16px 14px}.app-shell:not(.empty-workspace) .inspector{grid-column:4;grid-row:2;padding:10px 8px 12px}.app-shell:not(.empty-workspace) .mobile-action-bar{display:none}.app-shell:not(.empty-workspace) .side-edge-hit{display:block;--side-edge-hit-width: 32px}.app-shell:not(.empty-workspace) .inspector-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:2px 0 8px;background:linear-gradient(180deg,#fffffffa,#ffffffeb)}.app-shell:not(.empty-workspace) .inspector-tabs{flex:1 1 auto;min-width:0}.app-shell.focus-mode .mobile-action-bar,.app-shell.focus-mode .mobile-inspector-scrim{display:none}}.editor-footer-actions{overflow:visible}.draft-editor-panel .editor-footer{position:relative;z-index:24}.editor-footer-more{position:relative;display:inline-flex;min-width:0}.editor-footer-more>summary{display:inline-flex;min-height:30px;align-items:center;gap:5px;padding:0 9px;border:1px solid transparent;border-radius:7px;color:#475467;background:transparent;font-size:12px;font-weight:760;line-height:1;cursor:pointer;list-style:none;white-space:nowrap;-webkit-user-select:none;user-select:none}.editor-footer-more>summary::-webkit-details-marker{display:none}.editor-footer-more>summary svg{transition:transform .15s ease}.editor-footer-more[open]>summary svg{transform:rotate(180deg)}.editor-footer-more>summary:hover,.editor-footer-more>summary:focus-visible,.editor-footer-more[open]>summary{border-color:#0f766e33;background:#ffffffeb;outline:0}.editor-footer-more-panel{position:absolute;right:0;bottom:calc(100% + 8px);z-index:40;display:grid;min-width:154px;max-width:min(220px,calc(100vw - 24px));max-height:min(34vh,220px);overflow-y:auto;overscroll-behavior:contain;gap:5px;padding:7px;border:1px solid rgba(203,213,225,.86);border-radius:8px;background:#fffffffa;box-shadow:0 12px 30px #10182821}.editor-footer-more:not([open]) .editor-footer-more-panel{display:none}.editor-footer-more-panel button{justify-content:flex-start;width:100%;min-height:30px;border-color:transparent}.editor-footer button:disabled,.editor-footer button:disabled:hover,.editor-footer button:disabled:focus-visible{border-color:transparent;color:#9aa4b2;background:transparent;box-shadow:none;cursor:not-allowed}@media(max-width:720px){.app-shell:not(.empty-workspace){--left-rail-width: 0px;--sidebar-width: 0px;--inspector-width: 0px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:100%;max-width:100%;min-height:100dvh;overflow-x:hidden;overflow-x:clip}.app-shell:not(.empty-workspace) .topbar{grid-column:1;grid-row:1;width:100%;max-width:100%}.app-shell:not(.empty-workspace) .rail{display:none}.app-shell:not(.empty-workspace) .workspace{grid-column:1;grid-row:2}.app-shell:not(.empty-workspace) .sidebar{display:none}.app-shell:not(.empty-workspace) .topbar,.app-shell:not(.empty-workspace) .workspace,.app-shell:not(.empty-workspace) .editor-panel,.app-shell:not(.empty-workspace) .draft-workbench,.app-shell:not(.empty-workspace) .draft-editor-shell,.app-shell:not(.empty-workspace) .draft-editor,.app-shell:not(.empty-workspace) .sidebar,.app-shell:not(.empty-workspace) .inspector{min-width:0;max-width:100%}.app-shell:not(.empty-workspace) .workspace{grid-row:2;overflow-x:hidden;overflow-x:clip;padding:10px 8px 0}.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel{min-height:calc(100dvh - 150px)}.app-shell:not(.empty-workspace) .draft-editor-shell{overflow-x:hidden;overflow-x:clip;padding-inline:0}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{width:100%;max-width:100%;min-height:min(72dvh,620px);padding:28px 18px 96px}.app-shell:not(.empty-workspace) .sidebar{overflow-x:hidden}.app-shell:not(.empty-workspace) .topbar .global-ai-status{width:36px;max-width:36px;min-width:0}.app-shell:not(.empty-workspace) .inspector{position:fixed;right:10px;bottom:calc(70px + env(safe-area-inset-bottom,0px));left:10px;z-index:49;display:block;box-sizing:border-box;width:auto;max-width:calc(100vw - 20px);max-height:min(72vh,640px);overflow:auto;padding:10px;border:1px solid rgba(203,213,225,.9);border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a1f;opacity:1;overscroll-behavior:contain;transition:transform .18s ease,opacity .18s ease}.app-shell:not(.empty-workspace) .mobile-inspector-close{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;min-height:32px;margin-left:auto;padding:0;border:0;border-radius:7px;background:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-panel,.app-shell:not(.empty-workspace) .inspector .quality-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .assistant-copilot,.app-shell:not(.empty-workspace) .inspector .assistant-panel>.assistant-chat-box,.app-shell:not(.empty-workspace) .inspector .prompt-box,.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section,.app-shell:not(.empty-workspace) .inspector .quality-panel>section,.app-shell:not(.empty-workspace) .inspector .quality-panel>div,.app-shell:not(.empty-workspace) .inspector .quality-panel .panel-list{border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .assistant-copilot{padding:0 0 10px;border:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-intent-tabs{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}.app-shell:not(.empty-workspace) .inspector button{min-width:0;max-width:100%}.app-shell:not(.empty-workspace) .inspector .assistant-panel>.assistant-chat-box>.primary-button{width:100%;min-width:0}.app-shell:not(.empty-workspace) .inspector button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.app-shell:not(.mobile-inspector-open):not(.empty-workspace) .inspector{opacity:0!important;pointer-events:none;transform:translateY(18px)}.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{opacity:1!important;pointer-events:auto;transform:translateY(0)}.app-shell.mobile-inspector-open:not(.empty-workspace) .mobile-action-bar{display:none;pointer-events:none}}.character-bible-view,.character-bible-view *,.foreshadow-view,.foreshadow-view *,.memory-view,.memory-view *,.assistant-generation-hub,.assistant-generation-hub *{min-width:0}.reference-mini-head strong,.character-dossier-head strong,.character-dossier-head p,.foreshadow-detail-head strong,.foreshadow-detail-body p,.memory-toolbar strong,.memory-toolbar p,.memory-focus-chips strong,.memory-focus-chips small,.memory-field small{overflow-wrap:anywhere;word-break:break-word}.quality-secondary-list>summary h3{overflow-wrap:anywhere;word-break:break-word}.assistant-copilot .assistant-intent-tabs{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}@media(max-width:720px){.quality-secondary-list>summary{min-width:0}.quality-secondary-list>summary h3{min-width:0;margin-right:6px}.quality-secondary-list>summary span{flex:0 1 auto;min-width:0;overflow:hidden;text-align:right;text-overflow:ellipsis}.character-dossier-head,.foreshadow-detail-head,.memory-toolbar,.memory-archive-head,.memory-archive-item,.assistant-draft-launch{grid-template-columns:1fr;align-items:stretch}.reference-handoff-actions,.brief-head-actions,.memory-toolbar-actions,.memory-focus-actions,.assistant-generation-actions{width:100%;align-items:stretch;justify-content:stretch}.reference-handoff-actions .secondary-button,.brief-head-actions .secondary-button,.memory-toolbar-actions .primary-button,.memory-focus-actions .secondary-button,.assistant-generation-actions button,.assistant-draft-launch button{width:100%;min-width:0;min-height:38px;justify-content:center;white-space:normal;overflow-wrap:anywhere;line-height:1.25}.memory-advanced-details>summary{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto}.memory-advanced-details>summary em{min-width:0}.reference-mini-head{align-items:start}}@media(max-width:380px){.app-shell:not(.empty-workspace){padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))}.mobile-action-bar button,.mobile-action-more>summary{min-height:52px}.mobile-action-bar span{line-height:1.08}.app-shell:not(.empty-workspace) .inspector .assistant-panel>.assistant-chat-box>.primary-button{min-width:0;padding-inline:14px}.blank-draft-starter{margin:0 6px 6px;padding:8px 10px;gap:8px}.blank-draft-starter button{display:none}.app-shell:not(.empty-workspace) .inspector{bottom:max(4px,env(safe-area-inset-bottom,0px));max-height:min(78dvh,calc(100dvh - 104px));padding:8px 7px 10px}.app-shell:not(.empty-workspace) .inspector-header{margin:0 0 8px}.app-shell:not(.empty-workspace) .inspector-tabs{gap:6px}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{padding-bottom:calc(128px + env(safe-area-inset-bottom,0px))}}@media(max-width:720px){.app-shell.mobile-inspector-open:not(.empty-workspace),.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--left-rail-width: 0px;--sidebar-width: 0px;--inspector-width: 0px;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr);height:auto;min-height:100dvh}.app-shell.mobile-inspector-open:not(.empty-workspace) .topbar,.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .topbar{grid-column:1;grid-row:1;width:100%;max-width:100%}.app-shell.mobile-inspector-open:not(.empty-workspace) .workspace,.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .workspace{grid-column:1;grid-row:2;width:100%;max-width:100%}.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{bottom:max(8px,env(safe-area-inset-bottom,0px));max-height:min(84dvh,calc(100dvh - 88px))}.app-shell:not(.empty-workspace) .inspector .assistant-panel .assistant-latest-answer>blockquote,.app-shell:not(.empty-workspace) .inspector .assistant-panel .assistant-chat-result>blockquote,.app-shell:not(.empty-workspace) .inspector .assistant-panel .stream-preview blockquote,.app-shell:not(.empty-workspace) .inspector .assistant-panel .draft-candidate-preview blockquote{max-height:min(24vh,230px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-shell:not(.empty-workspace) .inspector .assistant-panel .chat-history-inline .chat-message.assistant p{max-height:min(26vh,220px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-shell:not(.empty-workspace) .inspector-tabs{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.app-shell:not(.empty-workspace) .inspector-tabs::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .inspector-tabs button,.foreshadow-status-filter button{flex:1 1 84px;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.18}.reference-handoff-actions .foreshadow-status,.character-bible-card-meta em,.foreshadow-status,.foreshadow-events span{max-width:100%;white-space:normal;overflow-wrap:anywhere}.character-bible-index-head,.foreshadow-item-head,.character-dossier-title,.memory-archive-head{min-width:0}.memory-archive-item .secondary-button,.character-dossier .character-chapter-strip button,.foreshadow-status-filter button{min-height:38px}}.assistant-generation-hub{gap:6px;padding:8px;border-color:#0f172a0e;background:#ffffffb8;box-shadow:none}.assistant-generation-hub .draft-generation-panel{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:5px;padding:0;border:0;background:transparent;box-shadow:none}.assistant-generation-hub .draft-generate-button{grid-column:auto;grid-row:auto;width:100%;min-height:34px;justify-content:center}.assistant-generation-hub .draft-generation-primary,.assistant-generation-hub .draft-generation-summary span{background:#0f172a08}.assistant-generation-hub .draft-generation-primary{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:7px;min-height:54px;padding:8px 9px;border-color:#0f172a0d}.assistant-generation-hub .draft-generation-primary>div{display:grid;gap:3px;min-width:0}.assistant-generation-hub .draft-generation-primary span{color:#667085;font-size:11px;font-weight:820}.assistant-generation-hub .draft-generation-primary strong{display:-webkit-box;overflow:hidden;color:#1f2937;font-size:13px;font-weight:820;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.assistant-generation-hub .draft-generation-primary .draft-generate-button{width:auto;min-width:92px;min-height:34px;padding-inline:11px;white-space:nowrap}.assistant-generation-hub .draft-generation-summary{gap:5px}.assistant-generation-hub .draft-generation-body,.assistant-generation-hub .draft-generation-grid,.assistant-generation-hub .draft-generation-notes{grid-template-columns:minmax(0,1fr)}.assistant-generation-hub .draft-generation-body{grid-column:auto;grid-row:auto;width:100%;gap:5px}.assistant-generation-hub .draft-generation-advanced{width:100%;min-width:min(100%,220px);align-self:stretch}.assistant-generation-hub .draft-generation-advanced:not([open]){border-color:transparent;background:transparent}.assistant-generation-hub .draft-generation-advanced:not([open])>summary{min-height:28px;padding-inline:6px}.assistant-generation-hub .draft-generation-advanced,.assistant-material-actions,.assistant-secondary-section.chat-history,.assistant-secondary-section.job-list,.assistant-latest-draft,.job-card,.assistant-panel .assistant-secondary-section,.assistant-panel .assistant-secondary-section .assistant-secondary-body{border-color:#0f172a0f;box-shadow:none}.assistant-material-actions{background:#ffffff8f;border-style:solid}.assistant-material-actions>summary{padding-inline:10px}.assistant-secondary-section.chat-history,.assistant-secondary-section.job-list{background:#ffffff75}.assistant-secondary-section>summary.panel-list-title{min-height:38px;background:transparent}.assistant-secondary-section .assistant-secondary-body{gap:6px;background:transparent}.assistant-latest-draft{padding:8px 10px;background:#ffffffad}.assistant-latest-draft .job-card{margin:0;padding:8px;background:#ffffff9e}.job-card{padding:9px;background:#ffffffb3}.job-card>div:first-child{flex-wrap:wrap;align-items:flex-start}.assistant-latest-head small,.job-card strong,.job-card span,.job-card p{min-width:0}.memory-view,.character-bible-view,.foreshadow-view{background:linear-gradient(180deg,#ffffffe0,#fbfcfdf0)}.memory-focus,.memory-advanced-details,.memory-field,.memory-archive,.character-bible-index,.character-dossier,.character-bible-stat,.character-bible-card,.character-bible-block,.character-memory-list,.foreshadow-index,.foreshadow-detail,.foreshadow-stat,.foreshadow-item,.foreshadow-detail-body>div{border-color:#cbd5e175;background:#ffffffb8;box-shadow:none}.memory-focus-chips span,.memory-field textarea,.memory-archive-item,.character-bible-card,.character-bible-block,.character-chapter-strip button,.character-memory-list,.foreshadow-item,.foreshadow-detail-body>div{background:#f8fafcd6}.memory-focus,.memory-archive,.character-dossier,.foreshadow-detail{padding:12px}.character-bible-index,.foreshadow-index{border-color:#cbd5e194}.character-bible-card:hover,.character-bible-card:focus-visible,.character-bible-card.active,.foreshadow-item.active,.foreshadow-item:hover,.foreshadow-item:focus-visible,.character-chapter-strip button:hover,.character-chapter-strip button:focus-visible{background:#f5fbfaeb}@media(max-width:720px){.assistant-generation-hub{padding:9px}.assistant-latest-head{grid-template-columns:1fr}.assistant-latest-head,.assistant-secondary-section>summary.panel-list-title,.assistant-material-actions>summary{align-items:flex-start}.assistant-latest-head>div{justify-content:flex-start;flex-wrap:wrap}.assistant-secondary-section>summary.panel-list-title{flex-wrap:wrap;padding-inline:10px}.assistant-generation-hub .draft-generation-summary{gap:5px}.assistant-generation-hub .draft-generation-summary span{max-width:100%;white-space:normal}.job-card>div:first-child{gap:6px}}@media(min-width:1240px){.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(356px, 24vw, 420px)}.app-shell:not(.empty-workspace) .inspector{padding-inline:10px}.app-shell:not(.empty-workspace) .inspector .assistant-panel{gap:10px}.app-shell:not(.empty-workspace) .inspector .assistant-copilot .assistant-intent-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell:not(.empty-workspace) .inspector .assistant-copilot,.app-shell:not(.empty-workspace) .inspector .prompt-box,.app-shell:not(.empty-workspace) .inspector .assistant-generation-hub,.app-shell:not(.empty-workspace) .inspector .assistant-latest-answer,.app-shell:not(.empty-workspace) .inspector .assistant-latest-draft,.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section{border-color:#0f172a0b;background:#ffffff9e;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .assistant-latest-draft .job-card{padding:6px 0 0;border-color:transparent;background:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.job-list,.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.chat-history{border-color:#0f172a09;background:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.job-list .assistant-secondary-body,.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.chat-history .assistant-secondary-body{border-top-color:#0f172a0f}.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.job-list .job-card{padding:9px 0;border-width:1px 0 0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section.job-list .job-card:first-of-type{border-top-color:transparent}.app-shell:not(.empty-workspace) .inspector .assistant-secondary-section:not([open]){opacity:.9}}@media(min-width:1240px)and (max-width:1320px){.app-shell:not(.empty-workspace):not(.sidebar-collapsed){--sidebar-width: clamp(188px, 14vw, 204px)}.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(304px, 25vw, 328px)}}:root{--desk-bg: #f6f8f5;--desk-bg-deep: #e9f0ec;--desk-panel: #fbfcfa;--desk-panel-strong: #ffffff;--desk-line: rgba(32, 45, 54, .12);--desk-line-soft: rgba(32, 45, 54, .075);--desk-ink: #131922;--desk-ink-soft: #65717b;--desk-muted: #8a959d;--desk-accent: #0f766e;--desk-accent-strong: #0a5f59;--desk-accent-soft: rgba(15, 118, 110, .09);--manuscript-paper: #fffdf9;--manuscript-edge: #ded9cf;--manuscript-shadow: 0 30px 84px rgba(36, 47, 51, .15)}.app-shell:not(.empty-workspace):not(.focus-mode){--left-rail-width: 52px;--sidebar-width: clamp(196px, 13vw, 224px);--inspector-width: 0px;grid-template-rows:58px minmax(0,1fr);background:linear-gradient(180deg,var(--desk-bg) 0%,var(--desk-bg-deep) 100%)}.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(316px, 23vw, 360px)}.app-shell:not(.empty-workspace) .topbar{min-height:58px;padding:8px 14px;border-bottom:1px solid var(--desk-line-soft);background:#fbfcfae6;box-shadow:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.app-shell:not(.empty-workspace) .brand{width:150px;min-width:140px;gap:9px}.app-shell:not(.empty-workspace) .brand-mark{width:34px;height:34px;border-radius:8px;color:#fbfffd;background:#172121;box-shadow:none}.app-shell:not(.empty-workspace) .brand strong{color:var(--desk-ink);font-size:14px;letter-spacing:0}.app-shell:not(.empty-workspace) .brand span{color:var(--desk-muted);font-size:11px}.app-shell:not(.empty-workspace) .project-select{width:clamp(260px,27vw,380px);max-width:42vw}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:42px;border-color:var(--desk-line);border-radius:8px;background:#ffffffd1;box-shadow:0 1px #ffffffb3 inset}.app-shell:not(.empty-workspace) .project-switcher-trigger svg:first-child{color:var(--desk-accent);background:var(--desk-accent-soft)}.app-shell:not(.empty-workspace) .project-switcher-trigger strong{color:var(--desk-ink);font-size:13px}.app-shell:not(.empty-workspace) .project-switcher-trigger em{color:var(--desk-muted);font-size:11px}.app-shell:not(.empty-workspace) .top-actions{gap:4px;min-height:42px;margin-left:auto;padding:4px;border:1px solid var(--desk-line-soft);border-radius:8px;background:#ffffff9e;box-shadow:none}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{min-width:34px;height:34px;border-radius:8px;color:#33414a;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .top-actions .icon-button:hover,.app-shell:not(.empty-workspace) .top-actions .icon-button:focus-visible,.app-shell:not(.empty-workspace) .top-actions .secondary-button:hover,.app-shell:not(.empty-workspace) .top-actions .secondary-button:focus-visible,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger:hover,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger:focus-visible{color:var(--desk-accent-strong);background:#fff;box-shadow:inset 0 0 0 1px #0f766e29}.app-shell:not(.empty-workspace) .top-action-account{min-width:74px;padding-inline:9px;color:var(--desk-ink);background:#ffffffc2}.app-shell:not(.empty-workspace) .top-action-account .account-button-name,.app-shell:not(.empty-workspace) .top-action-account svg:last-child{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-shell:not(.empty-workspace) .top-action-account .account-credit-pill{max-width:54px}.app-shell:not(.empty-workspace) .rail{grid-row:2;gap:7px;padding:10px 6px;border-right:1px solid var(--desk-line-soft);background:#fbfcfaa8;box-shadow:inset -1px 0 #ffffff9e}.app-shell:not(.empty-workspace) .rail-button{position:relative;width:40px;min-height:40px;padding:0;justify-content:center;border-radius:8px;color:#64717a;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .rail-button span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-shell:not(.empty-workspace) .rail-button.active,.app-shell:not(.empty-workspace) .rail-button:hover,.app-shell:not(.empty-workspace) .rail-button:focus-visible{color:var(--desk-accent-strong);background:#fff;box-shadow:inset 0 0 0 1px #0f766e2e,0 8px 22px #242f3314}.app-shell:not(.empty-workspace) .rail-button.active:before{top:8px;bottom:8px;left:-6px;width:2px;border-radius:999px;background:var(--desk-accent)}.app-shell:not(.empty-workspace) .sidebar{grid-row:2;gap:18px;padding:18px 12px 22px;border-right:1px solid var(--desk-line-soft);background:#f7faf7c7;box-shadow:inset -1px 0 #ffffffb3}.app-shell:not(.empty-workspace) .sidebar .panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .sidebar .project-card{padding-bottom:16px;border-bottom:1px solid var(--desk-line-soft)}.app-shell:not(.empty-workspace) .panel-title{margin-bottom:11px}.app-shell:not(.empty-workspace) .panel-title span,.app-shell:not(.empty-workspace) .workspace-head .eyebrow,.app-shell:not(.empty-workspace) .blank-draft-starter span,.app-shell:not(.empty-workspace) .assistant-copilot-head span,.app-shell:not(.empty-workspace) .prompt-box label{color:var(--desk-accent-strong);letter-spacing:0}.app-shell:not(.empty-workspace) .panel-title h2{color:var(--desk-ink);font-size:15px;font-weight:840;line-height:1.2}.app-shell:not(.empty-workspace) .project-card-summary,.app-shell:not(.empty-workspace) .chapter-starter-card{padding:0 0 0 12px;border:0;border-left:2px solid rgba(15,118,110,.24);border-radius:0;color:var(--desk-ink-soft);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .project-settings-details,.app-shell:not(.empty-workspace) .chapter-tools,.app-shell:not(.empty-workspace) .chapter-queue-compact{border:1px solid var(--desk-line-soft);border-radius:8px;background:#fff9;box-shadow:none}.app-shell:not(.empty-workspace) .chapter-list{gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .chapter-row{min-height:45px;padding:8px 6px;border:1px solid transparent;border-bottom-color:var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .chapter-row:hover,.app-shell:not(.empty-workspace) .chapter-row:focus-visible{border-color:#0f766e24;border-radius:8px;background:#ffffffc2}.app-shell:not(.empty-workspace) .chapter-row.active{border-color:#0f766e42;border-radius:8px;background:#fff;box-shadow:0 12px 28px #242f3314}.app-shell:not(.empty-workspace) .chapter-row span{width:25px;height:22px;border:1px solid rgba(15,118,110,.15);border-radius:7px;color:var(--desk-accent-strong);background:#0f766e12;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.app-shell:not(.empty-workspace) .chapter-row.active span{color:#f7fffb;border-color:var(--desk-accent);background:var(--desk-accent)}.app-shell:not(.empty-workspace) .chapter-row strong{color:var(--desk-ink);font-size:13px}.app-shell:not(.empty-workspace) .chapter-row em,.app-shell:not(.empty-workspace) .sidebar p,.app-shell:not(.empty-workspace) .sidebar small{color:var(--desk-muted)}.app-shell:not(.empty-workspace) .workspace{grid-column:3;grid-row:2;min-width:0;padding:18px clamp(18px,3vw,44px) 22px;overflow:hidden;background:radial-gradient(circle at 50% -90px,#ffffffe0,#fff0 430px),linear-gradient(180deg,#ffffff38,#fff0 42%)}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter{width:min(100%,800px)}.app-shell:not(.empty-workspace) .workspace-head{align-items:end;margin:0 auto 10px;padding:0}.app-shell:not(.empty-workspace) .workspace-head .eyebrow{font-size:11px;font-weight:780}.app-shell:not(.empty-workspace) .chapter-title{min-height:38px;color:var(--desk-ink);font-size:clamp(30px,2.8vw,42px);font-weight:860;line-height:1;letter-spacing:0}.app-shell:not(.empty-workspace) .status-line{gap:6px;justify-content:flex-end}.app-shell:not(.empty-workspace) .status-chip{min-height:24px;border-color:var(--desk-line);color:#4e5d66;background:#ffffffad;box-shadow:none}.app-shell:not(.empty-workspace) .status-chip.synced{border-color:#0f766e38;color:var(--desk-accent-strong);background:#0f766e14}.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel{flex:1 1 auto;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell{margin:0 auto 8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs{width:100%;max-width:100%;margin:0;padding:0 0 7px;gap:2px;overflow-x:auto;border:0;border-bottom:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none;scrollbar-width:none}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .workspace-tabs button,.app-shell:not(.empty-workspace) .inspector-tabs button,.app-shell:not(.empty-workspace) .assistant-intent-tabs button{border-radius:8px}.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:34px;padding:6px 12px;color:#52616a;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .workspace-tabs button.active{color:var(--desk-ink);background:#fff;box-shadow:inset 0 0 0 1px #0f766e2e}.app-shell:not(.empty-workspace) .draft-workbench{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:0;padding:0;background:transparent}.app-shell:not(.empty-workspace) .blank-draft-starter{margin:0 auto 10px;padding:11px 13px;border:1px solid rgba(15,118,110,.18);border-radius:8px;background:#ffffffc2;box-shadow:0 12px 28px #242f3312}.app-shell:not(.empty-workspace) .draft-editor-shell{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:stretch;justify-content:center;overflow:hidden;padding:clamp(12px,1.6vw,18px) 0 0;background:transparent}.app-shell:not(.empty-workspace) .draft-editor-shell:before{position:absolute;inset:0 max(0px,calc((100% - 860px)/2)) 0;z-index:0;border:0;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#ffffff57,#fff0 48%),linear-gradient(90deg,#0f766e0f,#0f766e00);box-shadow:none;content:"";pointer-events:none}.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true]:after{left:50%;width:min(680px,calc(100% - 48px));color:#65717b94;font-size:14px;line-height:1.55;transform:translate(-50%)}.app-shell:not(.empty-workspace) .draft-editor{position:relative;z-index:1;width:min(100%,800px);height:auto;min-height:0;max-height:100%;margin:0 auto;padding:clamp(46px,4.2vw,64px) clamp(36px,5.6vw,76px) clamp(56px,5.8vw,86px);resize:none;border:1px solid var(--manuscript-edge);border-radius:8px 8px 0 0;color:#171b22;caret-color:var(--desk-accent);background:linear-gradient(90deg,transparent 0,transparent 50px,rgba(15,118,110,.1) 50px,rgba(15,118,110,.1) 51px,transparent 51px),linear-gradient(180deg,var(--manuscript-paper) 0%,#ffffff 100%);box-shadow:0 1px #ffffffe6 inset,var(--manuscript-shadow);font-family:Songti SC,STSong,"Noto Serif SC",PingFang SC,serif;font-size:20px;line-height:1.96;letter-spacing:0}.app-shell:not(.empty-workspace) .draft-editor:focus{border-color:#0f766e6b!important;box-shadow:0 0 0 3px #0f766e1a,0 30px 86px #242f3329;transform:none}.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer{margin:8px auto 0;padding:7px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer.is-idle{height:0;min-height:0;margin-top:0;padding-top:0;opacity:0;overflow:hidden;pointer-events:none}.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer.is-visible{min-height:38px;opacity:1}.app-shell:not(.empty-workspace) .draft-guidance-inline{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .editor-footer-actions{border-color:var(--desk-line-soft);border-radius:8px;background:#ffffff94;box-shadow:none}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector{grid-column:4;grid-row:2;padding:14px 12px 18px;border-left:1px solid var(--desk-line-soft);background:#f8fbf9db;box-shadow:-10px 0 26px #242f330b}.app-shell:not(.empty-workspace) .inspector-header{position:sticky;top:0;z-index:2;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--desk-line-soft);background:linear-gradient(180deg,#f8fbf9f5,#f8fbf9d1)}.app-shell:not(.empty-workspace) .inspector-tabs{gap:4px;padding:4px;border:1px solid var(--desk-line-soft);border-radius:8px;background:#ffffffa8;box-shadow:none}.app-shell:not(.empty-workspace) .inspector-tabs button.active,.app-shell:not(.empty-workspace) .assistant-panel .assistant-intent-tabs button.active{color:var(--desk-ink);background:#fff;box-shadow:inset 0 0 0 1px #0f766e2e}.app-shell:not(.empty-workspace) .inspector .assistant-panel,.app-shell:not(.empty-workspace) .inspector .quality-panel{padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-copilot{margin:0 0 12px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-copilot-head{padding:0 2px 10px}.app-shell:not(.empty-workspace) .assistant-copilot-head strong{color:var(--desk-ink);font-size:18px}.app-shell:not(.empty-workspace) .assistant-primary-actions{padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-copilot .assistant-primary-actions{gap:8px}.app-shell:not(.empty-workspace) .assistant-copilot .assistant-intent-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-copilot .assistant-intent-tabs button,.app-shell:not(.empty-workspace) .prompt-quick-actions button,.app-shell:not(.empty-workspace) .ai-history-primary-filters button{min-height:34px;border-color:var(--desk-line-soft);border-radius:8px;color:#35434c;background:#ffffffb8;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-copilot .assistant-intent-tabs button:hover,.app-shell:not(.empty-workspace) .prompt-quick-actions button:hover,.app-shell:not(.empty-workspace) .ai-history-primary-filters button:hover{border-color:#0f766e33;color:var(--desk-accent-strong);background:#fff}.app-shell:not(.empty-workspace) .assistant-panel>.assistant-chat-box,.app-shell:not(.empty-workspace) .assistant-generation-hub,.app-shell:not(.empty-workspace) .assistant-latest-draft,.app-shell:not(.empty-workspace) .assistant-latest-answer,.app-shell:not(.empty-workspace) .assistant-secondary-section,.app-shell:not(.empty-workspace) .assistant-panel>.assistant-rewrite-box,.app-shell:not(.empty-workspace) .quality-panel>section,.app-shell:not(.empty-workspace) .quality-panel>div,.app-shell:not(.empty-workspace) .quality-panel .panel-list{border-color:var(--desk-line-soft);border-radius:8px;background:#ffffffad;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-panel>.assistant-chat-box{position:sticky;top:54px;z-index:1;background:#ffffffe0;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.app-shell:not(.empty-workspace) .assistant-panel>.assistant-chat-box textarea,.app-shell:not(.empty-workspace) .prompt-box textarea,.app-shell:not(.empty-workspace) .assistant-panel>.assistant-rewrite-box textarea,.app-shell:not(.empty-workspace) .project-fields input,.app-shell:not(.empty-workspace) .project-fields textarea,.app-shell:not(.empty-workspace) .sidebar input,.app-shell:not(.empty-workspace) .sidebar textarea{border-color:var(--desk-line);border-radius:8px;color:var(--desk-ink);background:#ffffffdb}.app-shell:not(.empty-workspace) .assistant-panel>.assistant-chat-box>.primary-button{border-radius:8px;color:#fbfffd;background:linear-gradient(180deg,#12857b,#0a625b);box-shadow:none}.app-shell:not(.empty-workspace) .assistant-latest-answer blockquote,.app-shell:not(.empty-workspace) .assistant-chat-result blockquote,.app-shell:not(.empty-workspace) .stream-preview blockquote,.app-shell:not(.empty-workspace) .draft-candidate-preview blockquote{color:#2c3740;background:#ffffffb8;border-color:#0f766e24}@media(min-width:1321px)and (max-width:1540px){.app-shell:not(.empty-workspace):not(.focus-mode){--left-rail-width: 52px;--sidebar-width: clamp(190px, 13vw, 214px)}.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(304px, 22vw, 344px)}.app-shell:not(.empty-workspace) .workspace{padding-inline:clamp(14px,2vw,26px)}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter,.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,760px)}}@media(min-width:1240px)and (max-width:1320px){.app-shell:not(.empty-workspace):not(.focus-mode){--left-rail-width: 48px;--sidebar-width: clamp(178px, 13vw, 196px);grid-template-rows:56px minmax(0,1fr)}.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(292px, 22vw, 320px)}.app-shell:not(.empty-workspace) .brand{width:132px;min-width:124px}.app-shell:not(.empty-workspace) .project-select{width:clamp(224px,20vw,288px)}.app-shell:not(.empty-workspace) .sidebar{padding:15px 10px 18px}.app-shell:not(.empty-workspace) .workspace{padding:14px 12px 18px}.app-shell:not(.empty-workspace) .inspector{padding:12px 10px 16px}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter,.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,720px)}.app-shell:not(.empty-workspace) .draft-editor{padding-inline:clamp(30px,4vw,54px);font-size:19px}.app-shell:not(.empty-workspace) .mobile-action-bar{display:none}}@media(max-width:720px){.app-shell:not(.empty-workspace):not(.focus-mode),.app-shell.mobile-inspector-open:not(.empty-workspace){--left-rail-width: 0px;--sidebar-width: 0px;--inspector-width: 0px;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr);background:linear-gradient(180deg,#f8faf7,#e7efeb)}.app-shell:not(.empty-workspace) .topbar{grid-column:1;min-height:auto;grid-template-columns:minmax(0,1fr);gap:7px;padding:8px 10px;background:#ffffffeb}.app-shell:not(.empty-workspace) .brand{display:none}.app-shell:not(.empty-workspace) .project-select,.app-shell:not(.empty-workspace) .top-actions{width:100%;max-width:100%}.app-shell:not(.empty-workspace) .top-actions{justify-content:space-between}.app-shell:not(.empty-workspace) .rail,.app-shell:not(.empty-workspace) .sidebar{display:none}.app-shell:not(.empty-workspace) .workspace{grid-column:1;width:100%;max-width:100%;padding:10px 8px 0;overflow:hidden;background:transparent}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .blank-draft-starter{width:100%}.app-shell:not(.empty-workspace) .workspace-head{margin-bottom:8px}.app-shell:not(.empty-workspace) .chapter-title{min-height:34px;font-size:clamp(26px,7.4vw,34px)}.app-shell:not(.empty-workspace) .status-line{justify-content:flex-start}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell{margin-bottom:8px}.app-shell:not(.empty-workspace) .draft-editor-shell{padding:8px 0 0}.app-shell:not(.empty-workspace) .draft-editor-shell:before{display:none}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{width:100%;min-height:min(72dvh,640px);padding:30px 20px calc(116px + env(safe-area-inset-bottom,0px));border-radius:8px 8px 0 0;background:var(--manuscript-paper);box-shadow:0 18px 48px #242f3324;font-size:18px;line-height:1.86}.app-shell:not(.empty-workspace) .mobile-action-bar{position:fixed;right:12px;bottom:max(8px,env(safe-area-inset-bottom,0px));left:12px;z-index:55;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;border:1px solid var(--desk-line);border-radius:8px;background:#ffffffeb;box-shadow:0 18px 48px #242f332b;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.app-shell:not(.empty-workspace) .mobile-action-bar:has(.mobile-action-more){grid-template-columns:repeat(2,minmax(0,1fr)) minmax(66px,auto)}.mobile-action-bar button,.mobile-action-more>summary{display:grid;grid-template-columns:1fr;grid-template-rows:18px auto;place-items:center;min-height:54px;border-radius:8px}.mobile-action-bar button.primary{color:#fbfffd;background:linear-gradient(180deg,#12857b,#0a625b)}.mobile-action-more-panel{position:absolute;right:0;bottom:calc(100% + 8px);display:grid;gap:6px;min-width:188px;padding:8px;border:1px solid var(--desk-line-soft);border-radius:8px;background:#fff;box-shadow:0 12px 30px #10182821}.mobile-action-more-panel button{justify-content:flex-start;min-height:38px}.app-shell:not(.empty-workspace) .inspector{right:8px;bottom:max(8px,env(safe-area-inset-bottom,0px));left:8px;max-width:calc(100vw - 16px);max-height:min(84dvh,calc(100dvh - 88px));padding:12px;border-color:var(--desk-line);border-radius:8px;background:#fbfcfa;box-shadow:0 20px 54px #242f3338}.app-shell:not(.empty-workspace) .inspector-header{background:#fbfcfa}.app-shell:not(.empty-workspace) .assistant-copilot .assistant-intent-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell.focus-mode .mobile-action-bar{display:none}}:root{--product-ink: #141b22;--product-muted: #65717a;--product-soft: #8a969d;--product-bg: #f7f9f6;--product-bg-deep: #e9f0eb;--product-paper: #fffdf8;--product-line: rgba(31, 44, 52, .11);--product-line-soft: rgba(31, 44, 52, .075);--product-accent: #0f766e;--product-accent-strong: #075f59;--product-accent-soft: rgba(15, 118, 110, .08);--product-warm: #b46d18}.auth-required-shell{grid-template-rows:64px minmax(0,1fr);min-height:100dvh;color:var(--product-ink);background:linear-gradient(180deg,#fbfcfa 0%,var(--product-bg) 48%,var(--product-bg-deep) 100%)}.auth-required-shell:before{inset:64px 0 0;background:linear-gradient(rgba(31,44,52,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(31,44,52,.022) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.46),transparent 62%);mask-image:linear-gradient(180deg,rgba(0,0,0,.46),transparent 62%)}.auth-required-topbar{padding:10px 32px;border-bottom:1px solid var(--product-line-soft);background:#fbfcfae6;box-shadow:none}.auth-required-topbar .brand-mark{width:34px;height:34px;border-radius:8px;background:#172121;box-shadow:none}.auth-required-topbar .brand strong{color:var(--product-ink);letter-spacing:0}.auth-required-topbar .brand span{color:var(--product-muted);letter-spacing:0}.auth-top-login{min-height:36px;border-color:var(--product-line);border-radius:8px;color:#26343b;background:#ffffffb8}.auth-required-panel{grid-template-columns:minmax(0,440px) minmax(520px,1fr);align-items:center;gap:76px;width:min(1160px,calc(100% - 64px));min-height:calc(100dvh - 64px);padding:48px 0}.auth-required-copy{gap:18px;max-width:460px}.auth-required-copy>span{color:var(--product-accent-strong);font-size:12px;font-weight:850;letter-spacing:0}.auth-required-copy h1{max-width:9em;color:var(--product-ink);font-size:58px;line-height:1.02;letter-spacing:0}.auth-required-copy h1 span{display:block;white-space:nowrap}.auth-required-copy p{max-width:34rem;color:#53616a;font-size:17px;line-height:1.78}.auth-required-actions{gap:14px;margin-top:6px}.auth-required-actions .primary-button{min-height:44px;border-radius:8px;color:#fbfffd;background:linear-gradient(180deg,#12857b,#075f59);box-shadow:0 14px 30px #0f766e2e}.auth-required-actions small{max-width:260px;color:var(--product-muted);line-height:1.55}.auth-required-flow{display:grid;gap:0;max-width:430px;margin-top:10px;border-top:1px solid var(--product-line-soft)}.auth-required-flow article{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:baseline;gap:16px;padding:13px 0;border-bottom:1px solid var(--product-line-soft)}.auth-required-flow span{color:var(--product-accent-strong);font-size:12px;font-weight:850}.auth-required-flow strong{color:var(--product-ink);font-size:14px;font-weight:760;line-height:1.45}.auth-required-preview.auth-writing-studio-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:auto 1fr;gap:16px;min-height:520px;padding:18px;overflow:hidden;border:1px solid var(--product-line);border-radius:8px;background:linear-gradient(90deg,#ffffff9e,#fff0),#eef4f0;box-shadow:0 30px 76px #202d3624}.auth-required-preview.auth-writing-studio-card:before{position:absolute;inset:0 0 auto;height:4px;border-radius:8px 8px 0 0;background:linear-gradient(90deg,var(--product-accent),var(--product-warm));content:""}.auth-required-preview.auth-writing-studio-card:after{position:absolute;right:14px;bottom:14px;width:168px;height:168px;border-radius:50%;border:1px solid rgba(15,118,110,.1);background:linear-gradient(90deg,rgba(15,118,110,.1) 1px,transparent 1px),linear-gradient(rgba(15,118,110,.08) 1px,transparent 1px);background-size:18px 18px;content:"";opacity:.42;pointer-events:none}.auth-writing-studio-paper{position:relative;z-index:1;grid-row:1 / 3;display:grid;align-content:start;gap:18px;min-height:482px;padding:46px 52px 44px 64px;border:1px solid rgba(92,83,67,.18);border-radius:8px;color:#18222a;background:linear-gradient(90deg,transparent 0,transparent 42px,rgba(15,118,110,.11) 42px,rgba(15,118,110,.11) 43px,transparent 43px),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(75,85,99,.09) 32px),var(--product-paper);box-shadow:0 1px #ffffffe6 inset,0 24px 54px #202d361f}.auth-writing-paper-head{display:grid;gap:6px}.auth-writing-paper-head span{color:var(--product-accent-strong);font-size:12px;font-weight:850}.auth-writing-paper-head strong{color:var(--product-ink);font-size:26px;line-height:1.2}.auth-writing-studio-paper p{margin:0;max-width:27em;color:#35414a;font-family:Songti SC,STSong,"Noto Serif SC",PingFang SC,serif;font-size:18px;line-height:2}.auth-writing-studio-desk{position:relative;z-index:1;display:grid;align-content:start;gap:0;padding-top:18px;border-top:1px solid var(--product-line)}.auth-writing-studio-desk article{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 9px;padding:13px 0;border-bottom:1px solid var(--product-line-soft)}.auth-writing-studio-desk svg{grid-row:1 / 3;color:var(--product-accent-strong)}.auth-writing-studio-desk span{color:var(--product-muted);font-size:12px;font-weight:760}.auth-writing-studio-desk strong{color:var(--product-ink);font-size:13px;line-height:1.45}.auth-writing-studio-strip{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-self:end;gap:7px}.auth-writing-studio-strip span{min-height:28px;padding:6px 10px;border:1px solid rgba(15,118,110,.16);border-radius:999px;color:var(--product-accent-strong);background:#ffffffc7;font-size:12px;font-weight:780}.app-shell.empty-workspace{background:linear-gradient(180deg,var(--product-bg) 0%,var(--product-bg-deep) 100%)}.app-shell.empty-workspace .workspace{padding:28px clamp(22px,5vw,72px) 36px;background:linear-gradient(90deg,rgba(255,255,255,.26) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.34) 1px,transparent 1px);background-size:48px 48px}.empty-workspace-panel{width:min(1120px,100%);margin:28px auto 0}.empty-workspace-panel:before{display:none}.empty-workspace-hero{display:grid;grid-template-columns:minmax(0,.72fr) minmax(520px,1fr);gap:56px;align-items:center;padding:0;border:0;background:transparent;box-shadow:none}.empty-workspace-copy{display:grid;gap:14px;min-width:0}.empty-workspace-copy .eyebrow{color:var(--product-accent-strong);font-size:12px;font-weight:850;letter-spacing:0}.empty-workspace-copy h1{max-width:11em;margin:0;color:var(--product-ink);font-size:46px;line-height:1.08;letter-spacing:0}.empty-workspace-copy h1 span{display:block;white-space:nowrap}.empty-workspace-copy p{max-width:31rem;margin:0;color:#53616a;font-size:16px;line-height:1.78}.empty-workspace-desk{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:stretch;gap:14px;min-width:0}.empty-workspace-start-form{display:grid;gap:15px;min-width:0;padding:18px;border:1px solid var(--product-line);border-top:4px solid var(--product-accent);border-radius:8px;background:#ffffffd1;box-shadow:0 18px 48px #202d3617}.empty-workspace-start-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px;border:1px solid var(--product-line-soft);border-radius:8px;background:#f5f8f6d1}.empty-workspace-start-modes button{display:grid;grid-template-columns:20px minmax(0,1fr);gap:3px 8px;min-height:76px;padding:11px;border:1px solid transparent;border-radius:8px;color:#37454d;background:transparent;text-align:left;box-shadow:none}.empty-workspace-start-modes button svg{grid-row:1 / 3;color:var(--product-accent-strong)}.empty-workspace-start-modes button span{color:var(--product-ink);font-size:13px;font-weight:840;line-height:1.2}.empty-workspace-start-modes button strong{color:var(--product-muted);font-size:12px;font-weight:650;line-height:1.45}.empty-workspace-start-modes button.active,.empty-workspace-start-modes button:hover,.empty-workspace-start-modes button:focus-visible{border-color:#0f766e33;background:#fff;outline:0}.empty-workspace-start-form label{display:grid;gap:8px;color:#2f3c44;font-size:13px;font-weight:820}.empty-workspace-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.empty-workspace-input-row input{min-height:46px;border:1px solid var(--product-line);border-radius:8px;color:var(--product-ink);background:#fff}.empty-workspace-input-row input::placeholder{color:var(--product-soft)}.empty-workspace-primary{min-width:132px;min-height:46px;border-radius:8px;color:#fbfffd;background:linear-gradient(180deg,#12857b,#075f59)}.empty-workspace-start-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.empty-workspace-start-foot p{margin:0;color:var(--product-muted);font-size:12px;line-height:1.55}.empty-workspace-manuscript-preview{display:grid;align-content:start;gap:12px;min-height:100%;padding:28px 22px;border:1px solid rgba(92,83,67,.16);border-radius:8px;background:linear-gradient(90deg,transparent 0,transparent 28px,rgba(15,118,110,.1) 28px,rgba(15,118,110,.1) 29px,transparent 29px),repeating-linear-gradient(180deg,transparent 0,transparent 29px,rgba(75,85,99,.08) 30px),var(--product-paper);box-shadow:0 18px 42px #202d361a}.empty-workspace-manuscript-preview span{color:var(--product-accent-strong);font-size:12px;font-weight:850}.empty-workspace-manuscript-preview strong{color:var(--product-ink);font-size:18px;line-height:1.25}.empty-workspace-manuscript-preview p{margin:0;color:#44515a;font-family:Songti SC,STSong,"Noto Serif SC",PingFang SC,serif;font-size:16px;line-height:1.9}.empty-workspace-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.empty-workspace-flow article,.empty-workspace-note{border:1px solid var(--product-line-soft);border-radius:8px;background:#ffffff94;box-shadow:none}.empty-workspace-flow article{min-height:112px;padding:15px}.empty-workspace-flow article>div{color:var(--product-accent-strong);background:var(--product-accent-soft)}.empty-workspace-note{margin-top:0;color:var(--product-accent-strong);background:#f1f8f6c2}.app-shell:not(.empty-workspace):not(.focus-mode){background:linear-gradient(180deg,#f7f9f6,#e8efea)}.app-shell:not(.empty-workspace) .topbar{border-bottom-color:var(--product-line-soft);background:#fbfcfaeb}.app-shell:not(.empty-workspace) .rail{background:#fbfcfabd}.app-shell:not(.empty-workspace) .workspace{background:linear-gradient(180deg,#ffffff61,#fff0 40%)}.app-shell:not(.empty-workspace) .draft-editor-shell:before{inset:0 max(0px,calc((100% - 820px)/2)) 0;background:linear-gradient(180deg,#ffffff57,#fff0 54%)}.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,760px);border-color:#5c534333;background:linear-gradient(90deg,transparent 0,transparent 48px,rgba(15,118,110,.1) 48px,rgba(15,118,110,.1) 49px,transparent 49px),repeating-linear-gradient(180deg,transparent 0,transparent 38px,rgba(75,85,99,.07) 39px),var(--manuscript-paper);box-shadow:0 1px #ffffffeb inset,0 28px 74px #242f3321}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter{width:min(100%,760px)}.app-shell:not(.empty-workspace) .inspector{background:#f8fbf9e6}.app-shell:not(.empty-workspace) .assistant-panel>.assistant-chat-box,.app-shell:not(.empty-workspace) .assistant-generation-hub,.app-shell:not(.empty-workspace) .assistant-latest-draft,.app-shell:not(.empty-workspace) .assistant-latest-answer,.app-shell:not(.empty-workspace) .assistant-secondary-section,.app-shell:not(.empty-workspace) .assistant-panel>.assistant-rewrite-box,.app-shell:not(.empty-workspace) .quality-panel>section,.app-shell:not(.empty-workspace) .quality-panel>div,.app-shell:not(.empty-workspace) .quality-panel .panel-list{border-color:var(--product-line-soft);background:#ffffffa3}@media(max-width:1100px){.auth-required-panel{grid-template-columns:1fr;gap:32px;width:min(720px,calc(100% - 36px))}.auth-required-copy h1{max-width:11em;font-size:52px}.auth-required-preview.auth-writing-studio-card{grid-template-columns:minmax(0,1fr);min-height:auto}.auth-writing-studio-paper{grid-row:auto;min-height:360px}.empty-workspace-hero{grid-template-columns:1fr;gap:28px}}@media(max-width:720px){.auth-required-topbar{padding:9px 14px}.auth-required-panel{width:calc(100% - 28px);min-height:auto;padding:34px 0 28px}.auth-required-copy h1{font-size:42px}.auth-required-actions{align-items:stretch;flex-direction:column}.auth-required-actions small{max-width:none}.auth-required-flow article{grid-template-columns:58px minmax(0,1fr)}.auth-writing-studio-paper{min-height:320px;padding:34px 24px 30px 42px}.auth-writing-paper-head strong{font-size:22px}.auth-writing-studio-paper p{font-size:16px;line-height:1.9}.auth-writing-studio-desk{padding-top:4px}.app-shell.empty-workspace .workspace{padding:18px 12px 24px}.empty-workspace-panel{margin-top:10px}.empty-workspace-copy h1{font-size:34px}.empty-workspace-desk,.empty-workspace-start-modes,.empty-workspace-input-row,.empty-workspace-start-foot,.empty-workspace-flow{grid-template-columns:1fr}.empty-workspace-manuscript-preview{min-height:220px}.app-shell:not(.empty-workspace) .draft-editor,.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter{width:100%}}.app-shell:not(.empty-workspace) .assistant-margin-notes{gap:10px;color:var(--desk-ink)}.app-shell:not(.empty-workspace) .assistant-margin-guide{position:relative;margin:0 0 10px;padding:0 0 12px;border:0;border-bottom:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head{display:grid;gap:3px;padding:0 0 10px}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head span{color:var(--desk-accent-strong);font-size:11px;font-weight:850;letter-spacing:0}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head strong{color:var(--desk-ink);font-size:19px;font-weight:840;line-height:1.18;letter-spacing:0}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head small{color:var(--desk-muted);font-size:12px;line-height:1.45}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-primary-actions{display:grid;gap:7px;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs button{min-height:36px;padding:7px 8px;border:1px solid var(--desk-line-soft);border-radius:8px;color:#45545d;background:#ffffff94;font-size:12px;font-weight:760;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs button.active{border-color:#0f766e38;color:var(--desk-accent-strong);background:#fff;box-shadow:inset 0 0 0 1px #0f766e0f}.app-shell:not(.empty-workspace) .assistant-margin-composer,.app-shell:not(.empty-workspace) .assistant-margin-rewrite{gap:9px;padding:13px;border:1px solid rgba(92,83,67,.14);border-left:2px solid rgba(15,118,110,.3);border-radius:8px;background:linear-gradient(90deg,#0f766e0b,#0f766e00 42%),#fffdf8e6;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-composer{position:sticky;top:52px;z-index:1}.app-shell:not(.empty-workspace) .assistant-margin-composer .prompt-box-head,.app-shell:not(.empty-workspace) .assistant-margin-rewrite .prompt-box-head{align-items:baseline;padding:0}.app-shell:not(.empty-workspace) .assistant-margin-composer .assistant-chat-title{gap:3px}.app-shell:not(.empty-workspace) .assistant-margin-composer label,.app-shell:not(.empty-workspace) .assistant-margin-rewrite label{color:var(--desk-ink);font-size:13px;font-weight:840}.app-shell:not(.empty-workspace) .assistant-margin-composer .assistant-chat-title span,.app-shell:not(.empty-workspace) .assistant-margin-rewrite .prompt-box-head span{max-width:none;color:var(--desk-muted);font-size:12px;font-weight:650;text-align:left;white-space:normal}.app-shell:not(.empty-workspace) .assistant-margin-composer textarea,.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:92px;padding:10px 11px;border-color:#5c53432e;border-radius:8px;color:var(--desk-ink);background:#ffffffe6;box-shadow:inset 0 1px #ffffffd1;font-size:13px;line-height:1.6}.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:78px}.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button,.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button{width:100%;min-height:38px;border-radius:8px}.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button{color:#fbfffd;background:linear-gradient(180deg,#12857b,#075f59);box-shadow:0 10px 22px #0f766e1f}.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button{border-color:#0f766e33;color:var(--desk-accent-strong);background:#ffffffc7}.app-shell:not(.empty-workspace) .assistant-margin-notes .prompt-quick-actions{gap:5px}.app-shell:not(.empty-workspace) .assistant-margin-notes .prompt-quick-actions button{min-height:28px;padding:5px 8px;border-color:#0f766e24;border-radius:8px;color:var(--desk-accent-strong);background:#ffffffa8;font-size:12px;font-weight:740}.app-shell:not(.empty-workspace) .assistant-margin-fold,.app-shell:not(.empty-workspace) .assistant-margin-work,.app-shell:not(.empty-workspace) .assistant-margin-draft,.app-shell:not(.empty-workspace) .assistant-margin-ledger,.app-shell:not(.empty-workspace) .assistant-margin-notes .assistant-suggestion-section{border:0;border-top:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-fold>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-work>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-draft>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-ledger>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-notes .assistant-suggestion-section>summary.panel-list-title{min-height:42px;padding:0 2px;border-radius:0}.app-shell:not(.empty-workspace) .assistant-margin-fold>summary.panel-list-title h3,.app-shell:not(.empty-workspace) .assistant-margin-work>summary.panel-list-title h3,.app-shell:not(.empty-workspace) .assistant-margin-draft>summary.panel-list-title h3,.app-shell:not(.empty-workspace) .assistant-margin-ledger>summary.panel-list-title h3,.app-shell:not(.empty-workspace) .assistant-margin-notes .assistant-suggestion-section>summary.panel-list-title h3{color:var(--desk-ink);font-size:13px;font-weight:800}.app-shell:not(.empty-workspace) .assistant-margin-fold>summary.panel-list-title span,.app-shell:not(.empty-workspace) .assistant-margin-work>summary.panel-list-title span,.app-shell:not(.empty-workspace) .assistant-margin-draft>summary.panel-list-title span,.app-shell:not(.empty-workspace) .assistant-margin-ledger>summary.panel-list-title span,.app-shell:not(.empty-workspace) .assistant-margin-notes .assistant-suggestion-section>summary.panel-list-title span{color:var(--desk-muted);font-size:12px;font-weight:650}.app-shell:not(.empty-workspace) .assistant-margin-notes .assistant-secondary-body{gap:8px;padding:0 0 10px}.app-shell:not(.empty-workspace) .assistant-margin-result{padding:12px 0 12px 12px;border:0;border-left:2px solid rgba(180,109,24,.34);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-result .assistant-latest-head{margin-bottom:8px}.app-shell:not(.empty-workspace) .assistant-margin-result .assistant-latest-head span{color:var(--desk-ink);font-size:13px;font-weight:850}.app-shell:not(.empty-workspace) .assistant-margin-result .assistant-latest-head small,.app-shell:not(.empty-workspace) .assistant-history-subhead small{color:var(--desk-muted);font-size:11px}.app-shell:not(.empty-workspace) .assistant-margin-result blockquote,.app-shell:not(.empty-workspace) .assistant-margin-ledger .chat-message p,.app-shell:not(.empty-workspace) .assistant-margin-notes .active-stream-card blockquote{border-color:#5c534324;border-radius:8px;color:#27333b;background:#fffdf8c7}.app-shell:not(.empty-workspace) .assistant-margin-ledger .chat-history-inline,.app-shell:not(.empty-workspace) .assistant-margin-ledger .job-card,.app-shell:not(.empty-workspace) .assistant-margin-work .job-card,.app-shell:not(.empty-workspace) .assistant-margin-work .active-stream-card{border-color:var(--desk-line-soft);border-radius:8px;background:#ffffff94;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-margin-ledger .ai-history-filter-summary{min-height:34px;border-color:var(--desk-line-soft);color:#46545d;background:#ffffff94}.app-shell:not(.empty-workspace) .assistant-margin-ledger .ai-history-filters{gap:8px;padding:8px;border-color:var(--desk-line-soft);border-radius:8px;background:#ffffff8a}@media(max-width:720px){.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{border-color:#1f2c3424;background:#fbfcfa;backdrop-filter:none;-webkit-backdrop-filter:none}.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector-header{background:#fbfcfa}.app-shell:not(.empty-workspace) .assistant-margin-guide{margin-bottom:8px;padding-left:12px}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell:not(.empty-workspace) .assistant-margin-composer{position:static}.app-shell:not(.empty-workspace) .assistant-margin-composer,.app-shell:not(.empty-workspace) .assistant-margin-rewrite{padding:12px;background:var(--manuscript-paper)}.app-shell:not(.empty-workspace) .assistant-margin-composer textarea,.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:84px;background:#fff}.app-shell:not(.empty-workspace) .assistant-margin-ledger .chat-history-inline,.app-shell:not(.empty-workspace) .assistant-margin-ledger .job-card,.app-shell:not(.empty-workspace) .assistant-margin-work .job-card,.app-shell:not(.empty-workspace) .assistant-margin-work .active-stream-card{background:#fff}}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head{grid-template-columns:minmax(0,1fr);align-items:start;gap:5px}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head span{align-self:center;width:max-content;padding:3px 7px;border:1px solid rgba(15,118,110,.13);border-radius:999px;background:#0f766e0e;font-size:10px;line-height:1.1}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head strong{max-width:18ch}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head small{justify-self:start;max-width:none;text-align:left}.app-shell:not(.empty-workspace) .assistant-margin-composer,.app-shell:not(.empty-workspace) .assistant-margin-rewrite{align-items:stretch}.app-shell:not(.empty-workspace) .assistant-margin-composer .assistant-inline-prompt-actions,.app-shell:not(.empty-workspace) .assistant-margin-rewrite .assistant-inline-prompt-actions{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:none}.app-shell:not(.empty-workspace) .assistant-margin-composer .assistant-inline-prompt-actions::-webkit-scrollbar,.app-shell:not(.empty-workspace) .assistant-margin-rewrite .assistant-inline-prompt-actions::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .assistant-margin-composer .assistant-inline-prompt-actions button,.app-shell:not(.empty-workspace) .assistant-margin-rewrite .assistant-inline-prompt-actions button{flex:0 0 auto;white-space:nowrap}.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button,.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button{justify-self:end;width:auto;min-width:116px;padding-inline:14px}.app-shell:not(.empty-workspace) .assistant-margin-composer textarea:focus,.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea:focus{border-color:#0f766e57;box-shadow:inset 0 1px #ffffffdb,0 0 0 3px #0f766e14}@media(max-width:720px){.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{right:0;bottom:0;left:0;max-width:100vw;max-height:min(86dvh,calc(100dvh - 58px));padding:0;border-width:1px 0 0;border-radius:14px 14px 0 0;box-shadow:0 -18px 48px #242f3333}.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector:before{position:sticky;top:0;z-index:4;display:block;width:42px;height:4px;margin:8px auto 6px;border-radius:999px;background:#1f2c342e;content:""}.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector-header{position:sticky;top:18px;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;margin:0;padding:0 12px 8px;border-bottom:1px solid rgba(31,44,52,.08);background:#fbfcfa}.app-shell:not(.empty-workspace) .inspector-tabs{gap:4px;padding:3px;border-radius:999px;background:#1f2c340e}.app-shell:not(.empty-workspace) .inspector-tabs button{flex:1 1 0;min-height:34px;border-radius:999px;white-space:nowrap}.app-shell:not(.empty-workspace) .mobile-inspector-close{width:34px;min-width:34px;height:34px;min-height:34px;border:1px solid rgba(31,44,52,.1);border-radius:999px;background:#ffffffc7}.app-shell:not(.empty-workspace) .assistant-margin-notes,.app-shell:not(.empty-workspace) .quality-panel{padding:0 12px 16px}.app-shell:not(.empty-workspace) .assistant-margin-guide{margin:0 0 10px;padding:10px 0 12px;border-bottom:1px solid rgba(31,44,52,.08)}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head{grid-template-columns:minmax(0,1fr);gap:5px;padding-bottom:9px}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head span{padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head strong{max-width:none;font-size:22px;line-height:1.08}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-copilot-head small{justify-self:start;max-width:26ch;text-align:left}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .assistant-margin-guide .assistant-intent-tabs button{flex:0 0 auto;min-width:118px;min-height:38px;padding-inline:10px;white-space:nowrap}.app-shell:not(.empty-workspace) .assistant-margin-composer,.app-shell:not(.empty-workspace) .assistant-margin-rewrite{padding:12px;border-left-width:0;border-radius:10px;background:linear-gradient(180deg,#ffffffd1,#fffdf8f0),var(--manuscript-paper)}.app-shell:not(.empty-workspace) .assistant-margin-composer textarea,.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:116px;border-radius:9px}.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button,.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button{width:100%;min-height:44px}.app-shell:not(.empty-workspace) .assistant-margin-fold>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-work>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-draft>summary.panel-list-title,.app-shell:not(.empty-workspace) .assistant-margin-ledger>summary.panel-list-title{min-height:48px}}@media(max-width:720px){.app-shell:not(.empty-workspace) .inspector .assistant-margin-notes{padding:0 12px 16px}.app-shell:not(.empty-workspace) .inspector .assistant-margin-guide{margin:0 -2px 10px;padding:10px 2px 12px}.app-shell:not(.empty-workspace) .inspector .assistant-margin-guide .assistant-copilot-head span{justify-self:start;width:max-content;padding:3px 7px;border:1px solid rgba(15,118,110,.12);border-radius:999px;background:#0f766e0e}.app-shell:not(.empty-workspace) .inspector .assistant-margin-guide .assistant-copilot-head strong{font-size:21px}.app-shell:not(.empty-workspace) .inspector .assistant-margin-composer,.app-shell:not(.empty-workspace) .inspector .assistant-margin-rewrite{margin-inline:0}}.app-shell:not(.empty-workspace) .inspector .quality-panel{display:grid;gap:12px;padding:0 1px 18px;border:0;background:transparent;box-shadow:none;color:var(--desk-ink)}.app-shell:not(.empty-workspace) .inspector .quality-panel>section,.app-shell:not(.empty-workspace) .inspector .quality-panel>div,.app-shell:not(.empty-workspace) .inspector .quality-panel .panel-list{border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list{overflow:visible;border:0;border-top:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary{min-height:46px;padding:0 2px;border-radius:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary h3{color:var(--desk-ink);font-size:13px;font-weight:820}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary span{color:var(--desk-muted);font-size:12px;font-weight:650}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list[open]>summary{border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-body{display:grid;gap:10px;margin:0;padding:0 0 13px 12px;border-left:2px solid rgba(92,83,67,.12);background:linear-gradient(90deg,#fffdf8b8,#fffdf800 78%)}.app-shell:not(.empty-workspace) .inspector .quality-panel .writing-brief,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-panel,.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>.panel-list{padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-head,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-head{padding:0 0 9px;border-bottom:1px solid rgba(92,83,67,.12)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head span,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head em,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-head span,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-head em,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-head span,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-head em{color:var(--desk-muted);font-size:11px;font-weight:650;letter-spacing:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head strong,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-head strong,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-head strong{color:var(--desk-ink);font-size:15px;font-weight:840}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-objective{gap:0;overflow:hidden;border:1px solid rgba(92,83,67,.13);border-left:2px solid rgba(15,118,110,.26);border-radius:8px;background:#fffdf8b8}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-objective p{grid-template-columns:minmax(52px,.34fr) minmax(0,1fr);gap:8px;padding:8px 10px;border:0;border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-objective p:last-child{border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-grid,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-block,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item,.app-shell:not(.empty-workspace) .inspector .quality-panel .continuity-card,.app-shell:not(.empty-workspace) .inspector .quality-panel .finding{padding:10px 0 10px 12px;border:0;border-top:1px solid rgba(92,83,67,.1);border-left:2px solid rgba(92,83,67,.14);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item.used,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item.available,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item.partial{border-left-color:#0f766e47}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item.reserved,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-item.missing{border-left-color:#b46d1847}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid rgba(92,83,67,.12);border-radius:8px;background:#fffdf89e}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-stats div{padding:8px 10px;border:0;border-right:1px solid rgba(92,83,67,.09);border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-stats div:nth-child(2n){border-right:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-stats div:nth-last-child(-n+2){border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-field-grid{gap:6px}.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-field-grid p{padding:8px 9px;border:1px solid rgba(92,83,67,.11);border-radius:8px;background:#ffffff75}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-checks,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-checks,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-warnings,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-warnings{gap:6px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-checks span,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-checks span,.app-shell:not(.empty-workspace) .inspector .quality-panel .scene-execution-warnings span,.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-warnings span{border-color:#5c534321;border-radius:999px;color:#40515a;background:#ffffff8f}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-action{width:100%;min-height:36px;border-radius:8px}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section{display:grid;gap:8px;padding:11px 0 0 12px;border:0;border-top:1px solid rgba(92,83,67,.1);border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head{align-items:baseline}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head strong{color:var(--desk-ink);font-size:13px;font-weight:820}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head span{color:var(--desk-muted);font-size:11px;font-weight:650}@media(max-width:720px){.app-shell:not(.empty-workspace) .inspector .quality-panel{gap:12px;padding:0 12px 18px}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-body{padding:0 0 14px;border-left:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-objective p{grid-template-columns:minmax(0,1fr)}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section{padding-left:0;border-left:0}}.app-shell:not(.empty-workspace) .memory-view,.app-shell:not(.empty-workspace) .character-bible-view,.app-shell:not(.empty-workspace) .foreshadow-view{gap:16px;width:100%;min-width:0;padding:clamp(14px,2vw,20px);container-type:inline-size;background:linear-gradient(180deg,#fffdf8db,#fbfcfaf0),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(92,83,67,.045) 32px)}.app-shell:not(.empty-workspace) .memory-toolbar,.app-shell:not(.empty-workspace) .character-bible-toolbar,.app-shell:not(.empty-workspace) .foreshadow-toolbar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;min-height:84px;padding:2px 0 15px 16px;border-bottom:1px solid var(--desk-line-soft);background:transparent}.app-shell:not(.empty-workspace) .memory-toolbar:before,.app-shell:not(.empty-workspace) .character-bible-toolbar:before,.app-shell:not(.empty-workspace) .foreshadow-toolbar:before{position:absolute;top:7px;bottom:18px;left:0;width:2px;border-radius:999px;background:#0f766e5c;content:""}.app-shell:not(.empty-workspace) .memory-toolbar span,.app-shell:not(.empty-workspace) .character-bible-toolbar span,.app-shell:not(.empty-workspace) .foreshadow-toolbar span,.app-shell:not(.empty-workspace) .memory-focus>span,.app-shell:not(.empty-workspace) .memory-field span,.app-shell:not(.empty-workspace) .memory-field small,.app-shell:not(.empty-workspace) .memory-archive-head span,.app-shell:not(.empty-workspace) .memory-archive-item span,.app-shell:not(.empty-workspace) .character-bible-stat span,.app-shell:not(.empty-workspace) .character-bible-index-head span,.app-shell:not(.empty-workspace) .character-bible-card span,.app-shell:not(.empty-workspace) .character-dossier-head span,.app-shell:not(.empty-workspace) .character-dossier-title span,.app-shell:not(.empty-workspace) .foreshadow-stat span,.app-shell:not(.empty-workspace) .foreshadow-item-head span,.app-shell:not(.empty-workspace) .foreshadow-detail-head span,.app-shell:not(.empty-workspace) .foreshadow-detail-body span,.app-shell:not(.empty-workspace) .foreshadow-event-timeline span{color:var(--desk-muted);font-size:12px;font-weight:680;letter-spacing:0}.app-shell:not(.empty-workspace) .memory-toolbar strong,.app-shell:not(.empty-workspace) .character-bible-toolbar strong,.app-shell:not(.empty-workspace) .foreshadow-toolbar strong{color:var(--desk-ink);font-size:22px;line-height:1.22}.app-shell:not(.empty-workspace) .memory-toolbar p,.app-shell:not(.empty-workspace) .character-bible-toolbar p,.app-shell:not(.empty-workspace) .foreshadow-toolbar p{max-width:760px;color:var(--desk-ink-soft);font-size:14px;line-height:1.62}.app-shell:not(.empty-workspace) .memory-toolbar-actions{align-self:end}.app-shell:not(.empty-workspace) .memory-toolbar-actions>span{flex-basis:100%;color:var(--desk-muted);font-size:12px;font-weight:680;text-align:right}.app-shell:not(.empty-workspace) .character-bible-summary,.app-shell:not(.empty-workspace) .foreshadow-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:0;padding:4px 0 0;border-bottom:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace) .character-bible-stat,.app-shell:not(.empty-workspace) .foreshadow-stat{min-height:54px;padding:5px 11px 11px;border:0;border-left:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .character-bible-stat:first-child,.app-shell:not(.empty-workspace) .foreshadow-stat:first-child{border-left:0}.app-shell:not(.empty-workspace) .character-bible-stat strong,.app-shell:not(.empty-workspace) .foreshadow-stat strong{margin-top:4px;color:var(--desk-ink);font-size:20px;line-height:1.05}.app-shell:not(.empty-workspace) .memory-focus,.app-shell:not(.empty-workspace) .memory-advanced-details,.app-shell:not(.empty-workspace) .memory-archive{border:0;border-top:1px solid rgba(92,83,67,.11);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .memory-focus{gap:10px;padding:2px 0 13px 14px;border-left:2px solid rgba(15,118,110,.22)}.app-shell:not(.empty-workspace) .memory-focus-chips{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;border-top:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace) .memory-focus-chips span{min-height:58px;padding:10px 12px;border:0;border-right:1px solid rgba(92,83,67,.09);border-radius:0;background:#fffdf894}.app-shell:not(.empty-workspace) .memory-focus-chips span:last-child{border-right:0}.app-shell:not(.empty-workspace) .memory-focus-chips strong{color:var(--desk-ink);font-size:13px}.app-shell:not(.empty-workspace) .memory-focus-chips small{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .memory-advanced-details{border-bottom:1px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace) .memory-advanced-details>summary{min-height:42px;padding:10px 0;color:var(--desk-ink)}.app-shell:not(.empty-workspace) .memory-advanced-details>summary em{color:var(--desk-muted)}.app-shell:not(.empty-workspace) .memory-advanced-details[open]>summary{border-bottom-color:#5c53431a;color:var(--desk-accent)}.app-shell:not(.empty-workspace) .memory-advanced-details .memory-grid{padding:12px 0 14px}.app-shell:not(.empty-workspace) .memory-field{padding:0 0 0 11px;border:0;border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .memory-field textarea{min-height:138px;border-color:#5c534321;background:linear-gradient(180deg,#fffdf8eb,#fffffff0);box-shadow:none}.app-shell:not(.empty-workspace) .memory-archive{gap:10px;padding:13px 0 0}.app-shell:not(.empty-workspace) .memory-archive-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.app-shell:not(.empty-workspace) .memory-archive-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0;border-top:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace) .memory-archive-item{min-height:86px;padding:11px 12px;border:0;border-bottom:1px solid rgba(92,83,67,.1);border-radius:0;background:#fffdf88f;box-shadow:none}.app-shell:not(.empty-workspace) .character-bible-workbench,.app-shell:not(.empty-workspace) .foreshadow-workbench{grid-template-columns:minmax(230px,.36fr) minmax(0,.64fr);gap:16px}.app-shell:not(.empty-workspace) .character-bible-index,.app-shell:not(.empty-workspace) .foreshadow-index{gap:0;max-height:min(680px,calc(100vh - 310px));padding:0 0 0 12px;border:0;border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .character-bible-index-head,.app-shell:not(.empty-workspace) .foreshadow-status-filter{top:0;margin:0;padding:0 0 10px;border-bottom:1px solid rgba(92,83,67,.12);background:#fffdf8e0;-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell:not(.empty-workspace) .character-bible-index-head em{border-radius:999px;color:var(--desk-accent);background:#0f766e14}.app-shell:not(.empty-workspace) .character-bible-list,.app-shell:not(.empty-workspace) .foreshadow-list{gap:0}.app-shell:not(.empty-workspace) .character-bible-card,.app-shell:not(.empty-workspace) .foreshadow-item{gap:6px;padding:11px 0 12px 10px;border:0;border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace) .character-bible-card:hover,.app-shell:not(.empty-workspace) .character-bible-card:focus-visible,.app-shell:not(.empty-workspace) .character-bible-card.active,.app-shell:not(.empty-workspace) .foreshadow-item:hover,.app-shell:not(.empty-workspace) .foreshadow-item:focus-visible,.app-shell:not(.empty-workspace) .foreshadow-item.active{border-color:#5c53431a;background:linear-gradient(90deg,rgba(15,118,110,.08) 0%,rgba(255,253,248,.82) 52%,transparent 100%);box-shadow:inset 2px 0 #0f766ec7;transform:none}.app-shell:not(.empty-workspace) .character-bible-card.needs-attention,.app-shell:not(.empty-workspace) .foreshadow-item.stale{box-shadow:inset 2px 0 #b46d1885}.app-shell:not(.empty-workspace) .character-bible-card.active.needs-attention,.app-shell:not(.empty-workspace) .foreshadow-item.active.stale{box-shadow:inset 2px 0 #0f766ec7}.app-shell:not(.empty-workspace) .character-bible-card strong,.app-shell:not(.empty-workspace) .foreshadow-item-head strong{color:var(--desk-ink);font-size:15px}.app-shell:not(.empty-workspace) .character-bible-card p,.app-shell:not(.empty-workspace) .character-bible-card small{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .character-bible-card-meta em,.app-shell:not(.empty-workspace) .foreshadow-status,.app-shell:not(.empty-workspace) .foreshadow-status-filter button{border:1px solid rgba(92,83,67,.1);border-radius:999px;color:var(--desk-ink-soft);background:#ffffff80;box-shadow:none}.app-shell:not(.empty-workspace) .character-bible-card-meta em.warn,.app-shell:not(.empty-workspace) .foreshadow-status.stale{color:#8a5a00;background:#fff3da9e}.app-shell:not(.empty-workspace) .foreshadow-status.open,.app-shell:not(.empty-workspace) .foreshadow-status-filter button.active,.app-shell:not(.empty-workspace) .foreshadow-status-filter button:hover,.app-shell:not(.empty-workspace) .foreshadow-status-filter button:focus-visible{border-color:#0f766e2e;color:var(--desk-accent);background:#0f766e14}.app-shell:not(.empty-workspace) .foreshadow-status-filter{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;scrollbar-width:none}.app-shell:not(.empty-workspace) .foreshadow-status-filter::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .foreshadow-status-filter button{flex:0 0 auto;min-height:30px;padding:5px 9px}.app-shell:not(.empty-workspace) .character-dossier,.app-shell:not(.empty-workspace) .foreshadow-detail{gap:14px;padding:16px;border:1px solid rgba(92,83,67,.14);border-radius:8px;background:linear-gradient(180deg,#fffdf8f0,#ffffffd1);box-shadow:none}.app-shell:not(.empty-workspace) .character-dossier.needs-attention,.app-shell:not(.empty-workspace) .foreshadow-detail.stale{border-color:#b46d183d}.app-shell:not(.empty-workspace) .character-dossier-head,.app-shell:not(.empty-workspace) .foreshadow-detail-head{border-bottom-color:#5c53431f}.app-shell:not(.empty-workspace) .character-dossier-head strong,.app-shell:not(.empty-workspace) .foreshadow-detail-head strong{color:var(--desk-ink);font-size:22px}.app-shell:not(.empty-workspace) .character-dossier-head p,.app-shell:not(.empty-workspace) .foreshadow-detail-body p,.app-shell:not(.empty-workspace) .foreshadow-event-timeline p{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .character-bible-grid,.app-shell:not(.empty-workspace) .foreshadow-detail-body{gap:12px}.app-shell:not(.empty-workspace) .character-bible-block,.app-shell:not(.empty-workspace) .character-memory-list,.app-shell:not(.empty-workspace) .foreshadow-detail-body>div{min-height:104px;padding:0 0 0 12px;border:0;border-left:2px solid rgba(92,83,67,.13);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .character-bible-block p,.app-shell:not(.empty-workspace) .character-memory-list p,.app-shell:not(.empty-workspace) .foreshadow-detail-body strong{color:var(--desk-ink)}.app-shell:not(.empty-workspace) .character-dossier-section{gap:9px;padding-top:2px}.app-shell:not(.empty-workspace) .character-chapter-strip button,.app-shell:not(.empty-workspace) .knowledge-list span,.app-shell:not(.empty-workspace) .foreshadow-events span,.app-shell:not(.empty-workspace) .foreshadow-event-timeline>div{border-color:#5c53431f;border-radius:8px;background:#ffffff80;box-shadow:none}.app-shell:not(.empty-workspace) .character-chapter-strip button:hover,.app-shell:not(.empty-workspace) .character-chapter-strip button:focus-visible{border-color:#0f766e33;background:#0f766e12}.app-shell:not(.empty-workspace) .foreshadow-event-timeline:before{background:#0f766e2e}.app-shell:not(.empty-workspace) .foreshadow-event-timeline>div{padding:8px 10px 8px 28px}@media(max-width:720px){.app-shell:not(.empty-workspace) .memory-view,.app-shell:not(.empty-workspace) .character-bible-view,.app-shell:not(.empty-workspace) .foreshadow-view{gap:13px;padding:12px}.app-shell:not(.empty-workspace) .memory-toolbar,.app-shell:not(.empty-workspace) .character-bible-toolbar,.app-shell:not(.empty-workspace) .foreshadow-toolbar,.app-shell:not(.empty-workspace) .memory-archive-head,.app-shell:not(.empty-workspace) .character-dossier-head,.app-shell:not(.empty-workspace) .foreshadow-detail-head{grid-template-columns:minmax(0,1fr);align-items:start}.app-shell:not(.empty-workspace) .memory-toolbar-actions{justify-content:flex-start}.app-shell:not(.empty-workspace) .memory-toolbar-actions>span{text-align:left}.app-shell:not(.empty-workspace) .memory-focus{padding-left:0;border-left:0}.app-shell:not(.empty-workspace) .memory-focus-chips,.app-shell:not(.empty-workspace) .memory-grid,.app-shell:not(.empty-workspace) .memory-archive-list,.app-shell:not(.empty-workspace) .character-bible-workbench,.app-shell:not(.empty-workspace) .character-bible-grid,.app-shell:not(.empty-workspace) .foreshadow-workbench,.app-shell:not(.empty-workspace) .foreshadow-detail-body{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .memory-focus-chips span{border-right:0;border-bottom:1px solid rgba(92,83,67,.09)}.app-shell:not(.empty-workspace) .character-bible-summary,.app-shell:not(.empty-workspace) .foreshadow-summary{display:flex;gap:0;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.app-shell:not(.empty-workspace) .character-bible-summary::-webkit-scrollbar,.app-shell:not(.empty-workspace) .foreshadow-summary::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .character-bible-stat,.app-shell:not(.empty-workspace) .foreshadow-stat{flex:0 0 104px;min-height:52px;scroll-snap-align:start}.app-shell:not(.empty-workspace) .character-bible-index,.app-shell:not(.empty-workspace) .foreshadow-index{max-height:340px;padding-left:0;border-left:0}.app-shell:not(.empty-workspace) .character-dossier,.app-shell:not(.empty-workspace) .foreshadow-detail{padding:12px}.app-shell:not(.empty-workspace) .reference-handoff-actions{justify-content:flex-start}}@container (max-width: 760px){.app-shell:not(.empty-workspace) .character-bible-workbench,.app-shell:not(.empty-workspace) .foreshadow-workbench,.app-shell:not(.empty-workspace) .character-bible-grid,.app-shell:not(.empty-workspace) .foreshadow-detail-body{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .character-bible-index,.app-shell:not(.empty-workspace) .foreshadow-index{max-height:340px;padding-left:0;border-left:0}.app-shell:not(.empty-workspace) .character-dossier-head,.app-shell:not(.empty-workspace) .foreshadow-detail-head{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .character-bible-summary,.app-shell:not(.empty-workspace) .foreshadow-summary{display:flex;gap:0;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.app-shell:not(.empty-workspace) .character-bible-stat,.app-shell:not(.empty-workspace) .foreshadow-stat{flex:0 0 104px;min-height:52px;scroll-snap-align:start}}.app-shell:not(.empty-workspace) .versions-view{gap:16px;width:100%;min-width:0;padding:clamp(14px,2vw,20px);container-type:inline-size;background:linear-gradient(180deg,#fffdf8e0,#fbfcfaf2),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(92,83,67,.04) 32px)}.app-shell:not(.empty-workspace) .versions-toolbar{min-height:84px;padding:2px 0 15px 16px;border-bottom:1px solid var(--desk-line-soft);background:transparent}.app-shell:not(.empty-workspace) .versions-toolbar:before{top:7px;bottom:18px;width:2px;background:#0f766e5c}.app-shell:not(.empty-workspace) .versions-toolbar span,.app-shell:not(.empty-workspace) .versions-summary span,.app-shell:not(.empty-workspace) .version-card span,.app-shell:not(.empty-workspace) .version-preview-head span,.app-shell:not(.empty-workspace) .version-recover-head span,.app-shell:not(.empty-workspace) .version-excerpt span{color:var(--desk-muted);font-size:12px;font-weight:680;letter-spacing:0}.app-shell:not(.empty-workspace) .versions-toolbar strong{color:var(--desk-ink);font-size:22px}.app-shell:not(.empty-workspace) .versions-toolbar p{max-width:760px;color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .versions-toolbar-side{align-self:end}.app-shell:not(.empty-workspace) .versions-summary{min-width:84px;padding:6px 0 0;border:0;border-top:1px solid rgba(92,83,67,.14);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .versions-summary strong{color:var(--desk-ink);font-size:22px}.app-shell:not(.empty-workspace) .versions-empty{justify-items:start;padding:16px 0 16px 14px;border:0;border-left:2px solid rgba(15,118,110,.22);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .versions-workbench{grid-template-columns:minmax(0,.66fr) minmax(246px,.34fr);gap:18px}.app-shell:not(.empty-workspace) .version-preview{gap:14px;padding:16px;border:1px solid rgba(92,83,67,.14);border-radius:8px;background:linear-gradient(180deg,#fffdf8f0,#ffffffd6);box-shadow:none}.app-shell:not(.empty-workspace) .version-preview-head{align-items:start;padding-bottom:10px;border-bottom:1px solid rgba(92,83,67,.12)}.app-shell:not(.empty-workspace) .version-preview-head strong{color:var(--desk-ink);font-size:20px;line-height:1.28}.app-shell:not(.empty-workspace) .version-preview-head p{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .version-preview-head em{border:1px solid rgba(15,118,110,.18);border-radius:999px;color:var(--desk-accent);background:#0f766e14;box-shadow:none}.app-shell:not(.empty-workspace) .version-preview-head em.negative{border-color:#b46d1838;color:#8a5a00;background:#fff3da9e}.app-shell:not(.empty-workspace) .version-diff-grid{gap:12px}.app-shell:not(.empty-workspace) .version-excerpt{min-height:180px;padding:0 0 0 12px;border:0;border-left:2px solid rgba(92,83,67,.13);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .version-excerpt p{color:var(--desk-ink)}.app-shell:not(.empty-workspace) .version-recover-panel{gap:11px;padding:12px 0 0;border:0;border-top:1px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .version-recover-head strong{color:var(--desk-ink);font-size:15px}.app-shell:not(.empty-workspace) .version-recover-head em{border:1px solid rgba(15,118,110,.14);color:var(--desk-accent);background:#0f766e12}.app-shell:not(.empty-workspace) .version-full-text{min-height:240px;border-color:#5c534321;background:linear-gradient(180deg,#fffdf8eb,#fffffff0);box-shadow:none}.app-shell:not(.empty-workspace) .version-timeline{gap:0;padding-left:12px;border-left:2px solid rgba(92,83,67,.12)}.app-shell:not(.empty-workspace) .version-timeline:before{display:none}.app-shell:not(.empty-workspace) .version-card{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px 0 12px 10px;border:0;border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace) .version-card.active{border-color:#5c534317;background:linear-gradient(90deg,rgba(15,118,110,.08) 0%,rgba(255,253,248,.82) 56%,transparent 100%);box-shadow:inset 2px 0 #0f766ec7}.app-shell:not(.empty-workspace) .version-card-index{width:26px;height:26px;border-color:#5c53431f;border-radius:999px;color:var(--desk-muted);background:#ffffff9e}.app-shell:not(.empty-workspace) .version-card.active .version-card-index{color:var(--desk-accent);background:#0f766e14}.app-shell:not(.empty-workspace) .version-card strong{color:var(--desk-ink)}.app-shell:not(.empty-workspace) .version-card p{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .version-card .version-actions{gap:6px;flex-wrap:wrap}@container (max-width: 780px){.app-shell:not(.empty-workspace) .versions-toolbar,.app-shell:not(.empty-workspace) .versions-workbench,.app-shell:not(.empty-workspace) .version-diff-grid{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .versions-toolbar-side{width:100%;justify-items:stretch}.app-shell:not(.empty-workspace) .versions-summary{display:flex;align-items:center;justify-content:space-between;min-width:0;text-align:left}.app-shell:not(.empty-workspace) .version-preview-head{display:grid}.app-shell:not(.empty-workspace) .version-preview-head em{justify-self:start}.app-shell:not(.empty-workspace) .version-timeline{max-height:340px;overflow:auto}.app-shell:not(.empty-workspace) .version-card .version-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));width:100%}.app-shell:not(.empty-workspace) .version-card .version-actions .secondary-button{width:100%;min-width:0}}@media(max-width:720px){.app-shell:not(.empty-workspace) .versions-view{padding:12px}.app-shell:not(.empty-workspace) .versions-toolbar{padding-left:12px}.app-shell:not(.empty-workspace) .version-preview{padding:12px}.app-shell:not(.empty-workspace) .version-timeline{padding-left:0;border-left:0}.app-shell:not(.empty-workspace) .version-card .version-actions{justify-content:flex-start}}.app-shell:not(.empty-workspace) .search-view{gap:16px;width:100%;min-width:0;padding:clamp(14px,2vw,20px);container-type:inline-size;background:linear-gradient(180deg,#fffdf8e0,#fbfcfaf2),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(92,83,67,.04) 32px)}.app-shell:not(.empty-workspace) .search-toolbar{position:relative;grid-template-columns:minmax(0,1fr) auto;align-items:end;min-height:84px;padding:2px 0 15px 16px;border-bottom:1px solid var(--desk-line-soft);background:transparent}.app-shell:not(.empty-workspace) .search-toolbar:before{position:absolute;top:7px;bottom:18px;left:0;display:block;width:2px;border-radius:999px;background:#0f766e5c;content:""}.app-shell:not(.empty-workspace) .search-toolbar span,.app-shell:not(.empty-workspace) .search-summary span,.app-shell:not(.empty-workspace) .search-form label,.app-shell:not(.empty-workspace) .search-result span,.app-shell:not(.empty-workspace) .search-result em,.app-shell:not(.empty-workspace) .search-stats span,.app-shell:not(.empty-workspace) .search-quick-terms button,.app-shell:not(.empty-workspace) .search-type-filter button{color:var(--desk-muted);font-size:12px;font-weight:680;letter-spacing:0}.app-shell:not(.empty-workspace) .search-toolbar strong{color:var(--desk-ink);font-size:22px}.app-shell:not(.empty-workspace) .search-toolbar p{max-width:760px;color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .search-summary{min-width:84px;padding:6px 0 0;border:0;border-top:1px solid rgba(92,83,67,.14);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .search-summary strong{color:var(--desk-ink);font-size:22px}.app-shell:not(.empty-workspace) .search-console{gap:10px;padding:0 0 0 14px;border:0;border-left:2px solid rgba(15,118,110,.2);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .search-form{grid-template-columns:minmax(0,1fr) auto}.app-shell:not(.empty-workspace) .search-input-row{border-color:#5c534324;background:linear-gradient(180deg,#fffdf8f0,#ffffffdb);box-shadow:none}.app-shell:not(.empty-workspace) .search-input-row:focus-within{border-color:#0f766e57;box-shadow:0 0 0 3px #0f766e14}.app-shell:not(.empty-workspace) .search-quick-terms{gap:5px}.app-shell:not(.empty-workspace) .search-quick-terms button,.app-shell:not(.empty-workspace) .search-type-filter button,.app-shell:not(.empty-workspace) .search-stats span{border:1px solid rgba(92,83,67,.1);border-radius:999px;background:#ffffff80;box-shadow:none}.app-shell:not(.empty-workspace) .search-quick-terms button:hover,.app-shell:not(.empty-workspace) .search-quick-terms button:focus-visible,.app-shell:not(.empty-workspace) .search-type-filter button.active,.app-shell:not(.empty-workspace) .search-type-filter button:hover,.app-shell:not(.empty-workspace) .search-type-filter button:focus-visible{border-color:#0f766e2e;color:var(--desk-accent);background:#0f766e14;outline:0;box-shadow:none}.app-shell:not(.empty-workspace) .search-dashboard{gap:8px;padding:12px 0 0;border-top:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace) .search-stats{gap:6px}.app-shell:not(.empty-workspace) .search-stats strong{color:var(--desk-ink)}.app-shell:not(.empty-workspace) .search-type-filter{gap:5px;padding:0;border:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .search-results{gap:0;padding-left:12px;border-left:2px solid rgba(92,83,67,.12)}.app-shell:not(.empty-workspace) .search-result{grid-template-columns:30px minmax(0,1fr) auto;min-height:86px;padding:12px 0 12px 10px;border:0;border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace) .search-result:hover,.app-shell:not(.empty-workspace) .search-result:focus-visible{border-color:#5c534317;background:linear-gradient(90deg,rgba(15,118,110,.08) 0%,rgba(255,253,248,.82) 56%,transparent 100%);box-shadow:inset 2px 0 #0f766ec7}.app-shell:not(.empty-workspace) .search-result-icon{width:28px;height:28px;border-color:#5c53431f;border-radius:999px;color:var(--desk-accent);background:#0f766e14}.app-shell:not(.empty-workspace) .search-result strong{color:var(--desk-ink)}.app-shell:not(.empty-workspace) .search-result p{color:var(--desk-ink-soft)}.app-shell:not(.empty-workspace) .search-result mark{border-radius:5px;color:#654300;background:#ffdf847a;box-shadow:none}.app-shell:not(.empty-workspace) .search-result em{min-width:0;border:1px solid rgba(15,118,110,.14);color:var(--desk-accent);background:#0f766e12}@container (max-width: 780px){.app-shell:not(.empty-workspace) .search-toolbar,.app-shell:not(.empty-workspace) .search-form{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .search-summary{display:flex;align-items:center;justify-content:space-between;min-width:0;text-align:left}.app-shell:not(.empty-workspace) .search-stats,.app-shell:not(.empty-workspace) .search-type-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scroll-snap-type:x proximity;scrollbar-width:none}.app-shell:not(.empty-workspace) .search-result{grid-template-columns:28px minmax(0,1fr)}.app-shell:not(.empty-workspace) .search-result em{grid-column:2;width:fit-content}}@media(max-width:720px){.app-shell:not(.empty-workspace) .search-view{padding:12px}.app-shell:not(.empty-workspace):has(.search-view) .mobile-action-bar{display:none}.app-shell:not(.empty-workspace) .search-toolbar{padding-left:12px}.app-shell:not(.empty-workspace) .search-console,.app-shell:not(.empty-workspace) .search-results{padding-left:0;border-left:0}}.app-shell:not(.empty-workspace) .notes-view{gap:0;width:100%;min-width:0;padding:clamp(14px,2vw,20px) clamp(16px,2.4vw,28px) 28px;container-type:inline-size;background:transparent}.app-shell:not(.empty-workspace) .notes-toolbar{grid-template-columns:minmax(0,1fr) auto;min-height:82px;padding:0 0 16px;border-bottom:1px solid var(--desk-line-soft);background:transparent}.app-shell:not(.empty-workspace) .notes-index-head span,.app-shell:not(.empty-workspace) .note-card span,.app-shell:not(.empty-workspace) .note-card em,.app-shell:not(.empty-workspace) .note-editor-meta label>span,.app-shell:not(.empty-workspace) .note-editor-tags>span,.app-shell:not(.empty-workspace) .note-editor-helper{color:var(--desk-muted);font-size:12px;font-weight:680;letter-spacing:0}.app-shell:not(.empty-workspace) .notes-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.app-shell:not(.empty-workspace) .notes-filter{display:flex;gap:18px;min-width:0;min-height:48px;margin-bottom:18px;overflow-x:auto;border-bottom:1px solid rgba(49,67,62,.12);scrollbar-width:none}.app-shell:not(.empty-workspace) .notes-filter::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .notes-filter button{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:47px;padding:0 1px;border:0;border-radius:0;color:#65726e;background:transparent;box-shadow:none;font-size:12px;font-weight:720;transition:color .13s ease-out}.app-shell:not(.empty-workspace) .notes-filter button:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;content:"";background:transparent}.app-shell:not(.empty-workspace) .notes-filter button:is(:hover,:focus-visible){color:var(--studio-accent, #0d756d);outline:0}.app-shell:not(.empty-workspace) .notes-filter button.active{color:var(--studio-accent-strong, #075e58)}.app-shell:not(.empty-workspace) .notes-filter button.active:after{background:var(--studio-accent, #0d756d)}.app-shell:not(.empty-workspace) .notes-filter button strong{color:var(--studio-warm, #a9662c);font-size:11px;font-variant-numeric:tabular-nums}.app-shell:not(.empty-workspace) .notes-workbench{display:grid;grid-template-columns:minmax(248px,.28fr) minmax(0,.72fr);gap:clamp(24px,3vw,38px);align-items:start;min-width:0}.app-shell:not(.empty-workspace) .notes-index,.app-shell:not(.empty-workspace) .note-editor{border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .notes-index{gap:0;max-height:min(680px,calc(100dvh - 250px));padding:0 clamp(16px,2vw,24px) 0 0;overflow:hidden;border-right:1px solid rgba(49,67,62,.12)}.app-shell:not(.empty-workspace) .notes-index-head{position:static;margin:0;padding:0 0 12px 10px;border-bottom:1px solid rgba(92,83,67,.12);background:transparent}.app-shell:not(.empty-workspace) .notes-index-head strong{color:var(--desk-ink);font-size:15px}.app-shell:not(.empty-workspace) .notes-list{gap:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-shell:not(.empty-workspace) .note-card{gap:5px;min-height:0;padding:13px 12px;border:0;border-bottom:1px solid rgba(92,83,67,.09);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace) .note-card.active,.app-shell:not(.empty-workspace) .note-card:hover,.app-shell:not(.empty-workspace) .note-card:focus-visible{border-color:#5c534317;background:#ffffff9e;outline:0;box-shadow:inset 3px 0 0 var(--studio-accent, #0d756d)}.app-shell:not(.empty-workspace) .note-card strong{color:var(--desk-ink);font-size:14.5px;line-height:1.35;white-space:normal}.app-shell:not(.empty-workspace) .note-card p{min-height:0;margin:0;overflow:hidden;color:var(--desk-ink-soft);font-size:12.5px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.empty-workspace) .note-card em{color:var(--studio-warm, #a9662c);font-size:11px;white-space:normal}.app-shell:not(.empty-workspace) .note-editor{display:grid;gap:12px;min-width:0;min-height:540px;padding:0}.app-shell:not(.empty-workspace) .note-editor.archived{background:transparent}.app-shell:not(.empty-workspace) .note-editor-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;min-height:34px}.app-shell:not(.empty-workspace) .note-editor-meta label{display:inline-flex;align-items:center;gap:7px;min-width:0}.app-shell:not(.empty-workspace) .note-editor-meta select{width:auto;max-width:min(320px,42vw);min-height:32px;padding:4px 28px 4px 8px;border:1px solid rgba(49,67,62,.14);border-radius:5px;color:var(--desk-ink);background-color:#ffffff9e;box-shadow:none;font-size:12px}.app-shell:not(.empty-workspace) .note-editor-meta>em{margin-left:auto;color:var(--studio-warm, #a9662c);font-size:11px;font-style:normal;font-weight:760}.app-shell:not(.empty-workspace) .note-editor-title-input{width:100%;min-height:54px;padding:7px 0 11px;border:0;border-bottom:1px solid rgba(49,67,62,.16);border-radius:0;color:#173032;background:transparent;box-shadow:none;font-family:ui-serif,Songti SC,SimSun,serif;font-size:clamp(23px,2.2vw,29px);font-weight:720;line-height:1.28}.app-shell:not(.empty-workspace) .note-editor-title-input::placeholder{color:#8b9692;font-weight:620}.app-shell:not(.empty-workspace) .note-editor-helper{margin:-4px 0 2px;color:#6a7773;line-height:1.5}.app-shell:not(.empty-workspace) .note-editor-body{width:100%;min-height:340px;padding:22px 24px 28px 46px;resize:vertical;border:1px solid rgba(49,67,62,.14);border-radius:5px;color:#243634;background:linear-gradient(90deg,transparent 0,transparent 32px,rgba(169,102,44,.2) 32px,rgba(169,102,44,.2) 33px,transparent 33px),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(49,67,62,.065) 32px),#fffdfa;box-shadow:inset 0 1px #ffffffd1;font-family:ui-serif,Songti SC,SimSun,serif;font-size:16px;line-height:2}.app-shell:not(.empty-workspace) .note-editor-title-input:focus,.app-shell:not(.empty-workspace) .note-editor-body:focus,.app-shell:not(.empty-workspace) .note-editor select:focus{border-color:#0d756d6b;outline:0;box-shadow:0 0 0 2px #0d756d14}.app-shell:not(.empty-workspace) .note-editor-title-input:focus{box-shadow:none}.app-shell:not(.empty-workspace) .note-editor-tags{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:38px;padding:2px 0;border-bottom:1px solid rgba(49,67,62,.1)}.app-shell:not(.empty-workspace) .note-editor-tags input{width:100%;min-height:34px;padding:4px 0;border:0;border-radius:0;color:#41524f;background:transparent;box-shadow:none;font-size:12.5px}.app-shell:not(.empty-workspace) .note-editor-tags input:focus{outline:0;box-shadow:none}.app-shell:not(.empty-workspace) .note-editor-memory-hint{display:flex;align-items:center;gap:7px;margin:0;padding:8px 0 0;border-top:1px solid rgba(92,83,67,.1);color:#62716d;font-size:11.5px;line-height:1.5}.app-shell:not(.empty-workspace) .note-editor-memory-hint svg{flex:none;color:var(--studio-accent, #0d756d)}.app-shell:not(.empty-workspace) .note-editor-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;padding-top:10px;border-top:1px solid rgba(92,83,67,.12)}@container (max-width: 780px){.app-shell:not(.empty-workspace) .notes-toolbar,.app-shell:not(.empty-workspace) .notes-workbench{grid-template-columns:1fr}.app-shell:not(.empty-workspace) .notes-actions{justify-content:flex-start}.app-shell:not(.empty-workspace) .notes-filter{gap:16px;margin-bottom:14px}.app-shell:not(.empty-workspace) .notes-index{max-height:260px;padding:0 0 14px;border-right:0;border-bottom:1px solid rgba(49,67,62,.12)}.app-shell:not(.empty-workspace) .note-editor-meta{align-items:flex-start}.app-shell:not(.empty-workspace) .note-editor-meta>em{margin-left:0}}@media(max-width:720px){.app-shell:not(.empty-workspace) .notes-view{padding:12px}.app-shell:not(.empty-workspace):has(.notes-view) .mobile-action-bar{display:none}.app-shell:not(.empty-workspace) .notes-toolbar,.app-shell:not(.empty-workspace) .notes-index{padding-left:0}.app-shell:not(.empty-workspace) .notes-workbench{gap:14px}.app-shell:not(.empty-workspace) .note-editor{min-height:0}.app-shell:not(.empty-workspace) .note-editor-meta{gap:8px 12px}.app-shell:not(.empty-workspace) .note-editor-meta label{flex:1 1 140px}.app-shell:not(.empty-workspace) .note-editor-meta select{min-width:0;max-width:100%}.app-shell:not(.empty-workspace) .note-editor-title-input{min-height:48px;font-size:22px}.app-shell:not(.empty-workspace) .note-editor-body{min-height:300px;padding:18px 16px 24px 34px;background:linear-gradient(90deg,transparent 0,transparent 23px,rgba(169,102,44,.18) 23px,rgba(169,102,44,.18) 24px,transparent 24px),repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(49,67,62,.065) 32px),#fffdfa}.app-shell:not(.empty-workspace) .note-editor-actions .secondary-button{flex:1 1 auto}}:root{--desk-page-width: 800px;--desk-page-side-light: rgba(255, 255, 255, .72);--desk-page-side-shade: rgba(31, 44, 52, .075);--desk-paper-rule: rgba(92, 83, 67, .058);--desk-mobile-dock-height: 56px}.app-shell:not(.empty-workspace) .workspace{position:relative;isolation:isolate}.app-shell:not(.empty-workspace) .workspace:before{position:absolute;inset:0;z-index:0;background:radial-gradient(circle at 50% 26px,#ffffffb8,#fff0 360px),linear-gradient(90deg,#1f2c3409,#fff0 18% 82%,#1f2c3408);content:"";pointer-events:none}.app-shell:not(.empty-workspace) .workspace>.workspace-head,.app-shell:not(.empty-workspace) .workspace>.editor-panel{position:relative;z-index:1}.app-shell:not(.empty-workspace) .workspace-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 16px;padding-left:18px;border-left:2px solid rgba(15,118,110,.28)}.app-shell:not(.empty-workspace) .workspace-head>div:first-child{display:grid;min-width:0;gap:4px}.app-shell:not(.empty-workspace) .workspace-head .eyebrow{max-width:100%;overflow:hidden;color:#0a625b;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.empty-workspace) .chapter-title{padding:0;overflow:hidden;border:0;background:transparent;text-overflow:ellipsis}.app-shell:not(.empty-workspace) .status-line{align-self:end;padding-bottom:4px}.app-shell:not(.empty-workspace) .status-chip{min-height:22px;padding-inline:8px;font-size:11px}.app-shell:not(.empty-workspace) .chapter-row{position:relative;grid-template-columns:30px minmax(0,1fr);min-height:48px;column-gap:9px}.app-shell:not(.empty-workspace) .chapter-row:after{position:absolute;right:6px;bottom:-1px;left:39px;height:1px;background:var(--desk-line-soft);content:"";pointer-events:none}.app-shell:not(.empty-workspace) .chapter-row.active{transform:translate(2px)}.app-shell:not(.empty-workspace) .chapter-row.active:after{background:transparent}.app-shell:not(.empty-workspace) .chapter-row strong{line-height:1.25}.app-shell:not(.empty-workspace) .chapter-row em{line-height:1.22}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:clamp(16px,2vw,22px)}.app-shell:not(.empty-workspace) .draft-editor-shell:before{inset:6px max(0px,calc((100% - 880px)/2)) 0;border:1px solid rgba(92,83,67,.105);border-bottom:0;background:linear-gradient(180deg,#ffffff8a,#fff0 46%),linear-gradient(90deg,var(--desk-page-side-shade),rgba(255,255,255,0) 18%,rgba(255,255,255,0) 82%,var(--desk-page-side-light));box-shadow:0 22px 68px #2d3a3417}.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,var(--desk-page-width));padding-top:clamp(50px,4.5vw,68px);border-color:#5c534338;border-radius:7px 7px 0 0;background:linear-gradient(90deg,transparent 0,transparent 50px,rgba(15,118,110,.12) 50px,rgba(15,118,110,.12) 51px,transparent 51px),repeating-linear-gradient(180deg,transparent 0,transparent 37px,var(--desk-paper-rule) 38px),linear-gradient(180deg,#fffefa,#fffdf8);box-shadow:0 2px #ffffffeb inset,0 28px 76px #242f331f}@media(min-width:1321px)and (max-width:1540px){.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter,.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,800px)}}@media(max-width:720px){.app-shell:not(.empty-workspace) .topbar{grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:6px;min-height:48px;padding:6px 8px}.app-shell:not(.empty-workspace) .project-select{width:auto;min-width:0;max-width:none}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:36px;padding:5px 7px}.app-shell:not(.empty-workspace) .project-switcher-trigger strong{font-size:12px}.app-shell:not(.empty-workspace) .project-switcher-trigger em{display:none}.app-shell:not(.empty-workspace) .top-actions{width:auto;max-width:none;min-height:36px;gap:3px;justify-content:end;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace) .top-action-save{display:none!important}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:34px;min-width:34px;height:34px;padding:0;border:1px solid rgba(31,44,52,.1);background:#ffffffad}.app-shell:not(.empty-workspace) .top-action-account .account-button-name,.app-shell:not(.empty-workspace) .top-action-account .account-credit-pill,.app-shell:not(.empty-workspace) .top-action-account svg:last-child{display:none}.app-shell:not(.empty-workspace) .top-action-file .file-menu-trigger{gap:0;font-size:0}.app-shell:not(.empty-workspace) .top-action-file .file-menu-trigger svg:last-child{display:none}.app-shell:not(.empty-workspace) .workspace{padding:7px 8px 0}.app-shell:not(.empty-workspace) .workspace:before{background:linear-gradient(180deg,#ffffff6b,#fff0)}.app-shell:not(.empty-workspace) .workspace-head{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;margin-bottom:5px;padding-left:10px}.app-shell:not(.empty-workspace) .workspace-head .eyebrow{font-size:10px}.app-shell:not(.empty-workspace) .chapter-title{min-height:31px;font-size:clamp(25px,7vw,31px);line-height:1.02}.app-shell:not(.empty-workspace) .status-line{align-self:center;gap:4px;padding-bottom:0}.app-shell:not(.empty-workspace) .status-chip{min-height:20px;padding-inline:6px;font-size:10.5px}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell{gap:5px;margin-bottom:5px}.app-shell:not(.empty-workspace) .workspace-mobile-sections{display:flex;gap:4px;padding:2px;overflow-x:auto;scrollbar-width:none}.app-shell:not(.empty-workspace) .workspace-mobile-sections::-webkit-scrollbar{display:none}.app-shell:not(.empty-workspace) .workspace-mobile-sections button{flex:1 0 72px;min-height:30px;padding-inline:5px;font-size:11.5px}.app-shell:not(.empty-workspace) .workspace-mobile-sections svg{width:14px;height:14px}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs{gap:1px;padding:0 0 5px}.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:30px;padding:5px 9px;font-size:12px}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:6px}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{min-height:calc(100dvh - 190px);padding:24px 20px calc(74px + env(safe-area-inset-bottom,0px));box-shadow:0 20px 56px #242f3326;font-size:17.5px;line-height:1.88}.app-shell:not(.empty-workspace) .mobile-action-bar{right:14px;bottom:max(7px,env(safe-area-inset-bottom,0px));left:14px;gap:6px;min-height:var(--desk-mobile-dock-height);padding:6px;border-color:#1f2c3421;background:#fffffff0;box-shadow:0 16px 42px #242f332b;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.app-shell:not(.empty-workspace) .mobile-action-bar:has(.mobile-action-more){grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px}.mobile-action-bar button,.mobile-action-more>summary{grid-template-columns:18px minmax(0,auto);grid-template-rows:1fr;gap:5px;min-height:42px;padding:0 8px}.mobile-action-more>summary{grid-template-columns:1fr;width:42px;padding:0}.mobile-action-more>summary span,.mobile-action-bar em{display:none}.mobile-action-bar span{font-size:12px;line-height:1}.mobile-action-more-panel{bottom:calc(100% + 7px);border-color:#1f2c341f;box-shadow:0 16px 42px #242f3329}}@media(max-width:380px){.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{min-height:calc(100dvh - 178px);padding-inline:16px;padding-bottom:calc(74px + env(safe-area-inset-bottom,0px));font-size:17px}.mobile-action-bar button,.mobile-action-more>summary{min-height:40px}}@media(max-width:720px){.app-shell:not(.empty-workspace) .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px;align-items:center;gap:6px;min-height:46px;padding:4px 8px;overflow:visible}.app-shell:not(.empty-workspace) .topbar:has(.global-ai-status){grid-template-columns:minmax(0,1fr) 34px auto}.app-shell:not(.empty-workspace) .topbar .brand{display:none!important}.app-shell:not(.empty-workspace) .topbar .project-select{grid-column:1;grid-row:1;width:100%;max-width:none;height:auto;padding:0;background:transparent}.app-shell:not(.empty-workspace) .topbar .global-ai-status{grid-column:2;grid-row:1;display:inline-grid;place-items:center;width:34px;min-width:34px;max-width:34px;height:34px;padding:0}.app-shell:not(.empty-workspace) .topbar .global-ai-status span{display:none}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:36px;height:36px;padding:4px 7px}.app-shell:not(.empty-workspace) .project-switcher-trigger svg:first-child{width:24px;height:24px;padding:5px}.app-shell:not(.empty-workspace) .project-switcher-trigger strong{font-size:12px;line-height:1.12}.app-shell:not(.empty-workspace) .top-actions{grid-column:2;grid-row:1;display:grid;grid-auto-flow:column;grid-auto-columns:34px;gap:4px;width:auto;min-height:36px;margin:0;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace) .topbar:has(.global-ai-status) .top-actions{grid-column:3}.app-shell:not(.empty-workspace) .top-action-save,.app-shell:not(.empty-workspace) .top-action-search{display:none!important}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:34px;min-width:34px;height:34px;min-height:34px}.app-shell:not(.empty-workspace) .workspace{padding-top:5px}.app-shell:not(.empty-workspace) .workspace-head{gap:3px 8px;margin-bottom:3px;padding-left:8px}.app-shell:not(.empty-workspace) .chapter-title{min-height:29px;font-size:clamp(24px,6.8vw,30px)}.app-shell:not(.empty-workspace) .workspace-mobile-sections button,.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:28px}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:4px}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{min-height:calc(100dvh - 168px);padding-top:22px}}@media(max-width:720px){.app-shell:not(.empty-workspace) .topbar{grid-template-rows:38px!important;min-height:42px;padding:3px 8px 2px}.app-shell:not(.empty-workspace) .topbar:has(.global-ai-status){grid-template-columns:minmax(0,1fr) 32px auto}.app-shell:not(.empty-workspace) .topbar .global-ai-status{width:32px;min-width:32px;max-width:32px;height:32px}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:34px;height:34px}.app-shell:not(.empty-workspace) .top-actions{grid-auto-columns:32px;min-height:34px;gap:3px}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:32px;min-width:32px;height:32px;min-height:32px}.app-shell:not(.empty-workspace) .workspace{padding-top:2px}.app-shell:not(.empty-workspace) .workspace-head{gap:2px 7px;margin-bottom:2px;padding-left:6px}.app-shell:not(.empty-workspace) .workspace-head .eyebrow{min-width:0;overflow:hidden;font-size:9.5px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.empty-workspace) .chapter-title{min-height:26px;font-size:clamp(23px,6.1vw,28px);line-height:1}.app-shell:not(.empty-workspace) .status-line{gap:3px;transform:translateY(-1px)}.app-shell:not(.empty-workspace) .status-chip{min-height:18px;padding-inline:5px;font-size:10px}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell{grid-template-columns:minmax(0,1fr);gap:3px;margin-bottom:2px;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace) .workspace-mobile-sections{gap:3px;padding:2px;border:1px solid rgba(15,118,110,.13);border-radius:7px;background:#f7faf9d6}.app-shell:not(.empty-workspace) .workspace-mobile-sections button{min-height:28px;border-radius:6px}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs{gap:4px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:26px;padding:2px 8px;border-radius:7px;background:transparent}.app-shell:not(.empty-workspace) .workspace-tabs button.active{color:var(--desk-accent-strong);background:#ffffffad;box-shadow:inset 0 -2px #0f766e66}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:2px}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{min-height:calc(100dvh - 150px);padding-top:18px;line-height:1.84}}@media(max-width:380px){.app-shell:not(.empty-workspace) .workspace-mobile-sections button{flex-basis:66px;padding-inline:4px}.app-shell:not(.empty-workspace) .workspace-tabs button{padding-inline:7px}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(300px, 21vw, 336px)}.app-shell:not(.empty-workspace) .top-actions{gap:2px;min-height:38px;padding:2px;border-color:transparent;background:transparent}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{min-width:32px;height:32px;min-height:32px;border-color:transparent;color:#40515a}.app-shell:not(.empty-workspace) .top-action-account{border-color:#1f2c341a!important;background:#ffffff94!important}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector{padding:10px 10px 18px 12px;border-left-color:#5c53431f;background:linear-gradient(90deg,#1f2c3409,#fff0 18px),#f8fbf9b8}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector-header{position:sticky;top:0;z-index:4;margin:0 0 10px;padding:0 0 9px;border-bottom:1px solid rgba(92,83,67,.12);background:linear-gradient(180deg,#f8fbf9f5,#f8fbf9d6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector-tabs{gap:0;padding:0;border:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector-tabs button{min-height:34px;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--desk-muted);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector-tabs button.active{border-bottom-color:#0f766e6b;color:var(--desk-accent-strong);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-notes{gap:8px;padding:0 1px 18px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide{margin:0 0 4px;padding:0 0 10px 12px;border-bottom:1px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-copilot-head{gap:3px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-copilot-head span{padding:0;border:0;border-radius:0;background:transparent;color:var(--desk-accent-strong);font-size:10.5px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-copilot-head strong{max-width:none;font-size:18px;line-height:1.12}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-copilot-head small{max-width:25ch;line-height:1.45}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-intent-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px 0 0;border:0;background:transparent}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-intent-tabs button{min-height:30px;padding:0 5px;border:1px solid rgba(92,83,67,.13);border-radius:7px;color:#4b5b63;background:#ffffff6b}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-guide .assistant-intent-tabs button.active{border-color:#0f766e42;color:var(--desk-accent-strong);background:#e8f5f294}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite{gap:8px;padding:10px 0 12px 12px;border:0;border-left:2px solid rgba(15,118,110,.24);border-radius:0;background:linear-gradient(90deg,#fffdf8d1,#fffdf800 72%),transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer{top:44px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer label,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite label{font-size:12.5px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer textarea,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite textarea{min-height:76px;border-color:#5c534324;background:#ffffffa8}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer .assistant-inline-prompt-actions button,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite .assistant-inline-prompt-actions button,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-notes .prompt-quick-actions button{min-height:26px;padding:4px 7px;border-color:#5c53431f;color:#36575a;background:#ffffff7a}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer>.primary-button,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite>.secondary-button{min-height:34px;min-width:102px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-result{padding:10px 0 10px 11px;border-left-color:#b46d1847}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-result blockquote,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-ledger .chat-message p,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-notes .active-stream-card blockquote{border-color:#5c53431a;background:#fffdf894}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-fold,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-work,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-draft,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-ledger,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-notes .assistant-suggestion-section{border-top-color:#5c53431a}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-fold>summary.panel-list-title,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-work>summary.panel-list-title,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-draft>summary.panel-list-title,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-ledger>summary.panel-list-title{min-height:38px}}@media(min-width:721px){.app-shell:not(.empty-workspace) .topbar{gap:8px;min-height:54px;padding:7px 12px;border-bottom-color:#5c534318;background:linear-gradient(180deg,#fbfcfaf5,#f7faf7db)}.app-shell:not(.empty-workspace) .brand{width:40px;min-width:40px;gap:0;justify-content:center}.app-shell:not(.empty-workspace) .brand>div:last-child{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app-shell:not(.empty-workspace) .brand-mark{width:32px;height:32px;border-radius:7px;font-size:11px}.app-shell:not(.empty-workspace) .project-select{width:clamp(300px,31vw,430px);max-width:min(48vw,500px)}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:38px;padding:5px 8px;border-color:#5c53431f;background:linear-gradient(180deg,#ffffffe0,#fffdf8b8)}.app-shell:not(.empty-workspace) .project-switcher-trigger svg:first-child{width:26px;height:26px;padding:5px;border-radius:7px;background:#0f766e14}.app-shell:not(.empty-workspace) .top-actions{min-height:36px;gap:1px;padding:0}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:32px;min-width:32px;height:32px;min-height:32px}.app-shell:not(.empty-workspace) .top-action-account{min-width:64px;padding-inline:7px}.app-shell:not(.empty-workspace) .top-action-account .account-credit-pill{max-width:48px;padding-inline:5px}.app-shell:not(.empty-workspace) .sidebar{gap:14px;padding:16px 11px 20px}.app-shell:not(.empty-workspace) .panel-title{margin-bottom:8px}.app-shell:not(.empty-workspace) .panel-title h2{font-size:14px}.app-shell:not(.empty-workspace) .chapter-list{border-top:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace) .chapter-row{min-height:42px;padding:7px 3px;border:0;border-bottom:1px solid rgba(92,83,67,.1);background:transparent}.app-shell:not(.empty-workspace) .chapter-row:after{display:none}.app-shell:not(.empty-workspace) .chapter-row:hover,.app-shell:not(.empty-workspace) .chapter-row:focus-visible{border-color:#5c53431a;border-radius:0;background:#ffffff75;box-shadow:inset 2px 0 #0f766e2e}.app-shell:not(.empty-workspace) .chapter-row.active{border-color:#5c53431a;border-radius:0;background:linear-gradient(90deg,#0f766e17,#0f766e00 62%);box-shadow:inset 2px 0 #0f766e94;transform:none}.app-shell:not(.empty-workspace) .chapter-row span{width:24px;height:20px;border:0;border-radius:6px;background:#0f766e11;font-size:10.5px}.app-shell:not(.empty-workspace) .chapter-row.active span{color:var(--desk-accent-strong);background:#0f766e21}.app-shell:not(.empty-workspace) .chapter-row strong{font-size:12.5px}.app-shell:not(.empty-workspace) .chapter-row em{font-size:11px}}@media(min-width:721px){.app-shell:not(.empty-workspace) .sidebar{gap:0;padding:14px 12px 22px;border-right-color:#5c53431f;background:linear-gradient(180deg,#f9fbf9e6,#edf4f1db)}.app-shell:not(.empty-workspace) .sidebar .panel{margin:0;padding:0 0 13px;border:0;border-bottom:1px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .sidebar .panel+.panel{padding-top:13px}.app-shell:not(.empty-workspace) .sidebar .panel-title{align-items:end;gap:8px;margin-bottom:8px}.app-shell:not(.empty-workspace) .sidebar .panel-title span{color:var(--desk-accent-strong);font-size:10.5px;line-height:1}.app-shell:not(.empty-workspace) .sidebar .panel-title h2{margin-top:3px;color:#172227;font-size:13.5px;line-height:1.18}.app-shell:not(.empty-workspace) .project-card .panel-title h2{-webkit-line-clamp:2}.app-shell:not(.empty-workspace) .project-card p{margin:0 0 8px;padding:7px 0 7px 9px;border-left:2px solid rgba(15,118,110,.24);color:#50606a;-webkit-line-clamp:2;font-size:12.5px;line-height:1.48}.app-shell:not(.empty-workspace) .project-meta-row{gap:4px}.app-shell:not(.empty-workspace) .project-meta-row span{min-height:22px;padding:2px 6px;border:1px solid rgba(92,83,67,.1);border-radius:6px;color:#466166;background:#ffffff61;font-size:11px}.app-shell:not(.empty-workspace) .project-settings-details{margin-top:7px;border:0;border-top:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .project-settings-details>summary{min-height:30px;padding:6px 0 0;color:#586870}.app-shell:not(.empty-workspace) .project-settings-details[open]>summary{border-bottom:0;color:var(--desk-accent-strong)}.app-shell:not(.empty-workspace) .project-settings-details .project-fields{padding:8px 0 0}.app-shell:not(.empty-workspace) .chapter-panel{background:transparent!important}.app-shell:not(.empty-workspace) .chapter-queue-compact{min-height:34px;margin:0 0 7px;padding:5px 0 6px;border:0;border-top:1px solid rgba(92,83,67,.1);border-bottom:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .chapter-queue-compact strong{color:#26343a}.app-shell:not(.empty-workspace) .chapter-tools-toggle{width:25px;height:25px;border-color:#5c534324;background:#ffffff6b}.app-shell:not(.empty-workspace) .chapter-list{gap:0;border-top:0}.app-shell:not(.empty-workspace) .chapter-row{grid-template-columns:30px minmax(0,1fr);min-height:39px;padding:6px 0;gap:2px 7px;border-bottom:1px solid rgba(92,83,67,.105);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .chapter-row:hover,.app-shell:not(.empty-workspace) .chapter-row:focus-visible{background:linear-gradient(90deg,#ffffff8f,#fff0 70%);box-shadow:inset 2px 0 #0f766e38}.app-shell:not(.empty-workspace) .chapter-row.active{background:linear-gradient(90deg,#0f766e1a,#0f766e00 76%);box-shadow:inset 2px 0 #0f766e9e}.app-shell:not(.empty-workspace) .chapter-row span{width:24px;height:22px;border-radius:5px;background:#ffffff6b;font-size:10.5px}.app-shell:not(.empty-workspace) .chapter-row strong{font-size:12.6px;line-height:1.18}.app-shell:not(.empty-workspace) .chapter-row em{color:#78856f;font-size:10.8px}}@media(min-width:721px){.app-shell:not(.empty-workspace) .top-actions{gap:2px;min-height:34px;padding:0 0 0 7px;border-left:1px solid rgba(92,83,67,.13);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:31px;min-width:31px;height:31px;min-height:31px;border-color:transparent;border-radius:7px;color:#53636b;background:transparent;opacity:.74;transition:color .16s ease,background-color .16s ease,border-color .16s ease,opacity .16s ease,transform .16s ease}.app-shell:not(.empty-workspace) .top-action-save{border-color:#0f766e29!important;color:var(--desk-accent-strong)!important;background:#e8f5f2ad!important;opacity:1!important}.app-shell:not(.empty-workspace) .top-action-save:disabled{border-color:transparent!important;color:#9aa7ad!important;background:transparent!important;opacity:.42!important}.app-shell:not(.empty-workspace) .top-action-search,.app-shell:not(.empty-workspace) .top-action-file .file-menu-trigger{color:#465962;opacity:.76}.app-shell:not(.empty-workspace) .top-action-file{margin-right:4px}.app-shell:not(.empty-workspace) .top-action-account{min-width:52px;padding-inline:6px;border-color:transparent!important;background:transparent!important;opacity:.58}.app-shell:not(.empty-workspace) .top-action-account .account-credit-pill{max-width:42px;border-color:#5c53431f;background:#ffffff70}.app-shell:not(.empty-workspace) .top-actions .icon-button:hover,.app-shell:not(.empty-workspace) .top-actions .icon-button:focus-visible,.app-shell:not(.empty-workspace) .top-actions .secondary-button:hover,.app-shell:not(.empty-workspace) .top-actions .secondary-button:focus-visible,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger:hover,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger:focus-visible{border-color:#0f766e29;color:var(--desk-accent-strong);background:#ffffffc7;opacity:1;transform:translateY(-1px);box-shadow:inset 0 0 0 1px #0f766e14}.app-shell:not(.empty-workspace) .top-actions .icon-button:active,.app-shell:not(.empty-workspace) .top-actions .secondary-button:active,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger:active{transform:translateY(0)}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode){--left-rail-width: 48px;--sidebar-width: clamp(176px, 12vw, 198px);--inspector-width: clamp(300px, 21vw, 336px);--desk-page-width: 800px;grid-template-rows:52px minmax(0,1fr);background:linear-gradient(180deg,#f8faf7,#edf3ef 52%,#e5ece7)}.app-shell.inspector-collapsed:not(.empty-workspace):not(.focus-mode),.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(300px, 21vw, 336px)}.app-shell:not(.empty-workspace) .topbar{min-height:52px;padding:6px 10px;border-bottom-color:#5c53431a;background:linear-gradient(180deg,#fbfcfaf5,#f6faf6db)}.app-shell:not(.empty-workspace) .brand{width:38px;min-width:38px}.app-shell:not(.empty-workspace) .brand-mark{width:30px;height:30px}.app-shell:not(.empty-workspace) .project-select{width:clamp(282px,29vw,410px);max-width:min(45vw,460px)}.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:36px;border-color:#5c53431f;background:linear-gradient(180deg,#ffffffe6,#fffdf8ad)}.app-shell:not(.empty-workspace) .top-actions{min-height:32px;gap:1px;padding:0 0 0 6px}.app-shell:not(.empty-workspace) .top-actions .icon-button,.app-shell:not(.empty-workspace) .top-actions .secondary-button,.app-shell:not(.empty-workspace) .top-actions .file-menu-trigger{width:30px;min-width:30px;height:30px;min-height:30px}.app-shell:not(.empty-workspace) .top-actions .top-action-account{width:30px;min-width:30px;padding:0;overflow:hidden;justify-content:center}.app-shell:not(.empty-workspace) .top-actions .top-action-account .account-button-name,.app-shell:not(.empty-workspace) .top-actions .top-action-account .account-credit-pill,.app-shell:not(.empty-workspace) .top-actions .top-action-account svg:last-child{display:none}.app-shell:not(.empty-workspace) .rail{gap:6px;padding:8px 4px;border-right-color:#5c53431a;background:#fbfcfa9e}.app-shell:not(.empty-workspace) .rail-button{width:38px;min-height:38px}.app-shell:not(.empty-workspace) .sidebar{gap:0;padding:14px 10px 20px;border-right-color:#5c53431f;background:linear-gradient(180deg,#f9fbf9d6,#ebf3efc7)}.app-shell:not(.empty-workspace) .workspace{position:relative;grid-column:3;padding:14px clamp(10px,1.6vw,22px) 18px;overflow:hidden;background:linear-gradient(180deg,#ffffff7a,#fff0 38%),linear-gradient(90deg,#1f2c3406,#fff0 22% 78%,#1f2c3405)}.app-shell:not(.empty-workspace) .workspace:before{background:linear-gradient(90deg,#5c53430e,#fff0 14% 86%,#5c53430b);opacity:.72}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter{width:min(100%,var(--desk-page-width))}.app-shell:not(.empty-workspace) .workspace-head{margin:0 auto 7px;padding-left:12px;border-left:2px solid rgba(15,118,110,.28)}.app-shell:not(.empty-workspace) .chapter-title{min-height:34px;font-size:clamp(27px,2.35vw,36px)}.app-shell:not(.empty-workspace) .status-chip{min-height:21px;padding-inline:7px;font-size:10.5px}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell{grid-template-columns:minmax(0,1fr);margin:0 auto 5px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs{justify-content:center;gap:4px;padding:0 0 5px;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:28px;padding:3px 9px;border-radius:7px;color:#5d6a72;background:transparent}.app-shell:not(.empty-workspace) .workspace-tabs button.active{color:var(--desk-accent-strong);background:#ffffffb8;box-shadow:inset 0 0 0 1px #0f766e1a,inset 0 -2px #0f766e5c}.app-shell:not(.empty-workspace) .blank-draft-starter{margin:0 auto 7px;padding:8px 0 8px 12px;border:0;border-left:2px solid rgba(180,109,24,.32);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .blank-draft-starter strong{font-size:13.5px}.app-shell:not(.empty-workspace) .blank-draft-starter .primary-button{min-height:32px}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:7px}.app-shell:not(.empty-workspace) .draft-editor-shell:before{inset:3px max(0px,calc((100% - 874px)/2)) 0;border:1px solid rgba(92,83,67,.095);border-bottom:0;background:linear-gradient(180deg,#ffffff6b,#fff0 54%),linear-gradient(90deg,#0f766e0b,#fff0 18% 82%,#b46d1809);box-shadow:0 20px 56px #242f3312}.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true]:after{top:58px;width:min(620px,calc(100% - 70px));color:#4d586080;font-size:16px;line-height:1.62}.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true] .draft-editor::placeholder{color:transparent;opacity:0}.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,var(--desk-page-width));padding:clamp(48px,4vw,62px) clamp(44px,5.1vw,72px) clamp(64px,6vw,88px);border-color:#5c534333;background:linear-gradient(90deg,transparent 0,transparent 54px,rgba(15,118,110,.12) 54px,rgba(15,118,110,.12) 55px,transparent 55px),repeating-linear-gradient(180deg,transparent 0,transparent 37px,rgba(36,47,51,.058) 38px,transparent 39px),linear-gradient(180deg,#fffefa,#fffdf8);box-shadow:0 2px #ffffffeb inset,0 24px 62px #242f331f}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .inspector{grid-column:4;grid-row:2;padding:10px 10px 18px 12px;border-left-color:#5c53431f;background:linear-gradient(90deg,#1f2c3409,#fff0 17px),#f8fbf9c2;box-shadow:none}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite{padding:9px 0 11px 11px}.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-composer textarea,.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-margin-rewrite textarea{min-height:72px}}@media(min-width:721px)and (max-width:1320px){.app-shell:not(.empty-workspace):not(.focus-mode){--left-rail-width: 46px;--sidebar-width: clamp(168px, 12vw, 186px);--inspector-width: clamp(288px, 22vw, 312px)}.app-shell.inspector-collapsed:not(.empty-workspace):not(.focus-mode),.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode){--inspector-width: clamp(288px, 22vw, 312px)}.app-shell:not(.empty-workspace) .project-select{width:clamp(230px,25vw,320px)}.app-shell:not(.empty-workspace) .workspace{padding-inline:10px}.app-shell:not(.empty-workspace) .workspace-head,.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace) .blank-draft-starter,.app-shell:not(.empty-workspace) .draft-editor{width:min(100%,760px)}.app-shell:not(.empty-workspace) .draft-editor{padding-inline:clamp(36px,4.6vw,58px)}}@media(max-width:720px){.app-shell:not(.empty-workspace) .workspace{padding:2px 8px 0}.app-shell:not(.empty-workspace) .workspace-head{margin-bottom:1px}.app-shell:not(.empty-workspace) .chapter-title{min-height:25px;font-size:clamp(22px,5.8vw,27px)}.app-shell:not(.empty-workspace) .draft-editor-panel .workspace-tabs{justify-content:flex-start;gap:4px;padding:0;overflow-x:auto}.app-shell:not(.empty-workspace) .workspace-tabs button{min-height:26px;padding:2px 8px}.app-shell:not(.empty-workspace) .blank-draft-starter{margin-bottom:3px;padding:7px 9px}.app-shell:not(.empty-workspace) .draft-editor-shell{padding-top:1px}.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true]:after{top:22px;left:20px;width:calc(100% - 40px);color:#4d58607a;font-size:15px;transform:none}.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{min-height:calc(100dvh - 142px);padding:18px 18px calc(78px + env(safe-area-inset-bottom,0px));background:linear-gradient(90deg,transparent 0,transparent 34px,rgba(15,118,110,.1) 34px,rgba(15,118,110,.1) 35px,transparent 35px),repeating-linear-gradient(180deg,transparent 0,transparent 32px,rgba(36,47,51,.052) 33px,transparent 34px),#fffefa}}.app-shell:not(.empty-workspace) .assistant-active-work-section{border-color:#5c53431f;background:transparent}.app-shell:not(.empty-workspace) .assistant-active-work-section:not([open]){border-left:2px solid rgba(15,118,110,.24);background:#fffdf866}.app-shell:not(.empty-workspace) .assistant-active-work-section[aria-busy=true]>.panel-list-title span{color:var(--desk-accent-strong)}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-job-panel,.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-panel{padding:8px 0 8px 12px;border:0;border-left:2px solid rgba(15,118,110,.18);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card{position:relative;gap:7px;padding:9px 0 10px 10px;border:0;border-top:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card:first-of-type{border-top-color:transparent}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card:before{position:absolute;top:12px;bottom:12px;left:0;width:2px;background:#0f766e52;content:""}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card.error:before{background:#b46d1880}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card strong,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.running strong,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.queued strong{color:var(--desk-accent-strong)}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card.error strong,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.failed strong,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.cancelled strong{color:#9a5a14}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card p,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card>p{color:var(--desk-muted);line-height:1.55}.app-shell:not(.empty-workspace) .assistant-active-work-section .active-stream-card blockquote,.app-shell:not(.empty-workspace) .stream-preview blockquote{border-left:2px solid rgba(15,118,110,.28);border-radius:0;background:#fffdf894;box-shadow:none}.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.active-writing-job{padding:9px 0 9px 10px;border-top-color:#5c53431a}.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.active-writing-job [data-testid=cancel-ai-job]{min-height:28px;border-color:#5c534324;color:#4b5b63;background:#ffffff7a}.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.active-writing-job [data-testid=cancel-ai-job]:hover,.app-shell:not(.empty-workspace) .assistant-active-work-section .job-card.active-writing-job [data-testid=cancel-ai-job]:focus-visible{border-color:#0f766e3d;color:var(--desk-accent-strong);background:#e8f5f27a}.app-shell:not(.empty-workspace) .warn-text{margin:7px 0 0;padding:7px 9px 7px 10px;border-left:2px solid rgba(180,109,24,.42);border-radius:0;color:#8a4b13!important;background:#fff8eea3;line-height:1.5}.app-shell:not(.empty-workspace) .assistant-panel button:disabled,.app-shell:not(.empty-workspace) .editor-footer button:disabled,.app-shell:not(.empty-workspace) .mobile-action-bar button:disabled{opacity:1;border-color:#5c53431f;color:#8b8174;background:#f7f4ec75;box-shadow:none;cursor:not-allowed}.app-shell:not(.empty-workspace) .assistant-panel button:disabled svg,.app-shell:not(.empty-workspace) .editor-footer button:disabled svg,.app-shell:not(.empty-workspace) .mobile-action-bar button:disabled svg{color:currentColor}@media(prefers-reduced-motion:reduce){.spin{animation:none!important}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-notes{--assistant-tray-line: rgba(92, 83, 67, .095);--assistant-tray-line-strong: rgba(15, 118, 110, .2);--assistant-tray-ink: #13292b;--assistant-tray-muted: rgba(69, 82, 78, .62);--assistant-tray-paper: rgba(255, 253, 248, .72)}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-copilot-head{padding:0 0 12px;border-bottom:0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-copilot-head span{color:#0f766eb8;font-size:11.5px;font-weight:850}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-copilot-head strong{font-size:20px;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-anchor-strip{min-height:26px;margin:0 0 9px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-board{gap:7px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-board .assistant-margin-note{grid-template-columns:minmax(0,1fr);grid-template-areas:"kicker" "title";min-height:48px;padding:9px 11px;border-color:var(--assistant-tray-line);border-radius:13px;background:#fff9;box-shadow:inset 0 1px #ffffff9e}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-board .assistant-margin-note.active{border-color:#0f766e57;background:linear-gradient(90deg,#e8f5f2e0,#ffffff9e);box-shadow:inset 3px 0 #0f766ead,inset 0 1px #ffffffad}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-note-icon{display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-note-kicker{color:#45524e7a;font-size:11px;font-weight:760}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-note strong{color:var(--assistant-tray-ink);font-size:13.2px;font-weight:900}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub[open]>summary.panel-list-title:after{content:"";display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub>summary.panel-list-title{min-height:30px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub>summary.panel-list-title h3,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .ai-history-section>summary.panel-list-title h3,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-latest-head span{font-size:14px;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub>.assistant-secondary-body{gap:0;padding:8px 0 0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel{gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid rgba(15,118,110,.12);border-radius:14px;background:linear-gradient(135deg,#f4faf7f0,#fffdf8c2);box-shadow:inset 0 1px #ffffffb8}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary span{display:block;margin-bottom:2px;color:#0f766ec7;font-size:11.5px;font-weight:850}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary strong{display:block;max-width:22ch;color:var(--assistant-tray-ink);font-size:13.2px;line-height:1.32}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary .draft-generate-button{min-height:38px;padding:0 14px;border-radius:12px;box-shadow:0 8px 20px #0f766e2e,inset 0 1px #ffffff2e;white-space:nowrap}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-body{display:block;padding-top:9px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced{display:grid;gap:8px;width:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:34px;padding:0 2px;border:0;border-bottom:1px solid rgba(92,83,67,.085);border-radius:0;color:var(--assistant-tray-muted);background:transparent;box-shadow:none;list-style:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary::-webkit-details-marker{display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary:after{content:"";width:7px;height:7px;border-right:1.5px solid rgba(15,118,110,.74);border-bottom:1.5px solid rgba(15,118,110,.74);transform:rotate(45deg) translateY(-2px)}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced[open]>summary:after{transform:rotate(225deg) translateY(-2px)}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary span{color:var(--assistant-tray-ink);font-size:12.5px;font-weight:850}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary strong{justify-self:end;min-width:0;color:#45524e9e;font-size:11.5px;font-weight:760;text-align:right}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-summary span{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px;padding:0 9px;border:1px solid rgba(92,83,67,.08);border-radius:10px;background:#ffffff85}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-target,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-notes label{display:grid;gap:5px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-notes{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel label span{color:#45524e9e;font-size:11px;font-weight:820}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel input,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel select,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel textarea{min-height:34px;border:1px solid rgba(92,83,67,.12);border-radius:11px;color:var(--assistant-tray-ink);background:var(--assistant-tray-paper);box-shadow:inset 0 1px #ffffffad}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel textarea{min-height:56px;max-height:92px;resize:vertical;line-height:1.45}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-ledger .job-card,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-latest-draft .job-card,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-latest-answer{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .job-card-head,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .draft-candidate-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:30px;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .job-card>p{margin:0 0 8px;color:var(--assistant-tray-muted);font-size:12px;line-height:1.42}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .draft-candidate-preview{padding:10px;border:1px solid rgba(15,118,110,.14);border-radius:13px;background:linear-gradient(180deg,#f2faf7b8,#fffdf8bd);box-shadow:inset 0 1px #ffffffa8}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .draft-candidate-head span,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .job-card-head span{color:#0b5f59;font-size:12px;font-weight:900}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .draft-candidate-head strong,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .job-card-head strong{color:#45524e9e;font-size:11.5px;font-weight:760}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-result blockquote,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-chat-result blockquote,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .stream-preview blockquote,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .draft-candidate-preview blockquote{max-height:min(30vh,260px);overflow:auto;padding:11px 12px;border:0;border-left:2px solid rgba(180,109,24,.34);border-radius:0 10px 10px 0;color:#243236;background:#fffdf8c2;box-shadow:none}}@media(max-width:720px){.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .draft-generation-panel{padding:0;border:0;background:transparent;box-shadow:none}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .draft-generation-primary{padding:12px;border:1px solid rgba(15,118,110,.12);border-radius:14px;background:#f4faf7d1}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .draft-generation-advanced>summary{border:0;border-bottom:1px solid rgba(92,83,67,.09);background:transparent}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub>.assistant-secondary-body{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-generation-title{order:0;min-height:0;padding:0;color:var(--assistant-tray-muted)}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-generation-title h3{font-size:12px;font-weight:900}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-generation-title span{font-size:11.5px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel{order:1}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions{order:2;margin-top:2px;padding-top:8px;border:0;border-top:1px solid rgba(92,83,67,.085);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:30px;padding:0 2px;color:#45524ea3;font-size:12px;font-weight:820;list-style:none;cursor:pointer}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions>summary::marker{content:""}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions>summary::-webkit-details-marker{display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions>summary:after{content:"+";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;color:#0f766eb8;background:#e8f5f2ad;font-size:14px;font-weight:760;line-height:1}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-material-actions[open]>summary:after{content:"-"}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-generation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px 0 0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .assistant-generation-actions button{min-width:0;min-height:34px;justify-content:center;border-color:#5c53431a;border-radius:11px;color:#315253;background:#fffdf8b8;box-shadow:none;white-space:normal}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary{min-height:62px;padding:12px 13px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-body{padding-top:8px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced{gap:9px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary{min-height:34px;padding:0 9px;border:1px solid rgba(92,83,67,.095);border-radius:12px;background:#fffdf88f;appearance:none;-webkit-appearance:none}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary::marker{content:""}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced[open]>summary{border-color:#0f766e29;background:linear-gradient(90deg,#e8f5f29e,#fffdf8a3)}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-advanced>summary span{color:#315253}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-target{margin-top:0}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-target,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-notes{gap:7px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-target,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-notes label{padding:8px 9px;border:1px solid rgba(92,83,67,.08);border-radius:12px;background:#ffffff75}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel input,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel select,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel textarea{margin-top:5px;border-color:#5c53431c;background:#fffdf8d1}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel input,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel select{height:36px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-panel textarea{min-height:50px;max-height:84px}.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-latest-draft,.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-margin-ledger{border-top-style:solid}}@media(max-width:720px){.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .draft-generation-panel{order:1}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .assistant-material-actions{order:2;border:0;border-top:1px solid rgba(92,83,67,.09);background:transparent}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .assistant-material-actions>summary{list-style:none}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .assistant-material-actions>summary::marker{content:""}.app-shell.mobile-inspector-open:not(.empty-workspace) .assistant-generation-hub .assistant-material-actions>summary::-webkit-details-marker{display:none}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-view,.app-shell:not(.empty-workspace):not(.focus-mode) .versions-view,.app-shell:not(.empty-workspace):not(.focus-mode) .outline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-view,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-view,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-view,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-view,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-view,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-view,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-view,.app-shell:not(.empty-workspace):not(.focus-mode) .search-view{width:min(100%,1120px);max-width:min(1120px,calc(100vw - var(--left-rail-width) - var(--sidebar-width) - 88px));margin:0 auto 28px;padding:clamp(14px,1.6vw,22px);border:1px solid rgba(31,44,52,.085);border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.46),transparent 18%,transparent 82%,rgba(255,255,255,.28)),linear-gradient(180deg,#fffdf8e0,#fbfcfaf0),repeating-linear-gradient(180deg,transparent 0,transparent 35px,rgba(36,47,51,.052) 36px,transparent 37px);box-shadow:inset 0 1px #ffffffb8,0 18px 44px #1f2c340e;container-type:inline-size}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-view,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-view,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-view,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-view,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-view,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-view,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-view,.app-shell:not(.empty-workspace):not(.focus-mode) .search-view{gap:14px}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .search-toolbar{position:relative;min-height:78px;padding:0 0 13px 14px;border:0;border-bottom:1px solid rgba(92,83,67,.11);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-toolbar:before,.app-shell:not(.empty-workspace):not(.focus-mode) .search-toolbar:before{position:absolute;top:2px;bottom:17px;left:0;width:2px;border-radius:999px;background:#0f766e52;content:""}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .search-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .outline-summary span,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-stat span,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-stat span,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-stat span,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-stat span,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-summary span,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-summary span{color:var(--studio-muted, #64706a);font-size:12px;font-weight:760;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .search-toolbar strong{color:var(--studio-ink, #172227);font-size:24px;line-height:1.12}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .memory-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .notes-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .search-toolbar p{max-width:78ch;color:#36413eb3}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-summary{gap:0;padding:0;border-bottom:1px solid rgba(92,83,67,.1)}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-summary div,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-stat,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-stat,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-stat,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-stat,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-summary div,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-summary div{min-height:58px;padding:7px 12px 12px;border:0;border-left:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-summary div:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-stat:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-stat:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-stat:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-stat:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-summary div:first-child,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-summary div:first-child{border-left:0}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-summary strong,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-stat strong,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-stat strong,.app-shell:not(.empty-workspace):not(.focus-mode) .character-bible-stat strong,.app-shell:not(.empty-workspace):not(.focus-mode) .foreshadow-stat strong,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-summary strong,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-summary strong{color:var(--studio-ink, #172227);font-size:22px;line-height:1.05}.app-shell:not(.empty-workspace):not(.focus-mode) .bulk-chapter-planner,.app-shell:not(.empty-workspace):not(.focus-mode) .review-board,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-alerts,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-note,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-card,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-focus-item,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-task{border:0;border-left:2px solid rgba(92,83,67,.12);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-card,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-item,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-item{border:0;border-bottom:1px solid rgba(92,83,67,.095);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-card.active,.app-shell:not(.empty-workspace):not(.focus-mode) .outline-card:hover,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-item:hover,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-item:hover,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-focus-item:hover,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-task:hover,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-task:focus-within{background:linear-gradient(90deg,rgba(13,118,109,.075),rgba(255,253,248,.72) 62%,transparent);box-shadow:inset 2px 0 #0f766e94;transform:none}.app-shell:not(.empty-workspace):not(.focus-mode) .outline-open strong,.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-open strong,.app-shell:not(.empty-workspace):not(.focus-mode) .timeline-open strong,.app-shell:not(.empty-workspace):not(.focus-mode) .progress-card-head strong,.app-shell:not(.empty-workspace):not(.focus-mode) .revision-task-head strong{color:var(--studio-ink, #172227)}.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-delta{align-self:start;min-width:150px;padding:10px 12px;border:1px solid rgba(15,118,110,.16);border-radius:11px;color:var(--studio-accent-strong, #0d766d);background:#0d766d13;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-delta span{color:#36413ea8}.app-shell:not(.empty-workspace):not(.focus-mode) .pacing-delta strong{color:var(--studio-accent-strong, #0d766d)}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view>.json-actions{position:sticky;top:0;z-index:6;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px;padding:0 0 13px;border:0;border-bottom:1px solid rgba(92,83,67,.11);background:linear-gradient(180deg,#fffdf8f0,#fffdf8c7);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-head{min-height:78px;margin:0 0 12px;padding:0 0 13px 14px;border:0;border-bottom:1px solid rgba(92,83,67,.11);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-head:before{top:2px;bottom:17px;width:2px;background:#0f766e52}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-head span{color:var(--studio-muted, #64706a);font-size:12px;font-weight:760;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-head strong{color:var(--studio-ink, #172227);font-size:24px;line-height:1.12}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-head p{max-width:78ch;color:#36413eb3}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-actions{align-self:start;gap:8px}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-actions em{padding:4px 9px;border:1px solid rgba(15,118,110,.16);border-radius:999px;color:var(--studio-accent-strong, #0d766d);background:#0d766d13;font-size:12px;font-weight:820}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-actions .json-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-studio-actions .json-actions button{min-height:36px;border-radius:10px}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-completion-strip{gap:6px;margin:0 0 12px;padding:0 0 13px;border-bottom:1px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-completion-strip span{min-height:23px;padding:3px 8px;border:1px solid rgba(92,83,67,.1);border-radius:999px;color:#36413eb8;background:#fffdf89e;font-size:12px;font-weight:760}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-completion-strip span.complete{border-color:#0f766e29;color:var(--studio-accent-strong, #0d766d);background:#0d766d13}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view>.json-actions button{min-height:36px;border-radius:10px}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin:0 0 12px;padding:0 0 13px 14px;border:0;border-bottom:1px solid rgba(92,83,67,.11);border-left:2px solid rgba(15,118,110,.3);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion-head{display:contents}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion-head span,.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beats-head span,.app-shell:not(.empty-workspace):not(.focus-mode) .versions-toolbar span,.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview-head span,.app-shell:not(.empty-workspace):not(.focus-mode) .version-card span,.app-shell:not(.empty-workspace):not(.focus-mode) .version-excerpt span,.app-shell:not(.empty-workspace):not(.focus-mode) .version-recover-head span{color:var(--studio-muted, #64706a);font-size:12px;font-weight:760;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion-head strong{color:var(--studio-ink, #172227);font-size:18px;line-height:1.18}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion-head p{max-width:78ch;color:#36413eb3;white-space:normal}.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-completion-head em{align-self:start;min-width:0;padding:4px 9px;border:1px solid rgba(15,118,110,.16);border-radius:999px;color:var(--studio-accent-strong, #0d766d);background:#0d766d13;font-size:12px;font-style:normal;font-weight:820}.app-shell:not(.empty-workspace):not(.focus-mode) .completion-checks{grid-column:1 / -1;gap:6px}.app-shell:not(.empty-workspace):not(.focus-mode) .completion-checks span{min-height:23px;padding:3px 8px;border:1px solid rgba(92,83,67,.1);border-radius:999px;color:#36413eb8;background:#fffdf89e}.app-shell:not(.empty-workspace):not(.focus-mode) .completion-checks span.complete{border-color:#0f766e29;color:var(--studio-accent-strong, #0d766d);background:#0d766d13}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view>.card-form-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid label{grid-column:span 2;min-width:0;min-height:72px;align-content:start;gap:5px;padding:9px 10px;border:1px solid rgba(92,83,67,.095);border-radius:11px;background:#ffffff80;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid label:has(textarea),.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid label:has(textarea),.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid label:has(textarea){grid-column:span 3}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid .wide-field,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid .wide-field{grid-column:1 / -1}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid input,.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid textarea,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid input,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid textarea,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid input,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid textarea{min-height:36px;margin:0;border:1px solid rgba(92,83,67,.11);border-radius:10px;color:var(--studio-ink, #172227);background:#fffdf8c7;box-shadow:inset 0 1px #ffffffb3}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid textarea,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid textarea,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid textarea{min-height:70px;max-height:150px;line-height:1.5}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beats-field,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced{grid-column:1 / -1;padding:14px 0 0;border:0;border-top:1px solid rgba(92,83,67,.11);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beats-head{align-items:center;margin-bottom:3px}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beats-head p,.app-shell:not(.empty-workspace):not(.focus-mode) .advanced-head p{color:#36413ea3}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-list{gap:0}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-card{gap:9px;padding:12px 0;border:0;border-bottom:1px solid rgba(92,83,67,.095);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-card:last-child{border-bottom:0}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-card-head strong{color:var(--studio-ink, #172227)}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-grid{grid-template-columns:minmax(150px,.78fr) minmax(0,1.12fr) minmax(0,1fr);gap:8px}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-grid label{grid-column:auto;min-height:0;padding:0;border:0;background:transparent}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-grid .wide-field{grid-column:auto}.app-shell:not(.empty-workspace):not(.focus-mode) .raw-card-editor .json-editor{border-color:#5c53431f;background:#fffdf8d1}.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-view .raw-card-editor{padding:12px 0 0;border-top:1px solid rgba(92,83,67,.11);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .versions-toolbar{min-height:76px;padding:0 0 13px 14px;border-bottom:1px solid rgba(92,83,67,.12)}.app-shell:not(.empty-workspace):not(.focus-mode) .versions-toolbar:before{top:2px;bottom:17px;width:2px;background:#0f766e52}.app-shell:not(.empty-workspace):not(.focus-mode) .versions-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview-head strong{color:var(--studio-ink, #172227)}.app-shell:not(.empty-workspace):not(.focus-mode) .versions-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview-head p,.app-shell:not(.empty-workspace):not(.focus-mode) .version-card p{color:#36413ead}.app-shell:not(.empty-workspace):not(.focus-mode) .versions-workbench{grid-template-columns:minmax(0,.64fr) minmax(250px,.36fr);gap:18px}.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview-head{padding:0 0 11px 14px;border-bottom:1px solid rgba(92,83,67,.11);border-left:2px solid rgba(15,118,110,.24)}.app-shell:not(.empty-workspace):not(.focus-mode) .version-preview-head em{border:1px solid rgba(15,118,110,.16);border-radius:999px;color:var(--studio-accent-strong, #0d766d);background:#0d766d13;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .version-diff-grid{gap:10px}.app-shell:not(.empty-workspace):not(.focus-mode) .version-excerpt{min-height:154px;padding:10px 0 0 12px;border-left-color:#5c53431f}.app-shell:not(.empty-workspace):not(.focus-mode) .version-excerpt p{color:var(--studio-ink, #172227);line-height:1.72}.app-shell:not(.empty-workspace):not(.focus-mode) .version-recover-panel{padding:12px 0 0;border-top:1px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace):not(.focus-mode) .version-full-text{min-height:250px;border:1px solid rgba(92,83,67,.13);border-radius:12px;color:var(--studio-ink, #172227);background:linear-gradient(90deg,rgba(13,118,109,.06) 0,rgba(13,118,109,.06) 1px,transparent 1px) 18px 0 / 32px 100% no-repeat,repeating-linear-gradient(180deg,#fffdf8d1 0 35px,#242f330b 36px,#fffdf8d1 37px);box-shadow:inset 0 1px #ffffffb3}.app-shell:not(.empty-workspace):not(.focus-mode) .version-timeline{gap:0;padding:0 0 0 12px;border-left:2px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace):not(.focus-mode) .version-card{padding:11px 0 11px 10px;border-bottom-color:#5c534318}.app-shell:not(.empty-workspace):not(.focus-mode) .version-card.active{background:linear-gradient(90deg,rgba(13,118,109,.075),rgba(255,253,248,.72) 62%,transparent)}}@container (max-width: 860px){.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view>.card-form-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid,.app-shell:not(.empty-workspace):not(.focus-mode) .versions-workbench,.app-shell:not(.empty-workspace):not(.focus-mode) .version-diff-grid{grid-template-columns:1fr}.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid label,.app-shell:not(.empty-workspace):not(.focus-mode) .card-form-view .card-form-grid label:has(textarea),.app-shell:not(.empty-workspace):not(.focus-mode) .blueprint-form-grid label:has(textarea),.app-shell:not(.empty-workspace):not(.focus-mode) .chapter-card-advanced .card-form-grid label:has(textarea){grid-column:1 / -1}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-grid{grid-template-columns:1fr}.app-shell:not(.empty-workspace):not(.focus-mode) .scene-beat-grid .wide-field{grid-column:1 / -1}.app-shell:not(.empty-workspace):not(.focus-mode) .version-timeline{max-height:340px;overflow:auto}}@media(max-width:720px){.app-shell:not(.empty-workspace) .card-form-view,.app-shell:not(.empty-workspace) .blueprint-form-view,.app-shell:not(.empty-workspace) .versions-view,.app-shell:not(.empty-workspace) .outline-view,.app-shell:not(.empty-workspace) .pacing-view,.app-shell:not(.empty-workspace) .timeline-view,.app-shell:not(.empty-workspace) .character-bible-view,.app-shell:not(.empty-workspace) .memory-view,.app-shell:not(.empty-workspace) .foreshadow-view,.app-shell:not(.empty-workspace) .notes-view,.app-shell:not(.empty-workspace) .revision-view,.app-shell:not(.empty-workspace) .progress-view,.app-shell:not(.empty-workspace) .search-view{width:100%;margin:0;padding:12px;border:0;border-radius:0;background:linear-gradient(180deg,#fffdf8db,#fbfcfaf0),repeating-linear-gradient(180deg,transparent 0,transparent 32px,rgba(36,47,51,.045) 33px,transparent 34px);box-shadow:none}.app-shell:not(.empty-workspace) .card-form-view>.json-actions{margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid rgba(92,83,67,.11);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell:not(.empty-workspace) .chapter-card-completion{grid-template-columns:1fr;padding-left:10px}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode){--workspace-reference-width: min(1320px, calc(100vw - var(--left-rail-width) - var(--sidebar-width) - 132px))}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace{padding-top:12px}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace:before{background:radial-gradient(circle at 44% 12px,#ffffff94,#fff0 360px),linear-gradient(90deg,#1f2c3407,#fff0 20% 82%,#1f2c3407)}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head{width:min(100%,var(--workspace-reference-width));margin:0 auto 10px;padding:0 2px 0 14px;border-left:2px solid rgba(15,118,110,.28)}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head .chapter-title{min-height:auto;color:#172227;font-size:clamp(26px,2.05vw,34px);line-height:1.04}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head .eyebrow{color:#0a625bd1;font-size:12px}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .status-line{align-self:center;padding-bottom:0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel{width:min(100%,var(--workspace-reference-width));min-height:0;margin:0 auto 28px;overflow:visible;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel>.workspace-tab-shell{grid-template-columns:auto minmax(0,1fr);width:100%;margin:0 0 10px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tabs{justify-self:start;width:auto;max-width:100%;padding:3px;border-color:#5c534321;border-radius:10px;background:#ffffff8f;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tabs button{min-height:30px;padding:0 12px;border-radius:8px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tab-actions{position:static}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .card-form-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .blueprint-form-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .versions-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .outline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .pacing-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .timeline-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .memory-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .notes-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .revision-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .progress-view,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .search-view{width:100%;max-width:none;margin:0;border-radius:10px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .outline-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .pacing-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .timeline-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .memory-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .notes-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .revision-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .progress-toolbar,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .search-toolbar{min-height:58px;padding-bottom:12px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .outline-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .pacing-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .timeline-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .memory-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .notes-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .revision-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .progress-toolbar strong,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .search-toolbar strong{font-size:20px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .outline-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .pacing-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .timeline-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .memory-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .notes-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .revision-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .progress-toolbar p,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .search-toolbar p{max-width:74ch}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-summary,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-summary{margin-bottom:12px;border:1px solid rgba(92,83,67,.1);border-radius:10px;background:#ffffff6b}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-workbench,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-workbench{grid-template-columns:minmax(300px,.38fr) minmax(0,.62fr);gap:16px;align-items:start}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-index,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-index{max-height:min(560px,calc(100dvh - 300px));padding:0 14px 0 0;overflow:auto;border-left:0;border-right:1px solid rgba(92,83,67,.11)}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-card,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-item{padding:11px 0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-dossier,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-detail,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .version-preview{border:1px solid rgba(92,83,67,.12);border-radius:10px;background:linear-gradient(180deg,#fffdf8db,#fbfcfae6),repeating-linear-gradient(180deg,transparent 0,transparent 34px,rgba(36,47,51,.04) 35px,transparent 36px);box-shadow:none}}@media(min-width:721px)and (max-width:1320px){.app-shell:not(.empty-workspace):not(.focus-mode){--workspace-reference-width: min(100%, calc(100vw - var(--left-rail-width) - var(--sidebar-width) - 42px))}}@container (max-width: 860px){.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-workbench,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-workbench{grid-template-columns:1fr}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .character-bible-index,.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .foreshadow-index{max-height:none;padding:0;border-right:0}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel){--manuscript-text-width: 880px;--manuscript-gutter: max(64px, calc((100% - var(--manuscript-text-width)) / 2))}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .workspace-head,.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-panel,.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-panel .workspace-tab-shell,.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-panel .editor-footer,.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .blank-draft-starter{width:min(100%,var(--workspace-reference-width));max-width:var(--workspace-reference-width)}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .workspace-head{margin-right:auto;margin-left:auto}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .editor-panel.draft-editor-panel{margin-right:auto;margin-left:auto}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-shell{width:100%}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-shell:before{inset:0;background:linear-gradient(90deg,rgba(13,118,109,.042),transparent 10%,transparent 90%,rgba(154,90,20,.03)),#fff3}.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-panel .draft-editor{width:100%;max-width:none;padding-right:var(--manuscript-gutter);padding-left:var(--manuscript-gutter);background:linear-gradient(90deg,transparent 0,transparent calc(var(--manuscript-gutter) - 24px),rgba(13,118,109,.12) calc(var(--manuscript-gutter) - 24px),rgba(13,118,109,.12) calc(var(--manuscript-gutter) - 23px),transparent calc(var(--manuscript-gutter) - 23px)),repeating-linear-gradient(180deg,transparent 0,transparent 38px,rgba(31,44,52,.038) 39px,transparent 40px),linear-gradient(180deg,var(--studio-paper) 0%,#ffffff 100%)}}@media(min-width:721px){.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-height:58px;margin:0 auto 8px;padding:2px 0 8px 18px;border-left:0}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head:before{position:absolute;top:3px;bottom:12px;left:0;width:2px;border-radius:999px;background:#0f766e57;content:""}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head>div:first-child{min-width:0}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head .eyebrow{display:block;max-width:68ch;margin:0 0 3px;overflow:hidden;color:#36413e9e;font-size:11px;font-weight:760;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head .chapter-title{min-height:0;color:var(--studio-ink, #172227);font-size:clamp(28px,2.08vw,36px);line-height:1.04;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode):has(.workspace-reference-panel) .workspace-head .status-line{display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel>.workspace-tab-shell{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:38px;margin:0 0 8px;padding:0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-mobile-sections{display:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tabs{justify-self:start;width:auto;max-width:100%;gap:2px;padding:2px;border:1px solid rgba(92,83,67,.12);border-radius:13px;background:#ffffff8a;box-shadow:inset 0 1px #ffffffa8}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tabs button{min-height:32px;padding:0 13px;border-radius:10px;color:#36413ebd;font-size:13px;font-weight:780;letter-spacing:0;white-space:nowrap}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tabs button.active{color:#0b5e58;background:#fffdf8eb;box-shadow:0 1px 4px #1f2c340e,inset 0 0 0 1px #0f766e29}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel .workspace-tab-actions{justify-self:end}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.card-form-view,.blueprint-form-view,.versions-view,.outline-view,.pacing-view,.timeline-view,.character-bible-view,.memory-view,.foreshadow-view,.notes-view,.revision-view,.progress-view,.search-view){border:1px solid rgba(31,44,52,.1);border-radius:14px;background:linear-gradient(90deg,rgba(255,255,255,.38),transparent 18%,transparent 82%,rgba(255,255,255,.22)),linear-gradient(180deg,#fffdf8e6,#fbfcfaf5),repeating-linear-gradient(180deg,transparent 0,transparent 35px,rgba(36,47,51,.045) 36px,transparent 37px);box-shadow:inset 0 1px #ffffffbd,0 16px 42px #1f2c340b}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head){min-height:0;margin:0 0 14px;padding:0 0 12px 14px;border:0;border-bottom:1px solid rgba(92,83,67,.12);background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head):before{top:1px;bottom:14px;left:0;width:2px;border-radius:999px;background:#0f766e4d}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head) strong{color:var(--studio-ink, #172227);font-size:clamp(19px,1.32vw,22px);line-height:1.12;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head) p{max-width:68ch;margin-top:3px;color:#36413ea3;font-size:13px;line-height:1.55}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head) span{color:#36413e8f;font-size:11px;font-weight:760;letter-spacing:0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.versions-summary,.search-summary,.blueprint-completion-strip,.chapter-card-completion){margin:0 0 14px;padding:0;overflow:hidden;border:1px solid rgba(92,83,67,.105);border-radius:12px;background:#fffdf894;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.blueprint-completion-strip,.chapter-card-completion){padding:10px 12px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-summary div,.pacing-stat,.timeline-stat,.character-bible-stat,.foreshadow-stat,.progress-summary div,.revision-summary div,.versions-summary div){min-height:54px;padding:9px 12px 11px;border:0;border-left:1px solid rgba(92,83,67,.1);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-summary div:first-child,.pacing-stat:first-child,.timeline-stat:first-child,.character-bible-stat:first-child,.foreshadow-stat:first-child,.progress-summary div:first-child,.revision-summary div:first-child,.versions-summary div:first-child){border-left:0}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.card-form-view .card-form-grid label,.blueprint-form-grid label,.chapter-card-advanced .card-form-grid label){border-color:#5c53431b;border-radius:12px;background:#ffffff75;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(input,textarea,select,.json-editor){border-color:#5c53431f;border-radius:10px;color:var(--studio-ink, #172227);background:#fffdf8c2;box-shadow:inset 0 1px #ffffffa8}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.outline-card,.pacing-item,.timeline-item,.revision-task,.progress-focus-item,.memory-archive-item,.version-card,.search-result,.character-bible-card,.foreshadow-item,.scene-beat-card){border:0;border-bottom:1px solid rgba(92,83,67,.095);border-radius:0;background:transparent;box-shadow:none;transform:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.bulk-chapter-planner,.review-board,.memory-focus,.memory-archive,.character-dossier,.foreshadow-detail,.version-preview,.raw-card-editor,.chapter-card-advanced,.scene-beats-field){border:0;border-left:2px solid rgba(92,83,67,.13);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.character-dossier,.foreshadow-detail,.version-preview){padding:14px 0 0 14px}.app-shell:not(.empty-workspace):not(.focus-mode) .workspace-reference-panel :is(.character-dossier-head,.foreshadow-detail-head,.version-preview-head,.memory-archive-head){padding-bottom:11px;border-bottom:1px solid rgba(92,83,67,.105)}}@media(max-width:720px){.app-shell:not(.empty-workspace):has(.workspace-reference-panel) .workspace-head{padding-left:12px}.app-shell:not(.empty-workspace):has(.workspace-reference-panel) .workspace-head .eyebrow{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell:not(.empty-workspace) .workspace-reference-panel>.workspace-tab-shell{grid-template-columns:minmax(0,1fr)}.app-shell:not(.empty-workspace) .workspace-reference-panel .workspace-tabs{border-radius:10px}}.app-shell:not(.empty-workspace) .inspector .quality-panel{display:grid;box-sizing:border-box;gap:0;min-width:0;padding:4px 28px 30px;color:var(--desk-ink);container:chapter-clue / inline-size}.app-shell:not(.empty-workspace) .inspector .quality-panel>.writing-brief{display:grid;gap:18px;min-width:0;padding:4px 0 22px;border:0;border-bottom:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;min-width:0;padding:0;border:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head-copy{display:grid;gap:5px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head-copy>h2{margin:0;color:var(--desk-ink);font-size:21px;font-weight:850;line-height:1.25;letter-spacing:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-head-copy>p{max-width:62ch;margin:0;color:var(--desk-muted);font-size:12px;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-context{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;border-top:1px solid rgba(57,69,66,.1);border-bottom:1px solid rgba(57,69,66,.1)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-next-choice{display:grid;align-content:start;gap:8px;min-width:0;padding:17px 0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor{border-bottom:1px solid rgba(57,69,66,.09)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor>span,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-next-choice>span{color:var(--desk-accent-strong);font-size:11px;font-weight:820;line-height:1.35}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor>blockquote{position:relative;min-width:0;margin:0;padding:0 0 0 15px;border:0;color:#2f403d;font-family:"Noto Serif SC",Songti SC,SimSun,serif;font-size:14px;line-height:1.72;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor>blockquote:before{position:absolute;top:.25em;bottom:.25em;left:0;width:2px;background:#0f766e59;content:""}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-next-choice>strong{color:var(--desk-ink);font-size:14px;font-weight:830;line-height:1.45}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-next-choice>p{max-width:52ch;margin:0;color:var(--desk-muted);font-size:12px;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-action-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin-top:3px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action{min-height:36px;padding-inline:12px;border-radius:7px;white-space:nowrap}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action{color:#fff;background:#0f766e;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action:hover,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action:focus-visible{color:#fff;background:#0b625c;transform:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action{border-color:#0f766e42;color:#245f59;background:#ffffff8a;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action:hover,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action:focus-visible{border-color:#0f766e80;color:#124f4a;background:#eef7f4db;transform:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-objective{display:grid;gap:16px;min-width:0;padding:0 0 2px;overflow:visible;border:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-core-task{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:start;gap:12px;min-width:0;padding:13px 15px;border-left:3px solid rgba(15,118,110,.62);background:#0f766e0e}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-core-task>b{color:var(--desk-accent-strong);font-size:11.5px;font-weight:820;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-core-task>p{display:block;min-width:0;margin:0;padding:0;border:0;background:transparent;color:var(--desk-ink);font-size:13px;font-weight:720;line-height:1.58;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0;margin:0;padding:0;list-style:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:0 0 13px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step:last-child{padding-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step:after{position:absolute;top:10px;bottom:0;left:4px;width:1px;background:#0f766e2e;content:""}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step:last-child:after{content:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step>i{position:relative;z-index:1;width:9px;height:9px;margin-top:4px;border:2px solid #5d9992;border-radius:50%;background:#f8faf9}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step>div{display:grid;gap:3px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step b{color:var(--desk-accent-strong);font-size:11.5px;font-weight:820;line-height:1.45}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step p{display:block;min-width:0;margin:0;padding:0;border:0;background:transparent;color:#3d4b48;font-size:12.5px;line-height:1.58;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundaries{display:grid;gap:9px;min-width:0;padding:14px 0 1px;border-top:1px solid rgba(57,69,66,.1)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-section-title{color:#42514e;font-size:11.5px;font-weight:830;line-height:1.35}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundary-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundary-item{display:grid;align-content:start;gap:4px;min-width:0;padding:1px 0 1px 11px;border-left:2px solid rgba(15,118,110,.17)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundary-item>strong{color:#4b605b;font-size:11.5px;font-weight:790;line-height:1.35}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundary-item>p{min-width:0;margin:0;color:#394743;font-size:12.5px;line-height:1.56;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-watchlist{display:grid;gap:7px;min-width:0;padding:12px 0 0;border-top:1px solid rgba(57,69,66,.1)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-watchlist>strong{color:#7a531c;font-size:11.5px;font-weight:830}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-watchlist>p{margin:0;color:#5a625f;font-size:12px;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-watchlist>p b{color:#394743}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list{overflow:visible;border:0;border-bottom:1px solid var(--desk-line-soft);border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:62px;padding:8px 10px;margin-inline:-10px;border:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary:hover{background:#0f766e09}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary:focus-visible{outline:2px solid rgba(15,118,110,.34);outline-offset:-2px}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list[open]>summary{background:linear-gradient(90deg,rgba(15,118,110,.052),rgba(15,118,110,.012) 72%,transparent)}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-summary-copy{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-summary-copy>div{display:grid;gap:2px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-summary-icon{color:#0f766eb8}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-summary-copy h3{margin:0;color:var(--desk-ink);font-size:13.5px;font-weight:830;line-height:1.35}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-summary-copy p{margin:0;color:var(--desk-muted);font-size:11.5px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary:after{width:7px;height:7px;margin:0 3px 3px 0;border-color:#2f423e94}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-body{display:grid;gap:0;min-width:0;margin:0 0 0 8px;padding:0 4px 8px 20px;border:0;border-left:1px solid rgba(15,118,110,.16);background:transparent;box-sizing:border-box}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list[open]>.quality-secondary-body{animation:chapter-clue-reveal .15s ease-out both}@keyframes chapter-clue-reveal{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section{display:grid;gap:10px;min-width:0;padding:15px 0;border:0;border-top:1px solid rgba(57,69,66,.09);border-left:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .local-reference-body .reference-mini-section:first-child{border-top:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head{display:flex;align-items:baseline;justify-content:flex-start;gap:8px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head strong{color:var(--desk-ink);font-size:13px;font-weight:830}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head span{color:var(--desk-muted);font-size:10.5px;font-weight:680;white-space:nowrap}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-head span:before{content:"· "}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-list{display:grid;gap:0;min-width:0;border-top:1px solid rgba(57,69,66,.08)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-item{display:grid;grid-template-columns:minmax(82px,.22fr) minmax(0,1fr);align-items:start;gap:10px;min-width:0;padding:9px 0;border-bottom:1px solid rgba(57,69,66,.07)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-item:last-child{border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-item>span{color:var(--desk-muted);font-size:10.5px;font-weight:760;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-item>p{min-width:0;margin:0;color:#46524f;font-size:12.5px;line-height:1.55;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>:is(.scene-execution,.finalization-panel,.panel-list){min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution{gap:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-list{gap:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:11px 0 13px;border:0;border-top:1px solid rgba(57,69,66,.09);border-left:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item:first-child{padding-top:0;border-top:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head{align-items:baseline}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head>div{display:grid;min-width:0;gap:2px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head span{color:var(--desk-muted);font-size:10.5px;font-weight:680}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head strong{margin:0;color:var(--desk-ink);font-size:12.5px;font-weight:810;line-height:1.45}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head em{flex:0 0 auto;justify-self:end;padding:0;color:#6b685f;background:transparent;font-size:10.5px;font-weight:720}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head em:before{display:inline-block;width:5px;height:5px;margin:0 5px 1px 0;border-radius:50%;background:#0f766e6b;content:""}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cues{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;border-top:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0;padding:0;border-left:0;border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue+.scene-reference-cue{padding-top:6px;border-top:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue>span{color:var(--desk-muted);font-size:10.5px;font-weight:760}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue>p{display:block;min-width:0;margin:0;padding:0;border:0;background:transparent;color:#46524f;font-size:12.5px;line-height:1.55;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue>em{color:#76736b;font-size:10px;font-style:normal;font-weight:720;white-space:nowrap}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue.used>em{color:var(--desk-accent-strong)}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution>.quiet-copy{margin:2px 0 0;color:var(--desk-muted);font-size:11px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-finalization{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px 18px}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-compact-copy{display:grid;gap:7px;min-width:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-compact-copy>p{position:relative;min-width:0;margin:0;padding-left:12px;color:#46524f;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-compact-copy>p:before{position:absolute;top:.68em;left:0;width:5px;height:2px;border-radius:999px;background:#0f766e80;content:""}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-compact-copy b{color:#34433f;font-weight:810}.app-shell:not(.empty-workspace) .inspector .quality-panel .finalization-compact-copy>.quiet-copy{color:var(--desk-muted);font-size:11px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-finalization .finalization-action{justify-self:start;width:auto;min-height:34px;padding-inline:12px;border-radius:7px;white-space:nowrap}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>.panel-list[data-testid=continuity-panel]{gap:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-card{gap:7px;padding:11px 0 13px;border:0;border-top:1px solid rgba(57,69,66,.09);border-left:0;border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-card:first-of-type{padding-top:0;border-top:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-card p{grid-template-columns:62px minmax(0,1fr);gap:8px;color:#46524f;font-size:11.5px}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-card blockquote{margin:0;padding:8px 0 0 11px;border-top:1px solid rgba(57,69,66,.07);border-left:2px solid rgba(15,118,110,.18);color:#59635f;font-size:11.5px;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-next{padding:11px 0 0;border:0;border-top:1px solid rgba(57,69,66,.09);border-radius:0;background:transparent}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>.scene-execution>.scene-execution-head,.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>.finalization-panel>.finalization-head,.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section>.panel-list>h3{display:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .expression-reference-details{opacity:.88}.app-shell:not(.empty-workspace) .inspector .quality-panel .expression-reference-note{margin:0;padding:0 0 12px;color:var(--desk-muted);font-size:11.5px;line-height:1.55}.app-shell:not(.empty-workspace) .inspector .quality-panel .expression-reference-body .finding{display:grid;gap:4px;min-width:0;padding:11px 0;border:0;border-top:1px solid rgba(57,69,66,.09);border-left:0;border-radius:0;background:transparent;box-shadow:none}.app-shell:not(.empty-workspace) .inspector .quality-panel .expression-reference-body .finding strong{color:#685437;font-size:11.5px}.app-shell:not(.empty-workspace) .inspector .quality-panel .expression-reference-body .finding p{margin:0;color:#4d5653;font-size:12px;line-height:1.55}@container chapter-clue (min-width: 680px){.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-context.has-draft{grid-template-columns:minmax(240px,.9fr) minmax(320px,1.1fr)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-anchor{padding-right:22px;border-right:1px solid rgba(57,69,66,.09);border-bottom:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-live-context.has-draft .brief-next-choice{padding-left:22px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route{grid-template-columns:repeat(var(--brief-route-count),minmax(0,1fr));align-items:start}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step{grid-template-columns:minmax(0,1fr);grid-template-rows:17px auto;gap:7px;padding:0 18px 0 0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step:last-child{padding-right:0}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step:after{inset:8px 0 auto 8px;width:auto;height:1px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-step>i{margin-top:3px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-boundary-list{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item{grid-template-columns:minmax(138px,.26fr) minmax(0,1fr);gap:20px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head{display:grid;align-content:start;gap:5px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head em{justify-self:start}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-finalization{grid-template-columns:minmax(0,1fr) auto;align-items:end}}@media(max-width:720px){.app-shell:not(.empty-workspace) .inspector .quality-panel{padding:0 14px 28px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-core-task{grid-template-columns:58px minmax(0,1fr);gap:9px;padding-inline:11px}.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list>summary{grid-template-columns:minmax(0,1fr) auto;gap:8px}}@container chapter-clue (max-width: 460px){.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-body{margin-left:5px;padding-right:0;padding-left:15px}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-reference-item{grid-template-columns:minmax(0,1fr);gap:2px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-execution-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue{grid-template-columns:56px minmax(0,1fr)}.app-shell:not(.empty-workspace) .inspector .quality-panel .compact-scene-execution .scene-reference-cue>em{grid-column:2}.app-shell:not(.empty-workspace) .inspector .quality-panel .reference-mini-section .continuity-card p{grid-template-columns:56px minmax(0,1fr)}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-action-row,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action{width:100%}.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-route-action,.app-shell:not(.empty-workspace) .inspector .quality-panel .brief-review-action{justify-content:center;white-space:normal}}@media(prefers-reduced-motion:reduce){.app-shell:not(.empty-workspace) .inspector .quality-panel .quality-secondary-list[open]>.quality-secondary-body{animation:none}}.author-studio-shell{--studio-accent: #0d756d;--studio-accent-strong: #075e58;--studio-accent-soft: #e7f1ee;--studio-warm: #a9662c;--studio-warm-soft: #f6eee5;--studio-ink: #1d292b;--studio-muted: #596662;--studio-line: #cfd6d2;--studio-canvas: #ecefed;--studio-paper: #fffdfa;--studio-paper-line: #ece8df;--studio-sidebar: #e7ecea;--studio-sidebar-muted: #596662;--studio-sidebar-line: rgba(49, 67, 62, .12);--studio-sidebar-width: 292px;--studio-content-width: 1040px;--studio-radius: 8px;--studio-motion-fast: .13s cubic-bezier(.2, .8, .2, 1);--studio-motion-panel: .18s cubic-bezier(.16, 1, .3, 1);--studio-text-cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%3E%3Cpath%20d='M9%203h10M14%203v22M9%2025h10'%20fill='none'%20stroke='%23005c55'%20stroke-width='5'%20stroke-linecap='round'/%3E%3Cpath%20d='M9%203h10M14%203v22M9%2025h10'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E") 14 14, text;color:var(--studio-ink);background:var(--studio-canvas)}.author-studio-shell,.author-studio-shell button,.author-studio-shell input,.author-studio-shell textarea,.author-studio-shell select{letter-spacing:0}.author-studio-shell :is(textarea,input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=password],input[type=number]){cursor:text;caret-color:#005c55}@media(hover:hover)and (pointer:fine){.author-studio-shell :is(textarea,input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=password],input[type=number]){cursor:var(--studio-text-cursor)}}.author-studio-shell button,.author-studio-shell input,.author-studio-shell textarea,.author-studio-shell select,.author-studio-shell details,.author-studio-shell summary{border-radius:var(--studio-radius)}.workspace-mobile-navigation{display:none}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):not(.inspector-collapsed),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode).inspector-collapsed{display:grid;grid-template-columns:var(--studio-sidebar-width) minmax(0,1fr);grid-template-rows:56px minmax(0,1fr);width:100%;height:100dvh;min-height:100dvh;overflow:hidden;background:var(--studio-canvas);transition:none}.author-studio-shell.app-shell:not(.empty-workspace).sidebar-collapsed:not(.focus-mode){grid-template-columns:0 minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .topbar{position:relative;z-index:80;grid-column:1 / -1;grid-row:1;display:flex;align-items:center;gap:10px;min-width:0;height:56px;padding:0 12px;overflow:visible;border:0;border-bottom:1px solid #d7dfdc;background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .brand{display:flex;flex:0 0 auto;align-items:center;gap:9px;width:auto;min-width:0;margin:0 8px 0 0;padding:0;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .brand-mark{position:relative;display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;overflow:hidden;border:1px solid #17322f;border-radius:6px;color:#f4f8f6;background:#17322f;font-size:11px;font-weight:850;box-shadow:inset 0 0 0 1px #ffffff0f}.author-studio-shell.app-shell:not(.empty-workspace) .brand-mark:after{position:absolute;right:5px;bottom:5px;width:8px;height:2px;border-radius:1px;content:"";background:#d28a4c}.author-studio-shell.app-shell:not(.empty-workspace) .brand>div:last-child{position:static;display:grid;gap:0;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}.author-studio-shell.app-shell:not(.empty-workspace) .brand-mark svg{display:block;width:19px;height:19px}.author-studio-shell.app-shell:not(.empty-workspace) .brand strong{display:block;color:#172729;font-size:14px;font-weight:780;line-height:1.15}.author-studio-shell.app-shell:not(.empty-workspace) .brand span{display:block;color:#697671;font-size:10px;line-height:1.15}.author-studio-shell.app-shell:not(.empty-workspace) .project-select{width:min(360px,36vw);min-width:220px;margin:0}.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger{display:grid;grid-template-columns:24px minmax(0,1fr) 16px;width:100%;min-height:40px;padding:3px 11px;overflow:hidden;border:1px solid transparent;border-left-color:#d2dbd8;border-radius:4px;color:#253235;background:transparent;box-shadow:none;transition:border-color var(--studio-motion-fast),background-color var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger:hover,.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger:focus-visible,.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher.open .project-switcher-trigger{border-color:#d2dcd8;color:#172b28;background:#f1f5f3}.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger strong,.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger em{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions{position:static;display:flex;flex:0 0 auto;align-items:center;gap:5px;min-width:0;margin-left:auto;padding:0;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.file-menu-trigger,.account-button){min-width:36px;height:36px;min-height:36px;padding:0 9px;overflow:visible;border:1px solid transparent;border-radius:7px;color:#55625f;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.file-menu-trigger,.account-button):hover,.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.file-menu-trigger,.account-button):focus-visible{border-color:#d5dfdc;color:var(--studio-accent-strong);background:#eef4f2}.author-studio-shell.app-shell:not(.empty-workspace) .top-action-save{border-color:#c9dcd7;color:var(--studio-accent-strong);background:#e8f2ef}.author-studio-shell.app-shell:not(.empty-workspace) .top-action-account{max-width:180px}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar{position:relative;z-index:20;grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:0;width:100%;min-width:0;height:100%;padding:12px 12px 18px;overflow-x:hidden;overflow-y:auto;border:0;border-right:1px solid #ccd5d1;color:#2c3a37;background:var(--studio-sidebar);box-shadow:none;scrollbar-color:rgba(55,78,72,.22) transparent;scrollbar-width:thin}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar[hidden]{display:none!important}.author-studio-shell.app-shell.sidebar-collapsed:not(.empty-workspace) .sidebar{display:none}.workspace-navigation{display:grid;gap:6px;padding:0 0 12px;border-bottom:1px solid var(--studio-sidebar-line);border-radius:0}.workspace-navigation-groups{display:grid;gap:3px}.workspace-navigation-group{display:grid;gap:2px;border-radius:6px}.workspace-navigation-section{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:38px;padding:0 9px;border:1px solid transparent;border-radius:6px;color:#52615d;background:transparent;font-size:13px;font-weight:760;text-align:left}.workspace-navigation-section svg{width:18px;height:18px;overflow:visible;stroke-width:1.8}.workspace-navigation-group.active .workspace-navigation-section,.workspace-navigation-section:hover,.workspace-navigation-section:focus-visible{color:#1f302d;background:#ffffff85}.workspace-navigation-group.active .workspace-navigation-section{background:#ffffff61;box-shadow:inset 3px 0 0 var(--studio-accent)}.workspace-navigation-pages{display:grid;gap:1px;margin:0 0 3px 31px;padding:2px 0 3px 10px;border-left:1px solid rgba(49,67,62,.14);border-radius:0}.workspace-navigation-pages button{min-height:30px;padding:0 9px;border:0;border-radius:5px;color:#687570;background:transparent;font-size:12px;font-weight:650;text-align:left}.workspace-navigation-pages button:hover,.workspace-navigation-pages button:focus-visible{color:#223531;background:#ffffff8f}.workspace-navigation-pages button.active{color:var(--studio-accent-strong);background:#0d756d11;box-shadow:inset 2px 0 #0d756d80}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .panel{flex:0 0 auto;width:100%;min-width:0;margin:0;padding:13px 0;overflow:visible;border:0;border-bottom:1px solid var(--studio-sidebar-line);border-radius:0;color:inherit;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .project-card{padding:8px 0}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details{margin:0;border:0;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:0 9px;border:0;color:var(--studio-sidebar-muted);background:transparent;font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details>summary>span{display:inline-flex;align-items:center;gap:8px}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details[open]>summary{color:#263733;background:#ffffff9e}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details[open]>summary>svg{transform:rotate(90deg)}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details .project-fields{gap:10px;padding:12px 7px 5px}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details .project-fields label{color:#5d6a66;font-size:11px}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-details :is(input,textarea){border-color:#c7d1cd;color:#243330;background:#ffffffb8}.author-studio-shell.app-shell:not(.empty-workspace) .project-settings-actions{display:flex;justify-content:flex-end}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .panel-title{display:flex;align-items:center;min-height:32px;margin:0 0 8px;padding:0 9px}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .panel-title h2{margin:0;color:#243330;font-size:12px;font-weight:780;line-height:1.3}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .panel-title>div>span{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar .icon-small{display:grid;width:30px;height:30px;place-items:center;border:1px solid #c5d0cc;color:#50615c;background:#ffffff94;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-card{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-current{display:grid;gap:3px;width:100%;padding:10px 9px 10px 7px;border:0;border-left:2px solid rgba(13,117,109,.58);border-radius:0 6px 6px 0;color:#22332f;background:#fffdfa85;text-align:left;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-current span{color:var(--studio-accent);font-size:10px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-current strong{overflow:hidden;color:#1f302d;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-current em,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-card>p{color:#6e7b77;font-size:10px;font-style:normal}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-starter-card>p{margin:7px 2px 0;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-queue-compact,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-tools{margin:0 0 7px;padding:7px;border:1px solid var(--studio-sidebar-line);color:#52615d;background:#ffffff75;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-list{display:grid;gap:2px;max-height:min(42dvh,460px);padding:0;overflow-y:auto}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row{grid-template-columns:25px minmax(0,1fr);gap:2px 7px;min-height:46px;padding:7px 9px;border:0;border-radius:6px;color:#43534f;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row:hover,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row:focus-visible{color:#1f302d;background:#ffffffa3}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row.active{color:#1f302d;background:#0d756d17;box-shadow:inset 2px 0 0 var(--studio-accent)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row span,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-row em{color:#71807b}.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit{position:fixed;z-index:75;top:calc(50% + 28px);bottom:auto;left:calc(var(--studio-sidebar-width) - 12px);display:grid;width:24px;min-width:24px;height:40px;min-height:40px;place-items:center;padding:0;overflow:visible;border:0;border-radius:6px;color:#61706b;background:#e6ece9b8;box-shadow:none;opacity:.52;transform:translateY(-50%);transition:color .12s ease,background-color .12s ease,opacity .12s ease}.author-studio-shell.app-shell.sidebar-collapsed:not(.empty-workspace) .side-edge-hit{left:0;border-radius:0 6px 6px 0}.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit.is-collapsed{left:0;border-radius:0 6px 6px 0}.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit:before,.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit:after{display:none;content:none}.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit:hover,.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit:focus-visible{color:var(--studio-accent-strong);background:#dce7e3f5;opacity:1;transform:translateY(-50%)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace{position:relative;grid-column:2;grid-row:2;display:block;width:100%;min-width:0;height:100%;padding:22px 28px 72px;overflow-x:hidden;overflow-y:auto;container-type:inline-size;color:var(--studio-ink);background:var(--studio-canvas);scrollbar-color:#aebbb7 transparent;scrollbar-width:thin}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel{width:min(100%,var(--studio-content-width));max-width:var(--studio-content-width);margin-right:auto;margin-left:auto}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head{position:relative;top:auto;z-index:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;min-height:52px;margin-bottom:10px;padding:0 58px 8px 4px;border:0;border-bottom:1px solid rgba(74,91,86,.18);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head:after{position:absolute;bottom:-1px;left:4px;width:38px;height:2px;border-radius:1px;content:"";background:var(--studio-accent)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-title{width:100%;min-height:36px;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;color:var(--studio-ink);background:transparent;box-shadow:none;font-family:ui-sans-serif,system-ui,Microsoft YaHei,sans-serif;font-size:30px;font-weight:800;line-height:1.2;text-overflow:ellipsis}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-title:focus{border:0;box-shadow:inset 0 -1px #0d756d6b}.author-studio-shell.app-shell:not(.empty-workspace) .status-line{display:flex;align-items:center;gap:6px;padding-bottom:4px}.author-studio-shell.app-shell:not(.empty-workspace) .status-chip{min-height:24px;padding:3px 7px;border:1px solid #cbd8d4;border-radius:5px;color:#61706c;background:#ffffff80;font-size:10px;font-weight:700;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.workspace-reference-panel{min-height:0;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-workbench{display:grid;gap:10px;width:100%}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell{position:relative;width:100%;min-height:max(760px,calc(100dvh - 142px));overflow:hidden;border:1px solid #d6dcd8;border-radius:7px;background:var(--studio-paper);box-shadow:0 18px 44px #23353117}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:before,.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:after{display:none;content:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{display:block;width:100%;min-height:max(760px,calc(100dvh - 142px));margin:0;padding:56px 72px 110px;resize:none;overflow:hidden;border:0;border-radius:0;color:#252d2d;caret-color:var(--studio-accent);background:linear-gradient(90deg,transparent 40px,rgba(13,117,109,.12) 40px,rgba(13,117,109,.12) 41px,transparent 41px),repeating-linear-gradient(180deg,transparent 0,transparent 39px,var(--studio-paper-line) 40px),var(--studio-paper);box-shadow:none;font-family:ui-serif,Songti SC,SimSun,serif;font-size:20px;font-weight:400;line-height:2}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor:focus{border:0;outline:0;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor::placeholder{color:#a9b0ad}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true] .draft-editor{min-height:max(620px,calc(100dvh - 260px));padding-top:28px}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;width:auto;max-width:none;margin:56px 72px 0;padding:0 0 20px;border:0;border-bottom:1px solid #e1e5e2;border-left:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter-copy{display:grid;gap:4px}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter-copy strong{color:#24302f;font-family:ui-serif,Songti SC,SimSun,serif;font-size:20px;font-weight:700}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter-copy p{margin:0;color:#7a8581;font-size:12px;line-height:1.5}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter .secondary-button{flex:0 0 auto;min-height:36px;border-color:#bbd4ce;color:var(--studio-accent-strong);background:#edf5f2;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .editor-footer{position:relative;bottom:auto;z-index:12;width:100%;min-height:42px;margin:8px 0 6px;padding:5px 7px;border:1px solid rgba(185,199,194,.86);border-radius:7px;background:#f9fcfa;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .editor-footer.is-idle{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel>:is(.card-form-view,.blueprint-form-view,.versions-view,.outline-view,.pacing-view,.timeline-view,.character-bible-view,.memory-view,.foreshadow-view,.notes-view,.revision-view,.progress-view,.search-view){width:100%;min-height:0;margin:0;padding:0 0 64px;overflow:visible;border:0;border-radius:0;color:var(--studio-ink);background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head){position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:78px;margin:0 0 20px;padding:2px 0 16px;border:0;border-bottom:1px solid rgba(74,91,86,.18);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head):before{display:none;content:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head):after{position:absolute;bottom:-1px;left:0;width:38px;height:2px;border-radius:1px;content:"";background:var(--studio-accent)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head)>div:first-child>span:first-child{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head) strong{color:var(--studio-ink);font-size:25px;font-weight:820;line-height:1.18}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head) p{max-width:66ch;margin:5px 0 0;color:var(--studio-muted);font-size:12px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion){display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:0 0 24px;padding:9px 0;overflow:visible;border:0;border-top:1px solid rgba(74,91,86,.14);border-bottom:1px solid rgba(74,91,86,.14);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion)>*{flex:0 0 auto;min-width:0;padding:2px 16px;border:0;border-left:1px solid rgba(74,91,86,.13);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion)>:first-child{padding-left:0;border-left:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary)>*>span{color:#75817d;font-size:10px;font-weight:620}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary)>*>strong{color:#2b3936;font-size:14px;font-weight:760;line-height:1.3}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary){display:grid;align-content:center;justify-items:end;min-width:0;width:auto;min-height:42px;height:auto;padding:2px 0 2px 16px;border:0;border-left:2px solid rgba(13,117,109,.28);border-radius:0;color:#5f6d69;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary) strong{color:#263532;font-size:18px;font-weight:780;line-height:1.2}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary) span{margin:0;color:#77827e;font-size:10px;font-weight:620}.author-studio-shell.app-shell:not(.empty-workspace) .progress-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0 0 22px;border-top:1px solid rgba(74,91,86,.14);border-bottom:1px solid rgba(74,91,86,.14)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-card{padding:16px 18px;border:0;border-left:1px solid rgba(74,91,86,.13);border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-card:first-child{padding-left:0;border-left:0}.author-studio-shell.app-shell:not(.empty-workspace) .progress-forecast span{padding:7px 0;border-bottom:1px solid rgba(74,91,86,.1);border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .progress-focus-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-top:1px solid rgba(74,91,86,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item{min-height:0;padding:18px 18px 20px;border:0;border-right:1px solid rgba(74,91,86,.12);border-bottom:1px solid rgba(74,91,86,.12);border-radius:0;background:transparent;box-shadow:none;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item:nth-child(2n){border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item:hover,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item:focus-visible{outline:0;background:#ffffff70;box-shadow:inset 2px 0 #0d756d70;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .character-dossier .character-chapter-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;scroll-snap-type:none}.author-studio-shell.app-shell:not(.empty-workspace) .character-dossier .character-chapter-strip button{width:100%;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-card,.pacing-item,.timeline-item,.revision-task,.progress-focus-item,.memory-archive-item,.version-card,.search-result,.character-bible-card,.foreshadow-item,.scene-beat-card){border:0;border-bottom:1px solid rgba(83,100,95,.16);border-radius:0;background:transparent;box-shadow:none;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-card,.pacing-item,.timeline-item,.revision-task,.progress-focus-item,.memory-archive-item,.version-card,.search-result,.character-bible-card,.foreshadow-item):hover{background:#ffffff6b}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.bulk-chapter-planner,.review-board,.memory-current,.memory-archive,.character-dossier,.foreshadow-detail,.version-preview,.raw-card-editor,.chapter-card-advanced,.scene-beats-field,.progress-card){border-color:#53645f2e;border-radius:7px;background:#fafcfb85;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .review-board{display:block;padding:0;overflow:hidden}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:14px;min-height:58px;padding:10px 14px;cursor:pointer;list-style:none}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head::-webkit-details-marker{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head strong{margin-top:2px;font-size:15px}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head p{color:#75817d;font-size:11px;text-align:right}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head>svg{color:#71807b;transition:transform .14s ease}.author-studio-shell.app-shell:not(.empty-workspace) .review-board[open]>summary.review-board-head{border-bottom:1px solid rgba(83,100,95,.13)}.author-studio-shell.app-shell:not(.empty-workspace) .review-board[open]>summary.review-board-head>svg{transform:rotate(180deg)}.author-studio-shell.app-shell:not(.empty-workspace) .review-board-items{padding:12px}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current{display:grid;gap:0;padding:0;overflow:hidden}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:10px 14px;border-bottom:1px solid rgba(83,100,95,.13)}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head>div{display:grid;gap:2px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head span,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item>span{color:#74807c;font-size:10px;font-weight:680}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head strong{color:#273633;font-size:16px}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item{display:grid;align-content:start;gap:4px;min-width:0;padding:14px;border-right:1px solid rgba(83,100,95,.12);border-bottom:1px solid rgba(83,100,95,.12);background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item:nth-child(2n){border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item strong{overflow-wrap:anywhere;color:#293834;font-size:13px;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item p,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-empty,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-more{margin:0;color:#65726e;font-size:12px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-empty,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-more{padding:14px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(input,textarea,select,.json-editor){border:1px solid #c9d4d0;border-radius:6px;color:var(--studio-ink);background:#ffffffb3;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.primary-button,.secondary-button){border-radius:6px;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .primary-button{border-color:var(--studio-accent);background:var(--studio-accent)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .secondary-button{border-color:#c7d2ce;color:#344441;background:#ffffff94}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:92px;padding:16px;border:1px dashed #bac8c3;border-radius:7px;color:#697672;background:#f9fbfa6b;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle{position:fixed;z-index:130;top:70px;right:18px;display:grid;width:44px;min-width:44px;height:44px;min-height:44px;place-items:center;padding:0;overflow:visible;border:1px solid #b8d1cb;border-radius:8px;color:#fff;background:var(--studio-accent);box-shadow:0 10px 26px #1b413b33;opacity:1;pointer-events:auto;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle:hover,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle:focus-visible{background:var(--studio-accent-strong);transform:none}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-float-toggle{top:70px;right:18px;width:44px;min-width:44px;height:44px;min-height:44px;color:var(--studio-accent-strong);background:#edf5f2;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector{position:fixed;z-index:120;inset:68px 18px auto auto;display:block;width:min(380px,calc(100vw - 36px));min-width:0;max-width:380px;height:auto;min-height:0;max-height:calc(100dvh - 86px);padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid #c9d5d1;border-radius:8px;color:var(--studio-ink);background:#f9fbfa;box-shadow:0 22px 60px #1b2f2b33;opacity:1;pointer-events:auto;transform:none;scrollbar-color:#b0bcb8 transparent;scrollbar-width:thin}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header{position:sticky;top:0;z-index:8;min-height:50px;padding:8px 52px 8px 10px;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:2px;border:1px solid #d7e0dd;border-radius:7px;background:#eef3f1}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button{min-height:30px;border:0;border-radius:5px;color:#6a7672;background:transparent;box-shadow:none;font-size:12px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button.active{color:var(--studio-accent-strong);background:#fff;box-shadow:0 1px 3px #293d3814}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel{display:grid;gap:0;padding:0 16px 18px;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-guide{display:grid;gap:12px;padding:16px 0 14px;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:transparent;box-shadow:none}.assistant-context-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.assistant-context-head>div{display:grid;gap:3px;min-width:0}.assistant-context-head>div>span{color:var(--studio-accent);font-size:10px;font-weight:820}.assistant-context-head>div>strong{color:var(--studio-ink);font-size:20px;font-weight:820;line-height:1.2}.assistant-context-head>div>small{color:#7a8581;font-size:11px;line-height:1.4}.assistant-context-anchor{flex:0 0 auto;max-width:112px;padding:4px 6px;overflow:hidden;border:1px solid #cbdad6;border-radius:5px;color:#51615d;background:#f0f5f3;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-primary-actions{display:grid;gap:8px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:5px;padding:0;border:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch .assistant-margin-note{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:34px;padding:0 8px;border:1px solid #d6dfdc;border-radius:6px;color:#596762;background:#ffffff9e;box-shadow:none;font-size:11px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch .assistant-margin-note.active{border-color:#9fc7bf;color:var(--studio-accent-strong);background:var(--studio-accent-soft);box-shadow:inset 0 0 0 1px #0d756d0f}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-draft,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-ledger,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-result,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-work{margin:0;padding:14px 0;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-result{contain:layout paint}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-chat-title label{color:var(--studio-ink);font-size:12px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-chat-title span{color:#76817d;font-size:10px;line-height:1.4}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions button{min-height:28px;padding:0 8px;border:1px solid #d5dfdc;border-radius:5px;color:#42524e;background:#ffffffad;box-shadow:none;font-size:10px;font-weight:680}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>textarea,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:84px;max-height:180px;padding:10px;border:1px solid #cad6d2;border-radius:6px;color:var(--studio-ink);background:#fff;box-shadow:none;font-size:12px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button{justify-self:end;min-height:34px;margin-top:8px;padding:0 13px;border-radius:6px;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button{border-color:var(--studio-accent);background:var(--studio-accent)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-secondary-section>summary.panel-list-title{min-height:32px;padding:0;border:0;border-radius:0;color:#53625e;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-secondary-section>summary.panel-list-title h3{color:#33423e;font-size:12px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-secondary-section>summary.panel-list-title span{color:#87918e;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-secondary-body{padding-top:9px}}@media(max-width:1040px)and (min-width:721px){.author-studio-shell{--studio-sidebar-width: 258px}.author-studio-shell.app-shell:not(.empty-workspace) .brand>div:last-child{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .project-select{width:min(300px,34vw)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace{padding-right:20px;padding-left:20px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{padding-right:54px;padding-left:54px}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter{margin-right:54px;margin-left:54px}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode),.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:50px minmax(0,1fr);width:100%;height:100dvh;min-height:100dvh;overflow:hidden;background:var(--studio-canvas)}.author-studio-shell.app-shell:not(.empty-workspace) .topbar{position:relative;z-index:70;grid-column:1;grid-row:1;display:flex;align-items:center;gap:7px;height:50px;min-height:50px;padding:0 9px;overflow:visible;border:0;border-bottom:1px solid #d7dfdc;background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .brand{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .project-select{width:min(240px,calc(100vw - 66px));min-width:0;margin:0}.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:36px;border:1px solid #d0dad7;border-radius:7px;background:#fff;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions{display:flex;margin-left:auto}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions>:not(.top-action-account){display:none}.author-studio-shell.app-shell:not(.empty-workspace) .top-action-account{display:grid;width:36px;min-width:36px;height:36px;padding:0;place-items:center;overflow:visible;border:1px solid #d0dad7;border-radius:7px;background:#fff;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .top-action-account>:not(svg:first-child){display:none}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar,.author-studio-shell.app-shell:not(.empty-workspace) .side-edge-hit{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace{grid-column:1;grid-row:2;width:100%;height:100%;padding:0 10px 92px;overflow-x:hidden;overflow-y:auto;background:var(--studio-canvas);scrollbar-width:thin}.workspace-mobile-navigation{display:grid;gap:5px;width:100%;padding:8px 0 7px;border-bottom:1px solid rgba(81,99,94,.16);border-radius:0;background:transparent}.workspace-mobile-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:2px;border:1px solid #d0dad7;border-radius:7px;background:#f8fbf9b8}.workspace-mobile-sections button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:0 4px;border:0;border-radius:5px;color:#67736f;background:transparent;font-size:11px;font-weight:700}.workspace-mobile-sections button.active{color:var(--studio-accent-strong);background:#fff;box-shadow:0 1px 3px #293d3814}.workspace-mobile-pages{display:flex;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none}.workspace-mobile-pages::-webkit-scrollbar{display:none}.workspace-mobile-pages button{flex:0 0 auto;min-height:28px;padding:0 9px;border:0;border-radius:5px;color:#68746f;background:transparent;font-size:11px;font-weight:680}.workspace-mobile-pages button.active{color:var(--studio-accent-strong);background:var(--studio-accent-soft)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel{width:100%;max-width:none;margin:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head{position:relative;top:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:52px;padding:6px 2px 8px;border:0;border-bottom:1px solid rgba(81,99,94,.16);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-title{min-height:36px;padding:0;border:0;border-radius:0;color:var(--studio-ink);background:transparent;box-shadow:none;font-size:26px;font-weight:820;line-height:1.2}.author-studio-shell.app-shell:not(.empty-workspace) .status-line{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.workspace-reference-panel{min-height:0;padding:8px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-workbench{width:100%}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell{width:100%;min-height:calc(100dvh - 196px);overflow:hidden;border:1px solid #d5dcd8;border-radius:6px;background:var(--studio-paper);box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:before,.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:after{display:none;content:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{display:block;width:100%;min-height:calc(100dvh - 196px);padding:28px 18px 110px;overflow:hidden;resize:none;border:0;border-radius:0;color:#252d2d;background:linear-gradient(90deg,transparent 30px,rgba(13,117,109,.11) 30px,rgba(13,117,109,.11) 31px,transparent 31px),repeating-linear-gradient(180deg,transparent 0,transparent 39px,var(--studio-paper-line) 40px),var(--studio-paper);box-shadow:none;font-family:ui-serif,Songti SC,SimSun,serif;font-size:18px;line-height:2.22}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor:focus{outline:0;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter{display:grid;gap:12px;width:auto;margin:30px 20px 0;padding:0 0 18px;border:0;border-bottom:1px solid #e0e5e2;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter-copy strong{font-family:ui-serif,Songti SC,SimSun,serif;font-size:18px}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter .secondary-button{justify-self:start;min-height:34px;border-color:#bad1cb;color:var(--studio-accent-strong);background:#edf5f2;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .editor-footer{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel>:is(.card-form-view,.blueprint-form-view,.versions-view,.outline-view,.pacing-view,.timeline-view,.character-bible-view,.memory-view,.foreshadow-view,.notes-view,.revision-view,.progress-view,.search-view){width:100%;margin:0;padding:0 0 60px;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head){display:grid;gap:10px;min-height:0;margin:0 0 16px;padding:9px 2px 14px;border:0;border-bottom:1px solid rgba(81,99,94,.16);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head):before,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head)>div:first-child>span:first-child{display:none;content:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head) strong{color:var(--studio-ink);font-size:21px;line-height:1.2}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head) p{margin-top:4px;color:var(--studio-muted);font-size:11px;line-height:1.5}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .mobile-inspector-scrim{position:fixed;z-index:110;inset:0;display:block;border:0;border-radius:0;background:#1623251f;backdrop-filter:none;-webkit-backdrop-filter:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector{position:fixed;z-index:120;right:0;bottom:0;left:0;display:block;width:100%;min-width:0;max-width:none;height:min(72dvh,640px);max-height:min(72dvh,640px);padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid #c7d3cf;border-bottom:0;border-radius:8px 8px 0 0;color:var(--studio-ink);background:#f9fbfa;box-shadow:0 -18px 50px #1b2f2b2e;transform:none}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;min-height:50px;padding:8px 10px;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs{display:flex;gap:2px;padding:2px;border:1px solid #d7e0dd;border-radius:7px;background:#eef3f1}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button{min-height:30px;border:0;border-radius:5px;color:#697571;background:transparent;font-size:11px}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button.active{color:var(--studio-accent-strong);background:#fff;box-shadow:0 1px 3px #293d3814}.author-studio-shell.app-shell:not(.empty-workspace) .mobile-inspector-close{display:grid;width:34px;height:34px;place-items:center;border:1px solid #d1dbd8;border-radius:6px;color:#64716d;background:#fff}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel{display:grid;gap:0;padding:0 14px 28px;border:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-guide{display:grid;gap:11px;padding:14px 0;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:transparent;box-shadow:none}.assistant-context-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.assistant-context-head>div{display:grid;gap:2px}.assistant-context-head>div>span{color:var(--studio-accent);font-size:10px;font-weight:800}.assistant-context-head>div>strong{color:var(--studio-ink);font-size:18px;line-height:1.2}.assistant-context-head>div>small,.assistant-context-anchor{color:#78837f;font-size:10px}.assistant-context-anchor{max-width:106px;padding:4px 6px;overflow:hidden;border:1px solid #cbdad6;border-radius:5px;background:#f0f5f3;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:5px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch .assistant-margin-note{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 7px;border:1px solid #d5dfdc;border-radius:6px;color:#596762;background:#ffffffa3;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch .assistant-margin-note.active{border-color:#9fc7bf;color:var(--studio-accent-strong);background:var(--studio-accent-soft)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-draft,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-ledger,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-result,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-work{margin:0;padding:13px 0;border:0;border-bottom:1px solid #dce3e0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>textarea,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite textarea{min-height:78px;max-height:150px;padding:9px;border:1px solid #cad6d2;border-radius:6px;background:#fff;box-shadow:none;font-size:12px}}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-banner{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:9px 11px;border:1px solid rgba(137,115,55,.28);border-radius:8px;background:#fbfaf4;box-shadow:0 1px #ffffffdb inset}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(137,115,55,.18);border-radius:7px;color:#79652e;background:#ffffffad}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-copy{display:grid;min-width:0;gap:2px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-copy>strong{margin:0;color:#2f332f;font-size:13px;font-weight:760;line-height:1.35}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-banner p{margin:0;color:#6c6c62;font-size:11.5px;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-details{margin-top:2px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-details>summary{width:fit-content;color:#756128;font-size:11.5px;font-weight:690;line-height:1.5;cursor:pointer}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-details>summary:hover,.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-details>summary:focus-visible{color:#514313}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-preview{max-height:98px;margin:7px 0 5px;padding:7px 10px;overflow:auto;border:0;border-left:2px solid rgba(137,115,55,.36);color:#41433e;background:#ffffff85;font-size:12px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:6px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-actions button{min-height:34px;padding:0 10px;gap:5px;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-actions button span{display:inline;color:inherit;font-size:inherit;font-weight:inherit}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-banner{grid-template-columns:32px minmax(0,1fr);align-items:start;padding:9px 10px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-icon{width:32px;height:32px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-actions{grid-column:2;justify-content:flex-start;margin-top:3px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-recovery-actions button{min-height:38px}}@media(prefers-reduced-motion:reduce){.author-studio-shell *,.author-studio-shell *:before,.author-studio-shell *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-editor{--chapter-clue-line: rgba(67, 82, 77, .15);--chapter-clue-line-soft: rgba(67, 82, 77, .09)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-card-save-state{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 4px;color:#5d6b67;font-size:12px;font-weight:680;line-height:1;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-card-save-state>svg{flex:none;color:#0f746c}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-editor{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));min-width:0;overflow:hidden;border-top:1px solid var(--chapter-clue-line);border-bottom:1px solid var(--chapter-clue-line);background:#fcfefd61}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field{position:relative;grid-column:span 4;display:grid;grid-template-rows:auto auto minmax(82px,1fr);align-content:start;gap:8px;min-width:0;min-height:174px;padding:20px 18px 18px;border:0;border-top:1px solid var(--chapter-clue-line);border-right:1px solid var(--chapter-clue-line);background:transparent;transition:background-color var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal{grid-column:1 / -1;grid-template-areas:"stage title" "input input";grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(86px,1fr);align-items:center;gap:9px 12px;min-height:138px;padding:20px 18px 18px;border-top:0;border-right:0;background:#f8fcfab8}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:last-child{border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:focus-within{background:#ffffffa8}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:not(.chapter-route-goal):before{position:absolute;top:-4px;left:18px;width:7px;height:7px;border:1px solid rgba(15,116,108,.66);border-radius:50%;content:"";background:#f8faf9}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-stage{width:fit-content;color:var(--studio-accent-strong);font-size:11px;font-weight:790;line-height:1.35}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>.chapter-route-stage{grid-area:stage;align-self:center}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field>strong{color:var(--studio-ink);font-size:15px;font-weight:820;line-height:1.35}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>strong{grid-area:title;max-width:none;font-size:18px;line-height:1.3}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-field>textarea{width:100%;min-height:82px;margin:0;padding:11px 12px;resize:vertical;border:1px solid rgba(101,119,113,.24);border-radius:5px;color:#21302f;background:#ffffff9e;box-shadow:none;font-family:ui-serif,Songti SC,SimSun,serif;font-size:14px;line-height:1.65}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-goal>textarea{grid-area:input;min-height:86px;background:#ffffffc7}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-field>textarea::placeholder{color:#9aa29f}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-field>textarea:focus{outline:2px solid rgba(13,117,109,.14);outline-offset:1px;border-color:#0d756d85;background:#ffffffe0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-groups{display:grid;min-width:0;margin-top:22px;border-top:1px solid var(--chapter-clue-line)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group{min-width:0;overflow:visible;border:0;border-bottom:1px solid var(--chapter-clue-line);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;min-width:0;min-height:58px;padding:10px 2px;list-style:none;cursor:pointer;border:0;border-radius:0;background:transparent;transition:background-color var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary::-webkit-details-marker{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary:hover,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary:focus-visible{background:#ffffff42}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary>div{display:grid;gap:2px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary strong{color:var(--studio-ink);font-size:14px;font-weight:810;line-height:1.35}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary span{color:var(--studio-muted);font-size:10.5px;font-weight:540;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary em{color:#707a76;font-size:10.5px;font-style:normal;font-weight:650;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary>svg{color:#6c7874;transition:transform var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group[open]>summary>svg{transform:rotate(180deg)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group-body{min-width:0;padding:0 2px 22px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;min-width:0;border-top:1px solid var(--chapter-clue-line-soft)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid>label{display:grid;align-content:start;gap:7px;min-width:0;padding:14px 0 15px;border:0;border-bottom:1px solid var(--chapter-clue-line-soft);color:#53615d;font-size:11px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid>.wide-field{grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid label>span,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid label>span{color:#53615d;font-size:11px;font-weight:750;line-height:1.4}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-clue-form-grid :is(input,textarea),.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-clue-group .scene-beat-grid input{width:100%;min-height:40px;margin:0;padding:9px 10px;border:1px solid #cbd4d0;border-radius:6px;color:#263431;background:#ffffffa3;box-shadow:none;font-size:13px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-clue-form-grid textarea{min-height:92px;resize:vertical}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-clue-form-grid :is(input,textarea):focus,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-clue-group .scene-beat-grid input:focus{outline:2px solid rgba(13,117,109,.15);outline-offset:1px;border-color:#0d756d94;background:#ffffffe0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beats-field{min-width:0;margin:0;padding:14px 0 0;border:0;border-top:1px solid var(--chapter-clue-line-soft);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beats-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;margin-bottom:4px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beats-head>p{margin:0;color:var(--studio-muted);font-size:11px;line-height:1.5}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-card{min-width:0;padding:14px 0 16px;border:0;border-bottom:1px solid var(--chapter-clue-line-soft);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-card-head{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin-bottom:8px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-card-head>strong{color:var(--studio-ink);font-size:12px;font-weight:780}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-card-head .icon-small{width:30px;min-width:30px;height:30px;min-height:30px;color:#7d6058;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid>label{display:grid;gap:6px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid>.wide-field{grid-column:1 / -1}@container (max-width: 900px){.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:not(.chapter-route-goal){grid-column:span 6}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field.chapter-route-conflict,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field.chapter-route-ending{border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field.chapter-route-ending{grid-column:1 / -1}}@container (max-width: 620px){.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:not(.chapter-route-goal){grid-column:1 / -1;grid-template-areas:"stage title" "input input";grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(68px,1fr);gap:7px 9px;min-height:0;padding:14px 13px 13px;border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal{grid-template-areas:"stage title" "input input";grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(78px,1fr);gap:8px 10px;min-height:0;padding:15px 13px 14px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field>.chapter-route-stage,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>.chapter-route-stage{grid-area:stage;align-self:center}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field>strong,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>strong{grid-area:title;align-self:center;max-width:none;font-size:15px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-field>textarea{grid-area:input;min-height:68px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-goal>textarea{min-height:78px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary{grid-template-columns:minmax(0,1fr) 18px;gap:9px;padding-inline:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary>em{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid>.wide-field,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid>.wide-field{grid-column:auto}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beats-head{align-items:flex-start;flex-direction:column}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field:not(.chapter-route-goal){grid-column:1 / -1;grid-template-areas:"stage title" "input input";grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(68px,1fr);gap:7px 9px;min-height:0;padding:14px 13px 13px;border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal{grid-template-areas:"stage title" "input input";grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(78px,1fr);gap:8px 10px;min-height:0;padding:15px 13px 14px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field>.chapter-route-stage,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>.chapter-route-stage{grid-area:stage;align-self:center}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-field>strong,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-route-goal>strong{grid-area:title;align-self:center;max-width:none;font-size:15px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-field>textarea{grid-area:input;min-height:68px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .chapter-route-goal>textarea{min-height:78px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary{grid-template-columns:minmax(0,1fr) 18px;gap:9px;padding-inline:0}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group>summary>em{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-form-grid>.wide-field,.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beat-grid>.wide-field{grid-column:auto}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-clue-group .scene-beats-head{align-items:flex-start;flex-direction:column}}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):not(.sidebar-collapsed),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):not(.inspector-collapsed),.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):not(.sidebar-collapsed):not(.inspector-collapsed){grid-template-columns:var(--studio-sidebar-width) minmax(0,1fr);grid-template-rows:56px minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace).sidebar-collapsed:not(.focus-mode),.author-studio-shell.app-shell:not(.empty-workspace).sidebar-collapsed:not(.focus-mode):not(.inspector-collapsed){grid-template-columns:0 minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .topbar{grid-column:1 / -1;grid-row:1}.author-studio-shell.app-shell:not(.empty-workspace) .sidebar{grid-column:1;grid-row:2}.author-studio-shell.app-shell:not(.empty-workspace) .workspace{grid-column:2;grid-row:2}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-head,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel,.author-studio-shell.app-shell:not(.empty-workspace):has(.draft-editor-panel) .workspace-head,.author-studio-shell.app-shell:not(.empty-workspace):has(.draft-editor-panel) .draft-editor-panel,.author-studio-shell.app-shell:not(.empty-workspace):has(.workspace-reference-panel) .workspace-reference-panel{width:min(100%,var(--studio-content-width));max-width:var(--studio-content-width)}.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel,.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.workspace-reference-panel{display:block;padding:0}.author-studio-shell.app-shell:not(.empty-workspace) .draft-workbench{display:grid;width:100%}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell,.author-studio-shell.app-shell:not(.empty-workspace):has(.draft-editor-panel) .draft-editor-shell{display:block;width:100%;padding:0}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor,.author-studio-shell.app-shell:not(.empty-workspace):has(.draft-editor-panel) .draft-editor-panel .draft-editor{width:100%;max-width:none;padding:56px 72px 110px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell[data-empty=true] .draft-editor{padding-top:28px}}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);min-width:0;overflow:hidden;border-top:1px solid rgba(75,91,86,.2);border-bottom:1px solid rgba(75,91,86,.2);background:#fffdfa3d}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>label{display:grid;align-content:start;gap:5px;min-width:0;min-height:176px;padding:21px 20px 23px;color:#3c4947;background:transparent;font-size:12px;font-weight:750;transition:background-color .13s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields label>span{color:var(--studio-ink);font-size:14px;font-weight:790}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields label>small{min-height:18px;color:#7a817e;font-size:10px;font-weight:520;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>.story-logline-field{grid-column:1 / -1;min-height:168px;padding:24px clamp(22px,3vw,34px) 26px;border-bottom:1px solid rgba(75,91,86,.16);background:#fffdfa7a}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>.story-protagonist-field{border-right:1px solid rgba(75,91,86,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>.story-rules-field{grid-column:1 / -1;min-height:164px;padding-inline:clamp(22px,3vw,34px);border-top:1px solid rgba(75,91,86,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>label:focus-within{background:#ffffff70}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields textarea{width:100%;min-height:96px;padding:10px 0 0;resize:vertical;border:0;border-top:1px solid rgba(91,102,97,.12);border-radius:0;color:#202c2d;background:transparent;box-shadow:none;font-family:ui-serif,Songti SC,SimSun,serif;font-size:15px;line-height:1.65}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields .story-logline-field textarea{min-height:102px;font-size:clamp(18px,1.55vw,21px);font-weight:650;line-height:1.72}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields .story-rules-field textarea{min-height:104px;background-image:repeating-linear-gradient(180deg,transparent 0,transparent 31px,rgba(75,91,86,.055) 32px)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields textarea:focus{outline:0;border-top-color:#0d756d70;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-handoff{display:flex;justify-content:flex-end;min-height:54px;padding:10px 0 0}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-handoff .secondary-button{min-height:38px;border-color:transparent;color:var(--studio-accent-strong);background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-handoff .secondary-button:is(:hover,:focus-visible){border-color:#0d756d2e;background:#0d756d12}.author-studio-shell.app-shell:not(.empty-workspace) .blueprint-refresh-note{display:inline-flex;align-items:center;gap:7px;min-height:32px;margin:10px 0 2px;padding:5px 0 5px 10px;border-left:2px solid rgba(13,117,109,.42);color:#526a65;font-size:11.5px;font-weight:650;line-height:1.5}.author-studio-shell.app-shell:not(.empty-workspace) .blueprint-refresh-note svg{flex:none;color:var(--studio-accent-strong)}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section{margin:18px 0 0;overflow:hidden;border:1px solid #cfd6d2;border-radius:7px;background:#f9faf894;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:14px;min-height:68px;padding:11px 16px;list-style:none;cursor:pointer;border:0;border-radius:0;background:#fffdfa94}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary::-webkit-details-marker,.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary::-webkit-details-marker{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary>div{display:grid;gap:2px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary strong{color:var(--studio-ink);font-size:14px;line-height:1.3}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary span,.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary em{color:#727c78;font-size:10px;font-style:normal;font-weight:540}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary svg,.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary svg:last-child{color:#6e7a76;transition:transform .14s ease}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section[open]>summary svg,.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools[open]>summary svg:last-child{transform:rotate(180deg)}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section[open]>summary{border-bottom:1px solid #d7ddd9}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(.blueprint-form-grid,.card-form-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;background:#f6f7f5bd}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(.blueprint-form-grid,.card-form-grid)>label{display:grid;gap:6px;min-width:0;padding:0;border:0;border-radius:0;color:#53605d;background:transparent;box-shadow:none;font-size:11px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(.blueprint-form-grid,.card-form-grid)>.wide-field{grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(input,textarea){min-height:40px;padding:9px 10px;border-color:#cdd5d1;background:#ffffffc2;font-size:13px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section textarea{min-height:92px}.author-studio-shell.app-shell:not(.empty-workspace) .chapter-detail-body{display:grid}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section .scene-beats-field{margin:3px 0;padding:16px 0 0;border:0;border-top:1px solid #d6ddd9;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section .scene-beat-card{padding:13px 0}.author-studio-shell.app-shell:not(.empty-workspace) .story-raw-toggle{justify-self:start;margin:0 18px 18px;padding:0;border:0;border-radius:0;color:#68736f;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section .raw-card-editor{margin:0 18px 18px}.author-studio-shell.app-shell:not(.empty-workspace) .story-more-fields{margin-top:8px;border-right:0;border-left:0;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .story-more-fields>summary{padding-inline:2px;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .story-more-fields :is(.blueprint-form-grid,.raw-card-editor){background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .story-more-fields .blueprint-form-grid{padding-inline:2px}.author-studio-shell.app-shell:not(.empty-workspace) .story-more-fields .story-raw-toggle{margin-left:2px}.author-studio-shell.app-shell:not(.empty-workspace) :is(.blueprint-studio-actions,.chapter-card-studio-actions){display:flex;align-items:center;justify-content:flex-end;gap:8px}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-toolbar,.pacing-toolbar,.timeline-toolbar,.character-bible-toolbar,.memory-toolbar,.foreshadow-toolbar,.notes-toolbar,.revision-toolbar,.progress-toolbar,.search-toolbar,.versions-toolbar,.blueprint-studio-head,.chapter-card-studio-head){padding-right:62px}}.author-studio-shell.app-shell:not(.empty-workspace) .blueprint-studio-actions>em{color:var(--studio-accent-strong);font-size:10px;font-style:normal;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:60px;margin:0 0 14px;padding:10px 14px;border-top:1px solid rgba(89,101,96,.17);border-bottom:1px solid rgba(89,101,96,.17);border-radius:0;background:#fffdfa52}.outline-overview-main{display:flex;align-items:baseline;gap:9px;padding-right:18px;border-right:1px solid rgba(89,101,96,.16)}.outline-overview-main strong{color:var(--studio-ink);font-size:20px}.outline-overview-main span,.outline-overview p,.outline-overview-status span{color:var(--studio-muted);font-size:11px}.outline-overview p{margin:0}.outline-overview-status{display:flex;gap:6px}.outline-overview-status span{padding:4px 7px;border-radius:5px;color:#86511f;background:var(--studio-warm-soft)}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools{margin:0 0 14px;overflow:hidden;border:1px solid #d3dad6;border-radius:6px;background:#f9faf880}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary{display:grid;grid-template-columns:18px auto minmax(0,1fr) 18px;align-items:center;gap:8px;min-height:42px;padding:0 12px;list-style:none;cursor:pointer;color:#44514e;font-size:11px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary em{color:#818a86;font-size:10px;font-style:normal;font-weight:500}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools[open]>summary{border-bottom:1px solid #d8dfdb}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools .bulk-chapter-planner{margin:0;border:0;border-radius:0;background:#fffdfa8a}.author-studio-shell.app-shell:not(.empty-workspace) .outline-list{border-top:1px solid rgba(86,99,94,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card.active{border-left:3px solid var(--studio-accent);background:#fffdfa85}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel>:is(.outline-view,.pacing-view,.timeline-view,.character-bible-view,.foreshadow-view,.notes-view,.revision-view,.progress-view)>.empty-hint,.author-studio-shell.app-shell:not(.empty-workspace) .progress-focus-list>.empty-hint,.author-studio-shell.app-shell:not(.empty-workspace) .revision-workbench>.empty-hint{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:132px;padding:22px 18px;border:0;border-top:1px solid #cfd7d2;border-bottom:1px solid #cfd7d2;border-radius:0;color:var(--studio-muted);background:#fffdfa3d;box-shadow:inset 3px 0 #0d756d85}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid #b7cec8;border-radius:7px;color:var(--studio-accent-strong);background:var(--studio-accent-soft)}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-copy{display:grid;gap:5px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-copy strong{color:var(--studio-ink);font-size:16px;line-height:1.35}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-copy>span{max-width:58ch;color:var(--studio-muted);font-size:12px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-action{justify-self:end;white-space:nowrap}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>.story-logline-field{grid-column:auto;min-height:0;padding:20px 2px 22px}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>.story-rules-field{grid-column:auto;min-height:0;padding:20px 2px 22px;border-top:1px solid rgba(75,91,86,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>label{min-height:0;padding:20px 2px 22px;border-right:0;border-bottom:1px solid rgba(75,91,86,.16)}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-fields>label:last-child{border-bottom:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields textarea,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields .story-logline-field textarea,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .story-core-fields .story-rules-field textarea{min-height:112px}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-handoff{justify-content:stretch;padding-top:8px}.author-studio-shell.app-shell:not(.empty-workspace) .story-core-handoff .secondary-button{width:100%;justify-content:space-between}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary{grid-template-columns:minmax(0,1fr) 18px;gap:8px;min-height:62px;padding:10px 12px}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section>summary>em{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(.blueprint-form-grid,.card-form-grid){grid-template-columns:minmax(0,1fr);padding:14px}.author-studio-shell.app-shell:not(.empty-workspace) .progressive-form-section :is(.blueprint-form-grid,.card-form-grid)>.wide-field{grid-column:auto}.author-studio-shell.app-shell:not(.empty-workspace) :is(.blueprint-studio-actions,.chapter-card-studio-actions){width:100%;justify-content:flex-start}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:9px 2px;background:transparent}.outline-overview-status{grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary{grid-template-columns:18px minmax(0,1fr) 18px}.author-studio-shell.app-shell:not(.empty-workspace) .bulk-chapter-tools>summary em{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel>:is(.outline-view,.pacing-view,.timeline-view,.character-bible-view,.foreshadow-view,.notes-view,.revision-view,.progress-view)>.empty-hint,.author-studio-shell.app-shell:not(.empty-workspace) .progress-focus-list>.empty-hint,.author-studio-shell.app-shell:not(.empty-workspace) .revision-workbench>.empty-hint{grid-template-columns:38px minmax(0,1fr);gap:12px;min-height:150px;padding:18px 12px}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-icon{width:38px;height:38px}.author-studio-shell.app-shell:not(.empty-workspace) .empty-hint-action{grid-column:2;justify-self:start}}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector{top:68px;right:18px;bottom:auto;width:min(380px,calc(100vw - 36px));min-width:0;max-width:380px;height:auto;min-height:0;max-height:min(68dvh,600px,calc(100dvh - 86px));padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid #c9d5d1;border-radius:8px;background:#f9fbfa;box-shadow:0 14px 36px #1b2f2b29;backdrop-filter:none;-webkit-backdrop-filter:none}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-header{min-height:50px;margin:0;padding:8px 52px 8px 10px;border-bottom:1px solid #dce3e0;background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs{gap:2px;padding:2px;border:1px solid #d7e0dd;border-radius:7px;background:#eef3f1}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs button{min-height:30px;border-radius:5px;font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-panel{padding:0 16px 18px}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-copilot .assistant-action-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-action-switch .assistant-margin-note{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:0 7px;border:1px solid #d5dfdc;border-radius:6px;color:#596762;background:#ffffffad;box-shadow:none;font-size:10px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-action-switch .assistant-margin-note.active{border-color:#9fc7bf;color:var(--studio-accent-strong);background:var(--studio-accent-soft);box-shadow:inset 0 0 0 1px #0d756d0f}.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-float-toggle{border-radius:50%}}.author-studio-shell.app-shell:not(.empty-workspace) .versions-toolbar-side .versions-summary{display:block;min-width:0;min-height:0;padding:0;border:0;border-radius:0;color:#7b8581;background:transparent;box-shadow:none;text-align:right}.author-studio-shell.app-shell:not(.empty-workspace) .versions-toolbar-side .versions-summary span{color:inherit;font-size:10px;font-weight:620}.author-studio-shell.app-shell:not(.empty-workspace) .version-preview-head>em{padding:0;border:0;border-radius:0;color:#66736f;background:transparent;font-size:11px;font-weight:700}.author-studio-shell.app-shell:not(.empty-workspace) .version-preview-head>em.negative{color:#66736f;background:transparent}@media(max-width:720px){.author-studio-shell.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{height:auto;min-height:0;max-height:min(78dvh,640px);border-radius:8px 8px 0 0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;padding:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion)>*{min-height:0;padding:9px 10px;border:0;border-left:1px solid rgba(74,91,86,.11);border-bottom:1px solid rgba(74,91,86,.1);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.outline-summary,.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary,.revision-summary,.blueprint-completion-strip,.chapter-card-completion)>:nth-child(odd){border-left:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary)>*>span{color:#75817d;font-size:10px;font-weight:620}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-summary,.timeline-summary,.character-bible-summary,.foreshadow-summary,.progress-summary)>*>strong{color:#273633;font-size:16px;font-weight:760;line-height:1.25}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary){display:grid;justify-items:start;width:auto;min-width:0;min-height:0;margin:4px 0 0;padding:4px 0 4px 12px;border:0;border-left:2px solid rgba(13,117,109,.28);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary) strong{color:#273633;font-size:17px;line-height:1.2}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(.pacing-delta,.progress-ring,.revision-summary-pill,.search-summary) span{margin:0;color:#75817d;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .progress-split,.author-studio-shell.app-shell:not(.empty-workspace) .progress-focus-list,.author-studio-shell.app-shell:not(.empty-workspace) .character-dossier .character-chapter-strip{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head{grid-template-columns:minmax(0,1fr) 18px;gap:10px}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head p{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .review-board-items,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-list{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;padding:12px}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head>div,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head :is(span,strong){display:block;width:100%}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-head .secondary-button{justify-self:start}.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item,.author-studio-shell.app-shell:not(.empty-workspace) .memory-current-item:nth-child(2n){padding:12px;border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-card,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-card:first-child{padding:14px 0;border:0;border-left:0;border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-card+.progress-card{border-top:1px solid rgba(74,91,86,.12)}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item,.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel .progress-focus-item:nth-child(2n){padding-right:4px;padding-left:4px;border-right:0}}.author-studio-shell.app-shell:not(.empty-workspace) .workspace{overscroll-behavior:contain;scrollbar-gutter:stable}.author-studio-shell :is(.modal-backdrop,.ai-confirmation-backdrop,.candidate-confirmation-backdrop){z-index:180;overscroll-behavior:contain;background:#141e1f6b;backdrop-filter:none;-webkit-backdrop-filter:none;animation:studio-dialog-scrim-in .14s ease-out both}.author-studio-shell :is(.modal-dialog,.auth-dialog,.account-details-dialog,.ai-confirmation-card,.candidate-confirmation-card){animation:studio-dialog-card-in .16s cubic-bezier(.16,1,.3,1) both}@keyframes studio-dialog-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes studio-dialog-card-in{0%{opacity:0;transform:translate3d(0,6px,0)}to{opacity:1;transform:translateZ(0)}}.file-menu-panel{z-index:160}.author-studio-shell.app-shell:not(.empty-workspace) .workspace::-webkit-scrollbar{width:12px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#879791;background-clip:padding-box}.author-studio-shell.app-shell:not(.empty-workspace) .workspace::-webkit-scrollbar-thumb:hover{background:#71827c;background-clip:padding-box}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell{transition:none}@media(hover:hover)and (pointer:fine){.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:hover{border-color:#b8c6c1}}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:focus-within,.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:has(.draft-editor:focus){border-color:#729b94;box-shadow:0 18px 44px #23353117,0 0 0 2px #005c551f}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{height:auto;overflow-x:hidden;overflow-y:auto;cursor:text;caret-color:#005c55;caret-shape:bar;field-sizing:content;transition:none}@media(hover:hover)and (pointer:fine){.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{cursor:var(--studio-text-cursor)}}@supports (field-sizing: content){.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{overflow-y:hidden}}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-shell .blank-draft-starter{--blank-starter-inline: 72px;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;width:calc(100% - var(--blank-starter-inline) - var(--blank-starter-inline));max-width:none;margin:56px auto 0}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter-copy{min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .blank-draft-starter .secondary-button{align-self:flex-start}}@media(min-width:721px)and (max-width:1320px){.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):has(.draft-editor-panel) .draft-editor-shell .blank-draft-starter{--blank-starter-inline: 54px}}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor::selection{color:#102b28;background:#006b633d}.author-studio-shell.app-shell:not(.empty-workspace) .inspector{overscroll-behavior:contain;scrollbar-gutter:stable}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header{background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace) .inspector,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector{display:block;visibility:visible;opacity:1;transform:none;transform-origin:top right;transition:opacity var(--studio-motion-panel),transform var(--studio-motion-panel),visibility 0s;contain:layout paint;will-change:opacity,transform}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector{display:block;visibility:hidden;opacity:0;pointer-events:none;transform:translate3d(0,-6px,0);transition:opacity .12s ease-in,transform .12s ease-in,visibility 0s linear .12s}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle{transition:color .14s ease-out,background-color .14s ease-out,box-shadow .14s ease-out}}.author-studio-shell.app-shell:not(.empty-workspace) :is(button,input,textarea,select,summary,a[href]):focus-visible{outline:1px solid rgba(0,92,85,.72);outline-offset:1px}.access-card .access-brand{width:auto;min-width:0;margin-bottom:2px}.access-card .access-brand .brand-mark svg{display:block}@keyframes studio-scrim-in{0%{opacity:0}to{opacity:1}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:focus-within,.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:has(.draft-editor:focus){box-shadow:0 0 0 2px #005c551f}.author-studio-shell.app-shell:not(.empty-workspace) .mobile-inspector-scrim{animation:studio-scrim-in .14s ease-out both}.author-studio-shell.app-shell:not(.empty-workspace) .inspector,.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector{display:block;visibility:hidden;opacity:0;pointer-events:none;transform:translate3d(0,18px,0);transition:opacity .13s ease-in,transform .13s ease-in,visibility 0s linear .13s;contain:layout paint;will-change:opacity,transform}.author-studio-shell.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{visibility:visible;opacity:1;pointer-events:auto;transform:none;transition:opacity var(--studio-motion-panel),transform var(--studio-motion-panel),visibility 0s}}@media(prefers-reduced-motion:reduce){.author-studio-shell.app-shell:not(.empty-workspace) .inspector,.author-studio-shell.app-shell:not(.empty-workspace) .mobile-inspector-scrim,.author-studio-shell :is(.modal-backdrop,.ai-confirmation-backdrop,.candidate-confirmation-backdrop,.modal-dialog,.auth-dialog,.account-details-dialog,.ai-confirmation-card,.candidate-confirmation-card){animation:none!important;transition:none!important}}@media(forced-colors:active){.author-studio-shell :is(textarea,input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=password],input[type=number]),.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{cursor:text;caret-color:CanvasText}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:focus-within,.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell:has(.draft-editor:focus){border-color:Highlight;box-shadow:0 0 0 2px Highlight}}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview{grid-template-columns:auto minmax(0,1fr);min-height:44px;margin-bottom:6px;padding:5px 2px;border-top:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview-main strong{font-size:18px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview-status{justify-self:end}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview-status span{padding:0;border-radius:0;color:#7b5a36;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .outline-list{gap:0;border-top:1px solid rgba(83,100,95,.14)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card{position:relative;padding:0;border:0;border-bottom:1px solid rgba(83,100,95,.12);border-radius:0;background:transparent;box-shadow:none;transition:background-color .12s ease-out,box-shadow .12s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card:hover{background:#ffffff47;box-shadow:none;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card.active{border-left:0;background:linear-gradient(90deg,rgba(13,117,109,.07),rgba(255,253,250,.2) 52%,transparent);box-shadow:inset 2px 0 #0d756da3}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-head{display:grid;grid-template-columns:minmax(0,1fr) 72px 98px 36px;align-items:center;gap:10px;min-height:72px;padding:10px 8px 10px 12px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open{display:grid;gap:1px;min-width:0;padding:2px 4px 2px 0;border:0;border-radius:4px;background:transparent;text-align:left}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open:focus-visible{outline:2px solid rgba(13,117,109,.36);outline-offset:3px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open span{color:#7a8581;font-size:10px;font-weight:680;line-height:1.2}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open strong{overflow:hidden;color:#24322e;font-size:15px;font-weight:740;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open small{display:block;overflow:hidden;color:#6c7874;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:3px;min-width:0;color:#6f7b77;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance strong{overflow:hidden;color:#46534f;font-size:13px;font-weight:700;text-overflow:ellipsis}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance span{color:#87918d;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status{position:relative;display:block;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status>span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status select{width:100%;min-height:32px;padding:0 25px 0 8px;border:1px solid rgba(102,119,113,.23);border-radius:5px;color:#4d5b57;background:#ffffff75;font-size:11px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status select:focus-visible{border-color:#0d756d85;outline:2px solid rgba(13,117,109,.14);outline-offset:1px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle{display:grid;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;place-items:center;border:0;border-radius:5px;color:#697570;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle:hover,.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle:focus-visible{color:var(--studio-accent-strong);background:#0d756d14}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle:focus-visible{outline:2px solid rgba(13,117,109,.28);outline-offset:1px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle svg{transition:transform .14s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-body{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 20px;margin:0 12px;padding:14px 0 13px;border-top:1px solid rgba(83,100,95,.1);animation:outline-details-in .14s ease-out both}.author-studio-shell.app-shell:not(.empty-workspace) .outline-note{min-width:0;padding-right:14px;border-right:1px solid rgba(83,100,95,.1)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-note:nth-child(3){padding-right:0;border-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-note span{color:#78837f;font-size:9px;font-weight:700}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-body .outline-note p{min-height:0;margin-top:4px;color:#45534f;font-size:12px;line-height:1.52;-webkit-line-clamp:3}.author-studio-shell.app-shell:not(.empty-workspace) .outline-meta{grid-column:1 / -1;gap:12px;padding-top:1px;border-top:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-meta span{color:#89928f;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps{grid-column:1 / -1;gap:5px 11px;padding:1px 0 2px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps span,.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps .outline-gaps-label,.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps .outline-gaps-more{padding:0;border:0;border-radius:0;color:#6e7a76;background:transparent;font-size:10px;font-weight:620}.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps .outline-gaps-label{color:#3f4e4a}.author-studio-shell.app-shell:not(.empty-workspace) .outline-gaps span:not(.outline-gaps-label):before{content:"·";margin-right:7px;color:#9aa49f}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.high,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.medium,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.low{grid-column:1 / -1;display:grid;grid-template-columns:52px minmax(120px,.42fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0 0;border-top:1px solid rgba(83,100,95,.12);border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>span{color:#7a8581;font-size:9px;font-weight:700}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>strong{margin:0;color:#30403c;font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>p{display:-webkit-box;margin:0;overflow:hidden;color:#68746f;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>.review-action-button{margin:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary{grid-column:2 / -1;display:block;margin:0;padding:0;border-top:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary>summary{width:fit-content;list-style:none;cursor:pointer;color:#77837f;font-size:10px;font-weight:640}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary>summary::-webkit-details-marker{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary>summary:after{content:"  查看依据";color:var(--studio-accent-strong)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary[open]{padding-top:7px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary p{margin-top:6px;font-size:11px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary div{margin-top:6px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary em{padding:0;border-radius:0;color:#6f644f;background:transparent;font-size:10px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-detail-footer{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding-top:8px;border-top:1px solid rgba(83,100,95,.08)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-detail-footer>span{color:#87918d;font-size:9px;font-weight:680}.author-studio-shell.app-shell:not(.empty-workspace) .outline-order-controls{display:flex;align-items:center;gap:2px;opacity:.62;transition:opacity .12s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .outline-detail-footer:hover .outline-order-controls,.author-studio-shell.app-shell:not(.empty-workspace) .outline-detail-footer:focus-within .outline-order-controls{opacity:1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-order-controls .icon-small{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:4px;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .review-board{margin:4px 0 8px;border-right:0;border-left:0;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .review-board>summary.review-board-head{min-height:48px;padding:8px 2px}@keyframes outline-details-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions{position:relative;align-items:center;flex-wrap:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools{position:relative;margin:0;overflow:visible;border:0;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 9px;border:0;border-radius:6px;color:#596762;background:transparent;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools>summary:hover{color:var(--studio-accent-strong);background:#ffffff85}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools>summary em{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-planner{position:absolute;z-index:40;top:calc(100% + 8px);right:0;width:min(560px,calc(100vw - 340px));min-width:440px;margin:0;padding:14px;border:1px solid #cbd6d2;border-radius:7px;background:#fbfcfa;box-shadow:0 18px 46px #23353124}}@media(max-width:920px)and (min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-head{grid-template-columns:minmax(0,1fr) 62px 92px 36px;gap:8px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-body{gap:10px 14px;margin-inline:10px}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools{grid-column:1 / -1;grid-row:2;width:100%;margin:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-tools>summary{justify-content:flex-start;width:100%;min-height:36px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions>.primary-button{grid-column:1;grid-row:1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions>[data-testid=export-final-package]{grid-column:2;grid-row:1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-toolbar-actions .bulk-chapter-planner{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-overview-status{justify-self:start}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-head{grid-template-columns:minmax(0,1fr) 48px 84px 40px;gap:6px;min-height:72px;padding:9px 0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open{grid-column:1;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-open strong{font-size:14px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance{grid-column:2}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance strong{font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status{grid-column:3;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .outline-status select{min-height:40px;padding:0 21px 0 6px;background:#ffffff9e;font-size:11px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle{grid-column:4;width:40px;min-width:40px;height:40px;min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-body{grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:13px 2px 15px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-note,.author-studio-shell.app-shell:not(.empty-workspace) .outline-note:nth-child(3){padding:0 0 9px;border-right:0;border-bottom:1px solid rgba(83,100,95,.09)}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.high,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.medium,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action.low{grid-template-columns:minmax(0,1fr) auto}.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>span,.author-studio-shell.app-shell:not(.empty-workspace) .outline-next-action>p{grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-diagnosis-summary{grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-detail-footer{min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-order-controls{opacity:1}.author-studio-shell.app-shell:not(.empty-workspace) .outline-order-controls .icon-small{width:40px;min-width:40px;height:40px;min-height:40px}}@media(max-width:360px){.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-head{grid-template-columns:minmax(0,1fr) 44px 78px 40px;gap:4px}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-glance span{display:none}}@media(prefers-reduced-motion:reduce){.author-studio-shell.app-shell:not(.empty-workspace) .outline-card,.author-studio-shell.app-shell:not(.empty-workspace) .outline-details-toggle svg,.author-studio-shell.app-shell:not(.empty-workspace) .outline-order-controls{transition:none}.author-studio-shell.app-shell:not(.empty-workspace) .outline-card-body{animation:none}}.author-studio-shell.app-shell:not(.empty-workspace) :is(.pacing-quiet-note,.progress-early-note){display:grid;gap:4px;margin:-4px 0 4px;padding:12px 0 14px;border-bottom:1px solid rgba(74,91,86,.12)}.author-studio-shell.app-shell:not(.empty-workspace) :is(.pacing-quiet-note,.progress-early-note) strong{color:#34413e;font-size:14px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) :is(.pacing-quiet-note,.progress-early-note) p{max-width:68ch;margin:0;color:#6f7b77;font-size:12px;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .progress-early-note .text-button{justify-self:start;min-height:28px;margin-top:3px;padding:0;border:0;color:var(--studio-accent-strong);background:transparent;font-size:12px;font-weight:720}.author-studio-shell.app-shell:not(.empty-workspace) .outline-early-note{grid-column:1 / -1;max-width:66ch;margin:0;color:#687570;font-size:12px;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .version-empty-note{display:grid;gap:4px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(83,100,95,.12)}.author-studio-shell.app-shell:not(.empty-workspace) .version-empty-note strong{color:#3e4b47;font-size:13px;font-weight:740}.author-studio-shell.app-shell:not(.empty-workspace) .version-empty-note p{max-width:60ch;margin:0;color:#74807c;font-size:11px;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .version-excerpt{min-height:112px}.author-studio-shell.app-shell:not(.empty-workspace) .pacing-item.is-forming{border-color:#4a5b5621;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .pacing-copy.single{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .pacing-item.is-forming .pacing-open>span{color:#75817d}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) :is(.pacing-quiet-note,.progress-early-note){margin-top:-2px;padding:10px 0 12px}.author-studio-shell.app-shell:not(.empty-workspace) .pacing-copy,.author-studio-shell.app-shell:not(.empty-workspace) .pacing-copy.single{grid-template-columns:minmax(0,1fr)}.author-studio-shell.app-shell:not(.empty-workspace) .version-excerpt{min-height:0;padding-bottom:12px}}.author-studio-shell.app-shell:not(.empty-workspace) :is(button,input,textarea,select){transition:border-color var(--studio-motion-fast),background-color var(--studio-motion-fast),color var(--studio-motion-fast),opacity var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.secondary-button,.file-menu-trigger,.account-button){transform:none;transition:border-color var(--studio-motion-fast),background-color var(--studio-motion-fast),color var(--studio-motion-fast),opacity var(--studio-motion-fast)}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.secondary-button,.file-menu-trigger,.account-button):is(:hover,:focus-visible,:active){transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel-loading{display:grid;gap:10px;padding:20px 16px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel-loading span{display:block;height:10px;border-radius:3px;background:#dfe7e4}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel-loading span:nth-child(2){width:78%}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel-loading span:nth-child(3){width:56%}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor{transition:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-workbench[hidden]{display:none!important}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions :is(.icon-button,.secondary-button,.file-menu-trigger){transition-duration:.13s;transition-timing-function:cubic-bezier(.2,.8,.2,1)}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.draft-editor-panel{display:block;flex:none;height:auto;min-height:0;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .draft-workbench{display:block;flex:none;height:auto;min-height:0;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-shell{display:block;flex:none;height:auto;min-height:calc(100dvh - 196px);overflow:hidden}.author-studio-shell.app-shell:not(.empty-workspace) .draft-editor-panel .draft-editor{display:block;flex:none;height:auto;min-height:calc(100dvh - 196px);max-height:none;overflow-y:hidden;field-sizing:content}}.author-studio-shell.app-shell:not(.empty-workspace) button,.author-studio-shell.app-shell:not(.empty-workspace) button:hover,.author-studio-shell.app-shell:not(.empty-workspace) button:focus-visible,.author-studio-shell.app-shell:not(.empty-workspace) button:active{transform:none!important}@media(prefers-reduced-motion:reduce){.author-studio-shell.app-shell:not(.empty-workspace),.author-studio-shell.app-shell:not(.empty-workspace) *,.author-studio-shell.app-shell:not(.empty-workspace) *:before,.author-studio-shell.app-shell:not(.empty-workspace) *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .editor-panel.workspace-reference-panel{flex:0 0 auto;height:auto;min-height:calc(100dvh - 142px);max-height:none;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger{min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .top-actions .top-action-account{width:40px;min-width:40px;height:40px;min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace-mobile-sections,.workspace-mobile-pages) button{min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(button,summary,select){min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-reference-panel :is(input,textarea,select),.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel :is(input,textarea,select){font-size:16px}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header{grid-template-columns:minmax(0,1fr) 40px;min-height:56px}.author-studio-shell.app-shell.mobile-inspector-open:not(.empty-workspace) .inspector{height:min(76dvh,680px);min-height:min(76dvh,680px);max-height:min(76dvh,680px)}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel summary,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-action-switch .assistant-margin-note,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite>.secondary-button,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-secondary-section>summary.panel-list-title,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-material-actions>summary,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-material-actions button,.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-advanced>summary,.author-studio-shell.app-shell:not(.empty-workspace) .draft-generate-button{min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .mobile-inspector-close{width:40px;min-width:40px;height:40px;min-height:40px}}.author-studio-shell.app-shell:not(.empty-workspace) .brand span,.author-studio-shell.app-shell:not(.empty-workspace) .project-switcher-trigger em{color:#5f6c68}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace-navigation-pages button:not(.active),.workspace-mobile-sections button:not(.active),.workspace-mobile-pages button:not(.active),.project-settings-details>summary>span,.chapter-row em,.status-chip,.inspector-tabs button:not(.active)){color:#596662}.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] :is(.assistant-context-head>div>small,.assistant-context-anchor,.assistant-secondary-section>summary.panel-list-title span,.draft-generation-advanced>summary strong){color:#5f6c68}.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-generation-hub .draft-generation-primary span{color:#0f766e}.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode) .inspector[data-assistant-open] .assistant-material-actions>summary{color:#53605d}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace,.sidebar,.inspector,.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor){scrollbar-color:#879791 transparent;scrollbar-width:thin}.author-studio-shell.app-shell:not(.empty-workspace) :is(.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor){scrollbar-gutter:stable}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace,.sidebar,.inspector,.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor)::-webkit-scrollbar{width:10px;height:10px}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace,.sidebar,.inspector,.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor)::-webkit-scrollbar-track{background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace,.sidebar,.inspector,.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor)::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#879791;background-clip:padding-box}@media(hover:hover)and (pointer:fine){.author-studio-shell.app-shell:not(.empty-workspace) :is(.workspace,.sidebar,.inspector,.assistant-panel textarea,.workspace-reference-panel textarea,.version-full-text,.json-editor)::-webkit-scrollbar-thumb:hover{background:#60716b;background-clip:padding-box}}.author-studio-shell.app-shell:not(.empty-workspace) .workspace.workspace{scrollbar-width:auto}.author-studio-shell.app-shell:not(.empty-workspace) .workspace.workspace::-webkit-scrollbar{width:12px}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .workspace.workspace{scrollbar-width:thin}.author-studio-shell.app-shell:not(.empty-workspace) .workspace.workspace::-webkit-scrollbar{width:6px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace.workspace::-webkit-scrollbar-thumb{border:1px solid transparent;background:#9aa7a3;background-clip:padding-box}.author-studio-shell.app-shell:not(.empty-workspace) .mobile-action-bar{background:#f9fbfa;backdrop-filter:none;-webkit-backdrop-filter:none}}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace).focus-mode{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);width:100%;height:100dvh;min-height:100dvh;overflow:hidden;transition:none}.author-studio-shell.app-shell:not(.empty-workspace).focus-mode :is(.topbar,.rail,.sidebar,.inspector,.side-edge-hit,.assistant-float-toggle,.draft-generation-panel,.draft-guidance,.workspace-tab-shell,.status-line,.editor-panel>.tabs,.mobile-action-bar){display:none}.author-studio-shell.app-shell:not(.empty-workspace).focus-mode .workspace{grid-column:1;grid-row:1;width:min(100%,calc(var(--studio-content-width) + 128px));height:100dvh;margin:0 auto;padding:34px clamp(18px,5vw,64px);overflow:auto}.author-studio-shell.app-shell:not(.empty-workspace).focus-mode :is(.workspace-head,.editor-panel.draft-editor-panel,.draft-editor-shell,.draft-editor){width:100%;max-width:none}.author-studio-shell.app-shell:not(.empty-workspace).focus-mode .editor-footer{position:sticky;bottom:18px;width:fit-content;max-width:100%;margin:16px auto 0;box-shadow:0 12px 34px #2335311f}}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:18px 28px;width:100%;min-height:84px;margin:0;padding:0 0 17px;border:0;border-bottom:1px solid rgba(69,88,84,.18);border-radius:0;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-copy{display:grid;min-width:0;gap:5px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-title{margin:0;color:#142e2f;font-size:25px;font-weight:780;line-height:1.18;letter-spacing:0}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-description{max-width:72ch;margin:0;color:#60706c;font-size:13px;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-side{min-width:0;align-self:center;justify-self:end}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;min-height:0;padding-bottom:14px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-title{font-size:21px}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-description{font-size:12.5px;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .workspace-page-header-side{width:100%;justify-self:stretch}}.author-studio-shell.app-shell:not(.empty-workspace){--assistant-panel-width: 820px;--assistant-panel-right: 12px;--assistant-panel-height: min(900px, calc(100dvh - 76px) );--assistant-panel-rendered-height: var(--assistant-panel-height)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel{gap:0;padding:0 28px 30px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:15px;padding-top:15px;border-top:1px solid rgba(56,75,71,.12)}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action>div{display:grid;min-width:0;gap:3px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action strong{color:#263936;font-size:12px;font-weight:760;line-height:1.4}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action span{color:#65736f;font-size:11px;line-height:1.5}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action>button{flex:none;min-height:36px;margin:0;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-guide{gap:15px;padding:20px 0 18px;border-bottom:1px solid rgba(56,75,71,.12)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:14px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head:has(.assistant-context-anchor){grid-template-columns:minmax(0,1fr) auto}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head>div{display:grid;min-width:0;gap:3px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head>div>strong{color:#162a2c;font-size:19px;font-weight:780;line-height:1.2;letter-spacing:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head>div>small{color:#60706d;font-size:12px;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-anchor{align-self:center;max-width:150px;min-height:25px;padding:4px 8px;overflow:hidden;border:1px solid rgba(15,111,104,.15);border-radius:7px;color:#45635f;background:#ecf6f3b8;font-size:11px;font-weight:700;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-primary-actions{display:grid;gap:10px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-heading{display:block}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-heading strong{color:#314441;font-size:12px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-copilot .assistant-capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;border:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .assistant-capability-grid .assistant-capability-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;justify-content:stretch;gap:9px;min-width:0;min-height:76px;padding:11px 12px;overflow:hidden;border:1px solid rgba(69,88,84,.15);border-radius:7px;color:#263936;background:#ffffffbd;box-shadow:0 1px #ffffffd1 inset;text-align:left}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card:hover,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card:focus-visible{border-color:#0f6f6857;color:#0d5f59;background:#f6fbf9f5}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card.active{border-color:#0f6f6875;color:#0c5e58;background:#eaf5f2;box-shadow:inset 3px 0 #167b72,inset 0 1px #ffffffc7}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card:focus-visible{outline:0;box-shadow:0 0 0 2px #0f6f6833}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card.active:focus-visible{box-shadow:inset 3px 0 #167b72,inset 0 1px #ffffffc7,0 0 0 2px #0f6f6833}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card:disabled{opacity:1;border-color:#4558541a;color:#788481;background:#f5f8f7b8;cursor:not-allowed}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-icon{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(69,88,84,.1);border-radius:7px;color:#52645f;background:#f1f5f3}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-card.active .assistant-capability-icon{border-color:#0f6f682e;color:#0d6c65;background:#ffffffc2}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-copy{display:grid;min-width:0;gap:3px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-copy strong{overflow:hidden;color:currentColor;font-size:13px;font-weight:780;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-copy small{display:-webkit-box;overflow:hidden;margin:0;color:#6b7975;font-size:11px;font-weight:520;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-state{align-self:start;padding-top:2px;color:#0f6f68;font-size:10px;font-weight:760;line-height:1.3;white-space:nowrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:18px 0 14px;padding:16px;border:1px solid rgba(56,75,71,.16);border-top:2px solid rgba(15,111,104,.72);border-radius:8px;background:#ffffffd6;box-shadow:0 10px 28px #1f353012}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite{margin:16px 0 14px;padding:15px;border:1px solid rgba(56,75,71,.14);border-radius:8px;background:#ffffffc2;box-shadow:0 8px 24px #1f35300e}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite .prompt-box-head label{font-size:14px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-rewrite .prompt-box-head span{color:#697773;font-size:11.5px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>:is(.assistant-chat-head,.assistant-inline-prompt-actions,textarea,.assistant-alternative-section){grid-column:1 / -1}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-chat-title{gap:3px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-chat-title label{color:#213633;font-size:14px;font-weight:760}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-chat-title span{color:#697773;font-size:11px;line-height:1.45}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions{display:flex;flex-wrap:wrap;gap:6px;width:100%;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions button{min-height:29px;padding:4px 9px;border:1px solid rgba(69,88,84,.14);border-radius:999px;color:#49605b;background:#ffffff9e;font-size:11px;font-weight:680}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>textarea{width:100%;min-height:104px;max-height:220px;padding:12px 13px;resize:vertical;border:1px solid rgba(61,82,77,.2);border-radius:8px;color:#1d302e;background:#ffffffe0;box-shadow:inset 0 1px 2px #23353109;font-size:14px;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>textarea:focus{border-color:#0f6f687a;outline:0;box-shadow:0 0 0 3px #0f6f681a}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button{grid-column:2;justify-self:end;min-height:39px;margin:0;padding:0 14px;border-radius:8px;background:#0f746c;box-shadow:0 7px 18px #0f5d5629}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-alternative-section>summary.panel-list-title{min-height:32px}@media(min-width:721px){.author-studio-shell.app-shell:not(.empty-workspace) .inspector,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector{position:fixed;top:64px;right:var(--assistant-panel-right);bottom:auto;left:auto;width:var(--assistant-panel-width);min-width:0;max-width:none;height:var(--assistant-panel-height);min-height:0;max-height:var(--assistant-panel-height);padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(65,88,82,.23);border-top:3px solid #0f746c;border-radius:8px;background:#f8faf9;box-shadow:0 26px 70px #1b2f2b30,inset 0 1px #ffffffe0;container-name:assistant-desk;container-type:inline-size}.author-studio-shell.app-shell:not(.empty-workspace) .inspector[data-active-tab=check],.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector[data-active-tab=check]{height:auto;min-height:min(540px,calc(100dvh - 96px));max-height:var(--assistant-panel-height)}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector[data-assistant-open]{visibility:visible;opacity:1;pointer-events:auto;transform:none;transition:opacity var(--studio-motion-panel),transform var(--studio-motion-panel),visibility 0s}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .inspector:not([data-assistant-open]){transform:translate3d(14px,0,0);transition:opacity .14s ease-out,transform .14s ease-out,visibility 0s linear .14s}.author-studio-shell.app-shell:not(.empty-workspace):has(.inspector[data-assistant-open]) .workspace{scrollbar-color:rgba(112,130,124,.28) transparent}.author-studio-shell.app-shell:not(.empty-workspace):has(.inspector[data-assistant-open]) .workspace::-webkit-scrollbar-thumb{background:#70827c47;background-clip:padding-box}.author-studio-shell.app-shell:not(.empty-workspace):has(.inspector[data-assistant-open]) .workspace::-webkit-scrollbar-thumb:hover{background:#60716b8a;background-clip:padding-box}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-header{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:0;min-height:54px;padding:9px 72px 9px 28px;border-bottom:1px solid rgba(56,75,71,.12);background:#f8fbfa}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs{display:flex;grid-template-columns:none;justify-self:start;gap:4px;width:auto;max-width:320px;padding:0;border:0;border-radius:0;background:transparent}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs button{flex:0 0 auto;min-width:126px;min-height:34px;padding:0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#64716d;background:transparent;box-shadow:none;font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button.active,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs button.active{border-bottom-color:#0f746c9e;color:#075e58;background:transparent;box-shadow:none}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-tabs button:is(:hover,:focus-visible),.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-tabs button:is(:hover,:focus-visible){color:#075e58;background:#0f746c0e}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed) .assistant-float-toggle{box-sizing:border-box;flex:0 0 56px;z-index:132;top:68px;right:calc(var(--assistant-panel-right) + 8px);width:56px;min-width:56px;height:56px;min-height:56px;grid-template-rows:1fr;justify-items:center;align-content:center;gap:0;padding:0;border:1px solid rgba(12,91,84,.38);border-radius:50%;color:#fff;background:#0f746c;box-shadow:0 14px 32px #12433e42,0 0 0 3px #f8fbfaeb;line-height:0;aspect-ratio:1;contain:layout paint;scale:1!important;transform:none!important;transition:color .14s ease-out,background-color .14s ease-out,border-color .14s ease-out,box-shadow .14s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle[aria-expanded=true]{border-color:#09514b7a;color:#fff;background:#0d6c65;box-shadow:0 14px 32px #12433e42,0 0 0 3px #f8fbfaeb}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle:hover,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle:focus-visible,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle:active{border-color:#09514b7a;background:#0b655e;box-shadow:0 14px 32px #12433e42,0 0 0 3px #f8fbfaeb;transform:none!important}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle[aria-expanded=true]:is(:hover,:focus-visible,:active){color:#fff;background:#0a5f59}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-launcher-glyph{display:grid;width:30px;height:30px;flex:none;place-items:center;line-height:0;transform:none!important}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle svg{width:30px;height:30px;flex:none;transform:none;transition:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-float-toggle[aria-expanded=true] svg{width:30px;height:30px;transform:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle{position:fixed;z-index:131;top:64px;right:calc(var(--assistant-panel-right) + var(--assistant-panel-width) - 6px);display:grid;width:12px;height:var(--assistant-panel-rendered-height);place-items:center;padding:0;border:0;outline:0;background:transparent;cursor:ew-resize;touch-action:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle:before{position:absolute;inset:12px auto 12px 5px;width:2px;border-radius:2px;content:"";background:transparent;transition:background-color .14s ease-out}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle:hover:before,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle:focus-visible:before{background:#0f6f6870}html.assistant-panel-resizing .author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle:before{background:#0f6f68b8}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle:focus-visible{outline:0}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace) .assistant-resize-handle,.author-studio-shell.app-shell.focus-mode:not(.empty-workspace) .assistant-resize-handle{visibility:hidden;opacity:0;pointer-events:none}.author-studio-shell.app-shell.inspector-collapsed:not(.empty-workspace):not(.focus-mode) .assistant-resize-handle.is-open{visibility:visible;opacity:1;pointer-events:auto}html.assistant-panel-resizing,html.assistant-panel-resizing body,html.assistant-panel-resizing *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}}@media(min-width:2200px){.author-studio-shell.app-shell:not(.empty-workspace){--assistant-panel-right: max( 18px, calc( (100vw - var(--studio-sidebar-width) - var(--studio-content-width)) / 2 - var(--assistant-panel-width) - 18px ) )}.author-studio-shell.app-shell:not(.empty-workspace) .inspector-header,.author-studio-shell.app-shell:not(.empty-workspace):not(.inspector-collapsed):not(.focus-mode) .inspector-header{padding-right:72px;padding-left:28px}}@media(min-width:2280px){.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode){--assistant-panel-right: 18px}.author-studio-shell.app-shell:not(.empty-workspace):not(.focus-mode):has(.editor-panel) :is(.workspace-head,.editor-panel){width:min(100%,var(--studio-content-width),calc(100% - var(--assistant-panel-width) - var(--assistant-panel-right) - 40px));margin-right:calc(var(--assistant-panel-width) + var(--assistant-panel-right) + 40px);margin-left:auto}}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .assistant-resize-handle{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action{align-items:stretch;flex-direction:column;gap:10px}.author-studio-shell.app-shell:not(.empty-workspace) .draft-generation-long-action>button{width:100%}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-panel{padding:0 12px 18px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-guide{gap:11px;padding:14px 0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-context-head>div>strong{font-size:18px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-grid .assistant-capability-card{grid-template-columns:30px minmax(0,1fr);gap:7px;min-height:80px;height:auto;padding:9px 8px;overflow:visible}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-icon{width:30px;height:30px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-copy strong{font-size:12px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-copy small{display:block;overflow:visible;font-size:10.5px;white-space:normal;text-overflow:clip;text-wrap:balance;-webkit-box-orient:initial;-webkit-line-clamp:initial}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-capability-state{display:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer{padding:14px 0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>textarea{min-height:92px;max-height:160px;font-size:16px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-composer>.primary-button{min-height:40px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-inline-prompt-actions button{min-height:40px;padding-inline:11px;font-size:11px}}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-margin-result.is-plot-options{border-left-color:#0f766e6b}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list{display:grid;min-width:0;margin:0;padding:0;list-style:none}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:11px;min-width:0;padding:14px 0;border-top:1px solid rgba(57,69,66,.1)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li:first-child{padding-top:4px;border-top:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li>span{display:grid;width:24px;height:24px;place-items:center;border:1px solid rgba(15,118,110,.24);border-radius:50%;color:#0c665f;background:#eef7f4c7;font-size:11px;font-weight:820;line-height:1}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li>div{display:grid;gap:4px;min-width:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list strong{color:var(--studio-ink);font-size:12px;font-weight:820;line-height:1.4}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list p{min-width:0;margin:0;color:#3f4f4b;font-size:13px;line-height:1.68;overflow-wrap:anywhere;white-space:pre-wrap}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 9px;min-width:0;margin:2px 0 0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list dt{color:#6a7874;font-size:11px;font-weight:720;line-height:1.55}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list dd{min-width:0;margin:0;color:#354743;font-size:12.5px;line-height:1.58;overflow-wrap:anywhere}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-boundary-note{display:grid;grid-template-columns:84px minmax(0,1fr);gap:10px;margin-top:8px;padding:10px 0 0;border-top:1px solid rgba(57,69,66,.12);border-radius:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-boundary-note strong{color:#0c665f;font-size:11px;font-weight:780;line-height:1.6}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-boundary-note p{margin:0;color:#55645f;font-size:11.5px;line-height:1.6;white-space:pre-wrap}@container assistant-desk (min-width: 720px){.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list{grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(57,69,66,.1);border-bottom:1px solid rgba(57,69,66,.1)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li,.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li:first-child{grid-template-columns:24px minmax(0,1fr);gap:8px;padding:13px 12px;border-top:0;border-left:1px solid rgba(57,69,66,.1)}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li:first-child{padding-left:0;border-left:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li:last-child{padding-right:0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list dl{grid-template-columns:minmax(0,1fr);gap:2px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list dt:not(:first-child){margin-top:5px}}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-fallback{border-left-color:#0f766e4d;background:#f8fbfab8;white-space:pre-wrap}@media(max-width:720px){.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list>li{grid-template-columns:24px minmax(0,1fr);gap:9px;padding:12px 0}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-option-list p{font-size:12.5px}.author-studio-shell.app-shell:not(.empty-workspace) .assistant-plot-boundary-note{grid-template-columns:minmax(0,1fr);gap:3px}}
