@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{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}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, 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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{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{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,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{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-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{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--talesmith-styles-ready:1;--paper:#f3eee1;--paper-deep:#e7ddc8;--card:#fffaf0;--card-bright:#fffdf8;--ink:#342a20;--ink-soft:#75695a;--line:#d8cbb5;--line-strong:#bca98d;--terracotta:#9c4a2f;--terracotta-dark:#743522;--blue:#2e6690;--sage:#657552;--amber:#ba7b21;--danger:#9b3328;--shadow:0 16px 45px #4c37201c}.appearance-switch{border:1px solid var(--line);background:var(--paper-deep);border-radius:9px;gap:3px;width:fit-content;margin:0;padding:3px;display:flex}.appearance-switch legend{float:left;color:var(--ink-soft);padding:5px 8px;font-size:11px;font-weight:700}.appearance-switch label{cursor:pointer;display:block;position:relative;margin:0!important}.appearance-switch input{opacity:0;height:1px;position:absolute;overflow:hidden;width:1px!important}.appearance-switch span{min-width:62px;color:var(--ink-soft);text-align:center;border:1px solid #0000;border-radius:6px;padding:5px 10px;font:600 12px/1.2 Inter,Segoe UI,Arial,sans-serif;display:block}.appearance-switch input:checked+span{border-color:var(--line);background:var(--card);color:var(--terracotta);box-shadow:0 1px 4px #281e141f}.appearance-switch input:focus-visible+span{outline-offset:2px;outline:3px solid #2e669061}.appearance-switch.compact{flex:none}.appearance-switch.compact span{min-width:48px;padding:4px 7px;font-size:11px}.startup-recovery{z-index:10000;border:2px solid var(--terracotta);background:var(--card);max-width:420px;color:var(--ink);border-radius:12px;padding:18px;font-family:Arial,sans-serif;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 36px #0003}.startup-recovery strong,.startup-recovery span{margin-bottom:8px;display:block}.startup-recovery span{margin-bottom:12px}.startup-recovery a{color:var(--terracotta-dark);font-weight:700}*{box-sizing:border-box}html{background:var(--paper);min-height:100%}body{--fixed-banner-offset:0px;background:radial-gradient(circle at 8% 0%, #ffffffb8, transparent 31rem), linear-gradient(180deg, #f8f4ea 0%, var(--paper) 46%, #eee5d5 100%);min-height:100vh;color:var(--ink);margin:0;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif}body.local-staging{--fixed-banner-offset:37px;padding-top:37px}.local-staging-banner{z-index:10000;color:#fff;letter-spacing:.04em;text-align:center;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:#2e6690;border-bottom:1px solid #17374c;height:37px;min-height:37px;padding:8px 16px;font-size:clamp(11px,3vw,13px);font-weight:800;line-height:20px;position:fixed;inset:0 0 auto;overflow:hidden}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[contenteditable=true]:focus-visible{outline-offset:2px;outline:3px solid #2e669047}.foundation-shell{min-height:100vh}.foundation-topbar{top:var(--fixed-banner-offset);z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f9f5ebf0;border-bottom:1px solid #8f775747;align-items:center;gap:24px;min-height:72px;padding:12px clamp(18px,3vw,46px);display:flex;position:sticky}.foundation-topbar>*{min-width:0}.brand{min-width:max-content;color:var(--terracotta);letter-spacing:-.02em;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:700}.brand small{color:var(--ink-soft);letter-spacing:.13em;text-transform:uppercase;margin-top:2px;font-family:Inter,Segoe UI,sans-serif;font-size:10px;font-weight:600;display:block}.topbar-state{min-width:0;color:var(--ink-soft);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-left:auto;font-size:13px;display:flex}.network-dot{background:var(--sage);border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #6575521f}.network-dot.offline{background:var(--amber);box-shadow:0 0 0 4px #ba7b2121}.foundation-main{width:min(1440px,100% - 32px);margin:0 auto;padding:34px 0 64px}.phase-banner{color:#725b2c;background:#fff7dd;border:1px solid #ddcda8;border-radius:10px;align-items:center;gap:14px;margin-bottom:24px;padding:12px 16px;font-size:13px;display:flex}.phase-label{color:#5f4314;letter-spacing:.11em;text-transform:uppercase;background:#e9c979;border-radius:999px;flex:none;padding:4px 8px;font-size:10px;font-weight:800}.hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:22px;display:grid}.hero,.panel{box-shadow:var(--shadow);background:#fffbf2e8;border:1px solid #ac936f6b;border-radius:16px}.hero{padding:clamp(26px,4vw,54px)}.eyebrow,.section-kicker{color:var(--blue);letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:800}.hero h1{letter-spacing:-.045em;max-width:750px;margin:10px 0 14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(34px,5.2vw,68px);font-weight:500;line-height:.99}.hero p{max-width:720px;color:var(--ink-soft);margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(17px,2vw,21px);line-height:1.58}.hero-actions,.panel-actions,.book-actions,.editor-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hero-actions{margin-top:26px}.hero-first-book-form{grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:7px 10px;width:min(100%,560px);display:grid}.hero-first-book-form .field-label{grid-column:1/-1;margin:0}.hero-first-book-form .new-book-input,.hero-first-book-form .primary-button{height:44px}.existing-library-actions{color:var(--ink-soft);flex-wrap:wrap;flex-basis:100%;align-items:center;gap:8px;font-size:12px;display:flex}.storage-setup-note{color:var(--ink-soft);flex-basis:100%;font-size:11px}.primary-button,.secondary-button,.quiet-button,.danger-button{cursor:pointer;border-radius:8px;min-height:40px;padding:9px 15px;font-size:13px;font-weight:700;transition:transform .12s,background .12s,border-color .12s}.primary-button:hover,.secondary-button:hover,.quiet-button:hover,.danger-button:hover{transform:translateY(-1px)}.primary-button{border:1px solid var(--terracotta);background:var(--terracotta);color:#fff}.primary-button:hover{background:var(--terracotta-dark)}.secondary-button{border:1px solid var(--line-strong);background:var(--card-bright)}.secondary-button:hover,.quiet-button:hover{border-color:var(--terracotta);color:var(--terracotta)}.quiet-button{border:1px solid var(--line);min-height:34px;color:var(--ink-soft);background:0 0;padding:6px 10px}.danger-button{color:var(--danger);background:#fff7f4;border:1px solid #9b332859}button:disabled{cursor:not-allowed;opacity:.52;transform:none!important}.panel{padding:22px}.promise-list{gap:16px;margin:18px 0 0;padding:0;list-style:none;display:grid}.promise-list li{color:var(--ink-soft);grid-template-columns:32px 1fr;align-items:start;gap:10px;font-size:13px;line-height:1.45;display:grid}.promise-number{background:var(--paper-deep);width:32px;height:32px;color:var(--terracotta);border-radius:50%;place-items:center;font-family:Georgia,serif;font-weight:700;display:grid}.workspace-grid{grid-template-columns:280px minmax(0,1fr);gap:20px;display:grid}.library-sidebar{align-self:start;max-height:calc(100vh - 116px);position:sticky;top:94px;overflow:auto}.panel-title{margin:5px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.muted{color:var(--ink-soft)}.tiny{font-size:11px;line-height:1.45}.book-list,.chapter-list{gap:7px;margin-top:16px;display:grid}.book-row,.chapter-row{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;width:100%;padding:10px 11px}.book-row:hover,.chapter-row:hover{background:#e7ddc873}.book-row.on,.chapter-row.on{color:var(--terracotta-dark);background:#f2e3d5;border-color:#9c4a2f42}.book-row strong,.chapter-row strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.book-row span,.chapter-row span{color:var(--ink-soft);margin-top:3px;font-size:10px;display:block}.editor-shell{gap:18px;display:grid}.book-header{justify-content:space-between;align-items:center;gap:18px;display:flex}.book-header-copy{flex:1;min-width:0}.book-title-input,.chapter-title-input{width:100%;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #0000;outline:0;font-family:Georgia,Times New Roman,serif}.book-title-input{font-size:clamp(29px,4vw,48px)}.chapter-title-input{font-size:26px}.book-title-input:focus,.chapter-title-input:focus{border-bottom-color:var(--terracotta)}.save-state{min-width:145px;color:var(--ink-soft);text-align:right;font-size:12px}.save-state.ok{color:var(--sage)}.save-state.error{color:var(--danger)}.blueprint-grid{grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);gap:18px;display:grid}.field-label{color:var(--blue);letter-spacing:.1em;text-transform:uppercase;margin-bottom:7px;font-size:10px;font-weight:800;display:block}.field-help{color:var(--ink-soft);margin:-1px 0 10px;font-family:Georgia,serif;font-size:13px;font-style:italic}.story-note,.chapter-body,.new-book-input{border:1px solid var(--line);background:var(--card-bright);width:100%;color:var(--ink);border-radius:9px;outline:0}.story-note{resize:vertical;min-height:190px;padding:14px;line-height:1.6}.chapter-body{resize:vertical;min-height:480px;padding:clamp(20px,4vw,46px);font-family:Georgia,Times New Roman,serif;font-size:18px;line-height:1.8}.new-book-form{border-top:1px solid var(--line);gap:9px;margin-top:20px;padding-top:18px;display:grid}.new-book-input{padding:9px 10px}.licence-simulator{background:#fffaf1;border:1px solid #ddcfb9;border-radius:10px;gap:8px;margin-top:18px;padding:14px;display:grid}.licence-simulator .field-label{margin:0}.licence-simulator select{border:1px solid var(--line);background:var(--card-bright);width:100%;color:var(--ink);font:inherit;border-radius:7px;padding:8px 9px}.licence-simulator p,.licence-simulator span{color:var(--ink-soft);margin:0;font-size:11px;line-height:1.45}.licence-simulator span{color:var(--sage);font-weight:700}input:read-only,textarea:read-only{color:#655f56;background:#f4f1ea}.foundation-checks{gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.check-row{align-items:center;gap:9px;font-size:12px;display:flex}.check-mark{width:21px;height:21px;color:var(--sage);background:#e3eadc;border-radius:50%;place-items:center;font-size:12px;font-weight:900;display:grid}.notice{border:1px solid var(--line);border-left:4px solid var(--blue);color:#4a6475;background:#f8fbfd;border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.45}.notice.error{border-left-color:var(--danger);color:var(--danger);background:#fff7f4}.empty-state{text-align:center;place-items:center;min-height:430px;padding:40px;display:grid}.empty-state-inner{max-width:540px}.empty-state h2{margin:8px 0;font-family:Georgia,serif;font-size:34px;font-weight:500}.hidden-file{display:none}.library-shell{min-height:100vh}.library-topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f9f5ebf2;border-bottom:1px solid #8f775747;grid-template-columns:minmax(0,1fr) auto;justify-content:space-between;align-items:center;min-height:58px;padding:8px clamp(18px,3vw,40px);display:grid;position:sticky;top:0}.library-account-state{min-width:0;color:var(--ink-soft);align-items:center;gap:9px;font-size:12px;display:flex}.library-topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.library-storage-button{width:auto;color:var(--ink-soft);background:#fffbf2d1;border:1px solid #8f77576b;border-radius:7px;padding:7px 10px 7px 12px;font-size:12px}.library-storage-button:hover{border-color:var(--accent-soft);color:var(--accent)}.library-account-button{color:var(--ink-soft);white-space:nowrap;cursor:pointer;background:#fffbf2d1;border:1px solid #8f77576b;border-radius:7px;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:700;text-decoration:none}.library-account-button:hover{border-color:var(--accent-soft);color:var(--accent)}.local-staging .library-account-button,.local-staging .account-menu-link{display:none}.library-creation-status{color:var(--ink-soft);margin-top:6px;font-size:12px;display:block}.library-drive-status,.library-drive-status [role=status]{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.library-drive-status{min-height:32px;color:var(--ink-soft);padding:0 3px;font-size:12px}.library-drive-status .connection-dot{background:var(--terracotta);border-radius:50%;flex:0 0 7px;height:7px}.library-drive-status.connected .connection-dot{background:var(--sage)}.library-drive-reconnect{border:1px solid var(--line-strong);color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:5px 7px}.library-drive-reconnect:hover:not(:disabled){border-color:var(--terracotta)}.library-drive-reconnect:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.library-drive-reconnect:disabled{opacity:.5;cursor:default}.library-location-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 2px;display:grid}.library-location-summary{text-align:left;border:1px solid;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:2px 14px;min-width:0;min-height:58px;padding:9px 12px 10px;display:grid;box-shadow:0 8px 22px #4c37200e}.library-location-summary.writing{box-shadow:inset 4px 0 0 var(--sage), 0 8px 22px #4c37200e;background:linear-gradient(90deg,#65755229,#0000 34%),#fffcf4eb;border-color:#65755270}.library-location-summary.backup{box-shadow:inset 4px 0 0 var(--terracotta), 0 8px 22px #4c37200e;background:linear-gradient(90deg,#9c4a2f21,#0000 34%),#fffcf4eb;border-color:#9c4a2f61}.library-location-summary.backup.empty{border-style:dashed}.library-location-summary:hover{transform:translateY(-1px)}.library-location-summary.writing:hover{border-color:var(--sage)}.library-location-summary.backup:hover{border-color:var(--terracotta)}.library-location-role{color:var(--ink-soft);letter-spacing:.09em;text-transform:uppercase;grid-column:1/-1;font-size:10px;font-weight:800}.library-location-summary.writing .library-location-role{color:#526744}.library-location-summary.backup .library-location-role{color:var(--terracotta-dark)}.library-location-summary strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:600;overflow:hidden}.library-location-summary small{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.device-safety-prompt{border:1px solid #2e669047;border-left:4px solid var(--blue);color:var(--ink-soft);background:#2e66900e;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin:16px 0 4px;padding:14px 16px;display:flex}.device-safety-prompt.backup-needed{border-color:#9c4a2f4d;border-left-color:var(--terracotta);background:#9c4a2f0e}.device-safety-prompt strong{color:var(--ink)}.device-safety-prompt p{max-width:720px;margin:4px 0 0;font-size:12px;line-height:1.45}.device-safety-prompt .backup-setup-error{color:var(--rust);font-weight:700}.device-safety-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.edit-lease-dialog{max-width:650px}.edit-lease-actions{flex-wrap:wrap;align-items:center}.edit-lease-warning{color:#78513f;margin:14px 0 0;font-size:.9rem;line-height:1.5}.library-shell>.export-dialog-backdrop,.foundation-shell>.export-dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#2d23195c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.library-transition-backdrop{z-index:300;cursor:wait;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#2d23196b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.library-transition-card{border:1px solid var(--line);border-left:5px solid var(--sage);background:var(--card-bright);border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:17px;width:min(470px,100vw - 36px);padding:22px 24px;display:grid;box-shadow:0 24px 70px #32271b4d}.library-transition-card strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:20px;line-height:1.25;display:block}.library-transition-card p{color:var(--ink-soft);margin:6px 0 0;font-size:13px;line-height:1.5}.library-transition-spinner{border:3px solid #65755233;border-top-color:var(--sage);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite talesmith-spin}@keyframes talesmith-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.library-transition-spinner{animation-duration:1.8s}}.first-book-storage-dialog{border:1px solid var(--line);background:var(--paper);border-radius:12px;width:min(660px,100vw - 32px);max-height:calc(100vh - 48px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #32271b3d}.first-book-storage-dialog.writing-step{border-top:6px solid var(--sage)}.first-book-storage-dialog.backup-step{border-top:6px solid var(--terracotta)}.first-book-storage-dialog h2{color:var(--accent);margin:5px 0 8px;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.first-book-storage-dialog.writing-step h2,.first-book-storage-dialog.writing-step .flabel{color:#526744}.first-book-storage-dialog.backup-step h2,.first-book-storage-dialog.backup-step .flabel{color:var(--terracotta-dark)}.first-book-storage-dialog>p{color:var(--ink-soft);margin:8px 0;line-height:1.5}.first-book-storage-dialog .flabel{color:var(--blue);letter-spacing:.12em;text-transform:uppercase;font-family:Arial,sans-serif;font-size:10px;font-weight:700}.first-book-storage-dialog .storage-choice-list{gap:10px;margin:18px 0;display:grid}.first-book-storage-dialog .storage-choice{text-align:left;border:1px solid var(--line);background:var(--card);width:100%;color:var(--ink);border-radius:9px;gap:4px;padding:14px 15px;display:grid}.first-book-storage-dialog .storage-choice:hover{border-color:var(--accent-soft);background:var(--card2)}.first-book-storage-dialog.writing-step .storage-choice:hover{border-color:var(--sage);background:#65755214}.first-book-storage-dialog.backup-step .storage-choice:hover{border-color:var(--terracotta);background:#9c4a2f12}.first-book-storage-dialog .storage-choice strong{font-size:14px}.first-book-storage-dialog .storage-choice small,.first-book-storage-dialog .storage-choice span{color:var(--ink-soft);font-size:11.5px;line-height:1.45}.first-book-storage-dialog .storage-choice span{color:var(--blue);font-weight:700}.first-book-storage-dialog .storage-setup-explanation{font-size:11px}.first-book-storage-dialog .export-dialog-actions{justify-content:flex-end;margin-top:18px;display:flex}.first-book-storage-dialog .bbtn{border:1px solid var(--line);background:var(--card);width:auto;color:var(--ink-soft);border-radius:6px;padding:8px 11px}.library-storage-dialog{border:1px solid var(--line);background:var(--paper);border-radius:12px;width:min(820px,100vw - 32px);max-height:calc(100vh - 48px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #32271b3d}.library-storage-dialog h2{margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:30px;font-weight:500}.library-storage-dialog .flabel{color:var(--blue);letter-spacing:.12em;text-transform:uppercase;font-family:Arial,sans-serif;font-size:10px;font-weight:700}.library-storage-intro{max-width:650px;color:var(--ink-soft);margin:8px 0 0;line-height:1.5}.storage-computer-guidance{max-width:720px;color:var(--ink-soft);background:#306c9412;border:1px solid #306c9447;border-radius:8px;margin-top:14px;padding:11px 13px;line-height:1.45}.storage-computer-guidance strong{color:var(--blue)}.storage-computer-guidance p{margin:4px 0 0}.library-storage-sections{gap:14px;margin-top:20px;display:grid}.library-storage-card{background:#fffbf2c7;border:1px solid #ac936f66;border-radius:9px;padding:16px}.library-storage-card.writing-location,.storage-role-card.writing-location{box-shadow:inset 5px 0 0 var(--sage);background:linear-gradient(135deg,#65755221,#0000 48%),#fffbf2f5;border-color:#65755280}.library-storage-card.backup-location,.storage-role-card.backup-location{box-shadow:inset 5px 0 0 var(--terracotta);background:linear-gradient(135deg,#9c4a2f1c,#0000 48%),#fffbf2f5;border-color:#9c4a2f70}.library-storage-card.backup-location.empty,.storage-role-card.backup-location.empty{border-style:dashed}.storage-role-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.storage-role-heading>div{min-width:0}.storage-role-badge{letter-spacing:.06em;text-transform:uppercase;border-radius:999px;flex:none;padding:5px 8px;font-size:9px;font-weight:800}.writing-location .storage-role-badge{color:#4d633f;background:#65755229}.backup-location .storage-role-badge{color:var(--terracotta-dark);background:#9c4a2f21}.storage-role-separator{min-height:22px;color:var(--ink-soft);letter-spacing:.06em;text-transform:uppercase;justify-content:center;align-items:center;font-size:9px;font-weight:700;display:flex;position:relative}.storage-role-separator:before,.storage-role-separator:after{content:"";background:#ac936f6b;flex:1;height:1px}.storage-role-separator span{padding:0 12px}.library-storage-card h3{color:var(--ink);margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.library-storage-card p{color:var(--ink-soft);margin:7px 0 0;font-size:12px;line-height:1.5}.library-storage-card .storage-role-explanation{max-width:650px;font-size:13px}.library-storage-card .storage-role-status{color:#526744;background:#6575521a;border-radius:6px;padding:8px 10px}.library-storage-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.library-migration-panel{background:#65755212;border:1px solid #65755247;border-radius:8px;margin-top:14px;padding:13px}.library-migration-panel>strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:600}.library-migration-panel .library-copy-status{margin-top:10px}.storage-operation-progress{border:1px solid #2e669061;border-left:5px solid var(--blue);background:#2e669017;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin:16px 0;padding:14px 16px;display:grid;box-shadow:0 4px 14px #32271b14}.storage-operation-progress .library-transition-spinner{border-color:#2e669033;border-top-color:var(--blue);width:26px;height:26px}.storage-operation-progress strong,.storage-operation-progress p,.storage-operation-progress small{display:block}.storage-operation-progress strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:16px}.storage-operation-progress p{color:var(--ink-soft);margin:3px 0 0;font-size:12px}.storage-operation-progress small{color:#2e6690;margin-top:4px;font-size:11px;font-weight:700}.library-storage-dialog .bbtn{border:1px solid var(--line);background:var(--card);width:auto;color:var(--ink-soft);border-radius:6px;padding:7px 10px;font-size:12px}.library-storage-dialog .bbtn:hover{border-color:var(--accent-soft);color:var(--accent)}.library-storage-dialog .bbtn.danger{color:#9a3722}.storage-secondary-actions,.storage-open-other-library{color:var(--ink-soft);margin-top:13px;font-size:11px}.storage-secondary-actions summary,.storage-open-other-library summary{cursor:pointer;width:fit-content;color:var(--terracotta-dark);font-weight:700}.storage-open-other-library{background:#fffbf28a;border:1px solid #ac936f5c;border-radius:8px;padding:13px 15px}.storage-open-other-library p{margin:7px 0 0;line-height:1.45}.library-copy-status{border-left:3px solid var(--green);background:#487a4d12;padding:8px 10px}.library-copy-status.copying{border-left-color:var(--blue)}.library-copy-status.error{background:#a03b2212;border-left-color:#a03b22}.library-save-rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:10px;display:grid}.library-save-rules .flabel{grid-column:1/-1}.library-save-rules>p{grid-column:1/-1;margin:2px 0 0}.library-save-rules label{color:var(--ink-soft);font-family:sans-serif;font-size:11px}.library-save-rules select{border:1px solid var(--line);background:var(--card);border-radius:6px;width:100%;margin-top:5px;padding:8px}.library-storage-dialog .export-dialog-actions{justify-content:flex-end;margin-top:18px;display:flex}.library-home{width:min(1280px,100% - 32px);margin:0 auto;padding:20px 0 28px}.library-dashboard-head{border-bottom:1px solid #ac936f57;justify-content:space-between;align-items:center;gap:clamp(28px,4vw,54px);padding-bottom:14px;display:flex}.library-dashboard-head>*{min-width:0}.library-dashboard-head h1{letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(29px,3vw,36px);font-weight:500}.library-dashboard-head .library-wordmark{justify-items:start;width:max-content;min-width:0;line-height:.94;display:grid}.library-wordmark span{white-space:nowrap}.library-wordmark span+span{margin-top:.08em}.library-new-bar{grid-template-columns:minmax(280px,1fr) minmax(190px,220px);align-items:end;gap:12px;width:min(100%,900px);display:grid}.library-create-book{gap:5px;display:grid}.library-create-book-row{grid-template-columns:minmax(260px,1fr) auto;gap:10px;display:grid}.library-secondary-actions{gap:6px;display:grid}.library-secondary-actions .secondary-button{width:100%;min-height:36px;padding:7px 12px;font-size:11px}.library-new-bar .field-label{margin:0}.library-new-bar .new-book-input,.library-new-bar .primary-button{height:36px}.library-new-bar .primary-button{white-space:nowrap}.library-notice{border-left:3px solid var(--blue);color:var(--ink-soft);background:#2e669012;border-radius:6px;margin-top:24px;padding:10px 13px;font-size:12px}.library-repair-warning{border:1px solid #ae4b2b59;border-left:4px solid var(--rust);color:var(--ink-soft);background:#ae4b2b12;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:16px 18px;display:flex}.library-repair-warning strong{color:var(--ink)}.library-repair-warning p{max-width:760px;margin:5px 0 0;font-size:13px;line-height:1.45}.library-repair-actions{flex-direction:column;flex:none;align-items:stretch;gap:8px;display:flex}.library-book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.library-duplicate-warning{color:var(--ink-soft);background:#ffefdfe6;border:1px solid #be75498c;border-radius:8px;grid-column:1/-1;gap:3px;padding:10px 13px;font-size:12px;line-height:1.4;display:grid}.library-duplicate-warning strong{color:var(--ink)}.library-book-card{min-height:100px;box-shadow:var(--shadow);background:#fffbf2ed;border:1px solid #ac936f6b;border-radius:10px;width:100%;transition:transform .16s,border-color .16s,box-shadow .16s;position:relative;overflow:hidden}.book-removal-dialog,.book-deletion-dialog{border:1px solid var(--line);border-top:6px solid var(--terracotta);background:var(--paper);border-radius:12px;width:min(560px,100vw - 32px);max-height:calc(100vh - 48px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #32271b3d}.book-removal-dialog h2,.book-deletion-dialog h2{color:var(--terracotta-dark);margin:5px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.book-removal-dialog .flabel,.book-deletion-dialog .flabel{color:var(--terracotta-dark);letter-spacing:.12em;text-transform:uppercase;font-family:Arial,sans-serif;font-size:10px;font-weight:700}.book-removal-dialog>p{color:var(--ink-soft);margin:9px 0;line-height:1.5}.book-removal-dialog>p strong{color:var(--ink)}.book-deletion-location{border:1px solid var(--line);border-radius:9px;gap:5px;margin:14px 0;padding:14px;display:grid}.book-deletion-location>span,.book-deletion-location>p,.book-deletion-dialog #book-deletion-description>p{color:var(--ink-soft);margin:0;line-height:1.5}.book-deletion-location>strong{color:var(--ink)}.book-deletion-blocked{border-left:4px solid var(--terracotta);background:var(--terracotta-soft);padding:12px}.book-removal-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.library-book-open{width:100%;min-height:98px;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}.library-book-card:hover{border-color:#9c4a2f94;transform:translateY(-1px);box-shadow:0 10px 24px #4c372021}.book-cover{--cover-dark:#4c281f;--cover-edge:#572e25;--cover-light:#7a3e32;border:1px solid var(--cover-edge);background:radial-gradient(circle at 20% 15%, #ffdcad1c, transparent 30%), repeating-linear-gradient(112deg, #ffffff05 0 2px, #00000005 2px 4px), linear-gradient(135deg, var(--cover-light), var(--cover-dark) 72%);color:#f3dfb8;text-align:center;border-radius:3px 7px 7px 3px;flex-direction:column;flex:none;justify-content:center;align-items:center;width:52px;height:72px;padding:9px 7px;font-family:Georgia,Times New Roman,serif;display:flex;position:relative;overflow:hidden;box-shadow:inset 4px 0 #0003,inset 6px 0 #ffe7c014,4px 6px 10px #39261933}.library-book-card:nth-child(10n+2) .book-cover{--cover-light:#50647c;--cover-dark:#29384c;--cover-edge:#263547}.library-book-card:nth-child(10n+3) .book-cover{--cover-light:#54705b;--cover-dark:#2b4332;--cover-edge:#29402f}.library-book-card:nth-child(10n+4) .book-cover{--cover-light:#7c4450;--cover-dark:#472630;--cover-edge:#44232c}.library-book-card:nth-child(10n+5) .book-cover{--cover-light:#675477;--cover-dark:#392c47;--cover-edge:#362942}.library-book-card:nth-child(10n+6) .book-cover{--cover-light:#477373;--cover-dark:#274545;--cover-edge:#234040}.library-book-card:nth-child(10n+7) .book-cover{--cover-light:#8a683b;--cover-dark:#503b21;--cover-edge:#49361e}.library-book-card:nth-child(10n+8) .book-cover{--cover-light:#667078;--cover-dark:#394248;--cover-edge:#343d43}.library-book-card:nth-child(10n+9) .book-cover{--cover-light:#737453;--cover-dark:#44452c;--cover-edge:#3f4028}.library-book-card:nth-child(10n+10) .book-cover{--cover-light:#8a5c62;--cover-dark:#51343a;--cover-edge:#4a3035}.book-cover:after{content:"";pointer-events:none;border:1px solid #e8c28075;border-radius:2px 5px 5px 2px;position:absolute;inset:5px 4px 5px 7px}.book-cover-mark{z-index:1;letter-spacing:.18em;opacity:.8;border:1px solid #f3dfb87a;border-radius:50%;place-items:center;width:24px;height:24px;font-size:7px;display:grid;position:relative}.library-book-copy{flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;min-width:0;display:grid}.library-book-copy>strong{color:var(--ink);overflow-wrap:anywhere;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500;line-height:1.16;display:block;overflow:hidden}.library-book-copy-label{color:var(--rust);grid-column:1/-1;font-size:11px;font-weight:700}.library-stats{grid-column:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.library-stats>span{min-width:0;color:var(--ink-soft);text-align:left;text-transform:uppercase;background:0 0;border-radius:0;gap:2px;padding:0;font-size:9px;display:grid}.library-stats b{color:var(--ink);text-transform:none;font-family:Georgia,Times New Roman,serif;font-size:14px;font-weight:600}.library-book-foot{color:var(--ink-soft);white-space:nowrap;grid-area:1/2/3;align-self:center;justify-items:end;gap:6px;padding-bottom:20px;font-size:10px;display:grid}.library-book-foot>b{color:var(--terracotta);font-size:11px;font-weight:700}.library-book-remove{z-index:1;color:var(--ink-soft);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:4px 0;font-size:10px;text-decoration:underline;position:absolute;bottom:14px;right:18px}.library-book-actions{z-index:1;align-items:center;gap:14px;display:flex;position:absolute;bottom:9px;right:14px}.library-book-actions .library-book-remove{position:static}.library-book-delete{color:var(--danger);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:4px 0;font-size:10px;text-decoration:underline}.library-book-delete:hover{color:var(--danger);filter:brightness(.82)}.library-book-remove:hover{color:var(--terracotta)}.library-book-open:disabled,.library-book-remove:disabled,.library-book-delete:disabled{cursor:wait;opacity:.62}.library-empty-books{border:1px dashed var(--line-strong);color:var(--ink-soft);text-align:center;border-radius:12px;grid-column:1/-1;padding:26px 20px;font-family:Georgia,serif;font-size:14px}.library-archive{background:#fffbf294;border:1px solid #ac936f6b;border-radius:10px;margin-top:12px}.library-archive>summary{min-height:42px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:9px 14px;font-family:Georgia,Times New Roman,serif;font-size:16px;display:flex}.library-archive>summary small{color:var(--ink-soft);text-transform:uppercase;font-family:Arial,sans-serif;font-size:10px}.library-archive[open]>summary{border-bottom:1px solid #ac936f52}.library-archive-list{padding:8px 16px 14px;display:grid}.library-archive-row{border-bottom:1px solid #ac936f3d;justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:10px 0;display:flex}.library-archive-row:last-child{border-bottom:0}.library-archive-row>div{gap:3px;min-width:0;display:grid}.library-archive-row strong{overflow-wrap:anywhere;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:500}.library-archive-row small,.library-archive-empty{color:var(--ink-soft);font-size:10.5px}.library-archive-actions{grid-auto-flow:column;align-items:center;gap:9px!important;display:flex!important}.library-archive-empty{margin:8px 0 2px}.library-footer{border-top:1px solid #ac936f57;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:14px;padding-top:12px;display:flex}.library-text-action{width:auto;color:var(--terracotta);text-underline-offset:2px;border:0;padding:0;font-size:10.5px;font-weight:700;text-decoration:underline}.beta-tools{width:230px;color:var(--ink-soft);font-size:10.5px}.beta-tools summary{cursor:pointer;text-align:right}.beta-tools[open]{border:1px solid var(--line);background:var(--card);border-radius:8px;padding:12px}.beta-tools[open] summary{margin-bottom:12px}.beta-tools select{border:1px solid var(--line);background:var(--card-bright);border-radius:6px;width:100%;padding:7px}.beta-tools p{margin:8px 0 0;line-height:1.4}@media (max-width:1100px){.hero-grid,.workspace-grid,.blueprint-grid{grid-template-columns:1fr}.library-sidebar{max-height:none;position:static}.book-list{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.library-dashboard-head{flex-direction:column;align-items:flex-start;gap:16px}.library-new-bar{width:100%}.library-book-list{grid-template-columns:1fr}}@media (max-width:680px){.foundation-topbar{align-items:flex-start;gap:10px;padding:10px 16px}.brand{font-size:21px}.topbar-state{justify-items:end;gap:4px;font-size:11px;display:grid}.foundation-main{width:min(100% - 20px,1440px);padding-top:18px}.library-home{width:min(100% - 22px,1240px);padding-top:18px}.library-topbar,.library-footer{align-items:flex-start}.library-topbar{grid-template-columns:minmax(0,1fr)}.library-topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;width:100%}.library-account-state{margin-left:auto;display:flex}.library-book-open{align-items:flex-start;gap:14px;padding:13px}.library-book-remove{min-height:44px}.library-book-actions{gap:16px;bottom:4px;right:13px}.library-book-delete{min-height:44px}.book-cover{width:52px;height:72px;padding:9px 7px}.library-new-bar,.library-create-book-row{grid-template-columns:1fr}.library-create-book-row .primary-button,.library-secondary-actions .secondary-button{width:100%;min-height:44px}.library-book-copy{grid-template-columns:1fr;gap:11px}.library-location-overview{grid-template-columns:1fr}.storage-role-heading{flex-direction:column;gap:9px}.library-save-rules{grid-template-columns:1fr}.library-save-rules .flabel,.library-save-rules>p{grid-column:auto}.library-book-copy>strong{font-size:21px}.library-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.library-stats>span{min-width:0}.library-footer{flex-direction:column}.library-archive-row{flex-direction:column;align-items:flex-start}.library-archive-actions{grid-template-columns:1fr;grid-auto-flow:row;width:100%}.library-archive-actions button{width:100%;min-height:44px}.book-removal-actions button{flex:100%;min-height:44px}.library-book-foot{justify-items:initial;grid-area:auto;grid-template-columns:1fr auto;padding-bottom:24px}.beta-tools,.beta-tools summary{text-align:left;width:100%}.phase-banner,.book-header{align-items:flex-start}.phase-banner{display:grid}.book-header{flex-direction:column}.save-state{text-align:left;min-width:0}.hero{padding:28px 22px}.panel{padding:17px}.chapter-body{min-height:420px;font-size:17px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.prototype-shell{--paper:#f3eee1;--card:#fbf8f0;--card2:#f7f2e6;--ink:#33291d;--ink-soft:#6b5d49;--line:#d9cdb4;--line-soft:#e6ddc9;--accent:#9c4a2f;--accent-soft:#c9805f;--good:#1e8449;--location:#66806d;--timeline-accent:#9c4a2f;--timeline-act-separator:#c9805f;--timeline-grid:#9aa6b4;--timeline-muted:#8a7a5f;--timeline-marker-edge:#fbf8f0;--timeline-label-halo:#fbf8f0;--timeline-number:#17191a;--shadow:0 1px 3px #3c2d141f, 0 4px 14px #3c2d140f;background-color:var(--paper);min-height:100vh;color:var(--ink);background-image:radial-gradient(#785f370d 1px,#0000 1px);background-size:22px 22px;font:15px/1.5 Georgia,Iowan Old Style,Times New Roman,serif}.prototype-shell button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0}.prototype-shell input,.prototype-shell textarea,.prototype-shell select{width:100%;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif}.prototype-shell textarea{resize:none;line-height:1.45;overflow:hidden}.prototype-shell input:focus,.prototype-shell textarea:focus{background:#9c4a2f0d;border-radius:4px}.prototype-shell input:read-only,.prototype-shell textarea:read-only{background:0 0}.prototype-shell ::placeholder{color:#b3a58a;font-style:italic}.prototype-shell #topbar{top:var(--fixed-banner-offset);z-index:50;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#f3eee1f5;grid-template-columns:minmax(245px,1fr) auto minmax(245px,1fr);align-items:center;gap:14px;min-height:55px;padding:10px 18px;display:grid;position:sticky}.prototype-shell #topbar>*{min-width:0}.prototype-shell .topbar-left{flex:none;align-items:center;gap:8px;display:flex}.prototype-shell #homeBtn{width:auto;color:var(--ink-soft);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 9px;font-size:12px}.prototype-shell #homeBtn:hover{border-color:var(--line);background:var(--card);color:var(--accent)}.prototype-shell #brand{color:var(--accent);text-align:left;white-space:nowrap;flex:none;font-size:17px}.prototype-shell .app-menu{position:relative}.prototype-shell .menu-trigger{width:auto;color:var(--ink-soft);border:1px solid #0000;border-radius:6px;padding:6px 9px;font-size:13px}.prototype-shell .menu-trigger:hover,.prototype-shell .menu-trigger.on{border-color:var(--line);background:var(--card);color:var(--accent)}.prototype-shell .account-menu-link{white-space:nowrap;cursor:pointer;text-decoration:none;display:inline-block}.prototype-shell .menu-pop{z-index:90;border:1px solid var(--line);background:#fffdf7;border-radius:10px;width:290px;position:absolute;top:calc(100% + 8px);overflow:hidden;box-shadow:0 14px 38px #46341e33}.prototype-shell .file-menu{left:0}.prototype-shell .menu-pop>button{width:100%;color:var(--ink);text-align:left;flex-direction:column;align-items:flex-start;padding:9px 13px;font-size:13px;display:flex}.prototype-shell .menu-pop>button:hover{background:var(--card2);color:var(--accent)}.prototype-shell .menu-pop>button.danger-menu-item{color:var(--danger)}.prototype-shell .menu-pop>button.danger-menu-item:hover{color:var(--danger);background:#9b332812}.prototype-shell .menu-pop>button small{color:var(--ink-soft);margin-top:2px;font-family:sans-serif;font-size:10.5px}.prototype-shell .menu-separator{background:var(--line-soft);height:1px;margin:4px 0}.prototype-shell .menu-information{color:var(--good);padding:7px 13px;font-family:sans-serif;font-size:10.5px;font-style:italic}.prototype-shell #tabs{justify-content:center;gap:2px;min-width:0;display:flex}.prototype-shell .tab{color:var(--ink-soft);border-bottom:2px solid #0000;border-radius:8px 8px 0 0;padding:7px 16px;font-size:14.5px}.prototype-shell .tab:hover{color:var(--ink)}.prototype-shell .tab.on{border-bottom-color:var(--accent);color:var(--accent);font-weight:600}.prototype-shell #barbtns{grid-template-columns:1fr auto;justify-content:flex-end;justify-self:end;align-items:center;gap:3px 10px;width:245px;display:grid}.prototype-shell #barbtns>.menu-trigger{white-space:nowrap}.prototype-shell .settings-pop{width:370px;max-height:calc(100vh - 78px);padding:16px;left:0;overflow-y:auto}.prototype-shell .settings-title{color:var(--accent);margin-bottom:12px;font-size:20px;font-weight:600}.prototype-shell .settings-pop section+section{border-top:1px solid var(--line-soft);margin-top:16px;padding-top:14px}.prototype-shell .settings-pop label{color:var(--ink-soft);margin-top:10px;font-family:sans-serif;font-size:11px;display:block}.prototype-shell .settings-pop input,.prototype-shell .settings-pop select{border:1px solid var(--line);background:var(--card);border-radius:6px;width:100%;margin-top:4px;padding:7px 8px;font-family:sans-serif;font-size:13px}.prototype-shell .settings-pop p{color:var(--ink-soft);margin-top:9px;font-family:sans-serif;font-size:11px;line-height:1.45}.prototype-shell .settings-clear{color:#a03b22;width:auto;margin-top:8px;font-family:sans-serif;font-size:11px}.prototype-shell .settings-status{font-style:italic}.prototype-shell .settings-location-summary,.prototype-shell .additional-copy-status{background:#2e669012;border-left:3px solid #2e6690;gap:3px;margin-top:9px;padding:9px 10px;font-family:Inter,Segoe UI,Arial,sans-serif;display:grid}.prototype-shell .settings-location-summary.writing{background:#65755217;border-left-color:#657552}.prototype-shell .settings-location-summary.writing>span{color:#526744}.prototype-shell .settings-location-summary>span,.prototype-shell .additional-copy-status>span{color:var(--blue);letter-spacing:.07em;text-transform:uppercase;font-size:9px;font-weight:700}.prototype-shell .settings-location-summary>strong,.prototype-shell .additional-copy-status>strong{color:var(--ink);font-size:12px}.prototype-shell .settings-location-summary>small,.prototype-shell .additional-copy-status>small{color:var(--ink-soft);font-size:10.5px;line-height:1.4}.prototype-shell .settings-storage-action{border:1px solid var(--line);background:var(--card);width:auto;color:var(--accent);border-radius:5px;margin-top:8px;padding:5px 8px;font-family:sans-serif;font-size:11px}.prototype-shell .settings-subsection{border:1px solid var(--line-soft);background:var(--card);border-radius:7px;margin-top:14px;padding:12px}@supports (color:color-mix(in lab, red, red)){.prototype-shell .settings-subsection{background:color-mix(in srgb, var(--card) 70%, transparent)}}.prototype-shell .settings-inline-actions{flex-wrap:wrap;gap:7px;display:flex}.prototype-shell .additional-copy-status{background:#9c4a2f14;border-left:3px solid #9c4a2f;font-style:normal}.prototype-shell .additional-copy-status>span{color:#743522}.prototype-shell .additional-copy-status.copying{border-left-color:var(--blue);background:#2d608512}.prototype-shell .additional-copy-status.error{background:#a03b2212;border-left-color:#a03b22}.prototype-shell .bbtn{border:1px solid var(--line);background:var(--card);width:auto;color:var(--ink-soft);white-space:nowrap;border-radius:6px;padding:5px 11px;font-size:12.5px}.prototype-shell .bbtn:hover{border-color:var(--accent-soft);color:var(--accent)}.prototype-shell #saved{width:100%;color:var(--good);text-overflow:clip;text-align:right;white-space:normal;overflow-wrap:normal;grid-column:1/-1;font-size:11.5px;font-style:normal;overflow:visible}.prototype-shell #saved.error,.prototype-shell #fileStatus.error{color:#a03b22}.prototype-shell #fileStatus{max-width:none;color:var(--ink-soft);text-overflow:clip;white-space:nowrap;justify-self:end;font-size:11.5px;font-style:normal;overflow:visible}.prototype-shell #fileStatus.ok{color:var(--good)}.prototype-shell #saved:hover,.prototype-shell #saved:focus,.prototype-shell #fileStatus:hover,.prototype-shell #fileStatus:focus{overflow-wrap:normal;text-overflow:clip;overflow:visible}.prototype-shell #saved:focus-visible,.prototype-shell #fileStatus:focus-visible{outline-offset:3px;outline:1px solid}.prototype-shell #view{width:100%;min-width:0;max-width:2200px;min-height:calc(100vh - 55px);margin:0 auto;padding:26px clamp(14px,2.5vw,40px) 120px}.prototype-shell #view.manuscript-view{max-width:none;padding-right:14px}.prototype-shell .hint{color:var(--ink-soft);font-size:12.5px;font-style:italic}.prototype-shell .panel{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:10px;padding:18px}.prototype-shell .flabel{color:#2e6690;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:700}.prototype-shell .story-wrap{flex-direction:column;gap:18px;max-width:1700px;margin:0 auto;display:flex}.prototype-shell .story-title-inp{color:var(--accent);text-align:center;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:30px;font-weight:600}.prototype-shell .story-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.prototype-shell .story-grid .span2{grid-column:1/-1}.prototype-shell .story-stack{gap:12px;display:grid}.prototype-shell .cast-chips{flex-wrap:wrap;gap:8px;display:flex}.prototype-shell .chip{border:1px solid var(--line-soft);background:var(--card2);border-radius:20px;align-items:center;gap:6px;padding:4px 12px;font-size:13px;display:inline-flex}.prototype-shell .cdot{border-radius:50%;flex:none;width:10px;height:10px}.prototype-shell .statline{color:var(--ink-soft);text-align:center;font-size:13px;font-style:italic}.prototype-shell .character-hint{margin-bottom:12px}.prototype-shell .character-section-actions{justify-content:flex-end;margin:0 0 8px;display:flex}.prototype-shell .character-section-actions .character-add-compact{border-style:solid;width:auto;min-height:44px;padding:7px 14px;font-weight:600}.prototype-shell .character-hint strong{color:#2f7fd6;font-style:normal}.prototype-shell .character-location-switch{border:1px solid var(--line);background:#ece3d094;border-radius:10px;gap:4px;width:fit-content;margin:4px auto 16px;padding:4px;display:flex}.prototype-shell .character-location-switch button{min-width:138px;color:var(--ink-soft);border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-family:sans-serif;font-size:13px;font-weight:600;display:flex}.prototype-shell .character-location-switch button span{background:#5b4b3417;border-radius:11px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:11px;display:inline-grid}.prototype-shell .character-location-switch button.on{background:var(--card);color:var(--accent);box-shadow:var(--shadow)}.prototype-shell .char-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;display:grid}.prototype-shell .char-card{border-top:4px solid var(--line);flex-direction:column;gap:10px;display:flex}.prototype-shell .char-card:not(.is-open){border-top-width:3px;gap:0;min-height:44px;padding:8px 12px}.prototype-shell .char-card:not(.is-open) .char-head{gap:8px;min-height:28px}.prototype-shell .char-card:not(.is-open) .char-head .name{text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.2;overflow:hidden}.prototype-shell .char-card:not(.is-open) .char-role-label{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2;overflow:hidden}.prototype-shell .location-card{border-top-color:var(--location);gap:6px;padding:10px 14px}.prototype-shell .location-card:not(.is-open){padding:6px 10px}.prototype-shell .location-grid{grid-template-columns:repeat(auto-fill,minmax(240px,360px));justify-content:center;align-items:start;gap:10px}.prototype-shell .location-head{min-height:26px}.prototype-shell .location-card:not(.is-open) .location-head{height:28px}.prototype-shell .location-card:not(.is-open) .location-head .name{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box;overflow:hidden}.prototype-shell .location-card .location-head .name{font-size:16px}.prototype-shell .location-card.is-open .char-collapse{margin-bottom:0;padding:2px 0 4px;font-size:14px}.prototype-shell .location-card.is-open{grid-column:span 2;justify-self:center;width:min(460px,100%)}.prototype-shell .location-card.is-open>div:not(.location-head) .flabel{margin-bottom:0;font-size:10px}.prototype-shell .location-card.is-open textarea{min-height:28px;padding:1px 0;line-height:1.35}.prototype-shell .location-card.is-open>.del{align-self:flex-start;margin-top:2px;padding:1px 0}.prototype-shell .location-pin{width:16px;color:var(--location);text-align:center;flex:0 0 16px;font-size:14px}.prototype-shell .location-trailing{flex:none;align-items:center;gap:8px;margin-left:auto;display:inline-flex}.prototype-shell .location-usage{white-space:nowrap}.prototype-shell .location-trailing .caret{width:auto;margin-left:0}.prototype-shell .locations-empty{margin-top:14px}@media (max-width:760px){.prototype-shell .location-grid{grid-template-columns:1fr}.prototype-shell .location-card.is-open{grid-column:span 1;width:100%}}.prototype-shell .char-head{cursor:pointer;align-items:center;gap:10px;display:flex}.prototype-shell .char-head .name{min-width:0;font-size:19px;font-weight:600}.prototype-shell .char-collapse{border-bottom:1px solid var(--line-soft);width:100%;color:var(--ink-soft);text-align:center;border-radius:6px 6px 0 0;margin-bottom:6px;padding:6px 0 8px;font-size:18px;line-height:1}.prototype-shell .char-collapse:hover{background:var(--card2);color:var(--accent)}.prototype-shell .cdot-btn{border:2px solid #0000001f;width:16px;height:16px;padding:0}.prototype-shell .cdot-btn:hover{border-color:var(--accent)}.prototype-shell .char-role{max-width:150px}.prototype-shell .char-role-label{flex:1}.prototype-shell .char-export{flex:none;margin-left:auto}.prototype-shell .caret{width:20px;color:var(--ink-soft);margin-left:auto;font-size:12px}.prototype-shell .subtle-inp{border-bottom:1px dashed var(--line-soft);padding:2px 4px}.prototype-shell .lane-char{border:1px solid var(--line-soft);background:var(--card2);width:auto;max-width:110px;color:var(--ink-soft);border-radius:4px;flex:none;padding:1px 4px;font-family:sans-serif;font-size:11px}.prototype-shell .cpop{border:1px solid var(--line);background:var(--card2);width:max-content;box-shadow:var(--shadow);border-radius:10px;grid-template-columns:repeat(10,20px);gap:6px;margin:2px 0 6px;padding:11px 12px;display:grid}.prototype-shell .cpop button{border:2px solid #0000;border-radius:6px;width:20px;height:20px;padding:0;position:relative}.prototype-shell .cpop button:hover{transform:scale(1.12)}.prototype-shell .cpop button.on{border-color:var(--ink);box-shadow:0 0 0 2px var(--card2), 0 0 0 3px var(--ink)}.prototype-shell .cpop button.locked{cursor:not-allowed;filter:grayscale(.45);opacity:.38}.prototype-shell .cpop button.locked:hover{transform:none}.prototype-shell .cpop button.locked:after{content:"";background:#ffffffeb;height:2px;position:absolute;top:8px;left:1px;right:1px;transform:rotate(-45deg);box-shadow:0 0 0 1px #2d231959}.prototype-shell .frow{gap:10px;display:flex}.prototype-shell .frow>div{flex:1}.prototype-shell .del{color:#b08e79;width:auto;font-size:12px}.prototype-shell .del:hover{color:#a03b22}.prototype-shell .addbtn{border:1.5px dashed var(--line);width:100%;color:var(--ink-soft);background:#ffffff59;border-radius:10px;padding:12px;font-size:14px}.prototype-shell .addbtn:hover{border-color:var(--accent-soft);color:var(--accent)}.prototype-shell .add-character{margin-top:16px}.prototype-shell .pt-guide{border:1px solid var(--line);background:var(--card2);border-radius:10px;max-width:1200px;margin:0 auto 12px;overflow:hidden}.prototype-shell .pt-guide-head{width:100%;color:var(--accent);justify-content:space-between;align-items:center;padding:10px 15px;font-size:14px;font-weight:600;display:flex}.prototype-shell .pt-guide-toggle{color:var(--ink-soft);font-size:11.5px;font-style:italic;font-weight:400}.prototype-shell .pt-guide-body{flex-direction:column;gap:7px;padding:2px 17px 14px;display:flex}.prototype-shell .pt-guide-item{color:var(--ink-soft);font-size:13px;line-height:1.45}.prototype-shell .pt-guide-item b{color:var(--ink);font-weight:600}.prototype-shell .board-hint{max-width:1200px;margin:0 auto 10px}.prototype-shell #board{scrollbar-width:thin;scrollbar-color:var(--accent-soft) var(--line-soft);flex-direction:column;align-items:center;width:100%;min-width:0;max-width:100%;padding-bottom:20px;display:flex;overflow-x:auto}.prototype-shell #board::-webkit-scrollbar{height:16px}.prototype-shell #hbar::-webkit-scrollbar{height:16px}.prototype-shell #board::-webkit-scrollbar-track{background:var(--line-soft)}.prototype-shell #hbar::-webkit-scrollbar-track{background:var(--line-soft)}.prototype-shell #board::-webkit-scrollbar-thumb{border:3px solid var(--line-soft);background:var(--accent-soft);border-radius:999px}.prototype-shell #hbar::-webkit-scrollbar-thumb{border:3px solid var(--line-soft);background:var(--accent-soft);border-radius:999px}.prototype-shell #hbar{z-index:55;border-top:1px solid var(--line);scrollbar-color:var(--accent-soft) var(--line-soft);background:#f3eee1eb;height:20px;display:none;position:fixed;bottom:0;left:0;right:0;overflow:auto hidden}.prototype-shell #hbar>div{height:1px}.prototype-shell #boardTools{z-index:41;flex-direction:column;gap:6px;min-width:104px;display:flex;position:fixed;top:108px;right:16px}.prototype-shell .board-tool-btn{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);color:var(--ink-soft);border-radius:20px;padding:6px 12px;font-size:12.5px}.prototype-shell .board-tool-btn:hover{border-color:var(--accent-soft);color:var(--accent)}.prototype-shell #ppnav{z-index:42;border:1px solid var(--line);background:var(--card);width:210px;max-height:70vh;box-shadow:var(--shadow);border-radius:10px;padding:10px 12px;display:none;position:fixed;top:182px;right:16px;overflow-y:auto}.prototype-shell #ppnav.open{display:block}.prototype-shell .ppnav-act,.prototype-shell .ppnav-item{text-align:left;width:100%}.prototype-shell .ppnav-act{color:var(--accent);letter-spacing:1px;text-transform:uppercase;margin:8px 0 4px;font-size:10.5px;font-weight:700}.prototype-shell .ppnav-act:hover{text-decoration:underline}.prototype-shell .ppnav-item{color:var(--ink-soft);border-radius:5px;align-items:center;gap:7px;padding:3px 2px;font-size:12.5px;display:flex}.prototype-shell .ppnav-item:hover{background:var(--card2);color:var(--ink)}.prototype-shell .ppnav-number{width:18px;height:18px;font-size:9px}.prototype-shell .ppnav-t{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.prototype-shell .board-grid{flex:none;width:min(100%,1700px);min-width:0}.prototype-shell .plot-board-view-switch{border:1px solid var(--line);background:var(--card2);border-radius:9px;gap:3px;margin-bottom:12px;padding:3px;display:inline-flex}.prototype-shell .plot-board-view-switch button{color:var(--ink-soft);background:0 0;border:0;border-radius:6px;padding:7px 13px;font:600 12.5px Arial,sans-serif}.prototype-shell .plot-board-view-switch button.active{background:var(--accent);color:#fff;box-shadow:var(--shadow)}.prototype-shell .character-paths{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.prototype-shell .character-path-controls{border-bottom:1px solid var(--line);background:var(--card2);flex-wrap:wrap;gap:12px;padding:13px 15px;display:flex}.prototype-shell .character-path-controls label{min-width:220px;color:var(--ink-soft);letter-spacing:.03em;text-transform:uppercase;gap:4px;font:600 11px Arial,sans-serif;display:grid}.prototype-shell .character-path-controls select{border:1px solid var(--line);background:var(--card);color:var(--ink);text-transform:none;border-radius:6px;padding:7px 9px;font:13px Arial,sans-serif}.prototype-shell .character-path-disclosure-controls{align-self:end;gap:6px;margin-left:auto;display:flex}.prototype-shell .character-path-disclosure-controls button{border:1px solid var(--line);background:var(--card);color:var(--ink-soft);border-radius:6px;padding:7px 10px;font:700 11px Arial,sans-serif}.prototype-shell .character-path-disclosure-controls button:hover{border-color:var(--accent);color:var(--accent)}.prototype-shell .character-path-table-wrap{overflow:auto}.prototype-shell .character-path-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:760px}.prototype-shell .character-path-table th,.prototype-shell .character-path-table td{border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);vertical-align:top;text-align:left;padding:10px}.prototype-shell .character-path-table thead th{background:var(--card2);color:var(--ink);font:700 12px Arial,sans-serif}.prototype-shell .character-path-character-heading,.prototype-shell .character-path-prompt-cell{--character-path-safe-color:var(--character-path-color,var(--accent))}@supports (color:color-mix(in lab, red, red)){.prototype-shell .character-path-character-heading,.prototype-shell .character-path-prompt-cell{--character-path-safe-color:color-mix(in srgb, var(--character-path-color,var(--accent)) 58%, var(--ink) 42%)}}.prototype-shell .character-path-table thead th.character-path-character-heading{box-shadow:inset 0 3px 0 var(--character-path-safe-color)}.prototype-shell .character-path-heading-name{align-items:center;display:flex}.prototype-shell .character-path-color-swatch{border:1px solid var(--timeline-marker-edge);background:var(--character-path-color);width:9px;height:9px;box-shadow:0 0 0 1px var(--card2);border-radius:50%;flex:none;margin-right:6px;display:inline-block}.prototype-shell .character-path-table thead th small{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:9px;display:block}.prototype-shell .character-path-table tbody>tr:not(.character-path-act)>th{width:210px;color:var(--ink);font-size:13px}.prototype-shell .character-path-stage small,.prototype-shell .character-path-stage strong,.prototype-shell .character-path-stage span{display:block}.prototype-shell .character-path-stage-toggle{width:100%;color:inherit;text-align:left;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}.prototype-shell .character-path-stage-heading{min-width:0}.prototype-shell .character-path-stage .character-path-stage-chevron{color:var(--accent);flex:none;font:700 17px/1 Arial,sans-serif;transition:transform .15s;transform:rotate(-90deg)}.prototype-shell .character-path-stage .character-path-stage-toggle[aria-expanded=true] .character-path-stage-chevron{transform:rotate(0)}.prototype-shell .character-path-stage-collapsed>th{background:var(--card2)}@supports (color:color-mix(in lab, red, red)){.prototype-shell .character-path-stage-collapsed>th{background:color-mix(in srgb, var(--card2) 55%, var(--card))}}.prototype-shell .character-path-stage small{color:var(--accent);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font:700 9px Arial,sans-serif}.prototype-shell .character-path-stage strong{color:var(--accent);margin-bottom:6px}.prototype-shell .character-path-stage-toggle strong{margin-bottom:0}.prototype-shell .character-path-stage span{color:var(--ink-soft);font-size:11px;font-weight:400;line-height:1.4}.prototype-shell .character-path-prompt-cell>strong{color:var(--character-path-safe-color,var(--ink));margin-bottom:5px;font:700 11px Arial,sans-serif;display:block}.prototype-shell .character-path-prompt-cell ul{min-height:58px;color:var(--ink-soft);margin:0 0 8px;padding-left:17px;font:10px/1.45 Arial,sans-serif}.prototype-shell .character-path-dynamics>strong{color:var(--accent)}.prototype-shell .character-path-writing-label{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin:0 0 5px;font:700 9px Arial,sans-serif;display:block}.prototype-shell .character-path-dynamics p{min-height:58px;color:var(--ink-soft);margin:0 0 8px;font:10px/1.45 Arial,sans-serif}.prototype-shell .character-path-act th{background:var(--accent);padding:7px 10px}@supports (color:color-mix(in lab, red, red)){.prototype-shell .character-path-act th{background:color-mix(in srgb, var(--accent) 12%, var(--card))}}.prototype-shell .character-path-act th{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font:700 11px Arial,sans-serif}.prototype-shell .character-path-point-number{color:#fff;text-shadow:0 1px 2px #000000a6;border-radius:50%;place-items:center;width:23px;height:23px;margin-right:7px;font:700 11px Arial,sans-serif;display:inline-grid}.prototype-shell .character-path-table textarea{resize:vertical;border:1px solid var(--line);background:var(--card2);width:100%;min-height:92px;color:var(--ink);border-radius:6px;padding:8px;font:14px/1.5 Georgia,Times New Roman,serif;transition:border-color .15s,background-color .15s,box-shadow .15s}.prototype-shell .character-path-prompt-cell textarea[data-has-writing=true]{border-color:var(--character-path-safe-color,var(--accent));background:var(--card-bright);box-shadow:inset 3px 0 0 var(--character-path-safe-color,var(--accent))}.prototype-shell .character-path-dynamics textarea[data-has-writing=true]{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.prototype-shell .brow{grid-template-columns:var(--board-columns);align-items:stretch;gap:10px;width:100%;min-width:0;display:grid}.prototype-shell .addlane{border:1.5px dashed var(--line);width:40px;height:46px;color:var(--ink-soft);background:#ffffff59;border-radius:10px;font-size:22px}.prototype-shell .addlane:hover{border-color:var(--accent-soft);color:var(--accent)}.prototype-shell .bend{justify-content:center;align-items:flex-start;min-width:0;display:flex}.prototype-shell .first-act-row>.bend{padding-top:6px}.prototype-shell .first-act-row>.lane{margin-top:6px}.prototype-shell .lane{border:1px solid var(--line-soft);background:#fff6;border-radius:10px;padding:10px}.prototype-shell .lane-head{border-bottom:3px solid;align-items:center;gap:6px;padding-bottom:6px;display:flex}.prototype-shell .lane-head input{font-size:14px;font-weight:600}.prototype-shell .act-head{border-top:1px solid var(--act-accent);border-left:5px solid var(--act-accent);background:var(--act-header);border-radius:4px;align-items:center;gap:8px;min-height:44px;margin:6px 0 2px;padding:7px 12px;scroll-margin-top:72px;display:flex}.prototype-shell .act-head input{color:var(--act-accent);letter-spacing:.5px;font-size:15px;font-weight:600}.prototype-shell .actnum{color:var(--act-accent);letter-spacing:.5px;white-space:nowrap;flex:none;font-size:15px;font-weight:800}.prototype-shell .board-act>.brow>.scell{background:var(--act-spine)}.prototype-shell .board-act .act-head .caret{color:var(--act-accent)}.prototype-shell .board-act .mergebtn{border-color:var(--act-accent);color:var(--act-accent)}.prototype-shell .board-act .mergebtn:hover{border-color:var(--act-accent);background:var(--act-accent);color:#fff}.prototype-shell .act-count{color:var(--ink-soft);white-space:nowrap;margin-left:auto;font-size:11.5px;font-style:italic}.prototype-shell .mergebtn{border:1.5px solid var(--accent-soft);background:var(--card);color:var(--accent);letter-spacing:.3px;white-space:nowrap;border-radius:14px;flex:none;padding:3px 12px;font-size:12px;font-weight:700}.prototype-shell .mergebtn:hover{border-color:var(--accent);background:var(--accent);color:#fff}.prototype-shell .point-row{min-height:0}.prototype-shell .point-row>.lcell{padding-top:4px}.prototype-shell .lcell,.prototype-shell .scell{min-width:0}.prototype-shell .scell{padding:2px 0}.prototype-shell .pp{border:1px solid var(--line);border-left:5px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:8px;margin:2px 0;padding:10px 12px;scroll-margin-top:72px}.prototype-shell .pp.is-collapsed{padding-top:7px;padding-bottom:7px}.prototype-shell .pp.st-rough{border-style:dashed dashed dashed solid}.prototype-shell .pp.st-placeholder{opacity:.78;border-style:dotted}.prototype-shell .pp-top{align-items:center;gap:8px;display:flex}.prototype-shell .ppnum{color:#fff;cursor:grab;border-radius:50%;flex:none;justify-content:center;align-items:center;width:24px;height:24px;font-family:sans-serif;font-size:12px;font-weight:700;display:flex}.prototype-shell .pp-title{min-width:0;font-size:15.5px;font-weight:600}.prototype-shell .plot-point-story-time{min-width:0;max-width:170px;color:var(--ink-soft);flex:0 170px;align-items:center;gap:5px;font-family:sans-serif;font-size:12px;display:inline-flex}.prototype-shell .plot-point-story-time-input{border-bottom:1px dashed var(--line-soft);width:100%;min-width:0;color:var(--ink-soft);padding:2px 3px;font-family:sans-serif;font-size:12px;font-style:italic}.prototype-shell .card-collapse{width:28px;height:28px;color:var(--accent);border:1px solid #0000;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:22px;font-weight:700;line-height:1;display:inline-flex}.prototype-shell .card-collapse:hover,.prototype-shell .card-collapse:focus-visible{border-color:var(--line-soft);background:var(--card2);color:var(--accent);outline:none}.prototype-shell .pct{border:1px solid var(--line-soft);background:var(--card2);width:auto;color:var(--ink-soft);border-radius:10px;flex:none;padding:2px 7px;font-family:sans-serif;font-size:11px}.prototype-shell .pct.pinned{border-color:var(--accent);color:var(--accent);font-weight:700}.prototype-shell .stbtn{border:1px solid var(--line-soft);width:auto;color:var(--ink-soft);letter-spacing:.5px;text-transform:uppercase;border-radius:4px;flex:none;padding:2px 6px;font-family:sans-serif;font-size:10.5px}.prototype-shell .trow{align-items:center;gap:6px;margin-top:6px;display:flex}.prototype-shell .ptime{border-bottom:1px dashed var(--line-soft);color:var(--ink-soft);padding:1px 4px;font-family:sans-serif;font-size:12px}.prototype-shell .dots{flex-wrap:wrap;gap:5px;margin:7px 0 2px;display:flex}.prototype-shell .dot{border:1.5px solid;border-radius:50%;width:15px;height:15px;padding:0;position:relative}.prototype-shell .dot:hover:after{z-index:5;background:var(--ink);color:#fff;content:attr(data-n);white-space:nowrap;border-radius:4px;padding:2px 7px;font-family:sans-serif;font-size:10.5px;position:absolute;bottom:130%;left:50%;transform:translate(-50%)}.prototype-shell .pp textarea,.prototype-shell .plot-point-synopsis{color:#473b29;margin-top:4px;font-size:13.8px}.prototype-shell .inline-rich-text{white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;outline:none;width:100%;min-height:42px;padding:5px 2px;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif;line-height:1.55}.prototype-shell .inline-rich-text:focus{box-shadow:inset 0 0 0 1px var(--line);border-radius:4px}.prototype-shell .inline-rich-text:empty:before{color:#aa9b82;content:attr(data-placeholder);pointer-events:none;font-style:italic}.prototype-shell .qs{border-top:1px dashed var(--line-soft);margin-top:7px;padding-top:5px}.prototype-shell .q{color:var(--ink-soft);align-items:baseline;gap:6px;font-size:12.8px;display:flex}.prototype-shell .q .qmark{color:var(--accent);flex:none;font-weight:700}.prototype-shell .q.done .qt{opacity:.55;text-decoration:line-through}.prototype-shell .q input.qt{color:var(--ink-soft);flex:1;font-size:12.8px}.prototype-shell .q button{font-size:11px}.prototype-shell .qadd{font-size:12.5px;font-style:italic}.prototype-shell .beat{border:1px solid var(--line-soft);background:var(--card);box-shadow:var(--shadow);border-left:4px solid;border-radius:7px;margin-bottom:8px;padding:8px 10px}.prototype-shell .beat.is-collapsed{padding-top:6px;padding-bottom:6px}.prototype-shell .beat input{font-size:13.5px;font-weight:600}.prototype-shell .beat textarea,.prototype-shell .beat-synopsis{color:#473b29;font-size:12.8px}.prototype-shell .beat-foot{align-items:center;gap:6px;margin-top:6px;display:flex}.prototype-shell .anchor-chip{color:#fff;border-radius:8px;flex:none;padding:1px 7px;font-family:sans-serif;font-size:10.5px}.prototype-shell .float-tag{color:var(--ink-soft);letter-spacing:1px;text-align:center;text-transform:uppercase;margin:6px 0 4px;font-family:sans-serif;font-size:10px}.prototype-shell .beat-foot select{border:1px solid var(--line-soft);background:var(--card2);min-width:0;color:var(--ink-soft);border-radius:4px;flex:1;padding:1px 3px;font-family:sans-serif;font-size:11px}.prototype-shell .beat-scene-link{border:1px solid var(--line-soft);background:var(--card2);color:var(--accent);white-space:nowrap;border-radius:5px;flex:none;padding:2px 6px;font-family:sans-serif;font-size:10.5px}.prototype-shell .beat-scene-pending{white-space:nowrap;flex:none;font-size:10px}.prototype-shell .insbtn{width:100%;color:var(--line);padding:0;font-size:13px;line-height:18px}.prototype-shell .insbtn:hover{color:var(--accent)}.prototype-shell .beat-converge{border:1px solid var(--line-soft);background:var(--card2);color:var(--ink-soft);white-space:nowrap;border-radius:5px;flex:none;padding:2px 6px;font:10.5px Arial,sans-serif}.prototype-shell .beat-converge.active{border-color:var(--accent);background:var(--accent);color:#fff}.prototype-shell .plot-insert-menu{z-index:4;width:max-content;margin:2px auto 0;position:relative}.prototype-shell .plot-insert-trigger{width:26px;height:22px;color:var(--line);cursor:pointer;border:1px solid #0000;border-radius:999px;place-items:center;margin:0 auto;padding:0;font-size:16px;line-height:1;list-style:none;display:grid}.prototype-shell .plot-insert-trigger:hover,.prototype-shell .plot-insert-trigger:focus-visible,.prototype-shell .plot-insert-trigger[aria-expanded=true]{border-color:var(--accent-soft);color:var(--accent);background:var(--paper)}.prototype-shell .plot-insert-trigger:disabled{cursor:not-allowed}.prototype-shell .plot-insert-options{z-index:10;border:1px solid var(--line);background:var(--paper);border-radius:8px;min-width:132px;display:grid;position:absolute;top:25px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 8px 22px #32271b2e}.prototype-shell .plot-insert-options button{text-align:left;color:var(--ink);white-space:nowrap;padding:8px 12px;font-size:12px}.prototype-shell .plot-insert-options button+button{border-top:1px solid var(--line)}.prototype-shell .plot-insert-options button:hover,.prototype-shell .plot-insert-options button:focus-visible{color:var(--accent);background:var(--warm)}.prototype-shell .beat-insert{width:auto;min-width:58px;margin:0 auto;padding:0 8px;display:block}.prototype-shell .dz{border-radius:4px;height:8px;margin:1px 8px;transition:all .15s}.prototype-shell .dz.over{border:1.5px dashed var(--accent-soft);background:#9c4a2f26;height:26px}.prototype-shell .act-add-cell .addbtn{padding:7px;font-size:13px}.prototype-shell .timeline-hint,.prototype-shell .scenes-hint,.prototype-shell .notes-hint{margin-bottom:10px}.prototype-shell .timeline-panel{width:100%;min-width:0;max-width:100%;overflow-x:auto}.prototype-shell .timeline-point-inspector{border:1px solid var(--line);background:var(--card-bright);min-height:38px;color:var(--ink-soft);border-radius:8px;flex-wrap:wrap;align-items:baseline;gap:5px 12px;margin-bottom:10px;padding:9px 12px;font-size:12px;line-height:1.4;display:flex}.prototype-shell .timeline-point-inspector strong{color:var(--ink)}.prototype-shell .timeline-svg{width:100%;min-width:850px;font-family:Arial,sans-serif;display:block}.prototype-shell .timeline-plot-point-marker{cursor:pointer;outline:none}.prototype-shell .timeline-plot-point-marker>text{pointer-events:none}.prototype-shell .timeline-plot-point-marker:focus-visible>circle{stroke:var(--ink);stroke-width:4px}.prototype-shell .timeline-details{border:1px solid var(--line);background:var(--card-bright);border-radius:9px;margin-top:12px}.prototype-shell .timeline-details>summary{color:var(--accent);cursor:pointer;padding:11px 14px;font-weight:700}.prototype-shell .timeline-details-content{gap:18px;padding:2px 16px 16px;display:grid}.prototype-shell .timeline-details-content h2{color:var(--ink);margin:8px 0;font-family:Georgia,Times New Roman,serif;font-size:18px}.prototype-shell .timeline-details-content ol,.prototype-shell .timeline-details-content ul{gap:9px;margin:0;padding-left:24px;display:grid}.prototype-shell .timeline-details-content li>span,.prototype-shell .timeline-details-content li>p{color:var(--ink-soft);margin:3px 0 0;font-size:12px;line-height:1.45;display:block}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.prototype-shell .sc-act{border-radius:10px;flex-direction:column;margin-bottom:18px;padding:12px 16px 14px;display:flex}.prototype-shell .sc-acthead{border-bottom:1px solid var(--line);color:var(--accent);letter-spacing:2px;text-transform:uppercase;margin:0 0 10px;padding-bottom:4px;font-size:13px}.prototype-shell .sc-group{display:contents}.prototype-shell .scene.prelude,.prototype-shell .sdz.prelude{order:-2}.prototype-shell .prelude-entry{order:-4}.prototype-shell .scene-collapse-toolbar{z-index:8;top:calc(66px + var(--fixed-banner-offset));border:1px solid var(--line-soft);width:max-content;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fcf9f0f0;border-radius:8px;justify-content:flex-end;gap:6px;margin:0 0 10px auto;padding:5px;display:flex;position:sticky}.prototype-shell .legacy-scenes-hint{display:none}.prototype-shell .scene-collapse-toolbar button{color:var(--ink-soft);border:1px solid #0000;border-radius:5px;padding:5px 9px;font-size:11px}.prototype-shell .scene-collapse-toolbar button:hover{border-color:var(--line-soft);background:var(--card2);color:var(--accent)}.prototype-shell .scene-collapse-toolbar button.active{color:#2e644d;background:#2e644d1a;border-color:#2e644d5c}.prototype-shell .scene-collapse-toolbar button:disabled{cursor:not-allowed;opacity:.5}.prototype-shell .scene-chapter-divider{color:#2e644d;background:#2e644d0f;border-top:1px solid #2e644d61;border-bottom:1px solid #2e644d33;align-items:baseline;gap:9px;margin:14px 3px 7px;padding:6px 9px;font-family:Arial,sans-serif;display:flex}.prototype-shell .scene-chapter-divider.prelude{order:-3}.prototype-shell .scene-chapter-divider strong{letter-spacing:1.2px;text-transform:uppercase;flex:none;font-size:11px}.prototype-shell .scene-chapter-divider span{min-width:0;color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.prototype-shell .scene-chapter-divider .scene-chapter-move-controls{flex:none;gap:2px;min-width:auto;margin-left:2px;display:inline-flex;overflow:visible}.prototype-shell .scene-chapter-move-controls .arr{color:#2e644d;background:#ffffff7a;border:1px solid #2e644d47;border-radius:5px;width:27px;height:27px;font-size:16px;font-weight:700;line-height:1}.prototype-shell .scene-chapter-move-controls .arr:hover:not(:disabled){background:#2e644d14;border-color:#2e644d52}.prototype-shell .scene-chapter-move-controls .arr:disabled{cursor:not-allowed;opacity:.3}.prototype-shell .scene-chapter-title{min-width:120px;max-width:320px;color:var(--ink-soft);background:0 0;border:0;border-bottom:1px solid #2e644d4d;border-radius:0;flex:1;padding:1px 3px 2px;font:12px Arial,sans-serif}.prototype-shell .scene-chapter-title:focus{background:#ffffff7a;border-bottom-color:#2e644d;outline:0}.prototype-shell .scene{border:1px solid var(--line-soft);background:var(--card);box-shadow:var(--shadow);border-radius:7px;align-items:flex-start;gap:8px;margin:3px 0;padding:7px 10px;display:flex;position:relative}.prototype-shell .scene-drag-handle{cursor:grab;border-radius:4px;flex:0 0 14px;grid-template-rows:repeat(3,3px);grid-template-columns:repeat(2,3px);place-content:center;gap:2px;width:14px;height:22px;margin:0 1px 0 2px;padding:2px;display:grid}.prototype-shell .scene-drag-handle:hover{background:#9c4a2f1a}.prototype-shell .scene-drag-handle:active{cursor:grabbing}.prototype-shell .scene .num[draggable=true]{cursor:grab}.prototype-shell .scene .num[draggable=true]:active{cursor:grabbing}.prototype-shell .scene-drag-handle i{pointer-events:none;background:#9d8d74;border-radius:50%;width:3px;height:3px}.prototype-shell .sdz{border-radius:4px;height:8px;margin:1px 8px;transition:all .15s}.prototype-shell .sdz.over{border:1.5px dashed var(--accent-soft);background:#9c4a2f26;height:26px}.prototype-shell .scene .num{width:34px;color:var(--ink-soft);flex:none;padding-top:3px;font-family:sans-serif;font-size:11px}.prototype-shell .scene .mid{flex:1;min-width:0}.prototype-shell .scene input{font-size:14px;font-weight:600}.prototype-shell .scene textarea{color:#473b29;font-size:13px}.prototype-shell .scene .scene-synopsis{resize:vertical;cursor:text;background:#fffdf785;border:1px solid #80664038;border-radius:6px;min-height:68px;margin-top:5px;padding:8px 9px;line-height:1.45;overflow:auto}.prototype-shell .scene .scene-synopsis:hover{background:#fffdf7cc;border-color:#9c4a2f6b}.prototype-shell .scene .scene-synopsis:focus{border-color:var(--accent-soft);background:#fffdf7;box-shadow:0 0 0 2px #9c4a2f1a}.prototype-shell .scene-title-row{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:center;gap:8px;display:grid}.prototype-shell .scene-title-row>input{grid-column:1}.prototype-shell .scene-title-row>.scene-right-meta{grid-column:3;justify-self:end}.prototype-shell .scene-right-meta,.prototype-shell .scene-setting-controls{align-items:center;gap:6px;min-width:0;display:flex}.prototype-shell .scene-right-meta{justify-content:flex-end}.prototype-shell .scene-setting{border:1px solid var(--line-soft);background:var(--card2);width:auto;min-width:0;max-width:145px;color:var(--ink-soft);border-radius:5px;padding:2px 5px;font-family:sans-serif;font-size:11px}.prototype-shell .scene-location{width:200px;max-width:200px}.prototype-shell .scene-setting-with-icon{align-items:center;gap:3px;display:inline-flex}.prototype-shell .scene-setting-icon{text-align:center;flex:0 0 13px;width:13px;height:13px;line-height:1}.prototype-shell .scene-setting-icon svg{fill:currentColor;width:13px;height:13px;display:block}.prototype-shell .scene-time-control .scene-setting-icon,.prototype-shell .scene-weather-control .scene-setting-icon{color:#9b907e}.prototype-shell .scene-time-control .scene-setting-icon[data-value=dawn]{color:#c97860}.prototype-shell .scene-time-control .scene-setting-icon[data-value=morning]{color:#d5a22c}.prototype-shell .scene-time-control .scene-setting-icon[data-value=day]{color:#c99216}.prototype-shell .scene-time-control .scene-setting-icon[data-value=afternoon]{color:#b97927}.prototype-shell .scene-time-control .scene-setting-icon[data-value=dusk]{color:#8a6b8f}.prototype-shell .scene-time-control .scene-setting-icon[data-value=evening]{color:#5d6897}.prototype-shell .scene-time-control .scene-setting-icon[data-value=night]{color:#40577f}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=clear]{color:#c78a21}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=cloudy]{color:#708092}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=rain]{color:#477fa8}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=storm]{color:#c5672b}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=snow]{color:#7ca8bd}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=fog]{color:#8b9091}.prototype-shell .scene-weather-control .scene-setting-icon[data-value=wind]{color:#438b83}.prototype-shell .scene-time,.prototype-shell .scene-weather{max-width:105px}.prototype-shell .scene-pov-control{align-items:center;gap:6px;min-width:0;display:flex}.prototype-shell .scene-pov-dot{border:1px solid #372d1f47;border-radius:50%;flex:0 0 10px;width:10px;height:10px;display:none;box-shadow:0 0 0 2px #fffdf7d9}.prototype-shell .scene-pov-dot.is-empty{visibility:hidden}.prototype-shell .scene-collapse{z-index:2;flex:none;font-size:0;position:absolute;top:5px;left:50%;transform:translate(-50%)}.prototype-shell .scene-collapse:before{color:var(--accent);content:"▾";font-size:22px;line-height:1}.prototype-shell .scene-collapse[aria-expanded=false]:before{content:"▸"}.prototype-shell .scene.is-collapsed{align-items:center;padding-top:5px;padding-bottom:5px}.prototype-shell .scene.is-collapsed .num{padding-top:0}.prototype-shell .scene.is-collapsed .scene-pov-dot{display:block}.prototype-shell .scene.is-collapsed .scene-dots,.prototype-shell .scene.is-collapsed textarea,.prototype-shell .scene.is-collapsed .scene-audio,.prototype-shell .scene.is-collapsed .scene-reorder,.prototype-shell .scene.is-collapsed>.del,.prototype-shell .scene.is-collapsed>span:not(.num):not(.scene-drag-handle){display:none}.prototype-shell .scene-dots{margin:4px 0 2px}.prototype-shell .scene-audio{flex:none;gap:3px;display:flex}.prototype-shell .scene-audio button{border:1px solid var(--line-soft);background:var(--card2);width:28px;height:28px;color:var(--ink-soft);border-radius:5px;padding:0;font-family:sans-serif;font-size:12px}.prototype-shell .scene-audio button:hover{border-color:var(--accent-soft);color:var(--accent)}.prototype-shell .reorder-buttons{flex-direction:column;flex:none;gap:1px;display:flex}.prototype-shell .arr{width:19px;height:14px;color:var(--ink-soft);padding:0;font-family:sans-serif;font-size:8px;line-height:1}.prototype-shell .arr:hover{color:var(--accent)}.prototype-shell .beat-title-row{align-items:center;gap:5px;display:flex}.prototype-shell .beat-title-row input{flex:1;min-width:0}.prototype-shell .scene-insert{text-align:center;color:#a57958;align-self:center;width:24px;min-height:14px;margin:0;padding:0;font-size:15px;line-height:14px}.prototype-shell .scene-chapter-delete{flex:none;margin-left:auto}.prototype-shell .scene-insert-menu{align-self:center}.prototype-shell .scene-insert-options .scene-insert-pending{color:var(--muted);white-space:nowrap;padding:8px 12px;font-size:12px;display:block}.prototype-shell .scene-insert-first,.prototype-shell .scene-chapter-start-insert.prelude{order:-3}.prototype-shell .scene-insert-menu.prelude{order:-2}.prototype-shell .scene-insert-menu.scene-chapter-start-menu.prelude{order:-3}.prototype-shell .manuscript-layout{--manuscript-sidebar-effective-width:clamp(240px, var(--manuscript-sidebar-width,300px), calc(100vw - 440px));align-items:flex-start;gap:6px;display:flex}.prototype-shell #chapSide{top:calc(60px + var(--fixed-banner-offset));width:var(--manuscript-sidebar-effective-width);flex:0 0 var(--manuscript-sidebar-effective-width);align-self:flex-start;max-height:calc(100vh - 74px);position:sticky;overflow-y:auto}.prototype-shell .manuscript-resizer{top:calc(60px + var(--fixed-banner-offset));width:12px;height:calc(100vh - 74px - var(--fixed-banner-offset));cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;flex:0 0 12px;align-self:flex-start;position:sticky}.prototype-shell .manuscript-resizer:before{background:var(--line-soft);content:"";border-radius:2px;width:2px;transition:background .12s,width .12s;position:absolute;top:0;bottom:0;left:5px}.prototype-shell .manuscript-resizer:hover:before,.prototype-shell .manuscript-resizer:focus-visible:before{background:var(--accent-soft);width:3px}.prototype-shell .manuscript-resizer:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.prototype-shell #chapSide>.flabel{margin-bottom:48px}.prototype-shell .chp{border:1px solid var(--line-soft);background:var(--card);text-align:left;border-radius:7px;align-items:center;gap:6px;width:100%;margin-bottom:5px;padding:7px 10px;font-size:13.5px;display:flex}.prototype-shell .chp.on{border-color:var(--accent);box-shadow:var(--shadow)}.prototype-shell .chp.can-receive-scene{border-style:dashed;border-color:var(--accent-soft)}.prototype-shell .chp.scene-drop-target{background:#edf3e9;border-color:#4f7b5b;box-shadow:0 0 0 2px #4f7b5b2e}.prototype-shell .chapter-disclosure{color:#786b58;flex:0 0 12px;width:12px;height:18px;padding:0;position:relative}.prototype-shell .chapter-disclosure:before{content:"›";text-align:center;transform-origin:50%;font-family:Arial,sans-serif;font-size:17px;line-height:18px;transition:transform .12s;position:absolute;inset:0}.prototype-shell .chapter-disclosure[aria-expanded=true]:before{transform:rotate(90deg)}.prototype-shell .chapter-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.prototype-shell .chapter-number{flex:none}.prototype-shell .scnav-row{border-radius:5px;align-items:center;gap:4px;width:100%;padding-left:16px;display:flex}.prototype-shell .scnav-row[draggable=true]{cursor:grab}.prototype-shell .scnav-row.scene-drop-target{background:#edf3e9;box-shadow:inset 0 0 0 1px #8eae94}.prototype-shell .scnav-row.scene-drop-before,.prototype-shell .scnav-row.scene-drop-after{background:#edf3e9;position:relative}.prototype-shell .scnav-row.scene-drop-before:before,.prototype-shell .scnav-row.scene-drop-after:after{content:"";z-index:2;background:#2f6f54;border-radius:2px;height:3px;position:absolute;left:14px;right:4px}.prototype-shell .scnav-row.scene-drop-before:before{top:-2px}.prototype-shell .scnav-row.scene-drop-after:after{bottom:-2px}.prototype-shell .scnav-row.block-selected{background:#2457c51f;box-shadow:inset 0 0 0 1px #2457c54d}.prototype-shell .scene-select-handle{cursor:crosshair;background:#ded6c8;border-radius:6px;flex:0 0 12px;width:12px;height:20px;padding:0}.prototype-shell .scene-select-handle[aria-pressed=true]{background:#2457c5}.prototype-shell .manuscript-block-tools{z-index:4;box-sizing:border-box;color:#2457c5;background:#2457c512;border:1px solid #2457c540;border-radius:6px;align-items:center;gap:5px;min-height:36px;margin:0;padding:5px 7px;font-size:11px;display:flex;position:absolute;top:22px;left:0;right:0}.prototype-shell .manuscript-block-tools.empty{visibility:hidden;pointer-events:none}.prototype-shell .manuscript-block-tools span{flex:1}.prototype-shell .manuscript-block-tools button{width:23px;height:23px;padding:0;font-family:Arial,sans-serif}.prototype-shell .manuscript-block-tools .block-chapter-move{width:108px}.prototype-shell .scnav-row.plot-point-scene{background:#2457c514;border-left:4px solid #2457c5}.prototype-shell .scnav-row.plot-point-scene .scnav{color:#2457c5;font-weight:700}.prototype-shell .scnav{min-width:0;color:var(--ink-soft);text-align:left;text-overflow:ellipsis;white-space:nowrap;border-radius:5px;flex:1;padding:3px 4px 3px 6px;font-size:12px;display:block;overflow:hidden}.prototype-shell .scnav:hover{background:var(--card2);color:var(--accent)}.prototype-shell .scene-chapter-move{border:1px solid var(--line-soft);background:var(--card2);width:68px;height:24px;color:var(--ink-soft);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer;border-radius:4px;flex:none;padding:0;font-size:10px;overflow:hidden}.prototype-shell .scene-chapter-move option{background:var(--card2);color:var(--ink)}.prototype-shell .scene-chapter-move:hover{border-color:var(--line-soft);background:var(--card2)}.prototype-shell .scene-card-chapter-move{border-color:var(--line-soft);background:var(--card2);width:82px;color:var(--ink-soft)}.prototype-shell .scene-card-chapter-move:focus-visible{border-color:var(--accent);outline:2px solid var(--accent)}@supports (color:color-mix(in lab, red, red)){.prototype-shell .scene-card-chapter-move:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 24%, transparent)}}.prototype-shell .scene-card-chapter-move:focus-visible{outline-offset:1px}.prototype-shell .manuscript-scene-reorder{flex-direction:column;flex:none;gap:1px;display:flex}.prototype-shell .manuscript-scene-reorder button{width:18px;height:12px;color:var(--ink-soft);padding:0;font-family:sans-serif;font-size:7px;line-height:1}.prototype-shell .manuscript-scene-reorder button:hover:not(:disabled){color:var(--accent)}.prototype-shell .manuscript-scene-delete,.prototype-shell .manuscript-scene-protected{width:22px;height:22px;color:var(--ink-soft);background:0 0;border:0;flex:none;place-items:center;padding:0;font-size:13px;display:grid}.prototype-shell .manuscript-scene-delete:hover:not(:disabled){color:#a03b22}.prototype-shell .manuscript-scene-protected{color:#2457c5;font-size:9px}.prototype-shell .chapter-add{margin-top:8px;padding:8px;font-size:13px}.prototype-shell .manuscript-main{flex:1;min-width:0}.prototype-shell .ms-title{color:var(--accent);margin-bottom:8px;font-size:22px;font-weight:600}.prototype-shell .ms-tools{top:calc(54px + var(--fixed-banner-offset));z-index:5;background:var(--paper);align-items:center;gap:6px;margin-bottom:10px;padding:6px 0;display:flex;position:sticky}.prototype-shell .ms-word-count{margin-left:auto}.prototype-shell .direction-button{letter-spacing:.04em;min-width:38px;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif;font-size:10px}.prototype-shell .ms-editor{counter-reset:scene-number var(--scene-number-start,1);border:1px solid var(--line);background:var(--card);min-height:540px;box-shadow:var(--shadow);color:#33291d;overflow-wrap:anywhere;border-radius:8px;outline:none;padding:36px 46px;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif;font-size:14.5px;line-height:1.8}.prototype-shell .ms-editor[data-first-scene-number]:before{color:#b3a58a;content:"scene " attr(data-first-scene-number);letter-spacing:1px;text-align:center;text-transform:uppercase;margin-bottom:10px;font-size:10px;display:block}.prototype-shell .ms-editor:focus{background:#fffdf7}.prototype-shell .ms-editor:focus-visible{outline-offset:2px;outline:3px solid #2e669057}.prototype-shell .ms-editor div,.prototype-shell .ms-editor p{text-indent:2em;margin:0}.prototype-shell .ms-editor>div[dir=rtl],.prototype-shell .ms-editor>p[dir=rtl]{text-align:right;direction:rtl}.prototype-shell .ms-editor>div[dir=ltr],.prototype-shell .ms-editor>p[dir=ltr]{text-align:left;direction:ltr}.prototype-shell .ms-editor>div:not(.scenebreak):has(>br:only-child){cursor:text;text-indent:0;min-height:1.8em}.prototype-shell .ms-editor .scenebreak{counter-increment:scene-number;letter-spacing:3px;-webkit-user-select:none;user-select:none;margin:10px 0;scroll-margin-top:104px;color:#c8901f!important;text-indent:0!important}.prototype-shell .ms-editor .scenebreak:after{content:"scene " counter(scene-number);letter-spacing:1px;text-transform:uppercase;vertical-align:middle;margin-left:12px;color:#b3a58a!important;font-size:10px!important}.prototype-shell .ms-editor *{color:#33291d!important;background:0 0!important;font-family:Inter,Segoe UI,Arial,Helvetica,sans-serif!important;font-size:14.5px!important;line-height:1.8!important}.prototype-shell .ms-wrap{position:relative}.prototype-shell .note-overlay{z-index:3;pointer-events:none;width:46px;position:absolute;top:0;bottom:0;left:0}.prototype-shell .rmark{width:32px;height:18px;box-shadow:var(--shadow);color:#fff;letter-spacing:.5px;pointer-events:auto;text-transform:uppercase;background:#c8901f;border-radius:9px;justify-content:center;align-items:center;font-family:Inter,sans-serif;font-size:8px;display:flex;position:absolute;left:5px}.prototype-shell .rmark:hover{background:#a8760f}.prototype-shell .ms-editor .noteanchor[data-end]:after{content:"";vertical-align:middle;border-radius:50%;width:6px;height:6px;margin:0 1px 0 2px;display:inline-block;background:#c8901f!important}.prototype-shell .fr-bar{border:1px solid var(--line);background:var(--card2);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;display:none}.prototype-shell .fr-bar.open{display:flex}.prototype-shell .fr-bar input[type=text]{border:1px solid var(--line-soft);background:var(--card);border-radius:5px;width:150px;padding:4px 7px;font-size:13px}.prototype-shell .fr-bar label{color:var(--ink-soft);align-items:center;gap:3px;font-size:12px;display:flex}.prototype-shell .fr-bar input[type=checkbox]{width:auto}.prototype-shell .fr-bar select{border:1px solid var(--line-soft);background:var(--card);border-radius:5px;padding:3px 5px;font-size:12px}.prototype-shell .frst{color:var(--ink-soft);font-size:12px;font-style:italic}.prototype-shell #notePop{z-index:70;width:250px;box-shadow:var(--shadow);background:#fbf3d8;border:1px solid #d9c27a;border-left:4px solid #c8901f;border-radius:8px;padding:10px;font-family:Inter,Segoe UI,Arial,sans-serif;position:fixed}.prototype-shell #notePop .nhd{color:#b0902f;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px;font-size:9px}.prototype-shell #notePop textarea{resize:vertical;color:#5d4f2a;background:#fffdf5;border:1px solid #e0cf8f;border-radius:5px;outline:none;width:100%;min-height:72px;padding:6px;font-family:inherit;font-size:12.5px;line-height:1.45}.prototype-shell #notePop .npf{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.prototype-shell #notePop .npdel{color:#a03b22;font-size:12px}.prototype-shell #notePop .npdel:hover{text-decoration:underline}.prototype-shell #notePop .npdone{color:#2e6690;font-size:12.5px;font-weight:600}.prototype-shell .manuscript-hint{margin-top:8px}.prototype-shell .notes-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.prototype-shell .new-note{margin:0}.prototype-shell .notes-collapse-all{border:1px solid var(--line);color:var(--ink-soft);border-radius:6px;padding:6px 10px;font-size:12px}.prototype-shell .notes-collapse-all:hover:not(:disabled){border-color:var(--accent-soft);background:var(--card-bright);color:var(--accent)}.prototype-shell .notes-collapse-all:disabled{cursor:not-allowed;opacity:.5}.prototype-shell .notes-reorder-hint{color:var(--ink-soft);margin:-5px 0 12px;font-size:11.5px}.prototype-shell .notes-wrap{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.prototype-shell .note-card{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:10px;padding:12px 14px}.prototype-shell .note-card.is-collapsed{padding-block:9px}.prototype-shell .note-card.note-drop-before{box-shadow:inset 0 3px 0 var(--accent), var(--shadow)}.prototype-shell .note-card.note-drop-after{box-shadow:inset 0 -3px 0 var(--accent), var(--shadow)}.prototype-shell .note-head{align-items:center;gap:10px;display:flex}.prototype-shell .note-reorder-wrap{flex:none;position:relative}.prototype-shell .note-drag-handle{cursor:grab;border-radius:6px;grid-template-rows:repeat(3,3px);grid-template-columns:repeat(2,3px);place-content:center;gap:2px;width:30px;height:30px;display:grid}.prototype-shell .note-drag-handle:hover:not(:disabled),.prototype-shell .note-drag-handle[aria-expanded=true]{background:var(--card-bright)}.prototype-shell .note-drag-handle:active{cursor:grabbing}.prototype-shell .note-drag-handle:disabled{cursor:default;opacity:.45}.prototype-shell .note-drag-handle i{pointer-events:none;background:#9d8d74;border-radius:50%;width:3px;height:3px}.prototype-shell .note-reorder-menu{z-index:5;border:1px solid var(--line);background:var(--card-bright);width:max-content;min-width:126px;box-shadow:var(--shadow);border-radius:7px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0}.prototype-shell .note-reorder-menu button{text-align:left;border-radius:5px;padding:8px 10px}.prototype-shell .note-reorder-menu button:hover:not(:disabled){background:#9c4a2f1a}.prototype-shell .note-title{min-width:0;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #0000;flex:1;padding:1px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:700;line-height:1.25}.prototype-shell .note-title:hover,.prototype-shell .note-title:focus{border-bottom-color:var(--line);outline:none}.prototype-shell .note-title::placeholder{color:var(--ink-soft);opacity:.8;font-style:italic}.prototype-shell .note-character-control{align-items:center;gap:6px;min-width:0;max-width:180px;display:flex}.prototype-shell .note-character-dot{border:1px solid var(--line);background:0 0;border-radius:50%;flex:0 0 10px;width:10px;height:10px}.prototype-shell .note-character-dot.is-linked{border-color:#0000}.prototype-shell .note-character-control select{border:1px solid var(--line-soft);background:var(--card-bright);min-width:0;max-width:150px;color:var(--ink-soft);text-overflow:ellipsis;border-radius:6px;padding:5px 22px 5px 7px;font-size:12px}.prototype-shell .note-collapse{flex:0 0 38px;width:38px;height:38px;font-size:28px}.prototype-shell .note-collapse:hover,.prototype-shell .note-collapse:focus-visible{border-color:var(--line-soft);background:var(--card2)}.prototype-shell .note-body{margin-top:10px}.prototype-shell .note-text{resize:none;min-height:44px;font-size:15px;line-height:1.5}.prototype-shell .note-foot{border-top:1px solid var(--line-soft);align-items:center;gap:12px;margin-top:8px;padding-top:8px;display:flex}.prototype-shell .note-date{color:var(--ink-soft);flex:1;font-size:11.5px;font-style:italic}@media (max-width:760px){.prototype-shell .notes-wrap{grid-template-columns:1fr}.prototype-shell .notes-toolbar button{min-height:44px}.prototype-shell .note-head{flex-wrap:wrap}.prototype-shell .note-drag-handle,.prototype-shell .note-collapse{flex-basis:44px;width:44px;height:44px}.prototype-shell .note-character-control{order:4;width:calc(100% - 54px);max-width:none;margin-left:54px}.prototype-shell .note-character-control select{width:100%;max-width:none;min-height:44px}}.prototype-shell .empty{color:var(--ink-soft);text-align:center;padding:40px 0;font-style:italic}.prototype-shell .workspace-notice{z-index:80;border:1px solid var(--line);background:var(--card);width:min(400px,100vw - 24px);color:var(--ink-soft);border-left:4px solid #2e6690;border-radius:7px;align-items:flex-start;gap:8px;padding:7px 9px;font-size:11.5px;display:flex;position:fixed;top:58px;right:12px;box-shadow:0 5px 18px #2c231a29}.prototype-shell .workspace-notice>span{flex:1;min-width:0;line-height:1.45}.prototype-shell .workspace-notice-actions{flex:none;align-items:center;gap:6px;display:flex}.prototype-shell .workspace-notice-action{border:1px solid var(--line);background:var(--card2);color:var(--accent);border-radius:5px;padding:3px 8px;font-size:11.5px;font-weight:700}.prototype-shell .workspace-notice-close{width:24px;height:24px;color:var(--ink-soft);border-radius:50%;place-items:center;padding:0;font-family:Arial,sans-serif;font-size:18px;line-height:1;display:grid}.prototype-shell .workspace-notice-action:hover,.prototype-shell .workspace-notice-close:hover{background:var(--line-soft);color:var(--accent)}.prototype-shell .workspace-notice.error{color:#a03b22;border-left-color:#a03b22}.prototype-shell .export-dialog-backdrop{z-index:120;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#30291f57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.prototype-shell .export-dialog{border:1px solid var(--line);background:#fffdf7;border-radius:12px;width:min(540px,100%);max-height:calc(100vh - 48px);padding:24px;overflow-y:auto;box-shadow:0 22px 60px #30291f47}.prototype-shell .storage-dialog{width:min(780px,100%)}.prototype-shell .storage-dialog-roles{gap:14px;margin-top:18px;display:grid}.prototype-shell .storage-role-card{border:1px solid var(--line);border-radius:9px;padding:16px;font-family:Inter,Segoe UI,Arial,sans-serif}.prototype-shell .storage-role-card h3{color:var(--ink);margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:600}.prototype-shell .storage-role-card>p{color:var(--ink-soft);margin:8px 0 0;font-size:12px;line-height:1.5}.prototype-shell .storage-dialog-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.prototype-shell .storage-dialog .bbtn.danger{color:#9a3722}.prototype-shell .storage-dialog .storage-secondary-actions,.prototype-shell .storage-dialog .storage-open-other-library{font-family:Inter,Segoe UI,Arial,sans-serif}.prototype-shell .export-dialog h2{color:var(--accent);margin:3px 0 8px;font-size:25px;font-weight:600}.prototype-shell .export-dialog>p{color:var(--ink-soft);font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.5}.prototype-shell .chapter-delete-dialog{width:min(570px,100%)}.prototype-shell .chapter-delete-protected-note{background:#2457c512;border-left:3px solid #2457c5;padding:10px 12px}.prototype-shell .chapter-delete-scenes-option{color:var(--ink);background:#a03b220d;border:1px solid #a03b2259;border-radius:8px;align-items:flex-start;gap:10px;margin-top:18px;padding:14px;font-family:Inter,Segoe UI,Arial,sans-serif;display:flex}.prototype-shell .chapter-delete-scenes-option input{margin-top:2px}.prototype-shell .chapter-delete-scenes-option span{gap:5px;display:grid}.prototype-shell .chapter-delete-scenes-option small{color:var(--ink-soft);line-height:1.45}.prototype-shell .chapter-delete-progress{border-left:4px solid var(--blue);color:var(--ink-soft);background:#2e669017;border-radius:8px;align-items:center;gap:12px;margin-top:16px;padding:12px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:13px;line-height:1.45;display:flex}.prototype-shell .chapter-delete-progress .library-transition-spinner{border-color:#2e669033;border-top-color:var(--blue);flex:none;width:24px;height:24px}.prototype-shell .chapter-delete-danger{color:#fff;background:#a03b22;border:1px solid #8f321f;border-radius:6px;padding:8px 13px}.prototype-shell .export-format-list{gap:9px;margin:20px 0 16px;display:grid}.prototype-shell .export-format{border:1px solid var(--line);background:var(--card);cursor:pointer;border-radius:9px;align-items:flex-start;gap:11px;padding:13px 14px;display:flex}.prototype-shell .export-format:hover,.prototype-shell .export-format.selected{border-color:var(--accent-soft);background:var(--card2)}.prototype-shell .export-format input{width:auto;accent-color:var(--accent);margin-top:3px}.prototype-shell .export-format span{gap:3px;font-family:Inter,Segoe UI,Arial,sans-serif;display:grid}.prototype-shell .export-format strong{color:var(--ink);font-size:13px}.prototype-shell .export-format small{color:var(--ink-soft);font-size:11.5px;line-height:1.45}.prototype-shell .export-destination{background:#2e669012;border-left:3px solid #2e6690;border-radius:5px;gap:4px;padding:12px 14px;font-family:Inter,Segoe UI,Arial,sans-serif;display:grid}.prototype-shell .export-destination strong{color:var(--ink);font-size:12.5px}.prototype-shell .export-destination span,.prototype-shell .export-dialog .export-backup-note{color:var(--ink-soft);font-size:11.5px;line-height:1.45}.prototype-shell .export-dialog .export-backup-note{margin-top:15px}.prototype-shell .storage-choice-list{gap:10px;margin-top:20px;display:grid}.prototype-shell .storage-folder-rule{color:var(--ink-soft);background:#2e669012;border-left:3px solid #2e6690;margin-top:13px;padding:10px 12px;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:11.5px;line-height:1.5}.prototype-shell .storage-migration-callout{color:var(--ink-soft);background:#65755213;border:1px solid #65755252;border-radius:8px;margin-top:16px;padding:13px 14px;font-family:Inter,Segoe UI,Arial,sans-serif}.prototype-shell .storage-migration-callout>strong{color:var(--ink);font-size:13px}.prototype-shell .storage-migration-callout p{margin:6px 0 10px;font-size:11.5px;line-height:1.45}.prototype-shell .storage-folder-rule code,.library-storage-card code{color:var(--ink);background:#2e669017;border-radius:3px;padding:1px 4px;font-family:Consolas,Courier New,monospace;font-size:.92em}.prototype-shell .storage-choice{text-align:left;border:1px solid var(--line);background:var(--card);width:100%;color:var(--ink);border-radius:9px;gap:4px;padding:14px 15px;font-family:Inter,Segoe UI,Arial,sans-serif;display:grid}.prototype-shell .storage-choice:hover:not(:disabled),.prototype-shell .storage-choice.current{border-color:var(--accent-soft);background:var(--card2)}.prototype-shell .storage-choice.unavailable{background:#2e66900a;border-style:dashed}.prototype-shell .storage-choice:disabled{cursor:not-allowed;opacity:.72}.prototype-shell .storage-choice strong{color:var(--accent);font-size:14px}.prototype-shell .storage-choice small{color:var(--ink-soft);font-size:11.5px;line-height:1.45}.prototype-shell .storage-choice span{color:#2e6690;text-transform:uppercase;letter-spacing:.04em;margin-top:3px;font-size:10.5px;font-weight:700}.prototype-shell .export-dialog .storage-setup-explanation{background:#2e669012;border-left:3px solid #2e6690;margin-top:14px;padding:10px 12px}.prototype-shell .export-dialog-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.prototype-shell .export-primary{border:1px solid var(--accent);background:var(--accent);color:#fffdf7;border-radius:6px;width:auto;padding:7px 14px;font-size:12.5px}.prototype-shell .export-primary:hover{background:#863d27}.prototype-shell .export-primary:disabled{cursor:wait;opacity:.65}.prototype-shell .readonly-ribbon{z-index:70;color:#7a6422;box-shadow:var(--shadow);background:#fbf3d8;border:1px solid #d9c27a;border-radius:18px;padding:8px 12px;font-size:12px;position:fixed;bottom:16px;right:16px}.prototype-shell #undoToast{z-index:200;background:var(--ink);box-shadow:var(--shadow);color:#fbf8f0;border-radius:10px;align-items:center;gap:14px;padding:10px 16px;font-size:13.5px;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%)}.prototype-shell #undoToast button{color:#fbf8f0;cursor:pointer;letter-spacing:.5px;background:0 0;border:1px solid #fbf8f066;border-radius:7px;padding:4px 12px;font-size:12.5px;font-weight:700}.prototype-shell #undoToast button:hover{background:#fbf8f026}.prototype-shell button:disabled,.prototype-shell select:disabled{cursor:not-allowed;opacity:.48}@media (max-width:1500px){.prototype-shell #topbar{flex-wrap:wrap;display:flex}.prototype-shell .topbar-left{min-width:0}.prototype-shell #tabs{flex-wrap:wrap;order:3;justify-content:center;width:100%}.prototype-shell #barbtns{width:auto;margin-left:auto}.prototype-shell .scene-collapse-toolbar,.prototype-shell #chapSide,.prototype-shell .manuscript-resizer,.prototype-shell .ms-tools{position:relative;top:auto}.prototype-shell .scene-title-row{grid-template-columns:minmax(0,1fr)}.prototype-shell .scene-title-row>.scene-right-meta{grid-column:1;justify-content:flex-start;justify-self:stretch;width:100%}.prototype-shell .scene-right-meta,.prototype-shell .scene-setting-controls{flex-wrap:wrap}.prototype-shell .scene-location{flex:180px;width:auto;max-width:none}}@media (max-width:760px){.device-safety-prompt,.device-safety-actions{flex-direction:column;align-items:stretch}.hero-first-book-form{grid-template-columns:1fr}.hero-first-book-form .field-label{grid-column:auto}.existing-library-actions{align-items:stretch}.prototype-shell #view{padding:20px 14px 90px}.prototype-shell .topbar-left{flex-wrap:wrap}.prototype-shell #barbtns{order:2;width:100%;margin-left:0}.prototype-shell .story-grid{grid-template-columns:1fr}.prototype-shell .story-grid .span2{grid-column:auto}.prototype-shell .manuscript-layout{flex-direction:column;gap:18px}.prototype-shell .manuscript-resizer{display:none}.prototype-shell #chapSide{flex:none;width:100%;max-height:none;position:relative}.prototype-shell .manuscript-main{width:100%}.prototype-shell .ms-editor{padding:24px 20px}.prototype-shell #fileStatus{max-width:none;display:block}.prototype-shell #saved{width:auto;max-width:none;display:block}}.account-shell{background:#f5efe1;place-items:center;min-height:100vh;padding:clamp(16px,3vw,32px) 20px;display:grid}.account-actions{flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;display:flex}.account-card{background:#fffaf0;border:1px solid #ded0b7;border-radius:14px;width:min(720px,100%);padding:clamp(24px,4vw,44px);box-shadow:0 24px 70px #48311e1f}.account-flow-card{grid-template-columns:minmax(260px,.88fr) minmax(360px,1fr);align-items:start;gap:clamp(22px,4vw,44px);width:min(1040px,100%);display:grid}.account-flow-intro{min-width:0;padding-top:2px}.account-flow-body{background:#fffdf894;border:1px solid #e2d4bd;border-radius:12px;min-width:0;padding:clamp(16px,2vw,24px)}.account-flow-body .account-form{margin-top:0}.account-brand{color:#9c4a2f;margin-bottom:18px;font-size:26px;font-weight:700}.account-card h1{color:#34271f;margin:10px 0 14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(34px,5vw,52px);font-weight:400;line-height:1.04}.account-card h2{color:#34271f;margin:0 0 10px;font-family:Georgia,Times New Roman,serif;font-size:28px}.account-intro,.account-confirmation p,.account-privacy{color:#746454;font-size:16px;line-height:1.48}.account-form{gap:8px;margin-top:22px;display:grid}.account-form label{color:#235f8c;letter-spacing:1px;text-transform:uppercase;margin-top:4px;font-size:12px;font-weight:800}.account-form input{color:#34271f;width:100%;min-height:44px;font:inherit;background:#fffdf8;border:1px solid #d8c7ab;border-radius:9px;padding:10px 12px}.account-form button{justify-self:start;margin-top:8px}.account-password-field{position:relative}.account-password-field input{padding-right:72px}.account-form .account-password-visibility{color:#235f8c;cursor:pointer;font:inherit;background:0 0;border:0;margin:0;padding:6px;font-size:13px;font-weight:800;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.account-form .account-method-switch{color:#8b452f;cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;margin-top:18px;padding:0;font-weight:800;text-decoration:underline}.account-form .account-inline-link,.account-form .account-password-toggle{color:#235f8c;cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;justify-self:start;margin-top:4px;padding:0;font-size:13px;font-weight:800;text-decoration:underline}.account-computer-choice{border:1px solid #d8c7ab;border-radius:9px;gap:8px;margin:8px 0 0;padding:12px;display:grid}.account-computer-choice legend{color:#235f8c;letter-spacing:1px;text-transform:uppercase;padding:0 6px;font-size:12px;font-weight:800}.account-form .account-computer-choice label{color:#34271f;letter-spacing:0;text-transform:none;grid-template-columns:20px 1fr;align-items:start;gap:10px;margin:0;font-size:14px;font-weight:400;display:grid}.account-form .account-computer-choice input{width:18px;min-height:18px;margin-top:2px;padding:0}.account-computer-choice span,.account-computer-choice small{display:block}.account-computer-choice small{color:#746454;margin-top:2px;line-height:1.45}.account-form-status{color:#746454;min-height:1px;font-size:13px}.account-help,.account-status,.account-error{color:#746454;margin:4px 0 0;font-size:13px;line-height:1.42}.account-error{color:#a43b28}.account-status{color:#35733b}.account-confirmation{gap:10px;margin-top:0;display:grid}.account-confirmation button{justify-self:start}@media (max-height:900px) and (min-width:680px){:is(.account-shell:has(.sign-in-card),.account-shell:has(.account-flow-card)){padding:16px 20px}.sign-in-card,.account-flow-card{padding:22px 30px}.sign-in-card .account-brand,.account-flow-card .account-brand{margin-bottom:12px;font-size:24px}.sign-in-card h1,.account-flow-card h1{margin:6px 0 10px;font-size:42px;line-height:1}.sign-in-card .account-intro,.account-flow-card .account-intro{margin:10px 0;font-size:15px;line-height:1.45}.sign-in-card .account-form{gap:6px;margin-top:16px}.sign-in-card .account-form label{margin-top:2px}.sign-in-card .account-form input{min-height:44px;padding:9px 12px}.sign-in-card .account-computer-choice{gap:6px;margin:6px 0 0;padding:10px 12px}.sign-in-card .account-form button{margin-top:6px}.sign-in-card .account-form .account-password-visibility,.sign-in-card .account-form .account-inline-link,.sign-in-card .account-form .account-method-switch{margin-top:0}.sign-in-card .account-help{margin-top:2px}}@media (max-width:860px){.account-flow-card{grid-template-columns:1fr;width:min(720px,100%)}.account-flow-body{background:0 0;border:0;padding:0}}@media (max-width:560px){.account-shell{place-items:start center;padding:12px}.account-card{border-radius:12px;padding:20px}.account-card h1{font-size:34px}.account-brand{font-size:23px}}.owner-credential-preparation{border-top:1px solid #d8c7ab;gap:10px;margin-top:28px;padding-top:24px;display:grid}.owner-credential-preparation h2,.owner-credential-preparation p{margin:0}.account-back{color:#8b452f;cursor:pointer;width:auto;font:inherit;background:0 0;border:0;padding:0;font-weight:700;text-decoration:none}.account-details{gap:12px;margin:30px 0;display:grid}.account-details div{border-bottom:1px solid #e5d9c4;grid-template-columns:120px 1fr;gap:16px;padding-bottom:12px;display:grid}.account-details dt{color:#746454;font-weight:700}.account-details dd{color:#34271f;margin:0}.account-signout{margin-top:28px}.account-privacy{border-top:1px solid #e5d9c4;margin-top:36px;padding-top:24px;font-size:14px}.account-drawer-backdrop{z-index:1200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#221b167a;justify-content:flex-end;display:flex;position:fixed;inset:0}.account-drawer{color:#34271f;background:#fffaf0;border-left:1px solid #ded0b7;width:min(620px,100%);height:100%;padding:28px clamp(22px,5vw,48px) 48px;overflow-y:auto;box-shadow:-18px 0 50px #221b1638}.account-drawer-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.account-drawer-header h2,.account-drawer-name{color:#34271f;margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-weight:400}.account-drawer-header h2{font-size:38px}.account-drawer-name{margin-top:28px;font-size:30px}.account-drawer-close{flex:none}.account-security-verification,.account-security-activation{background:#d8c7ab1f;border:1px solid #d8c7ab;border-radius:12px;gap:12px;margin-top:18px;padding:18px;display:grid}.account-security-verification h3,.account-security-verification p,.account-security-activation p{margin:0}.account-security-verification button,.account-security-activation button{justify-self:start}@media (max-width:760px){.account-details div{grid-template-columns:1fr;gap:4px}}html[data-theme=dark]{--paper:#202224;--paper-deep:#191b1d;--card:#2b2e30;--card-bright:#303335;--ink:#f0ece4;--ink-soft:#bab3aa;--line:#4a4e52;--line-strong:#656a6f;--terracotta:#df8b69;--terracotta-dark:#f0a384;--blue:#83b5d8;--sage:#9abc86;--amber:#e0aa57;--danger:#f08a7e;--shadow:0 14px 42px #00000047;background:#202224}html[data-theme=dark] body{background:radial-gradient(circle at 8% 0,#ffffff09,#0000 31rem),linear-gradient(#24272a 0%,#202224 48%,#1c1e20 100%)}html[data-theme=dark] ::selection{color:#fffdf8;background:#78add261}html[data-theme=dark] button:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] textarea:focus-visible,html[data-theme=dark] select:focus-visible,html[data-theme=dark] summary:focus-visible,html[data-theme=dark] [contenteditable=true]:focus-visible{outline-color:#83b5d8ad}html[data-theme=dark] .foundation-topbar,html[data-theme=dark] .library-topbar{background:#1f2123f2;border-bottom-color:#45494d}html[data-theme=dark] .hero,html[data-theme=dark] .panel,html[data-theme=dark] .library-book-card,html[data-theme=dark] .library-archive,html[data-theme=dark] .library-transition-card,html[data-theme=dark] .first-book-storage-dialog,html[data-theme=dark] .library-storage-dialog,html[data-theme=dark] .book-removal-dialog,html[data-theme=dark] .account-card{box-shadow:var(--shadow);background:#2b2e30f5;border-color:#4a4e52}html[data-theme=dark] .account-drawer{color:var(--ink);background:#2b2e30;border-color:#4a4e52;box-shadow:-18px 0 50px #0000006b}html[data-theme=dark] .account-drawer-header h2,html[data-theme=dark] .account-drawer-name{color:var(--ink)}html[data-theme=dark] .account-security-verification,html[data-theme=dark] .account-security-activation{border-color:var(--line);background:#ffffff09}html[data-theme=dark] .secondary-button,html[data-theme=dark] .story-note,html[data-theme=dark] .chapter-body,html[data-theme=dark] .new-book-input,html[data-theme=dark] .licence-simulator select,html[data-theme=dark] .library-save-rules select,html[data-theme=dark] .account-form input{border-color:var(--line);background:var(--card-bright);color:var(--ink)}html[data-theme=dark] .account-form .account-password-visibility,html[data-theme=dark] .account-form .account-method-switch,html[data-theme=dark] .account-form .account-inline-link,html[data-theme=dark] .account-form .account-password-toggle{color:#8fc5ec}html[data-theme=dark] .account-computer-choice{border-color:var(--line)}html[data-theme=dark] .account-form .account-computer-choice label{color:var(--ink)}html[data-theme=dark] .owner-credential-preparation{border-top-color:var(--line)}html[data-theme=dark] .account-computer-choice small{color:var(--ink-soft)}html[data-theme=dark] input:read-only,html[data-theme=dark] textarea:read-only{color:#c7c1b8;background:#282b2d}html[data-theme=dark] .phase-banner,html[data-theme=dark] .licence-simulator,html[data-theme=dark] .notice,html[data-theme=dark] .storage-open-other-library{border-color:var(--line);color:var(--ink-soft);background:#292c2e}html[data-theme=dark] .notice.error,html[data-theme=dark] .danger-button{background:#f08a7e17}html[data-theme=dark] .book-row:hover,html[data-theme=dark] .chapter-row:hover{background:#ffffff0d}html[data-theme=dark] .book-row.on,html[data-theme=dark] .chapter-row.on{color:var(--terracotta-dark);background:#df8b6926}html[data-theme=dark] .library-location-summary,html[data-theme=dark] .library-storage-card,html[data-theme=dark] .storage-role-card,html[data-theme=dark] .library-migration-panel{border-color:var(--line);background:#292c2e}html[data-theme=dark] .library-location-summary.writing,html[data-theme=dark] .library-storage-card.writing-location,html[data-theme=dark] .storage-role-card.writing-location{background:#75966b1a;border-color:#75966b}html[data-theme=dark] .library-location-summary.backup,html[data-theme=dark] .library-storage-card.backup-location,html[data-theme=dark] .storage-role-card.backup-location{background:#b973591a;border-color:#b97359}html[data-theme=dark] .library-storage-card .storage-role-status,html[data-theme=dark] .library-copy-status,html[data-theme=dark] .storage-operation-progress{color:var(--ink-soft)}html[data-theme=dark] .library-book-card:hover{border-color:var(--terracotta);box-shadow:0 10px 26px #0000005c}html[data-theme=dark] .account-shell{background:#202224}html[data-theme=dark] .account-flow-body{border-color:var(--line);background:#ffffff09}html[data-theme=dark] .account-card h1,html[data-theme=dark] .account-card h2,html[data-theme=dark] .account-details dd{color:var(--ink)}html[data-theme=dark] .account-intro,html[data-theme=dark] .account-confirmation p,html[data-theme=dark] .account-privacy,html[data-theme=dark] .account-help,html[data-theme=dark] .account-status,html[data-theme=dark] .account-details dt{color:var(--ink-soft)}html[data-theme=dark] .account-details div,html[data-theme=dark] .account-privacy{border-color:var(--line)}.account-legal-consent{color:#5f5145;grid-template-columns:auto 1fr;align-items:start;gap:10px;margin:4px 0 2px;font-size:13px;line-height:1.45;display:grid}.account-legal-consent input{width:17px;height:17px;margin:2px 0 0}.account-legal-consent a,.legal-links a,.legal-document a{color:#2e6690;text-underline-offset:2px}.legal-links{flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:13px;display:flex}.legal-shell{background:var(--paper,#f4efe3);color:#2d251f;min-height:100vh;padding:48px 22px 72px}.legal-document{background:#fffdf7;border:1px solid #d7cbb6;border-radius:16px;width:min(860px,100%);margin:0 auto;padding:clamp(26px,5vw,56px);box-shadow:0 12px 36px #45332314}.legal-home-link{margin-bottom:28px;font-size:14px;display:inline-block}.legal-header h1{margin:8px 0 12px;font-size:clamp(36px,6vw,58px);line-height:1}.legal-summary{color:#5f5145;max-width:700px;margin:0;font-size:18px;line-height:1.55}.legal-effective{color:#77695b;margin:16px 0 0;font-size:13px}.legal-draft-note{color:#5a4628;background:#fff6df;border-left:4px solid #c88935;margin:28px 0 0;padding:14px 16px;font-size:14px;line-height:1.5}.legal-content{margin-top:40px}.legal-content section{border-top:1px solid #e7dece;padding:25px 0}.legal-content h2{margin:0 0 14px;font-size:25px;line-height:1.2}.legal-content h3{margin:22px 0 8px;font-size:17px}.legal-content p,.legal-content li{color:#4f443a;line-height:1.7}.legal-content p{margin:10px 0}.legal-content ul{margin:10px 0;padding-left:24px}.legal-content li+li{margin-top:7px}.legal-content code{background:#efe8db;border-radius:4px;padding:1px 5px;font-size:.92em}.legal-document-footer{border-top:1px solid #d7cbb6;flex-wrap:wrap;gap:10px 22px;padding-top:24px;font-size:14px;display:flex}html[data-theme=dark] .account-legal-consent,html[data-theme=dark] .legal-summary,html[data-theme=dark] .legal-effective,html[data-theme=dark] .legal-content p,html[data-theme=dark] .legal-content li{color:#d8d0c4}html[data-theme=dark] .legal-shell{color:#f4eee4;background:#222629}html[data-theme=dark] .legal-document{background:#2b3033;border-color:#596064;box-shadow:0 12px 36px #0000003d}html[data-theme=dark] .legal-content section,html[data-theme=dark] .legal-document-footer{border-color:#51585c}html[data-theme=dark] .legal-draft-note{color:#f2dfb6;background:#403827}html[data-theme=dark] .legal-content code{background:#3a4145}html[data-theme=dark] .account-legal-consent a,html[data-theme=dark] .legal-links a,html[data-theme=dark] .legal-document a{color:#8dc9ee}@media (max-width:600px){.legal-shell{padding:24px 10px 48px}.legal-document{border-radius:11px;padding:24px 18px}.legal-content h2{font-size:22px}}html[data-theme=dark] .startup-recovery a{color:var(--terracotta-dark)}html[data-theme=dark] .prototype-shell{--paper:#202224;--card:#2b2e30;--card2:#333638;--card-bright:#303335;--ink:#f0ece4;--ink-soft:#b7b0a7;--line:#4a4e52;--line-soft:#3e4246;--accent:#df8b69;--accent-soft:#bd765a;--good:#91b47d;--location:#82b5ba;--timeline-accent:#e39a7d;--timeline-act-separator:#c88469;--timeline-grid:#69747d;--timeline-muted:#c3bbb1;--timeline-marker-edge:#eee8df;--timeline-label-halo:#eee8df;--timeline-number:#151719;--shadow:0 3px 14px #00000047;background-color:var(--paper);background-image:radial-gradient(#ffffff09 1px,#0000 1px)}html[data-theme=dark] .prototype-shell #topbar,html[data-theme=dark] .prototype-shell .ms-tools{background:#202224f7}html[data-theme=dark] .prototype-shell .menu-pop,html[data-theme=dark] .prototype-shell .export-dialog{border-color:var(--line);background:#292c2e;box-shadow:0 18px 48px #00000073}html[data-theme=dark] .prototype-shell input:focus,html[data-theme=dark] .prototype-shell textarea:focus{background:#df8b6914}html[data-theme=dark] .prototype-shell .note-text:focus{background:0 0}html[data-theme=dark] .prototype-shell ::placeholder,html[data-theme=dark] .prototype-shell .inline-rich-text:empty:before{color:#8f8982}html[data-theme=dark] .prototype-shell .flabel{color:#8fc0e2}html[data-theme=dark] .prototype-shell .settings-clear,html[data-theme=dark] .prototype-shell .del,html[data-theme=dark] .prototype-shell .npdel{color:#f08a7e}html[data-theme=dark] .prototype-shell .settings-location-summary,html[data-theme=dark] .prototype-shell .additional-copy-status,html[data-theme=dark] .prototype-shell .settings-subsection{border-color:var(--line);background:#25282a}html[data-theme=dark] .prototype-shell .settings-location-summary.writing{background:#91b47d17;border-left-color:#91b47d}html[data-theme=dark] .prototype-shell .settings-location-summary.writing>span{color:#a9c997}html[data-theme=dark] .prototype-shell .character-location-switch{background:#25282a}html[data-theme=dark] .prototype-shell .cdot,html[data-theme=dark] .prototype-shell .cdot-btn,html[data-theme=dark] .prototype-shell .scene-pov-dot,html[data-theme=dark] .prototype-shell .dot{box-shadow:0 0 0 1px #ffffff9e}html[data-theme=dark] .prototype-shell .cpop button{border-color:#ffffff6b}html[data-theme=dark] .prototype-shell .cpop button.on{box-shadow:0 0 0 2px var(--card2), 0 0 0 3px #f5f1ea;border-color:#f5f1ea}html[data-theme=dark] .prototype-shell .char-card,html[data-theme=dark] .prototype-shell .pp,html[data-theme=dark] .prototype-shell .beat{box-shadow:inset 1px 0 0 #ffffff52, var(--shadow)}html[data-theme=dark] .prototype-shell .char-card{box-shadow:inset 0 1px 0 #ffffff85, var(--shadow)}html[data-theme=dark] .prototype-shell .lane-head{box-shadow:0 1px #ffffff85}html[data-theme=dark] .prototype-shell .timeline-identity-line{filter:drop-shadow(0 0 1px #ffffffeb)}html[data-theme=dark] .prototype-shell .addlane,html[data-theme=dark] .prototype-shell .lane{background:#ffffff06}html[data-theme=dark] .prototype-shell .pp textarea,html[data-theme=dark] .prototype-shell .plot-point-synopsis,html[data-theme=dark] .prototype-shell .beat textarea,html[data-theme=dark] .prototype-shell .beat-synopsis{color:var(--ink)}html[data-theme=dark] .prototype-shell .ppnum,html[data-theme=dark] .prototype-shell .anchor-chip{text-shadow:0 1px 2px #000000e6}html[data-theme=dark] .primary-button,html[data-theme=dark] .prototype-shell .export-primary,html[data-theme=dark] .prototype-shell .mergebtn:hover,html[data-theme=dark] .prototype-shell .board-act .mergebtn:hover{color:#fff;background:#9f4f37;border-color:#9f4f37}html[data-theme=dark] .primary-button:hover,html[data-theme=dark] .prototype-shell .export-primary:hover,html[data-theme=dark] .prototype-shell .mergebtn:hover,html[data-theme=dark] .prototype-shell .board-act .mergebtn:hover{background:#7c3e2d;border-color:#7c3e2d}html[data-theme=dark] .prototype-shell .timeline-details>summary{color:#d0a181}html[data-theme=dark] .prototype-shell .chp.scene-drop-target,html[data-theme=dark] .prototype-shell .scnav-row.scene-drop-target,html[data-theme=dark] .prototype-shell .scnav-row.scene-drop-before,html[data-theme=dark] .prototype-shell .scnav-row.scene-drop-after{background:#91b47d26}html[data-theme=dark] .prototype-shell .scene-select-handle{background:#62666a}html[data-theme=dark] .prototype-shell .manuscript-block-tools,html[data-theme=dark] .prototype-shell .scnav-row.plot-point-scene,html[data-theme=dark] .prototype-shell .chapter-delete-protected-note{color:#91c3e6;background:#78add21c;border-color:#78add273}html[data-theme=dark] .prototype-shell .scnav-row.plot-point-scene .scnav,html[data-theme=dark] .prototype-shell .manuscript-scene-protected{color:#91c3e6}html[data-theme=dark] .prototype-shell .ms-editor{color:#f0ece4;caret-color:#f5b08f;background:#303335;border-color:#50555a}html[data-theme=dark] .prototype-shell .ms-editor:focus{background:#343739}html[data-theme=dark] .prototype-shell .ms-editor *,html[data-theme=dark] .prototype-shell .ms-editor :before{color:#f0ece4!important}html[data-theme=dark] .prototype-shell .ms-editor:before,html[data-theme=dark] .prototype-shell .ms-editor .scenebreak:after{color:#aaa39a!important}html[data-theme=dark] .prototype-shell .ms-editor .scenebreak{color:#e2ad55!important}html[data-theme=dark] .prototype-shell #notePop{background:#343126;border-color:#887846 #887846 #887846 #e2ad55}html[data-theme=dark] .prototype-shell #notePop textarea{color:#eee7d3;background:#292a26;border-color:#6e643f}html[data-theme=dark] .prototype-shell .workspace-notice,html[data-theme=dark] .prototype-shell .note-card,html[data-theme=dark] .prototype-shell .scene,html[data-theme=dark] .prototype-shell .scene-chapter-divider,html[data-theme=dark] .prototype-shell .scene-collapse-toolbar{border-color:var(--line)}html[data-theme=dark] .prototype-shell .scene-chapter-title:focus,html[data-theme=dark] .prototype-shell .scene .scene-synopsis:focus{background:#df8b6914}html[data-theme=dark] .prototype-shell .chapter-delete-scenes-option{background:#f08a7e14;border-color:#f08a7e73}html[data-theme=dark] .appearance-switch input:focus-visible+span{outline-color:#83b5d8}html[data-theme=dark] .check-mark{color:#a8cf96;background:#91b47d29}html[data-theme=dark] .library-storage-button,html[data-theme=dark] .library-account-button{border-color:var(--line);background:var(--card);color:var(--ink-soft)}html[data-theme=dark] .account-brand,html[data-theme=dark] .account-back{color:var(--terracotta)}html[data-theme=dark] .account-form label{color:#8fc0e2}html[data-theme=dark] .account-error{color:#ff9c90}html[data-theme=dark] .account-status,html[data-theme=dark] .library-location-summary.writing .library-location-role,html[data-theme=dark] .writing-location .storage-role-badge,html[data-theme=dark] .first-book-storage-dialog.writing-step h2,html[data-theme=dark] .first-book-storage-dialog.writing-step .flabel{color:#a8cf96}html[data-theme=dark] .library-location-summary.backup .library-location-role,html[data-theme=dark] .backup-location .storage-role-badge,html[data-theme=dark] .first-book-storage-dialog.backup-step h2,html[data-theme=dark] .first-book-storage-dialog.backup-step .flabel{color:#efa184}html[data-theme=dark] .edit-lease-warning{color:#e0aa57}html[data-theme=dark] .library-storage-dialog .bbtn.danger,html[data-theme=dark] .prototype-shell .storage-dialog .bbtn.danger,html[data-theme=dark] .prototype-shell #saved.error,html[data-theme=dark] .prototype-shell #fileStatus.error,html[data-theme=dark] .prototype-shell .workspace-notice.error,html[data-theme=dark] .prototype-shell .manuscript-scene-delete:hover:not(:disabled){color:var(--danger)}html[data-theme=dark] .prototype-shell .additional-copy-status>span{color:var(--accent)}html[data-theme=dark] .prototype-shell .storage-choice span,html[data-theme=dark] .prototype-shell #notePop .npdone{color:var(--blue)}html[data-theme=dark] .prototype-shell #hbar{background:#202224f5}html[data-theme=dark] .prototype-shell .addbtn,html[data-theme=dark] .prototype-shell .addlane{background:#ffffff06}html[data-theme=dark] .prototype-shell .scene-collapse-toolbar{background:#2b2e30f5}html[data-theme=dark] .prototype-shell .scene-chapter-divider{color:#a8cf96;background:#91b47d1a;border-color:#91b47d80}html[data-theme=dark] .prototype-shell .scene-chapter-move-controls .arr,html[data-theme=dark] .prototype-shell .scene-chapter-title:focus{color:#b6d6a7;background:#333a35;border-color:#91b47d73}html[data-theme=dark] .prototype-shell .scene-chapter-move{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] .prototype-shell .scene textarea,html[data-theme=dark] .prototype-shell .scene .scene-synopsis{color:var(--ink)}html[data-theme=dark] .prototype-shell .scene .scene-synopsis,html[data-theme=dark] .prototype-shell .scene .scene-synopsis:hover,html[data-theme=dark] .prototype-shell .scene .scene-synopsis:focus{border-color:var(--line);background:#303335}html[data-theme=dark] .prototype-shell .readonly-ribbon,html[data-theme=dark] .prototype-shell #notePop{color:#e3ce83}html[data-theme=dark] .prototype-shell .readonly-ribbon{background:#353226;border-color:#766b3f}html[data-theme=dark] .prototype-shell .dot:hover:after,html[data-theme=dark] .prototype-shell #undoToast{color:#f6f2eb;background:#151719}html[data-theme=dark] .prototype-shell button:focus-visible,html[data-theme=dark] .prototype-shell input:focus-visible,html[data-theme=dark] .prototype-shell textarea:focus-visible,html[data-theme=dark] .prototype-shell select:focus-visible,html[data-theme=dark] .prototype-shell summary:focus-visible,html[data-theme=dark] .prototype-shell [contenteditable=true]:focus-visible,html[data-theme=dark] .prototype-shell .card-collapse:focus-visible{outline-offset:2px;outline:3px solid #83b5d8}@media (max-width:420px){.prototype-shell .settings-pop{width:calc(100vw - 24px);max-width:370px}}@media (max-width:760px){.appearance-switch.compact span{min-width:42px;padding-inline:5px}}@media (max-width:680px){.foundation-topbar{align-items:center}.topbar-state{flex-wrap:wrap;justify-content:flex-end;max-width:210px;display:flex}.topbar-state>span:nth-of-type(3),.topbar-state>span:nth-of-type(5){display:none}.library-topbar{grid-template-columns:minmax(0,1fr);gap:8px}.library-topbar-actions{flex-wrap:wrap;gap:7px;width:100%}.library-account-state{margin-left:auto}}@media print{html,html[data-theme=dark]{--paper:#fff;--paper-deep:#f5f1ea;--card:#fff;--card-bright:#fff;--ink:#111;--ink-soft:#444;--line:#bbb;--line-strong:#888;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff}html[data-theme=dark] .prototype-shell{--paper:#fff;--card:#fff;--card2:#f7f4ee;--card-bright:#fff;--ink:#111;--ink-soft:#444;--line:#bbb;--line-soft:#ddd;--accent:#743522;--accent-soft:#9c4a2f;--good:#365e34;--location:#45675d;--timeline-accent:#743522;--timeline-grid:#777;--timeline-muted:#555;--timeline-marker-edge:#fff;--timeline-label-halo:#fff}html[data-theme=dark] body,html[data-theme=dark] .prototype-shell,html[data-theme=dark] .prototype-shell .ms-editor,html[data-theme=dark] .prototype-shell .ms-editor *,html[data-theme=dark] .account-shell{color:#111!important;background:#fff!important}html[data-theme=dark] .prototype-shell .panel,html[data-theme=dark] .prototype-shell .pp,html[data-theme=dark] .prototype-shell .beat,html[data-theme=dark] .prototype-shell .scene,html[data-theme=dark] .prototype-shell .note-card,html[data-theme=dark] .prototype-shell .timeline-details,html[data-theme=dark] .prototype-shell .chp,html[data-theme=dark] .prototype-shell .fr-bar{color:#111!important;box-shadow:none!important;background:#fff!important}.appearance-switch,.local-staging-banner,.prototype-shell #topbar,.prototype-shell #chapSide,.prototype-shell .ms-tools,.prototype-shell .scene-collapse-toolbar,.prototype-shell .notes-toolbar,.prototype-shell .notes-reorder-hint,.prototype-shell .note-drag-handle,.prototype-shell .note-reorder-menu,.prototype-shell .note-character-control select,.prototype-shell .note-collapse,.prototype-shell #boardTools,.prototype-shell #hbar,.workspace-notice,.readonly-ribbon,.export-dialog-backdrop{display:none!important}}.character-workbook-overlay{z-index:90;background:#0f0d0bb8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.character-workbook-dialog{background:var(--paper,#f8f3e8);width:min(1040px,96vw);height:min(88vh,920px);color:var(--ink,#30291f);border:1px solid var(--line,#8c7d68);border-radius:14px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 24px 70px #00000061}.character-workbook-header{border-bottom:1px solid var(--line,#8c7d68);justify-content:space-between;align-items:flex-start;gap:24px;padding:24px 28px;display:flex}.character-workbook-header h2{margin:4px 0}.character-workbook-header p{opacity:.72;margin:0}.character-workbook-header .character-workbook-intro{max-width:720px;margin:8px 0 5px;line-height:1.45}.character-workbook-header .character-workbook-progress{font-size:.9rem}.character-workbook-header>button{font-size:1.5rem;line-height:1}.character-workbook-sections{padding:18px 28px 34px;overflow:auto}.character-workbook-sections details{border-bottom:1px solid var(--line,#8c7d68)}@supports (color:color-mix(in lab, red, red)){.character-workbook-sections details{border-bottom:1px solid color-mix(in srgb,var(--line,#8c7d68) 55%,transparent)}}.character-workbook-sections summary{cursor:pointer;grid-template-columns:38px 1fr 28px;align-items:center;gap:12px;padding:18px 4px;display:grid}.character-workbook-sections summary>span:first-child{color:var(--accent,#b85f42)}.character-workbook-sections summary strong,.character-workbook-sections summary small{display:block}.character-workbook-sections summary small{opacity:.7;margin-top:4px}.character-workbook-chevron{text-align:center;font-size:1.4rem;transition:transform .16s;transform:rotate(0)}.character-workbook-sections details[open] .character-workbook-chevron{transform:rotate(180deg)}.character-workbook-body{padding:0 4px 22px 50px}.character-workbook-body>label{margin:0 0 18px;line-height:1.45;display:block}.character-workbook-body textarea{width:100%;margin-top:7px;display:block}.character-workbook-table-wrap{overflow-x:auto}.character-workbook-table-wrap table{border-collapse:collapse;width:100%;min-width:620px}.character-workbook-table-wrap caption{text-align:left;margin:14px 0 8px;font-weight:700}.character-workbook-table-wrap th,.character-workbook-table-wrap td{border:1px solid var(--line,#8c7d68);text-align:left;vertical-align:top;padding:8px}.character-workbook-table-wrap textarea{min-width:150px}.char-workbook{margin-left:auto}@media (max-width:700px){.character-workbook-overlay{padding:0}.character-workbook-dialog{border-radius:0;width:100vw;height:100vh}.character-workbook-header,.character-workbook-sections{padding-left:16px;padding-right:16px}.character-workbook-body{padding-left:0}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
