/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.static{position:static}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--canvas:#f6f8f7;--surface:#fff;--surface-soft:#eef2ef;--ink:#202824;--muted:#6b746f;--line:#dce2de;--line-strong:#c8d0cb;--green:#286248;--green-dark:#1f4e3a;--green-soft:#dfece5;--coral:#b95f4d;--coral-soft:#f5e5e1;--gold:#9b7628;--gold-soft:#f3ebd5;--shadow:0 14px 40px #1e2c241a}*{box-sizing:border-box}body,html{min-height:100%}body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;letter-spacing:0;margin:0;font-family:SF Pro Text,PingFang SC,Microsoft YaHei,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit}.auth-page{background:var(--canvas);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.auth-panel{border:1px solid var(--line);background:var(--surface);width:min(100%,460px);box-shadow:var(--shadow);border-radius:8px;padding:34px}.auth-brand{align-items:center;gap:12px;display:flex}.auth-brand>span{background:var(--green);color:#fff;border-radius:6px;place-items:center;width:40px;height:40px;display:grid}.auth-brand small,.auth-brand strong{display:block}.auth-brand strong{font-size:17px}.auth-brand small{color:var(--muted);margin-top:2px;font-size:14px}.auth-heading{margin:42px 0 24px}.auth-heading p{color:var(--green);margin:0 0 8px;font-size:14px;font-weight:700}.auth-heading h1{margin:0;font-size:30px;line-height:1.25}.auth-heading span{color:var(--muted);margin-top:12px;font-size:15px;line-height:1.7;display:block}.auth-mode{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;margin-bottom:22px;display:grid}.auth-mode button{cursor:pointer;height:42px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000}.auth-mode button.is-active{border-color:var(--green);color:var(--green-dark);font-weight:700}.auth-form{gap:18px;display:grid}.auth-form label span{margin-bottom:8px;font-size:15px;font-weight:650;display:block}.auth-form input{border:1px solid var(--line-strong);background:#fff;border-radius:5px;width:100%;height:46px;padding:0 13px}.auth-submit{justify-content:center;width:100%;margin-top:4px}.auth-panel footer{color:var(--muted);justify-content:center;align-items:center;gap:8px;margin-top:24px;font-size:13px;display:flex}.cloud-status-dot{background:#3b8c63;border-radius:50%;width:7px;height:7px}.auth-form-link{text-align:right;margin-top:-8px}.auth-back-link a,.auth-form-link a{color:var(--green);font-size:14px;text-decoration:none}.auth-back-link a:hover,.auth-form-link a:hover{text-decoration:underline}.auth-back-link{text-align:center}.auth-notice{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);margin:0;padding:10px 12px;font-size:14px;line-height:1.5}.auth-confirmation{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;display:flex}.auth-confirmation>svg{color:var(--green)}.auth-confirmation p,.auth-confirmation strong{margin:0}.auth-confirmation p{color:var(--muted);overflow-wrap:anywhere;font-size:14px;line-height:1.6}.auth-confirmation .button{color:var(--ink);margin-top:4px;text-decoration:none}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fbfcfb;flex-direction:column;height:100vh;padding:22px 14px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;min-height:42px;padding:0 8px;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:6px;flex:none;place-items:center;width:36px;height:36px;display:grid}.brand span,.brand strong{display:block}.brand strong{font-size:16px}.brand span{color:var(--muted);margin-top:2px;font-size:14px}.main-nav{margin-top:38px}.main-nav>p{color:#8a938e;margin:0 10px 8px;font-size:14px;font-weight:650}.main-nav button,.sidebar-footer>button{cursor:pointer;color:#4d5751;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:11px;width:100%;height:46px;padding:0 10px;font-size:15px;display:flex}.main-nav button+button{margin-top:3px}.main-nav button.is-active,.main-nav button:hover:not(:disabled),.sidebar-footer>button.is-active,.sidebar-footer>button:hover{background:var(--surface-soft);color:var(--green-dark)}.main-nav button.is-active{font-weight:650}.main-nav button:disabled{cursor:default;color:#a3aaa6}.main-nav button small{color:#9ca49f;margin-left:auto;font-size:13px}.sidebar-footer{margin-top:auto}.attention-dot{background:var(--coral);border-radius:50%;width:7px;height:7px;margin-left:auto}.demo-user{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:58px;margin-top:14px;padding:11px 9px 0;display:flex}.demo-user>div{flex:1;min-width:0}.demo-user strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-signout{flex:none}.demo-user>span{width:30px;height:30px;color:var(--green-dark);background:#d8e5de;border-radius:50%;place-items:center;font-size:14px;font-weight:700;display:grid}.demo-user small,.demo-user strong{display:block}.demo-user strong{font-size:15px}.demo-user small{color:var(--muted);margin-top:2px;font-size:13px}.workspace{min-width:0}.demo-bar{border-bottom:1px solid var(--line);height:40px;color:var(--muted);background:#f0f4f1;justify-content:flex-end;align-items:center;gap:18px;padding:0 28px;font-size:14px;display:flex}.demo-bar span:first-child{color:var(--green-dark);align-items:center;gap:5px;font-weight:650;display:flex}.workspace-inner{max-width:1240px;margin:0 auto;padding:52px 46px 80px}.workspace-page-header{align-items:flex-start}.back-link{color:var(--muted);cursor:pointer;background:0 0;border:0;margin:0 0 22px;padding:0;font-size:15px}.back-link:hover{color:var(--green-dark)}.workspace-step{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:5px;padding:7px 10px;font-size:14px}.workspace-progress{overscroll-behavior-x:contain;border-bottom:1px solid var(--line);scrollbar-width:thin;min-width:100%;margin-top:34px;display:flex;overflow-x:auto}.workspace-progress button{color:#929a96;cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;flex:1 0 112px;align-items:center;gap:7px;min-height:48px;padding:0 8px 13px;font-size:14px;display:flex;position:relative}.workspace-progress button>span{border:1px solid var(--line-strong);border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:12px;display:grid}.workspace-progress button:after{content:"";background:0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.workspace-progress .is-done,.workspace-progress button:hover:not(:disabled){color:var(--green)}.workspace-progress button:disabled{cursor:default;color:#aab0ad}.workspace-progress .is-current{color:var(--ink);font-weight:700}.workspace-progress .is-current>span{border-color:var(--green);background:var(--green);color:#fff}.workspace-progress .is-current:after{background:var(--green)}.generation-action-bar{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin-top:24px;padding:18px 20px;display:grid}.generation-action-bar h2,.generation-action-bar p{margin:0}.generation-action-bar h2{color:var(--ink);margin-top:3px;font-size:18px}.generation-action-bar>div:first-child>p:not(.eyebrow){color:var(--muted);margin-top:5px;font-size:13px;line-height:1.5}.generation-action-meta .generation-cost-note{text-align:left;margin-top:7px}.generation-action-buttons{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.generation-action-buttons .button{white-space:nowrap;min-height:38px}.generation-inline-error,.generation-inline-success{max-width:300px;color:var(--danger);align-items:center;gap:6px;font-size:13px;line-height:1.45;display:inline-flex}.generation-inline-success{color:var(--green-dark)}.text-generation-task{border:1px solid var(--line);border-left:3px solid var(--gold);background:#fffdf8;border-radius:5px;margin-top:12px;padding:12px 14px}.text-generation-task.is-succeeded{border-left-color:var(--green);background:var(--green-soft)}.text-generation-task.is-canceled,.text-generation-task.is-failed{border-left-color:var(--coral);background:#fff9f7}.text-generation-task-heading{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.text-generation-task-heading>span{background:var(--gold-soft);width:28px;height:28px;color:var(--gold);border-radius:50%;place-items:center;display:grid}.text-generation-task.is-succeeded .text-generation-task-heading>span{color:var(--green);background:#fff}.text-generation-task.is-canceled .text-generation-task-heading>span,.text-generation-task.is-failed .text-generation-task-heading>span{background:var(--coral-soft);color:var(--coral)}.text-generation-task-heading small,.text-generation-task-heading strong{display:block}.text-generation-task-heading strong{color:var(--ink);font-size:14px}.text-generation-task-heading b,.text-generation-task-heading small,.text-generation-task>p{color:var(--muted);font-size:12px;font-weight:500}.text-generation-task-heading b{font-variant-numeric:tabular-nums}.text-generation-task-progress{background:#2862481f;border-radius:999px;height:4px;margin-top:10px;overflow:hidden}.text-generation-task-progress>span{border-radius:inherit;background:var(--green);height:100%;transition:width .18s;display:block}.text-generation-task>p{color:var(--danger);margin:9px 0 0 37px}.text-generation-task>.button{min-height:30px;margin:8px 0 0 auto;padding:5px 8px;font-size:12px;display:flex}.generation-action-bar+.character-reference-layout,.generation-action-bar+.cover-workspace-layout,.generation-action-bar+.layout-workspace-layout,.generation-action-bar+.page-plan-layout,.generation-action-bar+.production-layout,.generation-action-bar+.story-layout,.text-generation-task+.layout-workspace-layout,.text-generation-task+.page-plan-layout,.text-generation-task+.story-layout{margin-top:24px}.brief-layout,.character-layout{grid-template-columns:minmax(220px,.7fr) minmax(420px,1.3fr);gap:56px;margin-top:42px;display:grid}.character-intro{padding-top:8px}.character-avatar{background:var(--green-soft);width:52px;height:52px;color:var(--green-dark);border-radius:7px;place-items:center;display:grid}.character-intro h2{max-width:300px;margin:22px 0 0;font-size:23px;line-height:1.3}.character-intro>p{max-width:330px;color:var(--muted);margin:12px 0 0;font-size:15px;line-height:1.65}.character-project-facts{border-top:1px solid var(--line);margin:28px 0 0}.character-project-facts>div{border-bottom:1px solid var(--line);grid-template-columns:82px 1fr;gap:12px;padding:12px 0;display:grid}.character-project-facts dd,.character-project-facts dt{margin:0;font-size:14px;line-height:1.5}.character-project-facts dt{color:var(--muted)}.character-form{border:1px solid var(--line);background:#fff;border-radius:7px;padding:26px}.supporting-cast-section{border-top:1px solid var(--line);margin-top:30px;padding-top:24px}.supporting-cast-heading,.supporting-character-actions,.supporting-character-editor-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.supporting-cast-heading h3,.supporting-cast-heading p{margin:0}.supporting-cast-heading h3{font-size:18px}.supporting-cast-heading p{max-width:500px;color:var(--muted);margin-top:7px;font-size:13px;line-height:1.55}.supporting-cast-list{gap:6px;margin-top:16px;display:grid}.supporting-cast-list>button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fbfcfa;border-radius:5px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px 12px;display:grid}.supporting-cast-list>button.is-active,.supporting-cast-list>button:hover{border-color:var(--green);background:var(--green-soft)}.supporting-cast-list>button:disabled{cursor:default;opacity:.55}.supporting-cast-list small,.supporting-cast-list strong{display:block}.supporting-cast-list small{color:var(--muted);margin-top:2px;font-size:12px}.supporting-cast-avatar{width:36px;height:36px;color:var(--green-dark);background:#fff;border-radius:5px;place-items:center;display:grid}.supporting-cast-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:5px;margin:16px 0 0;padding:14px;font-size:13px;line-height:1.55}.supporting-character-editor{border:1px solid var(--green);background:#fbfdfb;border-radius:6px;margin-top:14px;padding:18px}.supporting-character-editor-heading>span{color:var(--muted);font-size:12px}.supporting-character-kind{gap:6px;margin-top:14px;display:flex}.supporting-character-kind button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fff;border-radius:5px;align-items:center;gap:6px;padding:8px 11px;display:inline-flex}.supporting-character-kind button.is-active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.supporting-character-actions{justify-content:flex-end;align-items:center;margin-top:16px}.form-section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:6px;display:flex}.form-section-heading h2{margin:0;font-size:21px}.required-note{color:var(--muted);font-size:13px}.character-actions{margin-top:24px}.workflow-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-top:28px;padding-top:18px;display:flex}.workflow-actions>div{justify-content:flex-end;align-items:center;gap:8px;display:flex}.save-success{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);align-items:flex-start;gap:10px;margin-top:20px;padding:12px 14px;display:flex}.save-success svg{flex:none}.save-success span,.save-success strong{display:block}.save-pending{border-left:3px solid var(--gold);background:var(--gold-soft);color:#72561f;align-items:flex-start;gap:10px;margin-top:20px;padding:12px 14px;display:flex}.save-pending svg{flex:none}.save-pending span,.save-pending strong{display:block}.save-pending strong{font-size:15px}.save-pending span{color:#796b4f;margin-top:3px;font-size:14px;line-height:1.45}.story-layout{grid-template-columns:minmax(210px,.55fr) minmax(560px,1.45fr);gap:44px;margin-top:42px;display:grid}.story-context{align-self:start;padding-top:8px}.story-context h2,.story-context>p{margin:0}.story-context h2{font-size:25px}.story-context>p:not(.eyebrow){color:var(--muted);margin-top:10px;font-size:15px;line-height:1.6}.story-config-button{width:100%;margin-top:8px}.generation-cost-note{color:var(--muted);text-align:center;margin-top:8px;font-size:13px;display:block}.story-form{border:1px solid var(--line);background:#fff;border-radius:7px;padding:26px}.story-layer-tabs{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:18px 0 20px;padding:4px;display:grid}.story-layer-tabs button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:650;display:flex}.story-layer-tabs button.is-active,.story-layer-tabs button:hover{color:var(--green-dark);background:#fff;box-shadow:0 1px 4px #1e2c2414}.story-layer-panel{min-width:0}.story-layer-note{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);margin:0 0 16px;padding:10px 12px;font-size:13px;line-height:1.55}.story-textarea{min-height:300px;line-height:1.75}.story-script-textarea{min-height:170px}.story-character-candidates{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.story-character-candidate,.story-character-candidate-actions,.story-character-candidates-heading{align-items:center;display:flex}.story-character-candidates-heading{justify-content:space-between;gap:18px}.story-character-candidates-heading h3,.story-character-candidates-heading p{margin:0}.story-character-candidates-heading h3{font-size:18px}.story-character-candidates-heading>span{color:var(--muted);font-size:13px}.story-character-candidates-note{max-width:660px;color:var(--muted);margin:9px 0 0;font-size:14px;line-height:1.6}.story-character-candidate-list{border-top:1px solid var(--line);margin-top:16px}.story-character-candidate{border-bottom:1px solid var(--line);gap:13px;min-width:0;padding:15px 0}.story-character-candidate.is-dismissed{opacity:.65}.story-character-candidate-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-dark);border-radius:5px;flex:none;place-items:center;display:grid}.story-character-candidate-copy{flex:auto;min-width:0}.story-character-candidate-copy>div{align-items:baseline;gap:9px;display:flex}.story-character-candidate-copy h4,.story-character-candidate-copy p,.story-character-candidate-copy small{margin:0}.story-character-candidate-copy h4{font-size:15px}.story-character-candidate-copy small,.story-character-candidate-copy>div span{color:var(--muted);font-size:12px}.story-character-candidate-copy p{margin-top:4px;font-size:14px;line-height:1.5}.story-character-candidate-copy small{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;display:block;overflow:hidden}.story-character-candidate-actions{flex:none;justify-content:flex-end;gap:7px}.candidate-accepted,.story-character-candidate-actions>span{color:var(--green-dark);align-items:center;gap:5px;font-size:13px;font-weight:650;display:inline-flex}.story-character-empty{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:7px;margin:24px 0 0;padding-top:18px;font-size:13px;display:flex}.story-acts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.story-acts textarea{min-height:142px}.page-plan-layout{grid-template-columns:minmax(230px,.62fr) minmax(560px,1.38fr);gap:36px;margin-top:42px;display:grid}.page-plan-sidebar{min-width:0}.page-plan-summary{border:1px solid var(--line);background:#fff;border-radius:7px;padding:22px}.page-plan-summary h2,.page-plan-summary p{margin:0}.page-plan-summary h2{margin-top:6px;font-size:21px}.page-plan-summary>p:not(.eyebrow){color:var(--muted);margin-top:10px;font-size:14px;line-height:1.65}.page-plan-warning{color:#824725;background:#fff4ea;border-left:3px solid #b66a3c;margin-top:14px;padding:10px 11px;font-size:13px;line-height:1.5}.page-plan-generation-status{color:var(--green-dark);margin:12px 0 0;font-size:13px;line-height:1.5}.page-plan-generation-error{margin-top:12px}.page-plan-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:520px;margin-top:14px;overflow-y:auto}.page-plan-list button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;grid-template-columns:28px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:13px 9px;display:grid}.page-plan-list button:last-child{border-bottom:0}.page-plan-list button.is-active,.page-plan-list button:hover{background:var(--green-soft)}.page-plan-list button>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.page-plan-list button div{min-width:0}.page-plan-list small,.page-plan-list strong{display:block}.page-plan-list strong{font-size:14px}.page-plan-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;overflow:hidden}.page-plan-list svg{color:var(--green)}.page-plan-editor{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;padding:26px}.page-editor-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:8px;display:flex}.page-editor-heading h2{margin:0;font-size:21px}.page-editor-pager{align-items:center;gap:8px;display:flex}.page-editor-pager span{min-width:48px;color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;font-size:13px}.page-editor-pager .icon-button:disabled{cursor:default;opacity:.35}.page-scene-contract{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0 4px;padding:20px 0 22px}.page-scene-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.page-scene-heading h3,.page-scene-heading p{margin:0}.page-scene-heading h3{font-size:18px}.page-scene-heading>span{background:var(--green-soft);color:var(--green-dark);border-radius:4px;flex:none;padding:6px 8px;font-size:12px;font-weight:650}.scene-contract-grid{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:12px;display:grid}.page-scene-contract .field>span small{color:var(--muted);margin-left:5px;font-size:12px;font-weight:500}.page-cast-selector{border:0;margin:20px 0 4px;padding:0}.page-cast-selector legend{font-size:14px;font-weight:650}.page-cast-selector legend small{color:var(--muted);margin-left:6px;font-size:12px;font-weight:500}.page-cast-selector>div{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.page-cast-selector .page-scene-only-toggle{margin-top:10px;display:block}.page-cast-selector .page-scene-only-toggle>span{width:100%;min-height:44px;padding:9px 11px;display:flex}.page-cast-selector .page-scene-only-toggle small{text-align:right;margin-left:auto}.page-cast-selector label{cursor:pointer}.page-cast-selector input{opacity:0;pointer-events:none;position:absolute}.page-cast-selector label>span{border:1px solid var(--line);min-height:38px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:7px;padding:7px 10px;display:inline-flex}.page-cast-selector label.is-selected>span{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.page-cast-selector label small{color:inherit;opacity:.78;font-size:11px}.page-cast-selector>p{color:var(--muted);margin:9px 0 0;font-size:12px;line-height:1.5}.page-plan-empty{border:1px dashed var(--line-strong);background:#ffffff8c;border-radius:7px;flex-direction:column;justify-content:center;align-items:flex-start;min-height:420px;padding:48px;display:flex}.page-plan-empty h2,.page-plan-empty p{max-width:460px;margin:0}.page-plan-empty .eyebrow{margin-top:20px}.page-plan-empty h2{margin-top:6px;font-size:25px}.page-plan-empty>p:not(.eyebrow,.form-error){color:var(--muted);margin-top:12px;font-size:15px;line-height:1.65}.page-plan-empty-actions{align-items:center;gap:8px;margin-top:28px;display:flex}.production-layout{grid-template-columns:minmax(250px,.62fr) minmax(580px,1.38fr);gap:34px;margin-top:42px;display:grid}.character-reference-layout{grid-template-columns:minmax(230px,.55fr) minmax(560px,1.45fr);gap:42px;margin-top:42px;display:grid}.character-reference-roster{scrollbar-width:thin;gap:8px;margin-top:20px;padding:2px 0 5px;display:flex;overflow-x:auto}.character-reference-roster>button{border:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:6px;flex:0 0 170px;grid-template-columns:auto 1fr;gap:2px 8px;padding:10px 12px;display:grid}.character-reference-roster>button.is-active,.character-reference-roster>button:hover{border-color:var(--green);background:var(--green-soft)}.character-reference-roster>button>span{color:var(--muted);background:#eef1ed;border-radius:3px;grid-row:1/3;align-self:center;padding:3px 5px;font-size:10px}.character-reference-roster strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.character-reference-roster small{color:var(--muted);align-items:center;gap:4px;font-size:11px;display:inline-flex}.character-reference-brief{align-self:start;padding-top:6px}.character-reference-brief .eyebrow{margin-top:18px}.character-reference-brief h2{margin:5px 0 0;font-size:25px}.character-reference-facts{border-top:1px solid var(--line);margin:22px 0}.character-reference-facts>div{border-bottom:1px solid var(--line);padding:13px 0}.character-reference-facts dt{color:var(--muted);font-size:12px}.character-reference-facts dd{margin:5px 0 0;font-size:13px;line-height:1.6}.character-reference-stage{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;padding:24px}.character-reference-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.character-reference-heading h2{margin:0;font-size:21px}.reference-confirmed,.reference-draft{white-space:nowrap;border-radius:4px;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:inline-flex}.reference-confirmed{background:var(--green-soft);color:var(--green-dark)}.reference-draft{color:var(--muted);background:#f1f2ef}.character-reference-canvas{aspect-ratio:2/3;border:1px dashed var(--line-strong);background:#f2f3ef;border-radius:6px;width:min(100%,460px);margin:0 auto;position:relative;overflow:hidden}.character-reference-canvas.has-image{border-style:solid}.character-reference-canvas>img{object-fit:contain}.character-reference-versions{justify-content:center;align-items:center;gap:12px;margin-top:18px;display:flex}.character-reference-versions>span{color:var(--muted);font-size:13px}.character-reference-versions>div{flex-wrap:wrap;gap:6px;display:flex}.character-reference-versions button{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:4px;align-items:center;gap:6px;padding:7px 9px;font-size:13px;display:flex}.character-reference-versions button.is-current,.character-reference-versions button:hover{border-color:var(--green);background:var(--green-soft)}.character-reference-versions small{color:var(--muted);font-size:11px}.reference-checklist{border-top:1px solid var(--line);width:min(100%,560px);margin:22px auto 0;padding-top:16px}.reference-checklist>span{color:var(--muted);font-size:12px}.reference-checklist ul{color:var(--ink);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin:10px 0 0;padding-left:18px;font-size:13px;line-height:1.45;display:grid}.production-sidebar,.production-stage{min-width:0}.production-summary{border:1px solid var(--line);background:#fff;border-radius:7px;padding:20px}.production-summary h2,.production-summary p{margin:0}.production-summary h2{margin-top:6px;font-size:21px}.production-summary>p:not(.eyebrow){color:var(--muted);margin-top:10px;font-size:13px;line-height:1.65}.production-page-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:610px;margin-top:14px;overflow-y:auto}.production-page-list>button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;grid-template-columns:25px 48px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:12px 8px;display:grid}.production-page-list>button:last-child{border-bottom:0}.production-page-list>button.is-active,.production-page-list>button:hover{background:var(--green-soft)}.production-page-list>button:disabled{cursor:default}.production-page-number{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.production-thumb{aspect-ratio:3/2;border:1px solid var(--line);color:#a4aaa6;background:#f3f4f1;border-radius:4px;place-items:center;width:48px;display:grid;position:relative;overflow:hidden}.production-thumb img{object-fit:cover}.production-page-copy{min-width:0}.production-page-copy small,.production-page-copy strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.production-page-copy strong{font-size:13px;font-weight:600;line-height:1.4}.production-page-copy small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.production-page-list svg:not(.spin){color:var(--green)}.production-stage{border:1px solid var(--line);background:#fff;border-radius:7px;padding:24px}.production-stage-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.production-stage-heading h2{margin:0;font-size:21px}.production-image-workspace.has-revision-panel{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;display:grid}.production-canvas{aspect-ratio:3/2;border:1px dashed var(--line-strong);background:#f2f3ef;border-radius:6px;width:100%;position:relative;overflow:hidden}.production-canvas.has-image{background:#e8ebe6;border-style:solid}.production-canvas.is-annotating{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.production-canvas>img{object-fit:contain;-webkit-user-select:none;user-select:none}.production-edit-region{z-index:2;outline:2px solid var(--green);pointer-events:none;border:2px solid #fff;border-radius:3px;min-width:2px;min-height:2px;position:absolute;box-shadow:0 0 0 9999px #12231b66}.production-edit-region>span{color:#fff;white-space:nowrap;background:#164935eb;border-radius:3px;padding:4px 7px;font-size:11px;font-weight:700;line-height:1;position:absolute;top:7px;left:7px}.production-edit-brush-mask{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.production-edit-brush-mask circle,.production-edit-brush-mask polyline{fill:#ffffff29;stroke:#147c52bd;stroke-linecap:round;stroke-linejoin:round}.production-edit-brush-mask polyline{fill:none}.production-annotation-hint{z-index:2;color:#fff;pointer-events:none;white-space:nowrap;background:#1c2b23e6;border-radius:4px;padding:7px 11px;font-size:12px;font-weight:650;position:absolute;top:14px;left:50%;transform:translate(-50%)}.production-empty,.production-generating{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.production-empty strong,.production-generating strong{color:var(--ink);font-size:15px}.production-empty span,.production-generating span{max-width:320px;font-size:13px;line-height:1.5}.production-generating{z-index:4;color:var(--green);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f7f8f5eb}.production-revision-panel{border:1px solid var(--line);background:#fafbf8;border-radius:6px;padding:16px}.production-revision-heading h3,.production-revision-heading p{margin:0}.production-revision-heading h3{margin-top:4px;font-size:17px;line-height:1.35}.production-revision-heading>p:not(.eyebrow){color:var(--muted);margin-top:7px;font-size:12px;line-height:1.55}.production-revision-modes{border:0;gap:7px;margin:16px 0 0;padding:0;display:grid}.production-revision-modes legend{color:var(--muted);margin-bottom:7px;font-size:12px}.production-revision-modes>label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:5px;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:9px;padding:10px;display:grid}.production-revision-modes>label.is-selected,.production-revision-modes>label:hover{border-color:var(--green);background:var(--green-soft)}.production-revision-modes input{accent-color:var(--green);margin:3px 0 0}.production-revision-modes label>span{grid-template-columns:18px minmax(0,1fr);gap:2px 6px;display:grid}.production-revision-modes svg{color:var(--green);grid-row:1/span 2;margin-top:1px}.production-revision-modes small,.production-revision-modes strong{display:block}.production-revision-modes strong{font-size:13px;line-height:1.4}.production-revision-modes small{color:var(--muted);font-size:11px;line-height:1.45}.production-revision-instruction{margin-top:14px;display:block}.production-edit-region-controls{border:1px solid var(--line);background:#fff;border-radius:5px;gap:9px;margin-top:14px;padding:11px;display:grid}.production-edit-region-controls>div:first-child>small,.production-edit-region-controls>div:first-child>span{display:block}.production-edit-region-controls>div:first-child>span{color:var(--ink);font-size:12px;font-weight:700}.production-edit-region-controls>div:first-child>small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.45}.production-edit-region-controls>div:last-child{flex-wrap:wrap;gap:7px;display:flex}.production-edit-region-controls .production-edit-tool-switch{border:1px solid var(--line);background:#f3f5f1;border-radius:5px;width:fit-content;padding:2px;display:inline-flex}.production-edit-tool-switch>button{min-height:30px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:3px;align-items:center;gap:5px;padding:5px 10px;font-size:12px;font-weight:650;display:inline-flex}.production-edit-tool-switch>button.is-active{color:var(--green);background:#fff;box-shadow:0 1px 2px #12231b1f}.production-edit-tool-switch>button:disabled{cursor:default;opacity:.55}.production-edit-brush-size{max-width:290px;color:var(--muted);grid-template-columns:auto minmax(100px,1fr) 34px;align-items:center;gap:9px;font-size:11px;display:grid}.production-edit-brush-size>span{color:var(--ink);font-weight:650}.production-edit-brush-size input{width:100%;accent-color:var(--green)}.production-edit-brush-size small{text-align:right}.production-edit-region-controls .button{min-height:34px;padding:7px 10px;font-size:12px}.production-revision-instruction>span{margin-bottom:6px;font-size:12px;font-weight:650;display:block}.production-revision-instruction>span strong{color:#b44d39}.production-revision-instruction textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:116px;color:var(--ink);font:inherit;background:#fff;border-radius:5px;padding:10px;font-size:13px;line-height:1.55}.production-revision-instruction textarea:focus{outline:2px solid var(--green)}@supports (color:color-mix(in lab,red,red)){.production-revision-instruction textarea:focus{outline:2px solid color-mix(in srgb,var(--green) 24%,transparent)}}.production-revision-instruction textarea:focus{outline-offset:1px;border-color:var(--green)}.production-revision-instruction>small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.45;display:block}.production-revision-notice{border-left:2px solid var(--gold);background:var(--gold-soft);color:#6d531d;margin:14px 0 0;padding:10px;font-size:12px;line-height:1.5}.production-revision-error{color:#963f2f;margin:12px 0 0;font-size:12px;line-height:1.45}.production-revision-submit{width:100%;margin-top:14px}.spin{animation:workbench-spin .9s linear infinite}@keyframes workbench-spin{to{transform:rotate(1turn)}}.production-edit-difference{color:var(--green);background:#f3f8f4;border:1px solid #c9d9cf;border-radius:5px;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;margin-top:14px;padding:11px 13px;display:grid}.production-edit-difference.is-review,.production-edit-difference.is-unavailable{color:#8a6418;background:#fff9eb;border-color:#dfc58d}.production-edit-difference span,.production-edit-difference strong{display:block}.production-edit-difference strong{color:var(--ink);font-size:13px;line-height:1.4}.production-edit-difference span{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.5}.production-contract{border:1px solid var(--line);background:var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:18px;display:grid}.production-contract>div{background:#fafbf8;min-width:0;padding:12px 14px}.production-contract span{color:var(--muted);font-size:12px}.production-contract p{margin:5px 0 0;font-size:13px;line-height:1.55}.production-scene-contract{grid-column:1/-1}.production-scene-contract small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.production-character-anchor>div{align-items:center;gap:10px;margin-top:6px;display:flex}.production-character-reference-list{width:100%;gap:8px!important;display:grid!important}.production-character-reference-list>div{align-items:center;gap:10px;display:flex}.production-reference-thumb{border:1px solid var(--line);background:#fff;border-radius:4px;flex:none;width:42px;height:42px;position:relative;overflow:hidden}.production-reference-thumb img{object-fit:cover}.production-character-anchor p{margin:0}.production-character-anchor small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.production-versions{align-items:center;gap:12px;margin-top:18px;display:flex}.production-versions>span{color:var(--muted);flex:none;font-size:13px}.production-versions>div{flex-wrap:wrap;gap:6px;display:flex}.production-versions button{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:4px;align-items:center;gap:6px;padding:7px 9px;font-size:13px;display:flex}.production-versions button.is-current,.production-versions button:hover{border-color:var(--green);background:var(--green-soft)}.production-versions small{color:var(--muted);font-size:11px}.production-error{color:#813a2c;background:#fff0ed;border-left:3px solid #b75a45;margin-top:16px;padding:11px 13px}.production-error span,.production-error strong{display:block}@media (max-width:1180px){.production-image-workspace.has-revision-panel{grid-template-columns:1fr}.production-revision-panel{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:0 18px;display:grid}.production-revision-heading,.production-revision-modes{grid-column:1}.production-edit-region-controls,.production-revision-error,.production-revision-instruction,.production-revision-notice,.production-revision-submit{grid-column:2}.production-edit-region-controls,.production-revision-instruction,.production-revision-notice{margin-top:0}.production-revision-instruction{margin-top:10px}.production-revision-error,.production-revision-submit{align-self:end}}.layout-workspace-layout{grid-template-columns:290px minmax(0,1fr);gap:24px;margin-top:42px;display:grid}.layout-editor,.layout-empty,.layout-sidebar{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;padding:22px}.layout-sidebar{align-self:start;padding:0;overflow:hidden}.layout-summary{border-bottom:1px solid var(--line);padding:22px}.layout-summary h2,.layout-summary p{margin:0}.layout-summary h2{margin-top:4px;font-size:20px}.layout-summary>p:not(.eyebrow){color:var(--muted);margin-top:8px;font-size:13px;line-height:1.55}.layout-summary .field{margin-top:18px}.layout-warning{border-left:3px solid var(--gold);background:var(--gold-soft);color:#6d531d;margin-top:14px;padding:12px;font-size:13px;line-height:1.5}.layout-warning p{margin:0}.layout-page-list{max-height:680px;overflow-y:auto}.layout-page-list button{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;grid-template-columns:28px minmax(0,1fr) 16px;align-items:center;gap:9px;width:100%;min-width:0;padding:12px 16px;display:grid}.layout-page-list button.is-active,.layout-page-list button:hover{background:var(--green-soft)}.layout-page-list button>span:first-child{color:var(--muted);font-size:12px}.layout-page-list button div{min-width:0}.layout-page-list small,.layout-page-list strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.layout-page-list strong{font-size:13px}.layout-page-list small{color:var(--muted);margin-top:3px;font-size:12px}.layout-missing-dot{background:var(--gold);border-radius:50%;width:7px;height:7px}.layout-editor{padding:24px}.layout-editor-stage{display:block}.layout-live-preview{min-width:0}.layout-controls-heading,.layout-editor-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.layout-controls-heading h3,.layout-controls-heading p,.layout-editor-heading h2,.layout-editor-heading p{margin:0}.layout-editor-heading h2{margin-top:4px;font-size:22px}.layout-controls-heading>span,.layout-editor-heading>span{background:var(--surface-soft);color:var(--muted);border-radius:4px;flex:none;padding:6px 9px;font-size:12px}.layout-preview-canvas{aspect-ratio:3/2;contain:paint;--layout-fade-long:5.99cqw;--layout-fade-short:2.344cqw;--layout-side-fade-long:7.552cqw;--layout-side-fade-short:2.865cqw;background:#f7f2e6;border:1px solid #dfe6df;border-radius:10px;max-width:860px;margin:22px auto 0;display:block;position:relative;overflow:hidden;container-type:inline-size}.layout-preview-canvas.aspect-portrait{aspect-ratio:2/3;--layout-fade-long:8.984cqw;--layout-fade-short:3.516cqw;--layout-side-fade-long:11.328cqw;--layout-side-fade-short:4.297cqw}.layout-preview-art{background:#e8eeea;position:absolute;inset:0;overflow:hidden}.layout-preview-art>img{object-fit:cover}.layout-preview-missing{width:100%;height:100%;color:var(--muted);place-content:center;justify-items:center;gap:8px;font-size:13px;display:grid}.layout-caption{z-index:1;max-width:100%;max-height:42%;box-shadow:none;color:var(--layout-text-color,#25362e);background:0 0;border:0;align-content:center;gap:.651cqw;padding:1.823cqw 3.385cqw 1.953cqw;display:grid;position:absolute;overflow:hidden}.layout-preview-canvas.aspect-portrait .layout-caption{gap:.977cqw;padding:2.734cqw 5.078cqw 2.93cqw}.position-top .layout-caption{width:100%;padding-bottom:var(--layout-fade-long);border:0;top:0;left:0}.position-bottom .layout-caption{width:100%;padding-top:var(--layout-fade-long);border:0;bottom:0;left:0}.position-left .layout-caption{width:40%;max-height:none;padding-right:var(--layout-side-fade-long);top:0;bottom:0;left:0}.position-right .layout-caption{width:40%;max-height:none;padding-left:var(--layout-side-fade-long);top:0;bottom:0;right:0}.has-text-background.position-top .layout-caption{background:linear-gradient(to bottom,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - var(--layout-fade-long)),rgba(var(--layout-background-rgb),.42) calc(100% - var(--layout-fade-short)),rgba(var(--layout-background-rgb),0) 100%)}.has-text-background.position-bottom .layout-caption{background:linear-gradient(to top,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - var(--layout-fade-long)),rgba(var(--layout-background-rgb),.42) calc(100% - var(--layout-fade-short)),rgba(var(--layout-background-rgb),0) 100%)}.has-text-background.position-left .layout-caption{background:linear-gradient(to right,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - var(--layout-side-fade-long)),rgba(var(--layout-background-rgb),.42) calc(100% - var(--layout-side-fade-short)),rgba(var(--layout-background-rgb),0) 100%)}.has-text-background.position-right .layout-caption{background:linear-gradient(to left,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - var(--layout-side-fade-long)),rgba(var(--layout-background-rgb),.42) calc(100% - var(--layout-side-fade-short)),rgba(var(--layout-background-rgb),0) 100%)}.layout-preview-canvas.has-custom-position .layout-caption,.layout-preview-canvas.has-custom-size .layout-caption{top:var(--layout-box-y);bottom:auto;right:auto;left:var(--layout-box-x);width:72%;max-width:100%;max-height:74%;padding:2.083cqw 2.865cqw;transform:translate(-50%,-50%)}.layout-preview-canvas.aspect-portrait.has-custom-position .layout-caption,.layout-preview-canvas.aspect-portrait.has-custom-size .layout-caption{width:86%;padding:3.125cqw 4.297cqw}.layout-preview-canvas.has-custom-size .layout-caption{width:var(--layout-box-width);height:var(--layout-box-height);max-width:100%;max-height:100%}.layout-preview-canvas.has-custom-position.has-text-background .layout-caption,.layout-preview-canvas.has-custom-size.has-text-background .layout-caption{background:radial-gradient(ellipse at center,rgba(var(--layout-background-rgb),.88) 0,rgba(var(--layout-background-rgb),.68) 58%,rgba(var(--layout-background-rgb),0) 100%)}.position-top .layout-page-number{top:1.172cqw;bottom:auto}.position-left .layout-page-number,.position-right .layout-page-number{top:1.172cqw;bottom:auto;right:1.823cqw}.layout-preview-canvas.has-custom-position .layout-page-number,.layout-preview-canvas.has-custom-size .layout-page-number{top:auto;bottom:1.172cqw;right:1.823cqw}.layout-preview-canvas.is-position-editable .layout-page-number{right:46px}.align-left .layout-caption{text-align:left}.align-center .layout-caption{text-align:center}.align-right .layout-caption{text-align:right}.layout-preview-canvas.scale-small .layout-caption{font-size:1.953cqw}.layout-preview-canvas.scale-medium .layout-caption{font-size:2.344cqw}.layout-preview-canvas.scale-large .layout-caption{font-size:2.734cqw}.layout-preview-canvas.aspect-portrait.scale-small .layout-caption{font-size:2.93cqw}.layout-preview-canvas.aspect-portrait.scale-medium .layout-caption{font-size:3.516cqw}.layout-preview-canvas.aspect-portrait.scale-large .layout-caption{font-size:4.102cqw}.layout-caption-content{align-content:center;gap:inherit;min-width:0;max-width:100%;display:grid}.layout-chinese{font-weight:700;line-height:1.4}.export-page-caption .layout-chinese,.export-page-caption .layout-english,.export-page-caption .layout-ruby-text,.layout-caption .layout-chinese,.layout-caption .layout-english,.layout-caption .layout-ruby-text{color:var(--layout-text-color,#25362e);-webkit-text-stroke:.02em var(--layout-stroke-color,#fff9e8);paint-order:stroke fill}.layout-ruby-text{white-space:pre-wrap;font-weight:700;line-height:2.05;display:block}.layout-ruby-text ruby{ruby-align:center;ruby-position:over;white-space:nowrap}.layout-ruby-unit{display:inline}.layout-ruby-text rt{color:var(--layout-text-color,#25362e);-webkit-text-stroke:.02em var(--layout-stroke-color,#fff9e8);paint-order:stroke fill;font-size:.58em;font-weight:500;line-height:1}.layout-editor .layout-ruby-text rt{font-size:.58em}.layout-drag-handle,.layout-resize-handle{z-index:3;color:#25362e;cursor:grab;touch-action:none;-webkit-text-stroke:0;paint-order:normal;background:#ffffffe6;border:1px solid #20282438;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;right:8px;box-shadow:0 1px 4px #20282424}.layout-drag-handle{top:7px}.layout-resize-handle{cursor:nwse-resize;bottom:7px}.layout-drag-handle:focus-visible,.layout-drag-handle:hover,.layout-resize-handle:focus-visible,.layout-resize-handle:hover{border-color:var(--green);color:var(--green-dark)}.layout-drag-handle:active{cursor:grabbing}.layout-resize-handle:active{cursor:nwse-resize}.layout-english{opacity:.8;font-size:.82em;line-height:1.35}.layout-english,.layout-page-number{color:var(--layout-text-color,#25362e)}.layout-page-number{opacity:.64;font-size:.72em;position:absolute;bottom:6px;right:10px}.layout-controls{border-top:1px solid var(--line);margin-top:24px;padding-top:21px}@media (min-width:1280px){.layout-editor-stage{grid-template-columns:minmax(310px,.9fr) minmax(0,1.1fr);align-items:start;gap:26px;display:grid}.layout-live-preview{align-self:start;position:sticky;top:20px}.layout-live-preview .layout-preview-canvas{width:100%;margin-top:16px}.layout-live-preview .layout-preview-canvas.aspect-portrait{max-width:300px}.layout-editor-stage .layout-controls{border-top:0;margin-top:0;padding-top:0}}.layout-controls-heading h3{margin-top:4px;font-size:18px}.layout-controls .field-wide{margin-top:18px}.layout-control-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.field-checkbox{border:1px solid var(--line);border-radius:4px;justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:0 11px;display:flex}.field.field-checkbox input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--green);padding:0}.layout-size-controls,.layout-style-controls{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.layout-style-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.layout-style-heading h4{margin:0;font-size:15px}.layout-style-heading .icon-button{border-color:var(--line);width:34px;height:34px}.layout-background-toggle{margin-top:12px}.layout-size-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:13px;display:grid}.layout-size-grid label{color:var(--muted);gap:8px;font-size:13px;font-weight:650;display:grid}.layout-size-grid label>span{justify-content:space-between;align-items:center;gap:12px;display:flex}.layout-size-grid strong{color:var(--ink);font-variant-numeric:tabular-nums}.layout-size-grid input[type=range]{width:100%;min-height:28px;accent-color:var(--green);cursor:pointer}.layout-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.layout-color-field{color:var(--muted);gap:7px;font-size:13px;font-weight:650;display:grid}.layout-color-field>div{border:1px solid var(--line-strong);background:#fff;border-radius:5px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:44px;padding:5px 9px 5px 5px;display:grid}.layout-color-field input[type=color]{cursor:pointer;background:0 0;border:0;border-radius:4px;width:42px;height:32px;min-height:32px;padding:2px}.layout-color-hex-input{width:100%;min-width:0;min-height:32px;color:var(--ink);letter-spacing:0;background:0 0;border:0;border-radius:0;padding:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:500}.layout-color-hex-input:focus-visible{outline:2px solid var(--green);outline-offset:2px}.layout-position-field>div{grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px;display:grid}.layout-position-field .icon-button{width:42px;height:42px}.layout-empty{min-height:320px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:10px;display:grid}.layout-empty h2,.layout-empty p{margin:0}.book-review-page .layout-preview-canvas{border-radius:0;margin:0}.production-error strong{font-size:14px}.production-error span{margin-top:3px;font-size:12px;line-height:1.5}.cover-workspace-layout{grid-template-columns:300px minmax(0,1fr);gap:24px;margin-top:42px;display:grid}.cover-sidebar,.cover-stage{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0}.cover-sidebar{align-self:start;overflow:hidden}.cover-form-panel{padding:22px}.cover-form-panel h2{margin:4px 0 0;font-size:20px}.cover-form-panel .button-quiet{width:100%;margin-top:9px}.cover-generation-note{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);align-items:flex-start;gap:8px;margin-top:18px;padding:11px 12px;font-size:13px;line-height:1.5;display:flex}.cover-versions{border-top:1px solid var(--line);color:var(--muted);gap:9px;padding:16px 22px 20px;font-size:13px;display:grid}.cover-versions>div{flex-wrap:wrap;gap:6px;display:flex}.cover-versions button{border:1px solid var(--line);min-width:56px;color:var(--ink);cursor:pointer;background:#fff;border-radius:4px;gap:2px;padding:6px 8px;font-size:13px;display:grid}.cover-versions button.is-current,.cover-versions button:hover{border-color:var(--green);background:var(--green-soft)}.cover-versions small{color:var(--muted);font-size:11px}.cover-stage{padding:22px}.cover-stage-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.cover-stage-heading h2{margin:4px 0 0;font-size:21px}.cover-canvas{aspect-ratio:3/2;border:1px solid var(--line);background:#edf2ee;border-radius:5px;place-items:center;width:min(100%,820px);margin:20px auto 0;display:grid;position:relative;overflow:hidden}.cover-canvas.aspect-portrait{aspect-ratio:2/3}.cover-canvas.has-image img{object-fit:contain}.cover-copy-checklist{border-left:3px solid var(--gold);background:var(--gold-soft);color:#6d531d;gap:4px;margin:18px auto 0;padding:12px 14px;font-size:13px;line-height:1.55;display:grid}.cover-copy-checklist strong{font-size:14px}.book-review-cover{border:1px solid var(--line);background:#fff;border-radius:7px;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:24px;padding:22px 24px;display:grid}.book-review-cover h2,.book-review-cover p,.book-review-cover span{margin:0}.book-review-cover h2{margin-top:5px;font-size:22px}.book-review-cover p{color:var(--muted);margin-top:6px}.book-review-cover>div:first-child>span{color:var(--green-dark);margin-top:14px;font-size:13px;display:block}.book-review-cover-image{aspect-ratio:3/2;border:1px solid var(--line);background:#edf2ee;border-radius:4px;width:100%;position:relative;overflow:hidden}.book-review-cover-image.aspect-portrait{aspect-ratio:2/3}.book-review-cover-image img{object-fit:cover}.publication-export-panel{border:1px solid var(--line);background:#fff;border-radius:7px;margin-top:24px;padding:24px}.publication-export-actions,.publication-export-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.publication-export-heading h2,.publication-export-heading p{margin:0}.publication-export-heading h2{margin-top:5px;font-size:22px}.publication-export-heading>div>p:not(.eyebrow){max-width:720px;color:var(--muted);margin-top:8px;font-size:14px;line-height:1.6}.publication-export-mode{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);white-space:nowrap;border-radius:5px;flex:none;align-items:center;gap:6px;padding:7px 9px;font-size:12px;font-weight:650;display:inline-flex}.publication-export-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.publication-export-options button{border:1px solid var(--line-strong);min-width:0;color:var(--muted);cursor:pointer;text-align:left;background:#fbfcfb;border-radius:6px;align-items:flex-start;gap:12px;padding:16px;display:flex}.publication-export-options button.is-active,.publication-export-options button:hover{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.publication-export-options button>span,.publication-export-options small,.publication-export-options strong{display:block}.publication-export-options strong{color:var(--ink);font-size:15px}.publication-export-options small{margin-top:4px;font-size:12px;line-height:1.5}.publication-export-success{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);align-items:flex-start;gap:9px;margin-top:16px;padding:12px 14px;display:flex}.publication-export-success span,.publication-export-success strong{display:block}.publication-export-success span{color:var(--muted);margin-top:3px;font-size:12px}.publication-export-download{align-items:center}.publication-export-download>div{flex:1;min-width:0}.publication-export-download strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.publication-export-download .button{flex:none;min-height:34px;padding:7px 10px}.publication-export-job{border:1px solid var(--line);border-left:3px solid var(--gold);background:#fffdf7;border-radius:5px;margin-top:16px;padding:14px}.publication-export-job.status-succeeded{border-left-color:var(--green);background:var(--green-soft)}.publication-export-job.status-canceled,.publication-export-job.status-failed{border-left-color:var(--coral);background:#fff9f7}.publication-export-job-heading{align-items:center;gap:10px;display:flex}.publication-export-job-icon{background:var(--gold-soft);width:30px;height:30px;color:var(--gold);border-radius:50%;flex:none;place-items:center;display:grid}.publication-export-job.status-succeeded .publication-export-job-icon{color:var(--green);background:#fff}.publication-export-job.status-canceled .publication-export-job-icon,.publication-export-job.status-failed .publication-export-job-icon{background:var(--coral-soft);color:var(--coral)}.publication-export-job-heading>div{flex:1;min-width:0}.publication-export-job-heading span,.publication-export-job-heading strong{display:block}.publication-export-job-heading strong{font-size:14px}.publication-export-job-heading>div>span{color:var(--muted);margin-top:2px;font-size:12px}.publication-export-job-progress-value{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:13px}.publication-export-progress{background:#2862481f;border-radius:999px;height:5px;margin-top:12px;overflow:hidden}.publication-export-progress>span{border-radius:inherit;background:var(--green);height:100%;transition:width .18s;display:block}.publication-export-job-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.publication-export-job-actions .button{min-height:32px;padding:6px 9px;font-size:12px}.publication-export-issues{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.publication-export-issues .button{color:#813a2c;border-color:#c57a68;min-height:34px;padding:7px 10px;font-size:12px}.publication-export-issues .button:hover{background:#fff8f6;border-color:#a74c3a}.publication-export-issues .button span{color:inherit;margin-left:4px;font-size:11px;font-weight:500}.publication-export-actions{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.publication-export-actions>div>small,.publication-export-actions>div>span{display:block}.publication-export-actions>div>span{color:var(--ink);font-size:14px;font-weight:650}.publication-export-actions>div>small{color:var(--muted);margin-top:3px;font-size:12px}.export-render-root{z-index:-1;pointer-events:none;width:1536px;position:fixed;top:0;left:-100000px}.export-publication-page{color:#25362e;contain:paint;background:#f7f2e6;font-family:PingFang SC,Noto Sans CJK SC,Microsoft YaHei,sans-serif;position:relative;overflow:hidden}.export-cover-page img{object-fit:contain}.export-inner-page{display:block}.export-page-art{background:#e8eeea;position:absolute;inset:0;overflow:hidden}.export-page-art img{object-fit:cover}.export-page-caption{max-width:100%;max-height:42%;box-shadow:none;color:var(--layout-text-color,#25362e);background:0 0;border:0;align-content:center;gap:10px;padding:28px 52px 30px;display:grid;position:absolute;overflow:hidden}.export-inner-page.position-top .export-page-caption{border:0;width:100%;padding-bottom:92px;top:0;left:0}.export-inner-page.position-bottom .export-page-caption{border:0;width:100%;padding-top:92px;bottom:0;left:0}.export-inner-page.position-left .export-page-caption{width:40%;max-height:none;padding-right:116px;top:0;bottom:0;left:0}.export-inner-page.position-right .export-page-caption{width:40%;max-height:none;padding-left:116px;top:0;bottom:0;right:0}.export-inner-page.has-text-background.position-top .export-page-caption{background:linear-gradient(to bottom,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - 92px),rgba(var(--layout-background-rgb),.42) calc(100% - 36px),rgba(var(--layout-background-rgb),0) 100%)}.export-inner-page.has-text-background.position-bottom .export-page-caption{background:linear-gradient(to top,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - 92px),rgba(var(--layout-background-rgb),.42) calc(100% - 36px),rgba(var(--layout-background-rgb),0) 100%)}.export-inner-page.has-text-background.position-left .export-page-caption{background:linear-gradient(to right,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - 116px),rgba(var(--layout-background-rgb),.42) calc(100% - 44px),rgba(var(--layout-background-rgb),0) 100%)}.export-inner-page.has-text-background.position-right .export-page-caption{background:linear-gradient(to left,rgba(var(--layout-background-rgb),.9) 0,rgba(var(--layout-background-rgb),.86) calc(100% - 116px),rgba(var(--layout-background-rgb),.42) calc(100% - 44px),rgba(var(--layout-background-rgb),0) 100%)}.export-inner-page.has-custom-position .export-page-caption,.export-inner-page.has-custom-size .export-page-caption{top:var(--layout-box-y);bottom:auto;right:auto;left:var(--layout-box-x);width:72%;max-width:100%;max-height:74%;padding:32px 44px;transform:translate(-50%,-50%)}.export-inner-page.aspect-portrait.has-custom-position .export-page-caption,.export-inner-page.aspect-portrait.has-custom-size .export-page-caption{width:86%}.export-inner-page.has-custom-size .export-page-caption{width:var(--layout-box-width);height:var(--layout-box-height);max-width:100%;max-height:100%}.export-inner-page.has-custom-position.has-text-background .export-page-caption,.export-inner-page.has-custom-size.has-text-background .export-page-caption{background:radial-gradient(ellipse at center,rgba(var(--layout-background-rgb),.88) 0,rgba(var(--layout-background-rgb),.68) 58%,rgba(var(--layout-background-rgb),0) 100%)}.export-inner-page.align-center .export-page-caption{text-align:center}.export-inner-page.align-left .export-page-caption{text-align:left}.export-inner-page.align-right .export-page-caption{text-align:right}.export-inner-page.scale-small .export-page-caption{font-size:30px}.export-inner-page.scale-medium .export-page-caption{font-size:36px}.export-inner-page.scale-large .export-page-caption{font-size:42px}.export-page-caption .layout-ruby-text{line-height:1.78}.export-page-caption .layout-ruby-text rt{font-size:.5em}.export-page-caption .layout-page-number{bottom:18px;right:28px}.export-inner-page.position-left .layout-page-number,.export-inner-page.position-right .layout-page-number,.export-inner-page.position-top .layout-page-number{top:18px;bottom:auto}.export-inner-page.has-custom-position .layout-page-number,.export-inner-page.has-custom-size .layout-page-number{top:auto;bottom:18px;right:28px}.export-history-summary{border:1px solid var(--line);background:#fff;border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:36px;display:grid;overflow:hidden}.export-history-summary>div{padding:18px 20px}.export-history-summary>div+div{border-left:1px solid var(--line)}.export-history-summary span,.export-history-summary strong{display:block}.export-history-summary span{color:var(--muted);font-size:13px}.export-history-summary strong{margin-top:5px;font-size:24px}.export-history-list{border:1px solid var(--line);background:#fff;border-radius:7px;margin-top:22px;overflow:hidden}.export-history-row{grid-template-columns:44px minmax(260px,1fr) 140px 140px;align-items:center;gap:14px;padding:16px 18px;display:grid}.export-history-cloud-row{grid-template-columns:44px minmax(240px,1fr) 90px 170px 108px}.export-history-row+.export-history-row{border-top:1px solid var(--line)}.export-history-icon{background:var(--surface-soft);width:40px;height:40px;color:var(--green-dark);border-radius:5px;place-items:center;display:grid}.export-history-row span,.export-history-row strong{display:block}.export-history-row strong{font-size:14px}.export-history-row span{color:var(--muted);margin-top:3px;font-size:12px}.export-history-status .status{align-items:center;gap:5px;min-height:25px;margin:0;padding:0 7px;font-size:11px;display:inline-flex}.export-history-status .status-queued,.export-history-status .status-retry_wait,.export-history-status .status-running{background:var(--gold-soft);color:#785919}.export-history-status .status-succeeded{background:var(--green-soft);color:var(--green-dark)}.export-history-status .status-canceled,.export-history-status .status-failed{background:var(--coral-soft);color:#934a3c}.export-history-download{justify-content:flex-end;display:flex}.export-history-download .button{min-height:34px;padding:7px 10px}.export-history-download>span{text-align:right}.export-history-error{margin:0}.production-actions{margin-top:20px}.book-review-layout{margin-top:42px}.book-review-next,.book-review-summary{border:1px solid var(--line);background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:28px;padding:22px 24px;display:flex}.book-review-next h2,.book-review-next p,.book-review-summary h2,.book-review-summary p{margin:0}.book-review-next h2,.book-review-summary h2{margin-top:5px;font-size:21px}.book-review-next>div>p:not(.eyebrow),.book-review-summary>div>p:not(.eyebrow){max-width:650px;color:var(--muted);margin-top:8px;font-size:14px;line-height:1.6}.review-blocked,.review-ready{border-radius:4px;flex:none;align-items:center;gap:6px;padding:7px 9px;font-size:13px;font-weight:650;display:inline-flex}.review-ready{background:var(--green-soft);color:var(--green-dark)}.review-blocked{background:var(--coral-soft);color:var(--coral)}.book-review-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px;display:grid}.book-review-page{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;overflow:hidden}.book-review-preview-stage{position:relative;overflow:hidden}.ai-qa-evidence-region{z-index:8;pointer-events:none;background:#d44f3a1f;border:2px solid #d44f3a;border-radius:4px;min-width:20px;min-height:20px;position:absolute;box-shadow:0 0 0 1px #ffffffe6,0 3px 12px #61261b2e}.ai-qa-evidence-region small{color:#fff;white-space:nowrap;background:#b94734;border-radius:3px;padding:4px 6px;font-size:11px;font-weight:750;line-height:1;position:absolute;bottom:calc(100% + 4px);left:-2px}.book-review-image{aspect-ratio:3/2;background:#eef1ee;position:relative;overflow:hidden}.book-review-image>img{object-fit:cover}.book-review-image>div{width:100%;height:100%;color:var(--muted);place-content:center;justify-items:center;gap:8px;font-size:13px;display:grid}.book-review-copy{padding:13px 14px 15px}.book-review-copy span{color:var(--muted);font-size:12px;font-weight:650}.book-review-copy p{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0 0;font-size:14px;line-height:1.55;display:-webkit-box;overflow:hidden}.page-qa-actions{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.page-qa-actions strong{min-height:20px;color:var(--muted);align-items:center;gap:5px;font-size:11px;display:flex}.page-qa-actions.is-passed strong{color:var(--green-dark)}.page-qa-actions.is-failed strong{color:var(--coral)}.page-qa-actions>div{gap:5px;margin-top:7px;display:flex}.page-qa-actions button{border:1px solid var(--line);min-height:28px;color:var(--muted);font:inherit;cursor:pointer;background:#fff;border-radius:4px;justify-content:center;align-items:center;gap:4px;padding:0 8px;font-size:11px;font-weight:650;display:inline-flex}.page-qa-actions button:first-child{color:var(--green-dark);border-color:#aac2b5}.page-qa-actions button:disabled{opacity:.48;cursor:not-allowed}.page-ai-qa{background:#f7f9f7;border:1px solid #dfe5df;border-radius:5px;margin-top:11px;padding:10px}.page-ai-qa.is-passed{background:#f4faf6;border-color:#c8dacf}.page-ai-qa.is-failed{background:#fff7f5;border-color:#e5b7ae}.page-ai-qa-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.page-ai-qa-heading button,.page-ai-qa-heading strong{align-items:center;gap:4px;display:inline-flex}.page-ai-qa-heading strong{color:var(--ink);font-size:12px;line-height:1.35}.page-ai-qa.is-passed .page-ai-qa-heading strong{color:var(--green-dark)}.page-ai-qa.is-failed .page-ai-qa-heading strong{color:var(--coral)}.page-ai-qa-evidence button,.page-ai-qa-heading button{color:var(--green-dark);font:inherit;cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:700}.page-ai-qa-heading button:disabled{opacity:.45;cursor:not-allowed}.page-ai-qa-rules{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.page-ai-qa-rules span{color:var(--muted);background:#ecefed;border-radius:3px;padding:3px 5px;font-size:10px;font-weight:700;line-height:1.2}.page-ai-qa-rules span.is-passed{color:var(--green-dark);background:#dfeee4}.page-ai-qa-rules span.is-failed{color:#9c3e2e;background:#f6dcd7}.page-ai-qa-evidence{border-top:1px solid #b9473433;margin-top:9px;padding-top:9px}.page-ai-qa-evidence p,.page-ai-qa-evidence small,.page-ai-qa-evidence strong{display:block}.page-ai-qa-evidence strong{color:#8f382b;font-size:12px;line-height:1.4}.page-ai-qa-evidence p{color:var(--ink);margin:4px 0 0;font-size:12px;line-height:1.5}.page-ai-qa-evidence small{color:var(--muted);margin-top:5px;font-size:11px;line-height:1.35}.page-ai-qa-evidence button{color:#8f382b;margin-top:8px;padding:0}.qa-gate-panel{border:1px solid var(--line);background:#fff;border-radius:7px;margin-top:24px;padding:24px}.qa-gate-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.qa-gate-heading h2,.qa-gate-heading p{margin:0}.qa-gate-heading h2{margin-top:5px;font-size:22px}.qa-gate-heading>div>p:not(.eyebrow){max-width:720px;color:var(--muted);margin-top:8px;font-size:14px;line-height:1.6}.qa-gate-heading>span{background:var(--gold-soft);color:#72551a;border-radius:5px;flex:none;align-items:center;gap:6px;padding:7px 10px;font-size:13px;font-weight:700;display:inline-flex}.qa-gate-heading>span.is-ready{background:var(--green-soft);color:var(--green-dark)}.qa-project-checks{border:1px solid var(--line);background:var(--line);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:20px;display:grid;overflow:hidden}.qa-project-checks article{background:#fff;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:13px 14px;display:flex}.qa-project-checks article>div:first-child{min-width:0}.qa-project-checks article span,.qa-project-checks article strong{display:block}.qa-project-checks article strong{font-size:14px}.qa-project-checks article span{color:var(--muted);margin-top:3px;font-size:12px}.qa-project-checks article.is-passed{background:#f7fbf8}.qa-project-checks article.is-passed strong{color:var(--green-dark)}.qa-project-checks article.is-failed{background:#fff9f7}.qa-project-checks article.is-failed strong{color:var(--coral)}.qa-project-checks article>div:last-child{flex:none;gap:5px;display:flex}.qa-project-checks button{border:1px solid var(--line);min-height:29px;color:var(--muted);font:inherit;cursor:pointer;background:#fff;border-radius:4px;padding:0 8px;font-size:11px;font-weight:650}.qa-project-checks button:first-child{color:var(--green-dark);border-color:#aac2b5;align-items:center;gap:4px;display:inline-flex}.qa-project-checks button:disabled{opacity:.48;cursor:not-allowed}.qa-gate-footer{justify-content:space-between;align-items:center;gap:20px;margin-top:16px;display:flex}.qa-gate-footer>span{color:var(--muted);font-size:13px}.book-review-next{background:var(--surface-soft);margin-top:24px}.review-actions>span{color:var(--muted);font-size:13px}.story-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.save-success strong{font-size:15px}.save-success span{margin-top:3px;font-size:14px;line-height:1.45}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.eyebrow{color:var(--green);margin:0 0 8px;font-size:14px;font-weight:750}.page-header h1{margin:0;font-size:34px;font-weight:720;line-height:1.15}.header-copy{max-width:760px;color:var(--muted);margin:8px 0 0;font-size:15px;line-height:1.5}.button{cursor:pointer;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 15px;font-size:15px;font-weight:650;transition:background-color .14s,border-color .14s,color .14s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.5}.button-primary{background:var(--green);color:#fff}.button-primary:hover:not(:disabled){background:var(--green-dark)}.button-danger{color:#fff;background:#a64d3c;border-color:#a64d3c}.button-danger:hover:not(:disabled){background:#873b2d;border-color:#873b2d}.button-secondary{border-color:var(--line-strong);background:#fff}.button-secondary:hover{background:var(--surface-soft)}.button-quiet{min-height:32px;color:var(--green);background:0 0;padding:0 8px}.button-quiet:hover{background:var(--green-soft)}.icon-button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;width:38px;height:38px;padding:0;display:inline-grid}.icon-button:hover{border-color:var(--line);background:var(--surface-soft)}.summary-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:118px 118px 118px minmax(220px,1fr);gap:0;margin-top:38px;padding:22px 0;display:grid}.storage-warning{border-left:3px solid var(--gold);background:var(--gold-soft);color:#6d531d;align-items:flex-start;gap:10px;margin-top:20px;padding:12px 14px;font-size:14px;line-height:1.5;display:flex}.storage-warning svg{flex:none;margin-top:2px}.storage-warning p{margin:0}.summary-strip>div{border-right:1px solid var(--line);padding:0 24px}.summary-strip>div:first-child{padding-left:0}.summary-strip>div:last-child{border-right:0}.summary-strip span,.summary-strip strong{display:block}.summary-strip span{color:var(--muted);font-size:14px}.summary-strip strong{margin-top:6px;font-size:24px;line-height:1}.summary-strip .summary-next{padding-left:30px}.summary-strip .summary-next strong{font-size:24px;line-height:1}.project-lifecycle-message{margin-top:18px}.library-toolbar{justify-content:space-between;align-items:center;gap:20px;min-height:76px;display:flex}.segment-control{border:1px solid var(--line);background:#edf1ee;border-radius:6px;gap:2px;padding:3px;display:inline-flex}.segment-control button{height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 12px;font-size:15px}.segment-control button.is-active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1c2c231f}.search-box{border:1px solid var(--line);width:min(270px,38vw);height:42px;color:var(--muted);background:#fff;border-radius:5px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-box:focus-within{border-color:#7da58f;box-shadow:0 0 0 3px #28624817}.search-box input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:15px}.project-list{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.project-list-head,.project-row{grid-template-columns:minmax(280px,1.55fr) 100px minmax(170px,.8fr) 118px 116px;align-items:center;gap:18px;display:grid}.project-list-head{border-bottom:1px solid var(--line);min-height:40px;color:var(--muted);background:#f3f5f4;padding:0 18px;font-size:13px;font-weight:650}.project-row{min-height:110px;padding:14px 18px}.project-row+.project-row{border-top:1px solid var(--line)}.project-row:hover{background:#fbfcfb}.project-primary{align-items:center;gap:14px;min-width:0;display:flex}.cover-thumb{border:1px solid var(--line);width:62px;height:70px;color:var(--green);background:#e8eeea;border-radius:4px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.cover-thumb img{object-fit:cover}.project-primary h2{color:var(--ink);margin:0;font-size:16px;font-weight:700}.project-primary h2,.project-primary p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-primary p{max-width:380px;color:var(--muted);margin:7px 0 0;font-size:14px}.status{background:var(--surface-soft);color:#536059;border-radius:4px;align-items:center;min-height:28px;padding:0 8px;font-size:13px;font-weight:650;display:inline-flex}.status-published,.status-ready_to_publish{background:var(--green-soft);color:var(--green-dark)}.status-blocked{background:var(--coral-soft);color:#934a3c}.status-archived{color:#59635e;background:#e8ebe9}.status-generating,.status-review{background:var(--gold-soft);color:#785919}.progress-label{color:var(--muted);justify-content:space-between;gap:8px;font-size:13px;display:flex}.progress-label span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.progress-track{background:#e5e9e6;border-radius:2px;height:4px;margin-top:9px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--green);height:100%;display:block}.updated-cell{color:var(--muted);gap:6px;font-size:13px}.row-actions,.updated-cell{align-items:center;display:flex}.row-actions{justify-content:flex-end;gap:2px}.empty-state{min-height:220px;color:var(--muted);place-content:center;justify-items:center;display:grid}.empty-state p{margin:12px 0 0;font-size:15px}.project-dialog{border:1px solid var(--line-strong);width:min(620px,100vw - 32px);max-height:calc(100vh - 48px);box-shadow:var(--shadow);background:#fff;border-radius:7px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto}.project-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#121d1761}.conflict-dialog{width:min(820px,100vw - 32px)}.conflict-dialog-shell{padding:28px}.conflict-dialog-heading{align-items:center;margin-bottom:16px}.conflict-required{background:var(--gold-soft);color:#755716;border-radius:4px;flex:none;padding:5px 9px;font-size:12px;font-weight:750}.conflict-intro{max-width:720px;color:var(--muted);margin:0;font-size:15px;line-height:1.65}.conflict-summary{border-block:1px solid var(--line);background:var(--surface-soft);grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:8px 10px;margin-top:22px;padding:14px 16px;display:grid}.conflict-summary strong{color:var(--green-dark);font-variant-numeric:tabular-nums;font-size:20px}.conflict-summary span{color:var(--muted);font-size:13px}.conflict-list{border:1px solid var(--line);border-radius:6px;max-height:min(42vh,430px);margin-top:18px;overflow:auto}.conflict-row{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:18px 16px 16px;display:grid}.conflict-row+.conflict-row{border-top:1px solid var(--line)}.conflict-row legend{max-width:100%;color:var(--ink);grid-column:1/-1;padding:0 4px;font-size:14px;font-weight:700}.conflict-row label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:5px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:12px;display:grid}.conflict-row label.is-selected,.conflict-row label:hover{background:var(--green-soft);border-color:#73a188}.conflict-row input{width:17px;height:17px;accent-color:var(--green);margin:2px 0 0}.conflict-row small,.conflict-row span,.conflict-row strong{min-width:0;display:block}.conflict-row strong{font-size:14px}.conflict-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px;line-height:1.45;overflow:hidden}.conflict-baseline-missing,.conflict-no-overlap{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);margin:18px 0 0;padding:13px 15px;font-size:14px;line-height:1.55}.conflict-baseline-missing{border-left-color:var(--gold);background:var(--gold-soft);color:#6d531d}.conflict-actions{margin-top:22px}.conflict-choice-hint{color:var(--muted);text-align:right;margin:9px 0 0;font-size:12px}@media (max-width:680px){.conflict-dialog-shell{padding:22px 18px}.conflict-summary{grid-template-columns:auto minmax(0,1fr)}.conflict-row{grid-template-columns:1fr}.conflict-actions{flex-direction:column-reverse;align-items:stretch}.conflict-actions .button{width:100%}}.asset-toolbar{border-block:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:78px;margin:28px 0 18px;padding:0 18px;display:flex}.asset-header-actions{align-items:center;gap:8px;display:flex}.asset-toolbar>div{align-items:baseline;gap:8px;display:flex}.asset-toolbar>div strong{font-size:25px}.asset-toolbar label>span,.asset-toolbar>div span{color:var(--muted);font-size:14px}.asset-toolbar .asset-filter{border:1px solid var(--line);background:#f3f5f4;border-radius:6px;align-items:center;gap:2px;padding:3px}.asset-filter button{min-height:32px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 12px;font-size:13px;font-weight:650}.asset-filter button.is-active{color:var(--green-dark);background:#fff;box-shadow:0 1px 3px #1a2b221a}.asset-toolbar label{align-items:center;gap:10px;display:flex}.asset-toolbar select{border:1px solid var(--line-strong);background:#fff;border-radius:5px;min-width:220px;height:40px;padding:0 10px}.asset-message{margin-bottom:18px}.asset-import-band{border:1px solid var(--gold-soft);background:#fbf8f0;border-radius:7px;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:center;gap:30px;margin-bottom:18px;padding:22px;display:grid}.asset-import-band h2{margin:4px 0 6px;font-size:18px}.asset-import-band p{color:var(--muted);margin:0;font-size:14px;line-height:1.55}.asset-import-band>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.asset-import-band .button{flex-wrap:wrap;justify-content:flex-start;height:auto;min-height:42px}.asset-import-band .button small{width:100%;color:var(--muted);padding-left:24px;font-size:12px;font-weight:500}.asset-list{border:1px solid var(--line);background:#fff;border-radius:7px;overflow:hidden}.asset-list-head,.asset-row{grid-template-columns:minmax(230px,1fr) minmax(260px,1.3fr) 120px 240px;align-items:center;gap:20px;display:grid}.asset-list-head{border-bottom:1px solid var(--line);min-height:40px;color:var(--muted);background:#f3f5f4;padding:0 18px;font-size:13px;font-weight:650}.asset-row{min-height:112px;padding:16px 18px}.asset-row+.asset-row{border-top:1px solid var(--line)}.asset-row:hover{background:#fbfcfb}.asset-identity{align-items:center;gap:13px;min-width:0;display:flex}.asset-avatar{border:1px solid var(--line);background:var(--green-soft);width:58px;height:64px;color:var(--green-dark);border-radius:5px;flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.asset-avatar img{object-fit:cover}.asset-identity h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:17px;overflow:hidden}.asset-description span,.asset-identity p,.asset-usage span{color:var(--muted);margin:6px 0 0;font-size:13px;display:block}.asset-description{min-width:0}.asset-description span,.asset-description strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-description strong{font-size:14px;font-weight:650;display:block}.asset-usage strong{font-size:15px}.asset-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.asset-empty{min-height:300px}.asset-empty h2{color:var(--ink);margin:14px 0 0;font-size:19px}.asset-dialog{width:min(680px,100vw - 32px)}.asset-history-dialog{width:min(940px,100vw - 32px)}.asset-merge-dialog{width:min(980px,100vw - 32px)}.asset-merge-dialog .dialog-form{max-height:min(820px,100vh - 48px);overflow-y:auto}.asset-merge-note{border-left:3px solid var(--green);background:var(--green-soft);color:var(--green-dark);margin:-12px 0 18px;padding:12px 14px;font-size:14px;line-height:1.6}.asset-merge-pickers{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:14px;margin-bottom:18px;display:grid}.asset-merge-pickers>span{height:42px;color:var(--muted);place-items:center;font-size:20px;display:grid}.asset-merge-pickers label{gap:6px;min-width:0;display:grid}.asset-merge-pickers label>span{color:var(--muted);font-size:13px;font-weight:650}.asset-merge-pickers select{border:1px solid var(--line-strong);width:100%;min-width:0;height:42px;color:var(--ink);font:inherit;background:#fff;border-radius:5px;padding:0 34px 0 11px}.asset-merge-fields{border:1px solid var(--line);background:#fff;border-radius:7px;overflow:hidden}.asset-merge-field,.asset-merge-fields-head{grid-template-columns:132px minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.asset-merge-fields-head{border-bottom:1px solid var(--line);min-height:42px;color:var(--muted);background:#f3f5f4;align-items:center;padding:0 12px;font-size:12px;font-weight:700}.asset-merge-field{border:0;min-width:0;margin:0;padding:10px 12px}.asset-merge-field+.asset-merge-field{border-top:1px solid var(--line)}.asset-merge-field legend{min-width:0;color:var(--ink);align-items:center;margin:0;padding:0 8px 0 0;font-size:13px;font-weight:700;display:flex}.asset-merge-field label{min-width:0;min-height:56px;color:var(--muted);cursor:pointer;border:1px solid #0000;border-radius:5px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:9px 10px;display:grid}.asset-merge-field label:hover{background:var(--surface-soft)}.asset-merge-field label.is-selected{background:var(--green-soft);color:var(--ink);border-color:#aec9b8}.asset-merge-field label input{accent-color:var(--green-dark);margin:0}.asset-merge-field label>span:last-child{overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.5}.asset-merge-reference{border:1px solid var(--line);background:#fff;border-radius:4px;width:44px;height:52px;position:relative;overflow:hidden}.asset-merge-reference img{object-fit:cover}.asset-history-note{color:var(--muted);margin:-12px 0 20px;font-size:14px;line-height:1.6}.asset-history-loading{min-height:160px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.asset-restore-preview{border-left:3px solid var(--gold);background:#fbf6e8;justify-content:space-between;align-items:center;gap:24px;margin:0 0 18px;padding:15px 17px;display:flex}.asset-restore-preview strong{color:var(--ink);font-size:15px;display:block}.asset-restore-preview p{max-width:620px;color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.55}.asset-restore-preview>div:last-child{flex:none;gap:8px;display:flex}.asset-version-compare{border:1px solid var(--line);background:#f8faf8;border-radius:7px;margin-bottom:20px}.asset-version-compare-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;min-height:76px;padding:13px 16px;display:flex}.asset-version-compare-heading h3{margin:0;font-size:17px}.asset-version-compare-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.asset-version-compare-controls{align-items:flex-end;gap:10px;display:flex}.asset-version-compare-controls>span{height:38px;color:var(--muted);place-items:center;display:grid}.asset-version-compare-controls label{gap:5px;display:grid}.asset-version-compare-controls label span{color:var(--muted);font-size:12px;font-weight:650}.asset-version-compare-controls select{border:1px solid var(--line-strong);min-width:108px;height:38px;color:var(--ink);font:inherit;background:#fff;border-radius:5px;padding:0 30px 0 10px;font-size:14px}.asset-version-diff-list{padding:0 16px}.asset-version-diff-row{grid-template-columns:138px minmax(0,1fr);gap:18px;padding:13px 0;display:grid}.asset-version-diff-row+.asset-version-diff-row{border-top:1px solid var(--line)}.asset-version-diff-row.is-changed{box-shadow:inset 3px 0 0 var(--green)}.asset-version-diff-label{padding-left:10px}.asset-version-diff-label strong{font-size:13px;display:block}.asset-version-diff-label span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.asset-version-diff-row.is-changed .asset-version-diff-label span{color:var(--green-dark);font-weight:700}.asset-version-diff-values{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:start;gap:10px;min-width:0;display:grid}.asset-version-diff-values>span{color:var(--muted);text-align:center;padding-top:22px}.asset-version-diff-values>div{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-width:0;display:grid}.asset-version-diff-values small{color:var(--muted);grid-column:1/-1;font-size:11px;font-weight:650}.asset-version-diff-values p{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.5}.asset-version-diff-thumb{border:1px solid var(--line);width:40px;height:46px;color:var(--muted);background:#fff;border-radius:4px;place-items:center;display:grid;position:relative;overflow:hidden}.asset-version-diff-thumb img{object-fit:cover}.asset-version-list{border:1px solid var(--line);border-radius:7px;max-height:min(42vh,430px);overflow:auto}.asset-version-row{padding:17px}.asset-version-row.is-current{background:#fbfcfb}.asset-version-row+.asset-version-row{border-top:1px solid var(--line)}.asset-version-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.asset-version-heading>div{align-items:center;gap:8px;display:flex}.asset-version-heading strong{font-size:16px}.asset-version-heading span{background:var(--green-soft);color:var(--green-dark);border-radius:4px;padding:3px 7px;font-size:12px;font-weight:700}.asset-version-heading time{color:var(--muted);font-size:12px}.asset-version-meta{justify-content:flex-end}.asset-version-restore{white-space:nowrap;min-height:32px;padding:6px 9px;font-size:12px}.asset-version-body{grid-template-columns:72px minmax(0,1fr);gap:14px;display:grid}.asset-version-thumb{border:1px solid var(--line);background:var(--green-soft);width:72px;height:84px;color:var(--green-dark);border-radius:5px;place-items:center;display:grid;position:relative;overflow:hidden}.asset-version-thumb img{object-fit:cover}.asset-version-body h3{margin:1px 0 6px;font-size:15px}.asset-version-body p,.asset-version-body small,.asset-version-body span{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.5;display:block}.asset-version-body p{color:var(--ink)}@media (max-width:760px){.asset-header-actions{flex-direction:column-reverse;align-items:stretch;width:100%}.asset-header-actions .button{width:100%}.asset-toolbar{flex-direction:column;align-items:stretch;padding:16px 0}.asset-toolbar .asset-filter{align-self:flex-start}.asset-toolbar label{flex-direction:column;align-items:stretch}.asset-toolbar select{width:100%;min-width:0}.asset-import-band{grid-template-columns:1fr}.asset-import-band>div:last-child{justify-content:flex-start}.asset-list-head{display:none}.asset-row{grid-template-columns:minmax(0,1fr) auto;gap:14px}.asset-description{grid-column:1/-1}.asset-usage{grid-column:1}.asset-actions{grid-area:3/1/auto/-1;justify-content:flex-start}.asset-version-heading{flex-direction:column;align-items:flex-start;gap:8px}.asset-version-meta{justify-content:space-between;width:100%}.asset-restore-preview{flex-direction:column;align-items:stretch;gap:12px}.asset-restore-preview>div:last-child{flex-wrap:wrap}.asset-version-compare-heading{flex-direction:column;align-items:stretch;gap:12px}.asset-version-compare-controls{align-items:flex-end}.asset-version-compare-controls label{flex:1;min-width:0}.asset-version-compare-controls select{width:100%;min-width:0}.asset-version-diff-row{grid-template-columns:1fr;gap:8px}.asset-version-diff-values{grid-template-columns:1fr;gap:7px;padding-left:10px}.asset-version-diff-values>span{display:none}.asset-version-diff-values>div+div{border-top:1px dashed var(--line);padding-top:8px}.asset-merge-dialog .dialog-form{padding:20px 16px}.asset-merge-pickers{grid-template-columns:1fr;gap:9px}.asset-merge-pickers>span{height:auto;transform:rotate(-90deg)}.asset-merge-fields-head{display:none}.asset-merge-field{grid-template-columns:1fr;gap:7px;padding:12px}.asset-merge-field legend{padding:0 0 2px}}.dialog-form{padding:26px}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;display:flex}.dialog-heading h2{max-width:440px;margin:0;font-size:23px;line-height:1.28}.dialog-mode{border:1px solid var(--line);background:#edf1ee;border-radius:6px;gap:2px;padding:3px;display:inline-flex}.dialog-mode button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:15px;display:inline-flex}.dialog-mode button.is-active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1c2c231f}.protagonist-kind-field{border:0;margin:16px 0 0;padding:0}.protagonist-kind-field legend{color:#4f5a54;margin-bottom:7px;font-size:14px;font-weight:650}.protagonist-kind-control{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.protagonist-kind-control button{min-width:0;min-height:52px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:9px;padding:7px 10px;display:flex}.protagonist-kind-control button.is-active,.protagonist-kind-control button:hover{color:var(--green-dark);background:#fff;box-shadow:0 1px 4px #1e2c2414}.protagonist-kind-control button>span,.protagonist-kind-control small,.protagonist-kind-control strong{min-width:0;display:block}.protagonist-kind-control strong{font-size:14px;line-height:1.35}.protagonist-kind-control small{margin-top:2px;font-size:12px;line-height:1.3}.idea-generator{border-left:3px solid var(--green);background:var(--green-soft);margin-top:14px;padding:0 14px 14px}.idea-generator .field{padding-top:1px}.idea-generator-actions{justify-content:space-between;align-items:center;gap:16px;margin-top:12px;display:flex}.idea-generator-actions>span{color:var(--muted);font-size:14px}.idea-recovery{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:12px;padding:10px 12px;display:flex}.idea-recovery>span{color:var(--muted);font-size:13px;line-height:1.45}.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.field{margin-top:16px;display:block}.field>span{color:#4f5a54;margin-bottom:7px;font-size:14px;font-weight:650;display:block}.field-hint{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.45}.text-target-over{color:#8a5a13}.text-target-advice{color:#79551d;border-left:3px solid #d6a851;margin:8px 0 0;padding-left:10px;font-size:13px;line-height:1.45}.field input,.field select,.field textarea{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:5px;outline:0;padding:9px 11px;font-size:15px;line-height:1.5}.field textarea{resize:vertical;line-height:1.45}.field input:focus,.field select:focus,.field textarea:focus{border-color:#70a087;box-shadow:0 0 0 3px #28624817}.form-error{color:var(--coral);margin:14px 0 0;font-size:14px}.form-success{align-items:center;gap:6px;display:flex}.form-source,.form-success{color:var(--green-dark);margin:14px 0 0;font-size:14px}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;margin-top:28px;padding-top:18px;display:flex}.compact-header{align-items:flex-start}.demo-notice{border-left:3px solid var(--gold);background:var(--gold-soft);color:#665322;align-items:center;gap:9px;margin-top:32px;padding:12px 14px;display:flex}.demo-notice p{margin:0;font-size:15px}.account-scope{color:var(--muted);align-items:center;gap:6px;margin:13px 0 0;font-size:14px;display:flex}.account-scope strong{color:var(--ink);font-weight:650}.account-settings-layout{width:min(100%,900px);margin-top:36px}.account-summary{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:18px 0 24px;display:flex}.account-summary-icon{background:var(--green-soft);width:42px;height:42px;color:var(--green-dark);border-radius:50%;flex:none;place-items:center;display:grid}.account-summary small,.account-summary strong,.account-summary>div>span{display:block}.account-summary>div>span{color:var(--muted);font-size:13px}.account-summary strong{overflow-wrap:anywhere;margin-top:3px;font-size:17px}.account-summary small{color:var(--muted);align-items:center;gap:5px;margin-top:5px;font-size:12px;display:flex}.account-summary small svg{color:var(--green)}.account-summary-signout{flex:none;margin-left:auto}.account-section{border-bottom:1px solid var(--line);grid-template-columns:220px minmax(0,1fr);gap:42px;padding:34px 0;display:grid}.account-section-copy h2,.account-section-copy p{margin:0}.account-section-copy h2{margin-top:4px;font-size:20px}.account-section-copy>p:not(.eyebrow){color:var(--muted);margin-top:8px;font-size:14px;line-height:1.6}.account-delete-form,.account-export-control,.account-form,.account-import-control{max-width:520px}.account-export-control>p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.account-export-control>.button{margin-top:18px}.account-archive-card{border-top:1px solid var(--line);gap:14px;margin-top:20px;padding-top:18px;display:grid}.account-archive-card>div:first-child{gap:5px;display:grid}.account-archive-card p,.account-archive-card small{color:var(--muted);margin:0;font-size:14px;line-height:1.65}.account-archive-scope{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.account-archive-scope label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;align-items:flex-start;gap:9px;min-width:0;padding:12px;display:flex}.account-archive-scope label.is-selected{background:#1a6f520b;border-color:#1a6f527a}.account-archive-scope input{accent-color:var(--green);margin-top:3px}.account-archive-scope span,.account-archive-status-head>div{gap:2px;min-width:0;display:grid}.account-archive-scope strong,.account-archive-status-head strong{font-size:14px}.account-archive-scope small,.account-archive-status-head small{font-size:12px;line-height:1.45}.account-archive-project-select{margin:0}.account-archive-status{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:9px;padding:13px 14px;display:grid}.account-archive-status.is-succeeded{background:#1a6f520e;border-color:#1a6f5242}.account-archive-status-head{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.account-archive-status-head span{color:var(--muted);font-variant-numeric:tabular-nums}.account-archive-progress{background:var(--line);border-radius:999px;height:6px;overflow:hidden}.account-archive-progress>span{border-radius:inherit;background:var(--green);height:100%;transition:width .18s;display:block}.account-archive-actions,.account-archive-downloads,.account-import-actions{flex-wrap:wrap;gap:10px;display:flex}.account-import-control{gap:14px;display:grid}.account-import-status{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:9px;padding:13px 14px;display:grid}.account-import-status.is-awaiting_confirmation,.account-import-status.is-succeeded{background:#1a6f520e;border-color:#1a6f5242}.account-import-status.is-failed{background:#fff8f6;border-color:#9b473740}.account-import-inspection-head,.account-import-status-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.account-import-inspection-head>div,.account-import-status-head>div{gap:3px;display:grid}.account-import-inspection-head span,.account-import-status-head small,.account-import-status-head>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.account-import-inspection{background:#1a6f5209;border:1px solid #1a6f523d;border-radius:12px;gap:14px;padding:16px;display:grid}.account-import-metrics{border:1px solid var(--line);background:var(--line);border-radius:9px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.account-import-metrics>div{background:var(--surface);padding:10px 11px}.account-import-metrics dt{color:var(--muted);font-size:12px}.account-import-metrics dd{color:var(--ink);margin:3px 0 0;font-size:16px;font-weight:700}.account-import-result,.account-import-warning{border-left:3px solid var(--gold);background:var(--gold-soft);color:#675020;align-items:flex-start;gap:9px;padding:11px 12px;display:flex}.account-import-result svg,.account-import-warning svg{flex:none;margin-top:2px}.account-import-result p,.account-import-warning p{margin:0;font-size:13px;line-height:1.55}.account-import-result{border-left-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.account-import-result strong{margin-bottom:3px;display:block}.account-import-picker{gap:10px;display:grid}.account-import-picker>label{background:var(--surface-soft);min-height:62px;color:var(--green-dark);cursor:pointer;border:1px dashed #aebdb5;border-radius:10px;align-items:center;gap:11px;padding:12px 14px;display:flex}.account-import-picker>label:hover{border-color:var(--green)}.account-import-picker>label small,.account-import-picker>label span,.account-import-picker>label strong{display:block}.account-import-picker>label small{color:var(--muted);margin-top:3px;font-size:12px}.account-import-picker>input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.account-import-selection{border:1px solid var(--line);border-radius:9px;gap:7px;padding:11px 12px;display:grid}.account-import-selection>small,.account-import-selection>strong{font-size:12px}.account-import-selection>small{color:var(--muted)}.account-import-selection ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.account-import-selection li{color:var(--muted);justify-content:space-between;gap:16px;font-size:12px;display:flex}.account-import-selection li span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.account-import-upload-progress{color:var(--muted);align-items:center;gap:7px;margin:0;font-size:13px;display:flex}.account-delete-form .field:first-of-type,.account-form .field:first-child{margin-top:0}.account-delete-form>.button,.account-form>.button{margin-top:18px}.account-danger .eyebrow,.account-danger h2{color:#8f3f31}.account-risk-check{color:#633a32;cursor:pointer;background:#fff8f6;border:1px solid #e3c7c0;border-radius:5px;align-items:flex-start;gap:9px;padding:12px;font-size:13px;line-height:1.55;display:flex}.account-risk-check input{accent-color:#9b4737;margin-top:3px}.account-delete-note{color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.55}.account-deletion-status,.account-status{border-left:3px solid var(--gold);background:var(--gold-soft);color:#675020;align-items:flex-start;gap:10px;margin:0;padding:14px;font-size:14px;line-height:1.55;display:flex}.account-deletion-status svg{flex:none;margin-top:2px}.account-deletion-status p,.account-deletion-status small,.account-deletion-status strong{margin:0;display:block}.account-deletion-status p{margin-top:4px}.account-deletion-status small{opacity:.78;margin-top:7px}.account-deletion-status.is-blocked{border-left-color:var(--coral);background:var(--coral-soft);color:#7b3b30}.account-deletion-status.is-completed{border-left-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.settings-section{grid-template-columns:210px minmax(0,640px);gap:46px;margin-top:36px;display:grid}.settings-copy h2,.settings-copy p{margin:0}.settings-copy h2{font-size:18px}.settings-copy p{color:var(--muted);margin-top:8px;font-size:14px;line-height:1.5}.settings-panel{border:1px solid var(--line);background:#fff;border-radius:7px;padding:24px}.provider-heading{align-items:center;gap:12px;display:flex}.provider-icon{background:var(--green-soft);width:38px;height:38px;color:var(--green-dark);border-radius:6px;place-items:center;display:grid}.provider-icon-text{background:var(--gold-soft);color:#785919}.provider-heading h3,.provider-heading p{margin:0}.provider-heading h3{font-size:16px}.provider-heading p{color:var(--muted);margin-top:3px;font-size:13px}.provider-state{background:var(--coral-soft);color:#914c3e;border-radius:4px;margin-left:auto;padding:5px 8px;font-size:13px;font-weight:650}.provider-state.is-ready{background:var(--green-soft);color:var(--green-dark)}.provider-facts{border-top:1px solid var(--line);margin:22px 0 0}.provider-facts>div{border-bottom:1px solid var(--line);grid-template-columns:120px 1fr;align-items:center;min-height:42px;display:grid}.provider-facts dd,.provider-facts dt{margin:0;font-size:14px}.provider-facts dt{color:var(--muted)}.provider-facts dd{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.credential-form{margin-top:22px}.key-input{border:1px solid var(--line-strong);color:var(--muted);border-radius:5px;align-items:center;gap:8px;padding-left:11px;display:flex}.key-input:focus-within{border-color:#70a087;box-shadow:0 0 0 3px #28624817}.key-input input{box-shadow:none;border:0}.field-help{color:var(--muted);margin-top:7px;font-size:13px;font-weight:400;line-height:1.45;display:block}.credential-actions{justify-content:space-between;align-items:center;gap:20px;margin-top:16px;display:flex}.credential-actions>div:last-child{justify-content:flex-end;align-items:center;gap:8px;display:flex}.provider-test-result{border-left:3px solid var(--gold);background:var(--gold-soft);color:#665322;gap:4px;margin-top:16px;padding:12px 14px;font-size:14px;line-height:1.5;display:grid}.provider-test-result.is-valid{border-left-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.provider-test-result.is-invalid{color:#7f392d;background:#fff1ed;border-left-color:#a64d3c}.provider-test-result small,.provider-test-result span{display:block}.provider-test-result small{opacity:.82}.account-usage-section{grid-template-columns:210px minmax(0,840px)}.account-usage-panel{min-width:0}.account-usage-controls,.account-usage-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.account-usage-heading h3,.account-usage-heading p{margin:0}.account-usage-heading h3{margin-top:4px;font-size:18px}.account-usage-period{border:1px solid var(--line);background:#f5f6f2;border-radius:5px;padding:3px;display:inline-flex}.account-usage-period button{min-width:52px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:3px;padding:7px 9px;font-size:14px;font-weight:600}.account-usage-period button[aria-pressed=true]{color:var(--green-dark);background:#fff;box-shadow:0 1px 2px #122b1f1a}.account-usage-period button:disabled{cursor:wait;opacity:.7}.account-usage-loading{border-top:1px solid var(--line);min-height:128px;color:var(--muted);justify-content:center;align-items:center;gap:9px;margin-top:18px;font-size:15px;display:flex}.account-usage-error{margin-top:18px}.account-usage-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px;display:grid}.account-usage-summary>div{border-right:1px solid var(--line);min-width:0;padding:18px 16px}.account-usage-summary>div:first-child{padding-left:0}.account-usage-summary>div:last-child{border-right:0;padding-right:0}.account-usage-summary small,.account-usage-summary span,.account-usage-summary strong{display:block}.account-usage-summary span{color:var(--muted);font-size:13px}.account-usage-summary strong{color:var(--ink);font-variant-numeric:tabular-nums;margin-top:6px;font-size:27px;font-weight:680;line-height:1.05}.account-usage-summary small{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.4}.account-usage-table-wrap{max-width:100%;margin-top:18px;overflow-x:auto}.account-usage-table{border-collapse:collapse;text-align:left;width:100%;min-width:700px}.account-usage-table td,.account-usage-table th{border-bottom:1px solid var(--line);vertical-align:top;padding:13px 10px}.account-usage-table thead th{color:var(--muted);padding-top:0;font-size:13px;font-weight:600}.account-usage-table tbody th{color:var(--ink);white-space:nowrap;padding-left:0;font-size:14px;font-weight:650}.account-usage-table td span,.account-usage-table td strong{display:block}.account-usage-table td strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:14px;font-weight:620}.account-usage-table td span{color:var(--muted);white-space:nowrap;margin-top:4px;font-size:12px;line-height:1.35}.account-usage-privacy{color:var(--muted);align-items:flex-start;gap:9px;margin-top:18px;display:flex}.account-usage-privacy svg{color:var(--green);flex:none;margin-top:2px}.account-usage-privacy p{margin:0;font-size:13px;line-height:1.55}.provider-guidance{border-left:3px solid var(--gold);background:var(--gold-soft);color:#665322;align-items:flex-start;gap:8px;margin-top:18px;padding:12px;display:flex}.provider-guidance svg{flex:none}.provider-guidance p{margin:0;font-size:14px;line-height:1.5}.provider-guidance code{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.security-note{color:var(--muted);align-items:flex-start;gap:7px;font-size:13px;line-height:1.4;display:flex}.security-note svg{color:var(--green);flex:none}.mobile-bar,.mobile-nav{display:none}@media (max-width:1020px){.project-list-head{display:none}.project-row{grid-template-columns:minmax(260px,1fr) 100px 120px}.progress-cell,.updated-cell{display:none}}@media (max-width:760px){.app-shell{display:block}.sidebar{display:none}.mobile-bar{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:10px;height:58px;padding:0 16px;display:flex}.mobile-bar .brand-mark{width:32px;height:32px}.mobile-bar strong{font-size:15px}.mobile-bar .icon-button{margin-left:auto}.mobile-nav{border-bottom:1px solid var(--line);background:#fff;height:56px;display:flex;overflow-x:auto}.mobile-nav button{min-width:76px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:1 0 76px;justify-content:center;align-items:center;gap:5px;font-size:13px;display:flex}.mobile-nav button.is-active{border-color:var(--green);color:var(--green-dark);font-weight:700}.demo-bar{justify-content:space-between;padding:0 16px}.workspace-inner{padding:34px 16px 64px}.account-settings-layout{margin-top:26px}.account-summary{flex-wrap:wrap;align-items:flex-start}.account-summary-signout{width:100%;margin-left:0}.account-section{grid-template-columns:1fr;gap:20px;padding:28px 0}.account-delete-form,.account-export-control,.account-form,.account-import-control{max-width:none}.account-import-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.account-archive-scope{grid-template-columns:1fr}.workspace-progress{margin-right:-16px;padding-right:16px}.workspace-progress button{text-align:center;flex-direction:column;flex:0 0 108px;justify-content:center;gap:4px;min-height:64px;padding:4px 2px 10px;font-size:12px;line-height:1.25}.generation-action-bar{grid-template-columns:1fr;gap:14px;padding:16px}.generation-action-buttons{justify-content:flex-start}.generation-action-buttons .button{flex:180px}.brief-layout,.character-layout,.cover-workspace-layout,.layout-workspace-layout,.page-plan-layout,.production-layout,.story-layout{margin-top:30px;display:block}.cover-stage{margin-top:28px;padding:18px 14px}.cover-form-panel{padding:20px 16px}.cover-stage-heading{flex-direction:column;align-items:flex-start}.cover-canvas{margin-top:16px}.book-review-cover{grid-template-columns:1fr;padding:18px 16px}.book-review-cover-image{max-width:360px}.publication-export-panel,.qa-gate-panel{padding:18px 16px}.qa-gate-footer,.qa-gate-heading{flex-direction:column;align-items:stretch}.qa-gate-heading>span{align-self:flex-start}.qa-project-checks{grid-template-columns:1fr}.qa-gate-footer .button{width:100%}.publication-export-actions,.publication-export-heading{flex-direction:column;align-items:stretch}.publication-export-mode{align-self:flex-start}.publication-export-options{grid-template-columns:1fr}.publication-export-actions .button{width:100%}.publication-export-download{flex-wrap:wrap;align-items:flex-start}.publication-export-download .button{width:100%}.publication-export-job-actions{justify-content:stretch}.publication-export-job-actions .button{flex:auto}.export-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.export-history-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.export-history-summary>div:nth-child(4){border-top:1px solid var(--line)}.export-history-row{grid-template-columns:40px minmax(0,1fr)}.export-history-cloud-row>div:nth-child(5),.export-history-row>div:nth-child(3),.export-history-row>div:nth-child(4){grid-column:2}.export-history-download{justify-content:flex-start}.layout-editor,.layout-empty{margin-top:28px;padding:20px 16px}.layout-sidebar{margin-top:0}.layout-page-list{max-height:280px}.layout-controls-heading,.layout-editor-heading{flex-direction:column;align-items:flex-start}.layout-preview-canvas{margin-top:18px}.layout-control-grid{display:block}.layout-color-grid,.layout-size-grid{grid-template-columns:1fr}.layout-control-grid .field{margin-top:12px}.character-reference-layout{margin-top:30px;display:block}.character-reference-stage{margin-top:28px;padding:18px 14px}.character-reference-heading{flex-direction:column;align-items:flex-start}.character-reference-canvas{width:min(100%,390px)}.character-reference-versions{flex-direction:column;justify-content:flex-start;align-items:flex-start}.reference-checklist ul{grid-template-columns:1fr}.production-page-list{max-height:280px}.production-stage{margin-top:28px;padding:18px 14px}.production-stage-heading{flex-direction:column;align-items:flex-start}.production-revision-panel{padding:14px;display:block}.production-edit-region-controls,.production-revision-instruction,.production-revision-notice{margin-top:14px}.production-contract{grid-template-columns:1fr}.production-versions{flex-direction:column;align-items:flex-start}.page-plan-list{max-height:280px}.page-plan-editor,.page-plan-empty{margin-top:28px;padding:20px 16px}.page-editor-heading{align-items:flex-start}.page-editor-heading,.page-scene-heading{flex-direction:column}.scene-contract-grid{grid-template-columns:1fr}.page-plan-empty-actions{flex-direction:column;align-items:stretch;width:100%}.page-plan-empty-actions button{width:100%}.story-form{margin-top:28px;padding:20px 16px}.story-acts,.story-meta-grid{display:block}.story-character-candidate{flex-wrap:wrap;align-items:flex-start}.story-character-candidate-copy{flex-basis:calc(100% - 52px)}.story-character-candidate-actions{width:100%;padding-left:51px}.story-character-candidate-actions .button{flex:auto}.character-form{margin-top:28px;padding:20px 16px}.character-actions,.workflow-actions,.workflow-actions>div{flex-direction:column-reverse;align-items:stretch}.workflow-actions button{width:100%}.book-review-next,.book-review-summary{flex-direction:column;align-items:stretch}.book-review-grid{grid-template-columns:1fr;gap:12px}.qa-project-checks article{flex-direction:column;align-items:flex-start}.review-actions>span{text-align:center}.page-header{align-items:flex-start}.page-header h1{font-size:29px}.page-header .button-primary{flex:none}.summary-strip{grid-template-columns:repeat(3,1fr)}.summary-strip>div{padding:0 14px}.summary-strip .summary-next{display:none}.library-toolbar{flex-direction:column;align-items:stretch;padding:18px 0}.segment-control{overflow-x:auto}.segment-control button{flex:1 0 auto}.search-box{width:100%}.project-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}.project-row>div:nth-child(2){align-self:flex-start}.row-actions{grid-column:1/-1;justify-content:flex-start;padding-left:76px}.cover-thumb{width:62px;height:66px}.project-primary p{max-width:52vw}.settings-section{display:block}.settings-copy{margin-bottom:16px}.settings-panel{padding:18px}.account-usage-heading{flex-direction:column;align-items:flex-start}.account-usage-controls{width:100%}.account-usage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-usage-summary>div,.account-usage-summary>div:first-child,.account-usage-summary>div:last-child{border-right:0;border-bottom:1px solid var(--line);padding:15px 10px}.account-usage-summary>div:nth-child(odd){border-right:1px solid var(--line);padding-left:0}.account-usage-summary>div:nth-child(2n){padding-right:0}.account-usage-summary>div:nth-last-child(-n+2){border-bottom:0}.account-usage-table-wrap{overflow:visible}.account-usage-table,.account-usage-table tbody{min-width:0;display:block}.account-usage-table thead{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.account-usage-table tbody tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;padding:14px 0;display:grid}.account-usage-table tbody th{border:0;grid-column:1/-1;padding:0 0 9px;font-size:15px}.account-usage-table tbody td{border:0;padding:7px 0}.account-usage-table td strong{font-size:15px}.provider-facts>div{grid-template-columns:90px minmax(0,1fr)}.credential-actions{flex-direction:column;align-items:stretch}.credential-actions>div:last-child{flex-wrap:wrap;justify-content:flex-start}.field-grid{grid-template-columns:1fr}.supporting-cast-heading,.supporting-character-editor-heading{flex-direction:column;align-items:stretch}.supporting-cast-heading .button{width:100%}.supporting-character-editor{padding:16px 14px}.page-cast-selector legend small{margin:4px 0 0;display:block}.character-reference-roster>button{flex-basis:150px}}@media (max-width:430px){.page-header{flex-direction:column}.page-header .button-primary{width:100%}.summary-strip strong{font-size:21px}.project-primary h2{white-space:normal}.project-primary p{max-width:48vw}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}