/* Quiet writing desk: paper for content, ink for controls. */
:root {
  --ink:#171717; --accent:#171717; --muted:#747474; --faint:#a3a3a3;
  --line:#e9e9e9; --surface:#fff; --desk:#f7f7f7; --wash:#f5f5f5; --split:30%;
  --reading-font:"Songti SC","Noto Serif CJK SC","STSong","SimSun",serif;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:16px; color:var(--ink); background:var(--surface); font-synthesis:none;
  -webkit-font-smoothing:antialiased; color-scheme:light;
}
* {box-sizing:border-box} body {margin:0}
button,input,textarea,select {font:inherit;color:inherit}
button {min-height:44px;border:0;background:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 140ms,color 140ms,border-color 140ms}
button:disabled {opacity:.32;cursor:default}
button:hover:not(:disabled) {background:var(--wash)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.split-handle:focus-visible {outline:2px solid var(--ink);outline-offset:3px}
input,textarea,select {min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:var(--surface);font-size:16px}
input::placeholder,textarea::placeholder {color:#999;opacity:1}
textarea {resize:vertical;line-height:1.65}
input[type=range] {padding:0;accent-color:var(--ink)}
input[type=checkbox] {width:22px;height:22px;accent-color:var(--ink)}
input[type=color] {width:54px;height:44px;padding:4px;border-radius:9px}
input[type=number] {width:100%} label {font-size:14px}
h1,h2,h3,p {margin:0} h1,h2 {font-size:20px;font-weight:600;letter-spacing:-.02em} h3 {font-size:16px} strong {font-weight:600}
svg {width:21px;height:21px;display:block;flex-shrink:0}
button span[data-icon] {display:inline-flex;align-items:center;justify-content:center}
[hidden] {display:none!important}
.app-shell {height:100dvh;height:var(--app-height,100dvh);min-height:420px;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}

/* Identity and primary project action. */
.topbar {height:64px;flex-shrink:0;display:flex;align-items:center;padding:0 24px;gap:12px;border-bottom:1px solid var(--line)}
.brand {display:flex;align-items:center;gap:13px;padding:0 2px;border-radius:8px;font-size:17px;white-space:nowrap}
.brand strong {font-weight:550;letter-spacing:.015em}.brand svg {width:30px;height:30px}
.top-separator {color:#aaa;font-weight:300;margin:0 6px}
.project-name {width:230px;border-color:transparent;background:transparent;padding:8px;font-size:17px;font-weight:500}
.project-name:hover,.project-name:focus {background:var(--wash)}
.header-spacer {flex:1;min-width:0}
.save-state {color:var(--muted);font-size:13px;padding:0 8px;white-space:nowrap}.save-state:disabled {opacity:1}.save-state.error {color:#a13730}
.text-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border-radius:999px;font-size:14px;white-space:nowrap}
.icon-button {width:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.button-row {display:flex;align-items:center;gap:4px}
.button {min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:0 20px;border-radius:999px;background:var(--ink);color:white;font-size:14px;font-weight:500}
.button:hover:not(:disabled) {background:#333}.button.secondary {color:var(--ink);background:var(--wash)}.button.secondary:hover:not(:disabled) {background:#ececec}.button.danger {color:#a13730;background:#fff2f0}.button.small {padding:0 14px}
#exportButton {min-width:91px;min-height:40px;background:var(--ink);color:#fff;border-radius:13px;padding:0 17px;gap:12px}
#exportButton:hover {background:#333}#exportButton svg {width:19px;height:19px}
.notice {flex-shrink:0;padding:10px 24px;color:#704923;background:#fff6e7;font-size:13px;line-height:1.6}

/* Manuscript: a single selection mark, no stack of paragraph cards. */
.workspace {flex:1;min-height:0;display:grid;grid-template-columns:minmax(280px,var(--split)) 1px minmax(0,1fr)}
.script-pane {display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface)}
.pane-heading {display:flex;justify-content:space-between;align-items:center;flex-shrink:0;min-height:76px;padding:0 26px;gap:8px}
.pane-heading h1 {font-size:18px;font-weight:550;white-space:nowrap}.pane-heading .text-button {padding:0 8px}.pane-heading .button-row {gap:0}
.script-reader {flex:1;overflow:auto;min-height:0;padding:8px 28px 36px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6d6d6 transparent;font-family:var(--reading-font);font-size:var(--script-size,18px);line-height:var(--script-line,1.9);scroll-behavior:smooth}
.script-empty {padding-top:clamp(28px,7vh,100px);display:flex;flex-direction:column;align-items:flex-start;gap:18px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.script-empty>span[data-icon] {width:48px;height:48px;border-radius:13px;background:var(--wash);display:grid;place-items:center;color:#727272;margin-bottom:8px}
.script-empty>span[data-icon] svg {width:25px;height:25px}.script-empty p {color:var(--ink);font-size:25px;font-weight:500;letter-spacing:-.04em}
.script-empty>span:not([data-icon]) {color:var(--muted);font-size:14px;line-height:1.9}.script-empty .button {margin-top:7px}
.script-block {position:relative;cursor:pointer;overflow-wrap:anywhere;border-left:2px solid transparent;margin:0 -10px 25px;padding:9px 12px}
.script-block p {margin:0}.script-block h1,.script-block h2,.script-block h3 {margin:8px 0 11px;font-family:var(--reading-font);font-size:1.35em;font-weight:600;line-height:1.65;letter-spacing:.025em}
.script-block.active {border-left-color:var(--ink);background:#f7f7f7}.script-block.search-match {text-decoration:underline;text-decoration-color:#aaa;text-underline-offset:5px}
.script-block ul,.script-block ol {padding-left:1.2em;margin:0}.script-block blockquote {border-left:2px solid #aaa;padding-left:14px;margin:0;color:#666}
.script-block table {border-collapse:collapse;width:100%;font-size:.85em}.script-block th,.script-block td {border:1px solid var(--line);padding:6px}.script-block pre {white-space:pre-wrap;font-size:.9em}
.linked-shots {display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.linked-shots button {min-height:36px;min-width:44px;color:var(--muted);font-family:-apple-system,sans-serif;font-size:12px;padding:0 4px;border-radius:4px}
.reading-controls {display:grid;gap:12px;padding:0 26px 20px;border-bottom:1px solid var(--line)}
.reading-controls input[type=search] {width:100%;background:var(--wash);border-color:transparent;border-radius:999px}
.reading-controls label {display:flex;align-items:center;gap:6px;flex:1}.reading-controls input[type=range] {width:75px}.reading-controls select {width:100%;font-size:14px}.reading-controls .text-button {padding:0 8px}
.link-bar {display:flex;gap:6px;flex-wrap:wrap;align-items:center;flex-shrink:0;padding:10px 20px 14px;background:var(--surface)}
.link-bar>span {width:100%;font-size:12px;color:var(--muted);padding-left:5px}.link-bar button {min-height:40px;font-size:13px}
.split-handle {position:relative;background:var(--line);cursor:col-resize;touch-action:none;z-index:4}.split-handle:before {content:"";position:absolute;top:0;bottom:0;left:-6px;width:13px}.split-handle:hover {background:#aaa}

/* Floating tool capsule, actual drawing paper and a quiet note tray. */
.editor-pane {min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--desk)}
.shot-heading {height:76px;flex-shrink:0;display:flex;align-items:center;gap:8px;padding:0 24px}
.shot-number {width:30px;height:30px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
.shot-title {flex:1;width:100%;min-width:60px;border-color:transparent;padding:8px 4px;border-radius:6px;background:transparent;font-family:var(--reading-font);font-size:23px;font-weight:600}
.shot-title::placeholder {color:#767676;font-weight:400}.shot-title:focus {background:var(--surface)}
.shot-heading .icon-button.active {background:var(--ink);color:#fff}
.view-switch {display:flex;align-self:stretch;align-items:center;gap:22px;white-space:nowrap;margin:0 18px 0 8px}
.view-switch button {position:relative;min-height:46px;padding:0;color:var(--muted);font-size:14px;border-radius:0}
.view-switch button:hover {background:transparent;color:var(--ink)}.view-switch button[aria-pressed=true] {color:var(--ink);font-weight:600}
.view-switch button[aria-pressed=true]:after {content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ink)}
.drawing-toolbar {align-self:center;height:56px;flex-shrink:0;display:flex;align-items:center;gap:5px;max-width:calc(100% - 40px);margin:2px 20px 10px;padding:5px 10px;border:1px solid #e7e7e7;border-radius:17px;background:var(--surface)}
.tool-group {display:flex;align-items:center;gap:5px}.drawing-toolbar .icon-button {width:42px;min-width:42px;height:44px}
.drawing-toolbar .active {color:white;background:var(--ink)}.drawing-toolbar .active:hover {background:#333}.drawing-toolbar svg {width:22px;height:22px}
.tool-divider {width:1px;height:24px;background:var(--line);margin:0 5px;flex-shrink:0}
.brush-button {display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;min-width:52px;padding:0 8px;border-radius:999px}
#colorDot {width:18px;height:18px;border-radius:50%;background:var(--ink);border:1px solid #0002}
#brushLabel {font-size:12px;white-space:nowrap}
.brush-library {display:grid;gap:5px}
.brush-preset {display:flex;align-items:center;gap:12px;width:100%;min-height:55px;border:1px solid transparent;border-radius:12px;padding:6px 12px;text-align:left}
.brush-preset[aria-pressed=true] {border-color:#222;background:#f7f7f7}
.brush-info {width:150px;flex-shrink:0}.brush-info strong {display:block;font-size:15px;font-weight:550;line-height:1.4}.brush-info small {display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:3px;white-space:nowrap}
.brush-preset canvas {display:block;width:calc(100% - 190px);height:41px;min-width:60px;object-fit:contain}
.brush-check {width:18px;flex-shrink:0;visibility:hidden}.brush-check svg {width:18px;height:18px}.brush-preset[aria-pressed=true] .brush-check {visibility:visible}
.brush-adjustments {display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:22px}
.brush-slider {display:grid;gap:10px;font-size:13px}.brush-slider>span {display:flex;justify-content:space-between}.brush-slider output {color:var(--muted);font-variant-numeric:tabular-nums}.brush-slider input {width:100%;height:24px}
.brush-color-row {display:flex;align-items:center;gap:10px;margin:14px 0}.brush-color-row>label {font-size:13px;margin-right:auto}.brush-color-row input[type=color] {width:38px;height:36px;padding:3px;flex-shrink:0}
.brush-swatches {display:flex;gap:0}.brush-swatches button {display:grid;place-items:center;width:36px;min-width:36px;min-height:40px;padding:0;border-radius:50%}.brush-swatches button:before {content:'';width:21px;height:21px;background:var(--swatch);border-radius:50%;border:1px solid #0001}.brush-swatches button[aria-pressed=true]:before {outline:1px solid #222;outline-offset:3px}
.brush-preview {display:block;width:100%;height:58px;background:#fafafa;border-radius:10px;object-fit:contain}
.brush-advanced {margin-top:16px;font-size:13px}.brush-advanced summary {min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#777;list-style:none}.brush-advanced summary::-webkit-details-marker {display:none}.brush-advanced summary:after {content:'+';margin-left:auto;font-size:18px}.brush-advanced[open] summary:after {content:'−'}.brush-advanced .brush-slider {padding:4px 0 10px}
@media(max-width:560px) {.brush-info {width:128px}.brush-info small {font-size:10px}.brush-preset {padding:7px 9px;gap:8px}.brush-preset canvas {width:calc(100% - 156px)}.brush-adjustments {gap:20px}.brush-swatches button {width:32px;min-width:32px}.brush-color-row {gap:6px}}
@media(max-width:420px) {#brushLabel {display:none}.brush-info {width:100px}.brush-info small {max-width:100px;white-space:normal;line-height:1.5}.brush-preset canvas {width:calc(100% - 130px)}.brush-swatches button {width:28px;min-width:28px}.brush-swatches button:before {width:18px;height:18px}}
.drawing-stage {flex:1;min-height:120px;background:var(--desk);position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.paper {position:absolute;left:50%;top:50%;transform-origin:center;background:white;outline:1px solid #e5e5e5;border-radius:5px;isolation:isolate;pointer-events:none}
.paper canvas {position:absolute;inset:0;width:100%;height:100%;border-radius:5px}
.paper-hint {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:13px;font-family:var(--reading-font);font-size:18px;color:#969696;white-space:nowrap}
.paper-hint svg {width:35px;height:35px;stroke-width:1.2}.drawing-stage.has-content .paper-hint {display:none}
.canvas-footer {position:absolute;bottom:0;left:14px;right:14px;display:flex;justify-content:space-between;pointer-events:none;z-index:2}.canvas-footer button {pointer-events:auto}
.canvas-button {min-height:38px;min-width:38px;display:inline-flex;justify-content:center;align-items:center;gap:5px;padding:0 8px;border-radius:999px;color:#5d5d5d;font-size:12px}.canvas-button svg {width:18px;height:18px}.canvas-button:hover {background:#ebebeb!important}
.notes {flex-shrink:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:0 16px 12px;margin:9px 18px 12px}
.notes-heading {height:44px;display:flex;align-items:center;gap:6px}.notes-heading .text-button {min-height:40px;font-size:13px;padding:0 6px;color:var(--muted)}
.notes-heading .text-button:first-child {margin-right:auto;padding-left:0;color:var(--ink);font-size:14px;font-weight:500}.notes-heading .icon-button {min-width:36px;width:36px;height:40px}.notes-heading svg {width:16px;height:16px}
.notes-fields {display:grid;grid-template-columns:1fr 1fr;gap:18px}.notes-fields label {display:grid;gap:5px;color:var(--muted);font-size:12px}
.notes textarea {width:100%;height:58px;min-height:48px;max-height:180px;color:var(--ink);border:1px solid transparent;border-radius:7px;background:#fafafa;padding:8px 10px;resize:none;font-family:var(--reading-font);font-size:16px}
.notes textarea:focus {background:white;border-color:#d6d6d6;outline:none}.notes.collapsed {padding-bottom:0}.notes.collapsed .notes-fields {display:none}.notes.collapsed #notesToggle svg {transform:rotate(180deg)}

/* One horizontal filmstrip, never a vertical inner scrollbar. */
.filmstrip {height:132px;flex-shrink:0;display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);padding:12px 24px;background:var(--surface)}
.filmstrip-label {align-self:flex-start;padding-top:6px;flex-shrink:0;color:var(--muted);font-size:13px}
.shot-list {display:flex;align-items:flex-start;gap:22px;overflow-x:auto;overflow-y:hidden;min-width:0;max-width:calc(100% - 170px);height:100%;padding:2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.shot-card {position:relative;min-width:140px;width:140px;display:flex;flex-direction:column;gap:7px;text-align:left;padding:0;background:none;border-radius:5px}.shot-card:hover:not(:disabled) {background:transparent}
.shot-card .thumbnail {position:relative;width:140px;height:76px;border:1px solid #dadada;border-radius:6px;background:#fdfdfd;overflow:hidden;display:flex;align-items:center;justify-content:center}
.thumbnail img {width:100%;height:100%;object-fit:contain}.shot-card:hover .thumbnail {border-color:#777}
.shot-card.active .thumbnail {border-color:var(--ink);outline:1px solid var(--ink);outline-offset:2px}
.shot-card.active:after {content:attr(data-number);position:absolute;left:7px;top:7px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--ink);color:#fff;font-size:10px;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}
.shot-caption {min-height:18px;width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777;font-size:12px;line-height:18px}.shot-card.active .shot-caption {color:var(--ink)}.shot-caption b {color:inherit;font-weight:400;margin-right:7px}
.add-shot {align-self:flex-start;margin-top:17px;width:44px;min-width:44px;height:44px;border:1px solid #d5d5d5;border-radius:50%;display:flex;justify-content:center;align-items:center}.add-shot svg {width:21px;height:21px}
#shotMenuButton {align-self:flex-start;margin-top:17px;color:#777}
.focus-mode .script-pane,.focus-mode .split-handle,.focus-mode .filmstrip,.focus-mode .notes {display:none}.focus-mode .workspace {grid-template-columns:minmax(0,1fr)}.left-handed .drawing-toolbar {flex-direction:row-reverse}.readonly .drawing-stage {cursor:not-allowed}

/* Modal surfaces follow the same scale and control geometry. */
dialog {width:min(560px,calc(100% - 40px));max-height:calc(100dvh - 48px);border:1px solid #e3e3e3;border-radius:20px;padding:0;color:var(--ink);overflow:hidden;background:var(--surface)}
dialog.wide {width:min(780px,calc(100% - 40px))}dialog::backdrop {background:#0005}
.dialog-header {display:flex;align-items:center;justify-content:space-between;padding:14px 22px;border-bottom:1px solid var(--line);gap:16px}.dialog-header h2 {font-size:20px;font-weight:550}
.dialog-body {padding:24px;overflow:auto;max-height:calc(100dvh - 156px);line-height:1.7}.dialog-body>p {margin-bottom:18px;color:#686868;font-size:14px}
.form-grid {display:grid;gap:18px;grid-template-columns:1fr 1fr}.form-grid label,.form-stack label {display:grid;gap:8px}.form-stack {display:grid;gap:20px}.form-grid .full {grid-column:1/-1}
.form-grid input,.form-grid select,.form-grid textarea,.form-stack input,.form-stack textarea,.form-stack select {width:100%}
.dialog-actions {display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}
.script-editor {width:100%;height:min(48dvh,440px);font-size:17px;font-family:var(--reading-font);padding:16px;background:#fcfcfc}
.menu-list {display:grid;gap:5px}.menu-list button {display:flex;align-items:center;gap:14px;padding:11px 12px;min-height:50px;text-align:left;border-radius:11px;font-size:15px}.menu-list button svg {color:#777}
.setting-row {display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px;border-bottom:1px solid var(--line);font-size:14px}.setting-row:last-child {border:0}.setting-row select {max-width:230px}.setting-row input[type=range] {width:150px}.setting-row small {display:block;color:#777;font-size:12px}
.tool-palette {display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tool-palette button {border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;min-height:52px}.tool-palette button.selected {color:var(--ink);border-color:var(--ink)}
.section-label {font-size:14px;font-weight:600;margin:24px 0 12px}
.layer-row {display:flex;gap:5px;align-items:center;border-bottom:1px solid var(--line);padding:6px 0}.layer-row>button:first-child {flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;padding:0 8px;border-radius:7px}.layer-row.selected {background:var(--wash)}.layer-row .icon-button {min-width:38px;width:38px}.layer-row svg {width:18px;height:18px}
.project-row {display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.project-row .open-project {flex:1;text-align:left;min-width:0;padding:5px 8px;border-radius:8px}.project-row strong,.project-row small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-row small {margin-top:5px;font-size:12px;color:var(--muted)}
.prompt-preview {width:100%;min-height:220px;max-height:50dvh;font-size:15px}
.diagnostic-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.diagnostic-grid div {border-bottom:1px solid var(--line);padding:10px 0;font-size:14px}.diagnostic-grid span {display:block;font-size:12px;color:var(--muted)}
.toast {position:fixed;z-index:20;bottom:145px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 21px;border-radius:999px;max-width:80%;font-size:14px;pointer-events:none}
.orphan {color:#98542c;font-size:12px}.link-item {display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.link-item span {flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}.muted {color:var(--muted);font-size:13px}

@media(min-width:1500px) {
  .pane-heading {padding:0 38px}.script-reader {padding-left:40px;padding-right:40px}.shot-heading {padding-left:32px;padding-right:32px}.notes {margin-left:26px;margin-right:26px}.notes textarea {height:76px}
}
@media(max-width:1050px) {
  .workspace {grid-template-columns:minmax(260px,var(--split)) 1px minmax(0,1fr)}
  .topbar {padding:0 18px;gap:9px}.brand {font-size:16px;gap:10px}.project-name {width:175px;font-size:16px}
  .pane-heading {padding:0 18px}.pane-heading .text-button {gap:6px;padding:0 6px}.reading-label {display:none}.script-reader {padding-left:22px;padding-right:22px}
  .shot-heading {padding:0 16px;gap:6px}.shot-title {font-size:20px}.view-switch {gap:16px;margin:0 5px}.view-switch button {font-size:13px}
  .drawing-toolbar {gap:3px;margin-left:14px;margin-right:14px;max-width:calc(100% - 28px);padding:5px 8px}.tool-group {gap:3px}.drawing-toolbar .icon-button {width:40px;min-width:40px}.tool-divider {margin:0 3px}
  .notes {margin-left:14px;margin-right:14px;padding-left:12px;padding-right:12px}.filmstrip {gap:18px;padding-left:18px}.reading-controls {padding-left:18px;padding-right:18px}
}
@media(max-width:760px) {
  .app-shell {min-height:500px}.topbar {height:56px;padding:0 12px;gap:6px}.brand svg {width:25px;height:25px}.brand strong {display:none}.project-name {width:150px;font-size:15px}.top-separator {margin:0 2px}.save-state {font-size:12px;padding:0 2px}
  #exportButton {min-width:70px;padding:0 12px;min-height:36px;border-radius:11px;font-size:13px;gap:8px}#exportButton svg {width:16px;height:16px}
  .workspace {display:flex;flex-direction:column}.script-pane {height:27%;min-height:145px;border-bottom:1px solid var(--line)}.pane-heading {min-height:46px;padding:0 18px}.pane-heading h1 {font-size:16px}.reading-label {display:inline}
  .script-reader {padding:0 20px 15px}.script-block {margin-bottom:14px;padding:5px 10px}.script-block h1,.script-block h2,.script-block h3 {font-size:1.15em;margin-top:4px;margin-bottom:5px}
  .script-empty {padding:10px 0 0;display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center}.script-empty>span[data-icon] {display:none}.script-empty p {font-size:21px;grid-column:1}.script-empty>span:not([data-icon]) {font-size:12px;grid-column:1}.script-empty>span br {display:none}.script-empty .button {grid-column:2;grid-row:1/3;margin:0;padding:0 16px;font-size:13px}
  .split-handle {display:none}.editor-pane {flex:1}.shot-heading {height:54px;padding:0 14px}.shot-number {width:26px;height:26px;font-size:11px}.shot-title {font-size:19px}.view-switch {gap:14px;margin-right:4px}.view-switch button {min-height:40px;font-size:12px}.shot-heading .icon-button {min-width:36px;width:36px}
  .drawing-toolbar {height:49px;margin:0 12px 4px;padding:3px 7px;max-width:calc(100% - 24px);gap:1px;border-radius:14px;overflow-x:auto;overflow-y:hidden}.tool-group {gap:1px}.drawing-toolbar .icon-button {width:37px;min-width:37px}.drawing-toolbar svg {width:20px;height:20px}.brush-button {min-width:46px;padding:0 5px}.tool-divider {margin:0 3px;height:20px}
  .drawing-stage {min-height:120px}.paper-hint {font-size:16px;gap:8px}.paper-hint svg {width:28px;height:28px}.canvas-footer {left:8px;right:8px;bottom:0}.canvas-button {font-size:11px;min-height:32px;min-width:32px}
  .notes {margin:5px 12px 8px;padding:0 10px 9px}.notes-heading {height:38px}.notes-heading .text-button {min-height:36px;font-size:12px}.notes-heading .text-button:first-child {font-size:13px}.notes-fields {gap:12px}.notes-fields label {font-size:11px;gap:3px}.notes textarea {height:48px;min-height:44px;font-size:16px;padding:5px 8px}
  .filmstrip {height:108px;padding:9px 16px;gap:16px}.filmstrip-label {display:none}.shot-list {gap:18px;max-width:calc(100% - 90px)}.shot-card {min-width:114px;width:114px;gap:6px}.shot-card .thumbnail {width:114px;height:60px}.shot-caption {width:114px;font-size:11px}.shot-card.active:after {width:18px;height:18px;left:5px;top:5px;font-size:9px}.add-shot,#shotMenuButton {margin-top:10px}#shotMenuButton {min-width:32px;width:32px}
  .form-grid {grid-template-columns:1fr}.form-grid .full {grid-column:auto}.tool-palette {grid-template-columns:repeat(3,1fr)}.reading-controls {padding:0 18px 10px}.reading-controls .button-row,.reading-controls select {display:none}.link-bar {padding:3px 14px 7px}.link-bar>span {display:none}.link-bar button {min-height:34px}.focus-mode .editor-pane {flex:1}.focus-mode .script-pane {display:none}.toast {bottom:120px}
}
@media(max-width:420px) {
  .topbar {padding:0 8px}.top-separator {display:none}.project-name {flex:1;width:95px}#moreButton {min-width:32px;width:32px}#exportButton {min-width:62px;padding:0 10px}#exportButton svg {display:none}
  .shot-heading {flex-wrap:wrap;height:auto;min-height:64px;padding-top:5px;padding-bottom:5px;gap:4px}.shot-title {min-width:100px}.shot-heading #focusButton {order:2}.view-switch {order:3;flex-basis:100%;justify-content:flex-start;gap:20px;padding-left:32px}.view-switch button {min-height:30px}
  .drawing-toolbar {margin-top:3px}.drawing-toolbar .icon-button {width:35px;min-width:35px}.brush-button {min-width:42px}.tool-divider {margin:0 2px}.tool-palette {grid-template-columns:repeat(2,1fr)}.setting-row {gap:10px}.setting-row select {max-width:175px}
  dialog,dialog.wide {width:calc(100% - 20px);border-radius:16px}.dialog-header {padding:10px 16px}.dialog-body {padding:18px}
}
@media(prefers-reduced-motion:reduce) {* {scroll-behavior:auto!important;transition:none!important}}

/* v0.2: compact floating references and a dedicated writing workspace. */
:root {--ink:#272e38;--accent:#176cff;--muted:#7a8594;--line:#e6ebf1;--desk:#e9eef4;--wash:#f0f4f9;--surface:#fff;--reading-font:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
body {background:var(--desk);overflow:hidden}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {outline-color:var(--accent)}
.button {background:var(--accent)}.button:hover:not(:disabled) {background:#095be8}input[type=range],input[type=checkbox] {accent-color:var(--accent)}
.glass-workbench {position:relative;display:block;min-height:320px;background:radial-gradient(ellipse at 25% 15%,#f3f7fb 0,transparent 60%),var(--desk);isolation:isolate}
.topbar {position:absolute;z-index:12;left:20px;top:max(12px,env(safe-area-inset-top));height:44px;padding:0;gap:8px;border:0}
.project-trigger {display:flex;align-items:center;gap:10px;padding:0 15px;border-radius:18px;background:#ffffffe0;border:1px solid #fff;box-shadow:0 8px 25px #3548630c;max-width:340px}
.project-trigger strong {max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}.project-trigger svg {width:19px;height:19px}.project-trigger [data-icon]:last-child svg {width:15px}
.save-state {font-size:11px;min-width:44px;min-height:44px;color:#81909d}.save-state.error {border-radius:12px;background:#fff2e7;color:#a13b20}
.project-popover {position:absolute;left:20px;top:64px;width:min(290px,calc(100% - 40px));z-index:40;background:#fffffffa;border:1px solid #fff;border-radius:22px;box-shadow:0 16px 48px #35486325;padding:18px;max-height:calc(var(--app-height,100dvh) - 80px);overflow:auto}
.project-popover>label {display:grid;gap:8px;font-size:12px;color:var(--muted)}.project-popover input {width:100%;font-size:16px;color:var(--ink);background:var(--wash);border:0}.project-popover .menu-list {margin:10px -6px}.project-popover .menu-list button {font-size:14px;min-height:44px}
#exportButton {background:none;color:var(--ink);border-radius:11px;padding:11px 12px;min-height:44px;gap:14px;justify-content:flex-start}#exportButton:hover {background:var(--wash)}
.view-switch {margin:0;gap:4px;padding:4px;background:var(--wash);border-radius:13px}.view-switch button {flex:1;min-height:44px;border-radius:10px;font-size:13px}.view-switch button[aria-pressed=true] {background:white;color:var(--accent);box-shadow:0 2px 8px #00000005}.view-switch button[aria-pressed=true]:after {display:none}
.notice {position:absolute;top:64px;left:50%;transform:translateX(-50%);z-index:45;width:min(720px,calc(100% - 24px));border-radius:12px;padding:10px 16px}
.workspace {position:absolute;inset:0;display:block;min-height:0}.editor-pane {position:absolute;inset:0;display:block;background:transparent}
.drawing-stage {position:absolute;inset:88px 0 88px;background:transparent;min-height:0}
.paper {border-radius:8px;outline-color:#d4dce5;box-shadow:0 5px 25px #38485d0a}.paper canvas {border-radius:8px}.paper-hint {font-size:15px;color:#a5aebb;gap:10px;font-weight:400}.paper-hint svg {width:28px;height:28px}
.shot-heading {position:absolute;z-index:3;left:50%;top:64px;transform:translateX(-50%);height:36px;min-height:36px;max-width:calc(100% - 40px);width:max-content;padding:0 5px 0 12px;gap:7px;border:1px solid #ffffff;border-radius:13px;background:#ffffffc9;flex-wrap:nowrap}
.shot-number {width:auto;height:auto;background:none;color:var(--accent);font-size:13px;border-radius:0}.shot-title {flex:none;width:190px;min-width:40px;font-size:14px;font-weight:400;padding:4px;border:0}.shot-title::placeholder {color:#929daa}.shot-heading .icon-button {width:44px;min-width:44px;height:44px;order:0}.shot-heading .icon-button svg {width:17px;height:17px}.board-kind-label {font-size:10px;color:var(--muted);white-space:nowrap}
.drawing-toolbar {position:absolute;z-index:15;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);height:58px;display:flex;margin:0;padding:6px 10px;gap:3px;border:1px solid #fff;border-radius:23px;background:#f9fbfef0;box-shadow:0 10px 36px #35486318;max-width:calc(100% - 24px);overflow:auto;scrollbar-width:none}
.drawing-toolbar .icon-button {width:44px;min-width:44px;height:44px;border-radius:14px}.drawing-toolbar .active,.drawing-toolbar .active:hover {background:var(--accent);color:#fff}.drawing-toolbar .tool-group {gap:3px}.drawing-toolbar svg {width:23px;height:23px}.tool-divider {margin:0 4px;height:24px}.brush-button {min-width:65px;gap:6px;padding:0 6px}.brush-button #colorDot {width:25px;height:25px;outline:1px solid #b6bec9;outline-offset:3px;border:2px solid white}#brushLabel {display:none}#widthLabel {font-size:11px;color:var(--muted)}
.canvas-footer {bottom:0;left:20px;right:20px}.canvas-footer button {min-height:44px;min-width:44px;font-size:11px;color:#81909d}.canvas-footer .button-row {gap:0}
.floating-panel {position:absolute;z-index:8;left:var(--panel-x,20px);top:var(--panel-y,76px);width:var(--panel-w,220px);height:var(--panel-h,266px);min-width:0;min-height:0;display:flex;flex-direction:column;background:#fcfdfff2;border:1px solid white;border-radius:22px;box-shadow:0 10px 35px #3548631b;overflow:hidden}
.floating-panel.dragging {box-shadow:0 18px 45px #3548632b;z-index:10}.floating-panel.maximized {z-index:20;box-shadow:0 24px 90px #3548633b;background:#fffffffa}
.panel-handle {min-height:44px;height:44px;flex-shrink:0;display:flex;align-items:center;padding:0 6px 0 12px;gap:1px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;background:#f9fbfdbb;border-bottom:1px solid #e7edf366}
.panel-handle h1 {font-size:14px;font-weight:600;flex:1;white-space:nowrap;margin:0}.panel-handle small {font-size:10px;color:#97a1af;margin-left:3px}.panel-handle .icon-button {width:44px;min-width:44px;height:44px;min-height:44px}.panel-handle svg {width:17px;height:17px}.drag-dots {font-size:21px;color:#b3bdca;line-height:1;width:16px;flex-shrink:0}
.floating-panel:not(.maximized) .expanded-only,.floating-panel:not(.maximized) #readingControls,.floating-panel:not(.maximized) .link-bar,.floating-panel:not(.maximized) .notes {display:none!important}
.reader-actions {display:flex;align-items:center;justify-content:space-between;padding:0 22px}
.script-context {font-size:10px;color:#94a0af;padding:10px 15px 0;line-height:16px;flex-shrink:0}.script-pane.maximized .script-context {display:none}
.script-reader {padding:7px 15px 8px;font-size:13px!important;line-height:1.7!important;scroll-behavior:auto}
.script-block {margin:0 0 12px;padding:0;border:0;border-radius:0;font-size:inherit}.script-block.active {background:none}.script-block h1,.script-block h2,.script-block h3 {font-size:1.1em;margin:0 0 8px}.script-block p {margin:0 0 5px}.script-block .linked-shots {margin:1px 0 0}.linked-shots button {font-size:10px;color:var(--accent);min-height:30px}
.script-pane:not(.maximized) .script-block.compact-excluded {display:none}.script-pane.maximized .script-reader {padding:12px 34px 28px;font-size:var(--script-size,19px)!important;line-height:1.85!important}.script-pane.maximized .script-block {margin:0 0 22px;padding:10px 14px;border-radius:10px}.script-pane.maximized .script-block.active {background:#edf3ff}.script-pane.maximized .linked-shots button {font-size:12px;min-height:44px}
.script-empty {padding:8px 0;display:flex;align-items:flex-start;gap:8px}.script-empty>span[data-icon] {display:none}.script-empty p {font-size:15px;letter-spacing:0}.script-empty>span:not([data-icon]) {font-size:11px;line-height:1.7}.script-empty .button {min-height:44px;margin:0;font-size:12px;padding:0 14px}.script-pane.maximized .script-empty {padding:30px 0;gap:18px}.script-pane.maximized .script-empty p {font-size:24px}.script-pane.maximized .script-empty>span:not([data-icon]) {font-size:16px}
.script-panel-footer {height:44px;min-height:44px;display:flex;justify-content:space-between;padding:0 5px;background:#f7faffbb;border-top:1px solid #e7edf3}.script-panel-footer button {font-size:11px;min-height:44px;padding:0 10px;gap:6px;color:var(--accent)}.script-panel-footer svg {width:15px;height:15px}#browseScriptButton {color:#8c97a6}#browseScriptButton svg {transform:rotate(-90deg);width:12px}
.reading-controls {padding:4px 24px 14px}.reading-controls .button-row {display:flex}.reading-controls select {display:block}.reading-controls label {font-size:13px}.link-bar {padding:8px 24px;gap:4px}.link-bar>span {display:none}.link-bar button {min-height:44px}
.filmstrip {flex:1;min-height:0;height:auto;display:flex;align-items:flex-start;padding:4px 11px 4px;gap:8px;border:0;background:none}
.shot-list {max-width:none;flex:1;min-width:0;height:100%;gap:10px;padding:2px;align-items:flex-start}.shot-card {width:98px;min-width:98px;gap:3px;min-height:64px}.shot-card .thumbnail {width:98px;height:auto;aspect-ratio:16/9;border-radius:6px;background:#fff;border:1px solid #ccd5e1}.shot-caption {width:98px;font-size:10px;line-height:16px;min-height:16px}.shot-caption b {margin-right:4px}.shot-card.active .thumbnail {outline:1px solid var(--accent);border-color:var(--accent);outline-offset:1px}.shot-card.active .shot-caption {color:var(--accent)}.shot-card.active:after {display:none}
.add-shot {margin:4px 0 0;align-self:flex-start;width:44px;min-width:44px;height:44px;border-color:#d7dfe8;background:#fff}.add-shot svg {width:19px}.shots-panel.maximized .filmstrip {padding:18px 24px;overflow:auto;flex:1}.shots-panel.maximized .shot-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));height:auto;overflow:visible;gap:20px;align-content:start}.shots-panel.maximized .shot-card,.shots-panel.maximized .thumbnail,.shots-panel.maximized .shot-caption {width:100%;min-width:0}.shots-panel.maximized .shot-caption {font-size:12px;margin-top:5px}
.shot-expanded-actions {display:flex;align-items:center;gap:6px;padding:0 24px}.shot-expanded-actions>span {margin-right:auto;font-size:12px}.shot-expanded-actions #shotMenuButton {align-self:auto;margin:0;min-width:44px;width:44px}.shot-expanded-actions .text-button {color:var(--accent);font-size:13px}
.notes {margin:0 20px 18px;padding:0 14px 12px;background:#f6f8fb;border:0;border-radius:12px;max-height:40%;overflow:auto}.notes .notes-heading {height:44px}.notes textarea {font-size:16px;height:70px;background:white;resize:vertical}.notes-fields {grid-template-columns:1fr 1fr}.notes .notes-fields label {font-size:12px}
.panel-launchers {position:absolute;z-index:13;left:20px;bottom:96px;display:flex;gap:8px}.panel-launcher {display:flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:1px solid #fff;border-radius:17px;background:#fafdfff2;box-shadow:0 6px 20px #3548630c;font-size:12px}.panel-launcher svg {width:17px;height:17px}
dialog {border-color:#fff;border-radius:24px;box-shadow:0 20px 90px #23395335;max-height:calc(var(--app-height,100dvh) - 32px)}dialog::backdrop {background:#35466335}.dialog-body {max-height:calc(var(--app-height,100dvh) - 130px)}.dialog-header {background:#f8fafd}.dialog-header h2 {font-size:18px}.toast {z-index:100;bottom:90px;background:#2e3b4d;border-radius:16px;font-size:13px;max-width:calc(100% - 32px);padding:12px 20px}
.writer-dialog {width:calc(100% - 32px);max-width:1280px;height:calc(var(--app-height,100dvh) - 32px);max-height:calc(var(--app-height,100dvh) - 32px);padding:0;background:#fff;overflow:hidden}
.writer-header {height:62px;display:flex;align-items:center;gap:12px;padding:0 20px;background:#f9fbfe;border-bottom:1px solid var(--line)}.writer-header h2 {font-size:17px;font-weight:600;white-space:nowrap}.writer-header #closeWriter {padding:0 5px;color:#7b899a;font-size:13px}.writer-header #closeWriter svg {transform:rotate(90deg);width:17px}.writer-header .muted {font-size:11px;margin-right:auto}.writer-header .button {padding:0 16px;font-size:13px;border-radius:13px}.writer-header .button svg {width:16px}
.writer-columns {height:calc(100% - 62px);display:grid;grid-template-columns:minmax(235px,32%) minmax(0,1fr)}.writer-source,.writer-document {display:flex;flex-direction:column;min-height:0;min-width:0}.writer-source {border-right:1px solid var(--line);background:#f6f8fb}
.writer-column-heading {display:flex;align-items:center;justify-content:space-between;min-height:48px;height:48px;flex-shrink:0;padding:0 23px;gap:6px;font-size:12px;color:#8b96a5;border-bottom:1px solid #e8edf266}.writer-column-heading button {font-size:12px;padding:0 8px}.writer-column-heading .icon-button {padding:0;width:44px;min-width:44px}.writer-column-heading svg {width:17px}
.writer-source-scroll {flex:1;overflow:auto;min-height:0;padding:18px 24px;font-size:16px;line-height:1.9;overscroll-behavior:contain;scrollbar-width:thin;user-select:text;-webkit-user-select:text}
.writer-source-block {padding:10px 12px;margin:0 -12px 18px;border-radius:9px;cursor:text;overflow-wrap:anywhere}.writer-source-block.selected {background:#e8effc}.writer-source-block h1,.writer-source-block h2,.writer-source-block h3 {font-size:17px;line-height:1.8;margin:0 0 10px}.writer-source-block p {margin:0 0 7px}.writer-source-block ul,.writer-source-block ol {padding-left:1.2em}.writer-source-block pre {white-space:pre-wrap;font-size:14px}.writer-source-block blockquote {margin:0;padding-left:14px;border-left:2px solid #cad5e4}
.reference-bar {display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;padding:5px 14px;border-top:1px solid var(--line);font-size:10px;flex-shrink:0;color:#99a3b0}.reference-bar button {color:var(--accent);font-size:12px;padding:0 6px;min-height:44px}.reference-bar span {flex:1;min-width:100px}
.draft-document {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 38px 50px;scrollbar-width:thin;scroll-padding:14px}.draft-segment {position:relative;margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid var(--line)}.draft-segment.current:before {content:'';position:absolute;left:-18px;top:52px;width:3px;height:26px;border-radius:3px;background:var(--accent)}
.segment-top {display:flex;align-items:center;gap:8px;min-height:44px}.segment-number {font-size:12px;color:var(--accent);font-weight:500;font-variant-numeric:tabular-nums}.segment-status {color:#9aa4b1;font-size:10px;margin-right:auto}.segment-top .icon-button {width:44px;min-width:44px;height:44px;min-height:44px;color:#99a3af}.segment-top svg {width:15px;height:15px}
.draft-title {width:100%;font-size:20px;font-weight:550;border:0;padding:4px 0 14px;line-height:1.5;border-radius:4px}.draft-title:focus {outline-offset:6px}.draft-field {display:grid;gap:5px;font-size:10px;color:#98a3af;margin:6px 0 16px}.draft-field textarea {width:100%;font-size:17px;color:#303946;border:0;background:none;border-radius:3px;resize:none;overflow:hidden;padding:2px 0;line-height:1.85;min-height:54px}.draft-field textarea::placeholder {color:#bec6cf}.draft-field textarea:focus {outline-offset:6px}.sound-field textarea {font-size:16px;color:#637286}
.draft-details {font-size:12px;color:#8c99a8}.draft-details summary {cursor:pointer;min-height:44px;display:flex;align-items:center;list-style:none}.draft-details summary::-webkit-details-marker {display:none}.draft-details summary:after {content:'+';margin-left:8px}.draft-details[open] summary:after {content:'−'}.draft-details .form-grid {padding:8px 0 20px}.draft-details input {font-size:16px;color:var(--ink)}.draft-details label {font-size:12px}.draft-references {display:grid;gap:6px}.draft-reference {display:flex;align-items:center;gap:8px;background:#f3f6fc;border-radius:7px;padding:6px 8px 6px 12px;font-size:11px;line-height:1.65;color:#8390a0;white-space:pre-wrap}.draft-reference>span {flex:1;min-width:0;max-height:100px;overflow:auto}.draft-reference .icon-button {width:44px;min-width:44px}.draft-reference svg {width:13px}.draft-reference.orphan {background:#fff5e7;color:#a07746}
.writer-footer {min-height:52px;flex-shrink:0;padding:4px 20px;display:flex;align-items:center;gap:8px;background:#f9fbfd;border-top:1px solid var(--line)}.writer-footer button {font-size:12px;color:var(--accent);padding:0 8px}.writer-footer svg {width:16px}.writer-footer>span {font-size:10px;color:#a0aab6;margin-left:auto}.writer-footer #restoreDraft {color:#8a96a4}.writer-empty {font-size:14px;color:#9ca7b6;line-height:1.9;padding:30px 0}
.conversion-list {display:grid}.conversion-row {display:flex;align-items:flex-start;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.conversion-row>span {color:var(--accent);font-size:12px}.conversion-row>div {flex:1;min-width:0;overflow-wrap:anywhere}.conversion-row h3 {font-size:16px}.conversion-row p {font-size:13px;color:#8b96a4;line-height:1.7;margin-top:6px;white-space:pre-wrap}.conversion-row small {white-space:nowrap;color:var(--accent);font-size:11px}.retained-note {font-size:12px!important;line-height:1.7;color:#8e99a7!important;margin-top:18px}
@media(prefers-reduced-transparency:no-preference) {.project-trigger,.drawing-toolbar {backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
@media(max-width:850px) and (orientation:portrait), (max-width:690px) {
  .writer-columns {grid-template-columns:1fr;grid-template-rows:32% minmax(0,1fr)}.writer-source {border-right:0;border-bottom:1px solid var(--line)}.writer-source-scroll {padding:8px 24px;font-size:15px}.writer-source-block {margin-bottom:9px}.writer-source .writer-column-heading {height:40px;min-height:40px}.reference-bar {padding:0 16px;flex-wrap:nowrap}.reference-bar span {min-width:0}.reference-bar button {white-space:nowrap}.draft-document {padding:8px 28px 35px}.writer-footer>span {display:none}
}
@media(max-width:650px) {
  .topbar {left:12px}.project-trigger {max-width:260px}.project-trigger strong {max-width:180px}.save-state {font-size:10px;padding:0}.shot-heading {top:65px}.shot-title {width:140px;font-size:13px}.board-kind-label {display:none}.drawing-stage {inset:95px 0 90px}.drawing-toolbar {gap:0;padding:6px;border-radius:20px;justify-content:flex-start}.drawing-toolbar .tool-group {gap:0}.tool-divider {margin:0 3px}.drawing-toolbar .icon-button {min-width:44px;width:44px}.brush-button {min-width:52px}.canvas-footer {left:8px;right:8px}.panel-launchers {left:12px}
  .writer-dialog {width:calc(100% - 16px);height:calc(var(--app-height,100dvh) - 16px);max-height:calc(var(--app-height,100dvh) - 16px);border-radius:18px}.writer-header {padding:0 12px;gap:8px;height:58px}.writer-header #closeWriter span:not([data-icon]) {display:none}.writer-header #closeWriter {min-width:44px}.writer-header h2 {font-size:15px}.writer-header .muted {font-size:10px}.writer-header .button {font-size:12px;padding:0 10px}.writer-header .button svg {display:none}.writer-columns {height:calc(100% - 58px)}.writer-column-heading {padding:0 16px}.draft-title {font-size:18px}.draft-field textarea {font-size:16px}.writer-footer {padding:4px 12px;gap:0}.notes-fields {grid-template-columns:1fr}.shots-panel.maximized .shot-list {grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}
}
@media(prefers-reduced-motion:reduce) {* {scroll-behavior:auto!important;transition:none!important}}
