/* Writer is the reference workspace: readable canvas, scene-first navigation,
   and contextual tools that share the application's spacing and icon family. */
@media screen {
  body.studio-refined {--writer-content-gap:8px;--writer-control-height:28px;--workspace-view-control-width:150px;--writer-resting-border:#000;--sidebar-utility-height:var(--writer-control-height);--sidebar-utility-gap:var(--writer-content-gap);--writer-segment-inset:2px;--writer-segment-gap:2px;--writer-segment-border:1px;--writer-segment-trim:calc(2 * (var(--writer-segment-inset) + var(--writer-segment-border)));}
  body.studio-refined.writer-mode.systemFocus #productionNextStep {display:none!important;}
  body.studio-refined #writerToolbar {position:relative;z-index:24;display:flex;flex:none;flex-wrap:wrap;align-items:center;align-content:center;justify-content:flex-start;gap:var(--writer-content-gap);height:auto;min-height:0;padding:var(--writer-content-gap);overflow:visible;}
  body.studio-refined.writer-mode.writer-sidebar-hidden:not(.splash-home) #sidebar {width:0;min-width:0;border:0;overflow:hidden;}
  body.studio-refined :is(#writerSidebarToggle,#readSidebarToggle,#productionSidebarToggle) {display:grid;place-items:center;box-sizing:border-box;flex:none;width:var(--writer-control-height);height:var(--writer-control-height);min-height:0;margin:0;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--icon-slate);}
  :is(#writerSidebarToggle,#readSidebarToggle,#productionSidebarToggle) .systemIcon {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;}
  body.studio-refined #writerToolbar>.writerViewSwitch {box-sizing:border-box;display:flex;align-items:center;flex:none;gap:var(--writer-segment-gap);width:var(--workspace-view-control-width);height:var(--writer-control-height);margin:0;padding:var(--writer-segment-inset);border:var(--writer-segment-border) solid var(--line);border-radius:5px;background:var(--surface-0);}
  body.studio-refined #writerToolbar>.writerViewSwitch button {box-sizing:border-box;display:grid;place-items:center;flex:1 1 auto;width:auto;min-width:0;height:calc(var(--writer-control-height) - var(--writer-segment-trim));min-height:0;margin:0;padding:0 9px;border:0;border-radius:3px;background:none;color:var(--dim);font:500 11px/18px var(--sans);}
  body.studio-refined #writerToolbar>.writerViewSwitch button.active {background:var(--surface-3);color:var(--text);box-shadow:0 1px 3px #0002;}
  /* One optical correction for the desktop font's visible lettering; frames
     retain the measured segment geometry above. */
  body.studio-refined {--writer-label-offset:-1px;}
  .writerSegmentLabel,.writerVersionActionLabel,.writerInlineQuestion>span,
  #systemFileButton>span,#writerNewNote .writerNewNoteLabel,.writerSaveVersionButton>span,
  .writerReviewFilters button>span,
  .writerElementPicker>summary b {position:relative;top:var(--writer-label-offset);}
  body.studio-refined #writerToolbar>#writerOutlineTools {flex:none;width:auto;min-height:34px;height:34px;margin:0!important;padding:0;border:0;}
  body.studio-refined #writerToolbar>#writerOutlineTools {display:none!important;}
  body.studio-refined #writerToolbar #writerOutlineColors {display:flex;align-items:center;width:auto;height:34px;}
  body.studio-refined #writerToolbar #writerOutlineColors .writerOutlineColorPalette {display:flex;align-items:center;gap:7px;height:34px;padding:0 5px;}
  body.studio-refined #writerToolbar #writerOutlineColors .writerOutlineColorPalette>span {display:block;align-self:center;flex:none;width:auto;height:auto;min-height:0;margin:0 3px 0 0;padding:0;color:var(--dim);font:11px/18px var(--sans);white-space:nowrap;}
  body.studio-refined #writerToolbar #writerOutlineColors .writerOutlineColorPalette button {position:relative;width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;border:1px solid #ffffff35;border-radius:4px;}
  body.studio-refined #writerToolbar #writerOutlineColors .writerOutlineColorPalette button.active::after {display:none;}
  body.studio-refined #writerToolbar[data-size="narrow"]>#writerOutlineTools {order:10;flex-basis:100%;}
  body.studio-refined #writerToolbar[data-size="narrow"] #writerOutlineColors .writerOutlineColorPalette {padding-inline:0;}
  body.studio-refined #writerFormatRail {flex:0 1 auto;min-width:0;width:auto;}
  body.studio-refined #writerFormatRail>.writerElementPicker {display:block;position:relative;flex:none;width:max-content;max-width:100%;margin:0;}
  body.studio-refined #writerFormatRail>.writerElementPicker>summary {display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:180px;max-width:none;min-height:0;height:var(--writer-control-height);margin:0;padding:3px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);font:500 12px/20px var(--sans);list-style:none;cursor:pointer;}
  body.studio-refined #writerFormatRail .writerElementPicker>summary .studioFormatLabel {display:block;color:var(--dim);font:11px/18px var(--sans);}
  body.studio-refined #writerFormatRail .writerElementPicker>summary b {font:500 12px/20px var(--sans);color:var(--text);white-space:nowrap;}
  body.studio-refined #writerFormatRail .writerElementPicker>summary svg {width:14px;height:14px;flex:none;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.5;transform:rotate(90deg);color:var(--dim);}
  body.studio-refined #writerFormatRail .writerElementPicker[open]>summary {background:var(--surface-3);border-color:var(--line-strong);}
  body.studio-refined #writerFormatRail .writerElementPicker[open]>summary svg {transform:rotate(-90deg);}
  body.studio-refined #writerFormatRail .writerElementPicker>.studioMobileFormatsPanel {position:absolute;top:calc(100% + 6px);left:0;right:auto;z-index:250;display:grid;grid-template-columns:minmax(0,1fr);gap:2px;width:240px;max-width:calc(100vw - 32px);max-height:min(620px,calc(100dvh - 156px));margin:0;padding:6px;border:1px solid var(--line);border-radius:7px;background:var(--panel);box-shadow:0 12px 32px #0005;overflow:auto;}
  body.studio-refined #writerFormatRail .writerElementPicker .studioMobileFormatsPanel button {display:grid;grid-template-columns:20px minmax(0,1fr) 14px;align-items:center;justify-content:start;column-gap:10px;width:100%;height:34px;min-height:34px;margin:0;padding:6px 10px;border:0;border-radius:4px;background:none;color:var(--text);font:12px/20px var(--sans);text-align:left;}
  body.studio-refined #writerFormatRail .writerElementPicker .studioMobileFormatsPanel button svg {display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:var(--icon-mint);}
  body.studio-refined #writerFormatRail .writerElementPicker .studioMobileFormatsPanel button span {display:block;min-width:0;font:inherit;text-align:left;}
  body.studio-refined #writerFormatRail .writerElementPicker .studioMobileFormatsPanel button:is(:hover,.active) {background:var(--surface-3);color:var(--text);}
  body.studio-refined #writerFormatRail .writerElementPicker .studioMobileFormatsPanel button.active::after {content:'\2713';grid-column:3;color:var(--icon-mint);font:13px/20px var(--sans);}
  .writerElementSeparator {height:1px;margin:4px 6px;background:var(--line-soft);}
  body.studio-refined #writerFindToggle.writerFindAction {display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;width:auto;min-width:72px;min-height:0;height:var(--writer-control-height);margin:0;padding:3px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font:12px/20px var(--sans);}
  body.studio-refined #writerFindToggle.writerFindAction:hover {background:var(--surface-3);border-color:var(--line-strong);}
  body.studio-refined #writerFindToggle.writerFindAction svg {width:18px;height:18px;color:var(--icon-gold);}
  body.studio-refined #writerFindToggle.writerFindAction.active {border-color:var(--icon-gold);background:color-mix(in srgb,var(--icon-gold) 18%,var(--panel));color:var(--text);}
  #writerFindClose {display:none!important;}
  body.studio-refined #writerFindBar :is(#writerFindPrev,#writerFindNext) {display:grid;place-items:center;flex:none;width:34px;min-width:34px;height:34px;padding:6px;border-radius:5px;color:var(--icon-mint);}
  .writerFindArrow {display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #writerPageZoom button {width:24px;min-height:0;height:var(--writer-control-height);}
  body.studio-refined #writerPageZoom[aria-disabled="true"] {opacity:.45;}
  body.studio-refined #writerPageZoom[aria-disabled="true"] :disabled {opacity:1;cursor:default;}
  body.studio-refined #writerPageZoom select {width:56px;min-height:0;height:var(--writer-control-height);padding:3px 8px;text-align:center;text-align-last:center;font:11px/20px var(--sans);background-size:11px;background-position:right 2px center;}
  body.studio-refined #writerToolbar #writerPageZoom {margin-left:0;}
  body.studio-refined #writerToolbar #writerHistoryControls {margin-left:auto;}
  #writerHistoryControls {display:flex;align-items:center;gap:var(--writer-content-gap);flex:none;margin:0;padding:0;}
  #writerPageZoom[hidden]+#writerHistoryControls {margin-left:auto;}
  body.studio-refined #writerHistoryControls button {display:grid;place-items:center;width:var(--writer-control-height);min-width:var(--writer-control-height);height:var(--writer-control-height);min-height:0;margin:0;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--icon-mint);}
  body.studio-refined #writerHistoryControls button:disabled {color:var(--dim);opacity:.45;}
  body.studio-refined #writerHistoryControls button:hover:not(:disabled) {background:var(--surface-3);color:var(--text);}
  body.studio-refined #writerHistoryControls button:active:not(:disabled) {transform:translateY(1px);}
  #writerHistoryControls svg {display:block;width:18px;height:18px;}
  #writerOutlineAddMenu {position:relative;display:flex;align-items:center;flex:none;height:var(--writer-control-height);margin:0;}
  .writerOutlineAddPicker {--outline-button-size:calc(var(--writer-control-height) - var(--writer-segment-trim));position:relative;display:flex;align-items:center;flex:none;box-sizing:border-box;gap:var(--writer-segment-gap);height:var(--writer-control-height);padding:var(--writer-segment-inset);border:var(--writer-segment-border) solid var(--line);border-radius:5px;background:var(--surface-0);}
  body.studio-refined #writerOutlineAddMenu .writerOutlineAddPicker>button {display:flex;align-items:center;justify-content:flex-start;gap:4px;box-sizing:border-box;min-width:0;height:var(--outline-button-size);min-height:0;margin:0;padding:0 8px 0 4px;border:0;border-radius:3px;background:var(--surface-2);color:var(--text);font:500 12px/20px var(--sans);overflow:hidden;white-space:nowrap;}
  body.studio-refined #writerOutlineAddMenu .writerOutlineAddPicker>button:hover {background:var(--surface-3);}
  #writerOutlineAddMenu .writerProductMenu {position:static;}
  body.studio-refined #writerOutlineAddMenu summary {display:grid;place-items:center;width:var(--outline-button-size);height:var(--outline-button-size);min-height:0;margin:0;padding:0;border:0;border-radius:3px;background:none;color:var(--dim);list-style:none;cursor:pointer;}
  body.studio-refined #writerOutlineAddMenu summary:hover {background:var(--surface-3);}
  #writerOutlineAddMenu summary::-webkit-details-marker {display:none;}
  #writerOutlineAddMenu .systemIcon {width:14px;height:14px;fill:none;stroke:var(--icon-mint);stroke-width:1.7;}
  #writerOutlineAddMenu [data-outline-add] .systemIcon {stroke-width:2;}
  body.studio-refined #writerOutlineAddMenu .writerProductMenuPanel {position:absolute;top:calc(100% + 4px);left:0;z-index:250;display:grid;gap:2px;box-sizing:border-box;width:max-content;min-width:calc(100% - var(--outline-button-size) - var(--writer-segment-gap) - var(--writer-segment-inset) - var(--writer-segment-border));max-width:calc(100vw - 24px);margin:0;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--panel);box-shadow:0 8px 20px #0004;}
  body.studio-refined #writerOutlineAddMenu .writerProductMenuPanel>button {display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-width:0;height:var(--writer-control-height);min-height:0;margin:0;padding:0 4px;border:0;border-radius:3px;background:none;color:var(--text);font:500 11px/18px var(--sans);text-align:left;white-space:nowrap;}
  body.studio-refined #writerOutlineAddMenu .writerProductMenuPanel>button[aria-checked="true"] {background:var(--surface-2);}
  body.studio-refined #writerOutlineAddMenu .writerProductMenuPanel>button:hover {background:var(--surface-3);}
  .writerOutlineEntryDock {position:absolute;left:calc(100% + 8px);top:0;z-index:260;width:232px;height:var(--writer-control-height);}
  .writerOutlineEntryDock.below {left:0;top:calc(100% + 4px);}
  .writerOutlineEntry {box-shadow:none;}
  body.studio-refined #writerOutlineAddMenu .writerOutlineEntry input {box-sizing:border-box;width:100%;min-width:0;height:var(--inline-control-size);min-height:0;margin:0;padding:0 6px;border:0;border-radius:3px;outline:0;box-shadow:none!important;background:var(--surface-0);color:var(--text);font:500 11px/18px var(--sans);}
  body.studio-refined :is(#writerStatusBar,#readerStatusBar) {box-sizing:border-box;display:block;position:relative;flex:none;min-height:42px;height:auto;padding:0;border-top:1px solid var(--line-soft);background:color-mix(in srgb,var(--panel) 94%,transparent);color:var(--dim);}
  :is(#writerFooterInfo,#readFooterInfo) {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 10px;box-sizing:border-box;min-height:42px;width:var(--writer-footer-width,100%);margin-left:var(--writer-footer-left,0px);padding:4px 12px;text-align:center;font:400 11px/17px var(--sans);}
  #readFooterInfo {width:100%;margin-left:0;}
  #writerFooterInfo {flex-wrap:nowrap;}
  #writerFooterInfo #writerStats {white-space:nowrap;}
  #readFooterScene {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:inherit;color:var(--text);}
  body.studio-refined #writerStatusBar #writerStats {flex:0 0 auto;min-width:0;max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;font:11px/17px var(--sans);}
  body.studio-refined #writerStatusBar #writerShortcutHint {flex:0 1 auto;min-width:0;max-width:100%;margin:0;font:11px/17px var(--sans);text-align:center;}
  #writerFooterInfo:has(#writerDocumentStatus:not(:empty)) #writerShortcutHint {display:none;}
  body.studio-refined #writerPaperWrap {margin-inline:auto;}
  body.studio-refined #writerPagesView {padding:28px 16px 16px;scroll-padding:28px 16px 16px;}
  body.studio-refined #writerWorkspace.splitView #writerEditorViews[data-split-layout="columns"] {display:grid;grid-template-columns:var(--writer-outline-width,40%) 10px minmax(0,1fr);grid-template-rows:minmax(0,1fr);}
  body.studio-refined #writerWorkspace.splitView #writerOutlineView {grid-column:1;grid-row:1;min-width:0;border:0;padding:16px;}
  body.studio-refined #writerWorkspace.splitView #writerPagesView {grid-column:3;grid-row:1;min-width:0;border:0;padding:28px 16px 16px;}
  #writerSplitDivider {position:relative;grid-column:2;grid-row:1;min-width:0;cursor:col-resize;touch-action:none;outline-offset:-2px;}
  #writerSplitDivider::before {content:'';position:absolute;inset:0 4px;background:var(--line-soft);}
  #writerSplitDivider::after {content:'';position:absolute;top:50%;left:3px;width:4px;height:36px;transform:translateY(-50%);border-radius:4px;background:var(--line-strong);}
  #writerSplitDivider:is(:hover,:focus-visible)::after,.resizing #writerSplitDivider::after {background:var(--icon-mint);}
  #writerEditorViews.resizing {cursor:col-resize;user-select:none;}
  body.studio-refined #writerWorkspace.splitView #writerEditorViews[data-split-layout="rows"] {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(160px,.4fr) minmax(200px,1fr);}
  body.studio-refined #writerWorkspace.splitView #writerEditorViews[data-split-layout="rows"] #writerOutlineView {grid-column:1;grid-row:1;border-bottom:1px solid var(--line);}
  body.studio-refined #writerWorkspace.splitView #writerEditorViews[data-split-layout="rows"] #writerPagesView {grid-column:1;grid-row:2;}
  .writerSceneFinder {position:relative;display:grid;gap:var(--writer-content-gap);width:100%;margin-bottom:var(--writer-content-gap);}
  .writerSceneSearch {position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:4px;width:100%;}
  body.studio-refined #sidebar #writerSceneSearch {min-width:0;}
  body.studio-refined #sidebar #writerSearchReplaceToggle {display:grid;place-items:center;width:28px;height:28px;min-height:0;margin:0;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--icon-mint);}
  #writerSearchReplaceToggle svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  #writerSearchReplaceToggle .writerReplaceFrom {stroke:var(--icon-gold);}
  body.studio-refined #sidebar #writerSearchReplaceToggle[aria-expanded="true"] {border-color:var(--icon-mint);background:color-mix(in srgb,var(--icon-mint) 12%,var(--panel));}
  #writerSearchNavigation {display:flex;align-items:center;gap:8px;min-width:0;height:28px;color:var(--dim);font:11px/18px var(--sans);}
  #writerSearchNavigation[hidden] {display:none;}
  #writerSceneSearchStatus {flex:1;min-width:0;white-space:nowrap;}
  #writerSearchNavigation>div {display:flex;align-items:center;gap:4px;flex:none;}
  body.studio-refined #sidebar #writerFindCount {min-width:0;margin:0;color:var(--dim);font:11px/18px var(--sans);white-space:nowrap;}
  body.studio-refined #sidebar #writerSearchNavigation button {display:grid;place-items:center;width:28px;min-width:28px;height:28px;min-height:0;margin:0;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--icon-mint);}
  body.studio-refined #sidebar #writerFindBar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--writer-content-gap);min-height:0;margin:0;padding:0;border:0;background:none;}
  body.studio-refined #sidebar #writerFindBar[hidden] {display:none;}
  ::highlight(writer-search) {background:#dcc47c55;color:inherit;}
  ::highlight(writer-search-current) {background:#dcc47c;color:#24241f;}
  body.studio-refined #sidebar #writerReplaceInput {grid-column:1/-1;box-sizing:border-box;width:100%;min-width:0;min-height:0;height:28px;margin:0;padding:4px 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--text);font:12px/18px var(--sans);}
  body.studio-refined #sidebar #writerFindBar button {min-width:0;min-height:0;height:28px;margin:0;padding:4px 6px;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);color:var(--text);font:500 11px/18px var(--sans);}
  body.studio-refined #sidebar .writerSceneSearch>input {width:100%;height:var(--writer-control-height);min-height:0;padding:4px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--text);font:12px/18px var(--sans);}
  body.studio-refined #sidebar #writerDrawer :is(#writerSceneSearch,#writerReplaceInput):not(:focus) {border-color:var(--writer-resting-border);}
  .writerProductMeta {margin:8px 0 0;color:var(--dim);font:11px/18px var(--sans);}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNavItem {border:1px solid transparent;background:color-mix(in srgb,var(--scene-color,var(--line)) 8%,var(--panel));}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNavItem.active {border-color:transparent;background:color-mix(in srgb,var(--scene-color) 16%,var(--panel));}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNavItem {position:relative;display:block;padding:0;overflow:hidden;color:var(--text);}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNavTarget {display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:56px;margin:0;padding:10px 48px 10px 12px;border:0;border-radius:6px;background:none;color:inherit;text-align:left;}
  .writerSceneNavTarget>i {display:grid;place-items:center;width:24px;height:24px;border-radius:5px;background:color-mix(in srgb,var(--scene-color) 10%,transparent);font:500 10px/16px var(--sans);font-style:normal;color:var(--scene-color);}
  .writerSceneNavTarget>span {display:grid;gap:3px;min-width:0;}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNoteCount {position:absolute;top:50%;right:8px;translate:0 -50%;display:inline-flex;align-items:center;justify-content:center;gap:2px;width:36px;min-height:0;height:24px;margin:0;padding:2px;border:0;border-radius:4px;background:none;color:var(--accent);font:500 10px/16px var(--sans);}
  .writerSceneNoteCount .systemIcon {width:12px;height:14px;stroke-width:1.7;}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNoteCount:hover {background:color-mix(in srgb,var(--accent) 10%,transparent);}
  body.studio-refined #sidebar #writerSceneNav .writerSceneNavItem b {white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;text-wrap:balance;font:550 12px/18px var(--sans);}
  body.studio-refined #sidebar .writerSceneNavItem small {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;}
  body.studio-refined #sidebar .writerSceneNavItem em {font:450 10px/16px var(--sans);color:var(--accent);}
  .writerSceneNavItem mark {padding:0 1px;border-radius:2px;background:color-mix(in srgb,var(--accent) 20%,transparent);color:var(--text);font-weight:550;}
  body.studio-refined #sidebar #writerDrawer .writerDetails {--writer-section-tone:#a9a0c8;}
  body.studio-refined #sidebar #writerDrawer .writerScenesSection {--writer-section-tone:#80b6a6;}
  body.studio-refined #sidebar #writerDrawer .writerDetails:has(#writerTitlePageTitle) {--writer-section-tone:#ce9c83;}
  body.studio-refined #sidebar #writerDrawer #writerReviewSection {--writer-section-tone:var(--icon-gold);}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionIcon .systemIcon {color:var(--writer-section-tone);}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionIcon .iconAccent {stroke:var(--text);}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary.sidebarSectionHeader {display:flex;gap:var(--writer-content-gap);border:2px solid transparent;padding-inline:11px;color:var(--text);}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionIcon {flex:none;}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionLabel {flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550;letter-spacing:-.1px;}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionCount {flex:none;font:600 14px/20px var(--sans);font-variant-numeric:tabular-nums;color:color-mix(in srgb,var(--text) 80%,var(--dim));}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary .sidebarSectionChevron {margin-left:auto;}
  body.studio-refined #sidebar #writerDrawer .writerDetails>summary :is(.sidebarSectionLabel,.sidebarSectionCount) {position:relative;top:-1px;}
  body.studio-refined #sidebar #writerDrawer .writerDetails[open]>summary {border-color:color-mix(in srgb,var(--writer-section-tone) 32%,var(--line));background:color-mix(in srgb,var(--writer-section-tone) 14%,var(--surface-1))!important;box-shadow:none;}
  body.studio-refined #sidebar #writerDrawer .writerDetails[open]>summary .sidebarSectionLabel {font-weight:550;color:color-mix(in srgb,var(--text) 92%,var(--dim));}
  body.studio-refined #sidebar #writerReviewSection .writerDetailsBody {display:grid;gap:var(--writer-content-gap);padding-top:var(--sidebar-utility-gap);}
  body.studio-refined #sidebar #writerDrawer .writerDetailsBody {padding-block:var(--writer-content-gap);}
  body.studio-refined #sidebar :is(#writerSceneNav,#writerSnapshotList) {gap:var(--writer-content-gap);}
  body.studio-refined #sidebar #writerDrawer>.workspaceDrawerScroll {width:100%;max-height:none;margin:0;padding:16px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--es-scrollbar-thumb,transparent) transparent;}
  body.studio-refined #sidebar #writerDrawer>.workspaceDrawerScroll {padding-top:0;}
  body.studio-refined #sidebar #writerDrawer>.writerBottomDock {display:none;}
  body.studio-refined #sidebar #writerDrawer .writerDetailsBody {width:100%;max-height:480px;padding-right:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto;}
  body.studio-refined #sidebar #writerDrawer #writerReviewSection .writerDetailsBody {max-height:648px;}
  body.studio-refined #sidebar #writerDrawer .writerVersionsBody {max-height:272px;}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields {width:100%;max-height:none;padding-right:0;overflow:visible;scrollbar-gutter:auto;}
  #writerDrawer .writerDetailsBody::-webkit-scrollbar {width:8px;}
  #writerDrawer .writerDetailsBody::-webkit-scrollbar-thumb {border:2px solid transparent;border-radius:8px;background:var(--line-strong);background-clip:padding-box;}
  #writerDrawer .writerDetailsBody::-webkit-scrollbar-track {background:none;}
  #writerDrawer .writerDetailsBody::-webkit-scrollbar-button {display:none;width:0;height:0;}
  body.studio-refined #sidebar #writerDrawer .writerDetailsBody>:last-child {margin-bottom:0;}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields {display:grid;gap:var(--writer-content-gap);}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields>.writerField {min-width:0;margin:0;}
  .writerTitlePageLabel {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields :is(input,textarea) {margin-top:0;}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields :is(input,textarea):not(:focus) {border-color:var(--writer-resting-border);}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields :is(input,textarea) {--field-inset:calc((var(--writer-control-height) - 18px - 2px) / 2);box-sizing:border-box;min-height:var(--writer-control-height);height:var(--writer-control-height);padding:calc(var(--field-inset) + var(--writer-label-offset)) 8px calc(var(--field-inset) - var(--writer-label-offset));font:500 11px/18px var(--sans);letter-spacing:normal;}
  body.studio-refined #sidebar #writerDrawer .writerTitlePageFields :is(input,textarea)::placeholder {color:var(--dim);opacity:1;}
  body.studio-refined :is(#writerDrawer,#writerOutlineView) :is(input,textarea)::placeholder {font-size:11px;font-weight:400;line-height:inherit;}
  body.studio-refined #writerOutlineView [data-outline-field]:empty::before {font-size:11px;font-weight:400;line-height:inherit;}
  .writerReviewFilters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0;padding:3px;border:1px solid var(--writer-resting-border);border-radius:6px;background:var(--surface-0);}
  body.studio-refined #sidebar .writerReviewFilters button {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:30px;margin:0;padding:4px 8px;border:1px solid transparent;border-radius:4px;background:none;color:var(--dim);font:500 12px/18px var(--sans);}
  body.studio-refined #sidebar .writerReviewFilters button:hover {background:var(--surface-2);color:var(--text);}
  body.studio-refined #sidebar .writerReviewFilters button[aria-pressed="true"] {border-color:color-mix(in srgb,var(--accent) 30%,var(--line));background:color-mix(in srgb,var(--accent) 12%,var(--panel));color:var(--text);}
  .writerNoteStatusCount {font:inherit;font-variant-numeric:tabular-nums;color:var(--dim);}
  [aria-pressed="true"]>.writerNoteStatusCount {color:var(--accent);}
  #writerReviewList {display:grid;gap:var(--writer-content-gap);}
  .writerNoteGroup {display:grid;gap:var(--writer-content-gap);min-width:0;}
  .writerNoteGroupHeading {display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:34px;margin:0;padding:6px 8px;border:1px solid var(--line-soft);border-radius:5px;background:color-mix(in srgb,var(--icon-slate) 5%,var(--surface-0));color:var(--dim);font:500 10.5px/16px var(--sans);text-align:left;}
  .writerNoteGroupHeading>.writerNoteGroupNumber {display:grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid color-mix(in srgb,var(--note-scene-color,var(--icon-gold)) 28%,transparent);border-radius:4px;background:color-mix(in srgb,var(--note-scene-color,var(--icon-gold)) 12%,transparent);color:var(--note-scene-color,var(--icon-gold));font:550 10px/16px var(--sans);}
  .writerNoteGroupNumber .systemIcon {width:13px;height:13px;}
  .writerNoteGroupHeading>b {min-width:0;margin:0;font:500 10.5px/16px var(--sans);overflow-wrap:anywhere;}
  .writerNotesToolbar {--writer-note-control-height:var(--sidebar-utility-height);position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:calc(var(--writer-content-gap) / 2);min-width:0;background:var(--panel);box-shadow:0 calc(-1 * var(--sidebar-utility-gap)) 0 var(--panel);}
  .writerNotesToolbar .writerReviewFilters {box-sizing:border-box;align-items:center;flex:1;min-width:0;gap:var(--writer-segment-gap);height:var(--writer-note-control-height);padding:var(--writer-segment-inset);border-width:var(--writer-segment-border);border-radius:5px;}
  body.studio-refined #sidebar .writerNotesToolbar .writerReviewFilters button {box-sizing:border-box;gap:4px;min-height:0;height:calc(var(--writer-note-control-height) - var(--writer-segment-trim));padding:0 4px;border:0;border-radius:3px;font:500 11px/18px var(--sans);}
  body.studio-refined #sidebar .writerNotesToolbar .writerReviewFilters button[aria-pressed="true"] {background:var(--surface-3);color:var(--text);box-shadow:0 1px 3px #0002;}
  body.studio-refined #sidebar #writerNewNote {position:relative;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:0;height:var(--writer-note-control-height);margin:0;padding:0 11px;border:1px solid color-mix(in srgb,var(--icon-mint) 30%,var(--line));border-radius:5px;background:color-mix(in srgb,var(--icon-mint) 7%,var(--surface-1));color:var(--text);font:500 11px/18px var(--sans);white-space:nowrap;}
  #writerNewNote>span {display:block;margin:0;padding:0;line-height:18px;}
  #writerNewNote .systemIcon {display:block;flex:none;width:14px;height:14px;fill:none;stroke:var(--icon-mint);stroke-width:2;stroke-linecap:round;}
  body.studio-refined #sidebar #writerNewNote:hover,body.studio-refined #sidebar #writerNewNote[aria-expanded="true"] {border-color:var(--icon-mint);background:color-mix(in srgb,var(--icon-mint) 15%,var(--surface-1));}
  #writerNewNote .systemIcon>path {transform-box:view-box;transform-origin:center;transition:transform .18s ease;}
  #writerNewNote[aria-expanded="true"] .systemIcon>path {transform:rotate(45deg);}
  #writerNewNote i {position:absolute;top:3px;right:3px;display:none;width:3px;height:3px;border-radius:50%;background:var(--icon-mint);}
  #writerNewNote.has-draft:not([aria-expanded="true"]) i {display:block;}
  body.studio-refined #sidebar #writerNewNote:disabled {opacity:.45;cursor:default;}
  body.studio-refined #sidebar #writerNewNote[data-quiet-focus]:focus {outline:none!important;box-shadow:none!important;}
  body.studio-refined #sidebar #writerNewNote:focus-visible {outline-offset:-2px;}
  #writerReviewList:empty {display:none;}
  #writerReviewSection {--note-paper:color-mix(in srgb,var(--accent) 14%,var(--panel));--note-ink:color-mix(in srgb,var(--text) 85%,var(--accent));--note-edge:color-mix(in srgb,var(--accent) 38%,var(--line));}
  .writerReviewCard {--writer-note-font:450 12px/21px var(--sans);position:relative;width:100%;min-width:0;overflow:hidden;border:1px solid var(--note-edge);border-radius:6px;background:var(--note-paper);box-shadow:0 3px 8px #0002;}
  .writerReviewCard.selected {border-color:var(--accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 25%,transparent),0 3px 8px #0002;}
  .writerReviewCard.resolved {border-color:var(--line);background:var(--surface-2);box-shadow:none;}
  body.studio-refined #sidebar .writerReviewCard .writerNoteContent [data-review-note] {display:block;width:100%;min-width:0;margin:0;padding:12px;border:0;border-radius:0;background:none;color:var(--note-ink);text-align:left;}
  body.studio-refined #sidebar .writerReviewCard .writerNoteContent [data-review-note]:hover {background:color-mix(in srgb,var(--accent) 6%,transparent);}
  .writerNoteCardMeta {grid-column:2;display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;font:inherit;color:var(--dim);}
  .writerNoteCardMeta>span:first-child {display:grid;place-items:center;flex:none;width:15px;height:16px;color:var(--icon-gold);}
  .writerNoteCardMeta>span:last-child {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .writerNoteCardMeta .systemIcon {display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;}
  .writerReviewCard p {margin:0;font:var(--writer-note-font);white-space:pre-wrap;overflow-wrap:anywhere;}
  .writerReviewCard blockquote {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:10px 0 0;padding:9px 0 0;border-top:1px solid var(--note-edge);font:11px/18px var(--mono);color:var(--dim);white-space:pre-wrap;overflow-wrap:anywhere;}
  .writerReviewCard blockquote.expanded {display:block;overflow:visible;}
  .writerReviewCard>.writerNoteActions {box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:6px;height:var(--writer-control-height);min-height:0;padding:0 9px;border-top:1px solid var(--note-edge);background:color-mix(in srgb,var(--accent) 4%,transparent);font:400 10px/16px var(--sans);}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>button {display:inline-flex;align-items:center;justify-content:center;gap:2px;min-height:0;height:calc(var(--writer-control-height) - 6px);margin:0;padding:0 4px;border:0;border-radius:4px;background:none;font:inherit;color:var(--note-ink);}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>button:hover {background:color-mix(in srgb,var(--accent) 12%,transparent);}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>button:active {transform:translateY(1px);background:color-mix(in srgb,var(--accent) 20%,transparent);}
  .writerReviewCard [data-review-resolve] {grid-column:1;justify-self:start;}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>[data-review-resolve] {color:var(--icon-mint);}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>[data-review-resolve]:hover {background:color-mix(in srgb,var(--icon-mint) 10%,transparent);}
  .writerReviewCard :is([data-review-edit],[data-review-delete]) {grid-column:3;justify-self:end;}
  .writerNoteActionIcon {display:block;flex:none;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #sidebar .writerReviewCard>.writerNoteActions>[data-review-delete] {color:var(--icon-coral);}
  .writerReviewCard [data-review-delete] .trashGlyph {width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
  .writerReviewCard>.writerNoteActions .systemIcon {width:13px;height:13px;}
  .writerReviewCard>.writerNoteActions>button>span,.writerReviewCard>.writerNoteActions .writerNoteCardMeta>span:last-child {position:relative;top:var(--writer-label-offset);}
  body.studio-refined :where(.writerSceneFilterPanel,.writerReviewCard,.writerWorkflowDialog,.writerCompareSceneActions,.writerCompareNavigation,#writerListenBar) button {background:var(--surface-2);border:1px solid var(--line);border-radius:5px;color:var(--text);}
  body.studio-refined :where(.writerSceneFilterPanel,.writerReviewCard,.writerWorkflowDialog,.writerCompareSceneActions,.writerCompareNavigation,#writerListenBar) button:hover {background:var(--surface-3);border-color:var(--line-strong);}
  #writerReviewComposer {--composer-accent:var(--icon-mint);--composer-edge:color-mix(in srgb,var(--composer-accent) 38%,var(--line));display:grid;gap:7px;margin:0;padding:10px;border:1px solid var(--composer-edge);border-radius:7px;background:linear-gradient(135deg,color-mix(in srgb,var(--composer-accent) 12%,var(--panel)),color-mix(in srgb,var(--composer-accent) 6%,var(--surface-2)));box-shadow:0 3px 10px #0002;}
  #writerReviewComposer[hidden] {display:none;}
  #writerReviewComposer:focus-within {border-color:var(--composer-accent);}
  .writerNoteComposerHead {display:flex;align-items:center;justify-content:space-between;gap:8px;}
  .writerNoteComposerContext {display:grid;gap:0;min-width:0;}
  #writerReviewComposer label {font:550 12px/18px var(--sans);color:var(--text);}
  body.studio-refined #sidebar #writerReviewText {box-sizing:border-box;width:100%;min-height:54px;max-height:160px;padding:6px 8px;border:1px solid var(--composer-edge);border-radius:5px;background:var(--surface-0);font:13px/20px var(--sans);resize:none;}
  body.studio-refined #sidebar #writerReviewText:focus {border-color:var(--composer-accent);outline-color:var(--composer-accent);}
  body.studio-refined #sidebar #writerReviewTarget {display:grid;gap:3px;width:100%;min-width:0;min-height:16px;margin:0;padding:6px 7px;border:1px solid var(--composer-edge);border-radius:4px;background:color-mix(in srgb,var(--composer-accent) 3%,var(--surface-0));color:var(--dim);font:11px/16px var(--sans);text-align:left;}
  #writerReviewTarget>span {color:var(--composer-accent);font-size:11px;}
  #writerReviewTarget>q {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;quotes:none;overflow-wrap:anywhere;font:11px/17px var(--mono);}
  #writerReviewTarget>q[hidden] {display:none;}
  body.studio-refined #sidebar #writerReviewTarget:hover {color:var(--composer-accent);}
  body.studio-refined #sidebar #writerNoteVoice {display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;box-sizing:border-box;height:28px;min-height:0;margin:0;padding:0 7px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--icon-mint);font:500 11px/18px var(--sans);}
  #writerNoteVoice .systemIcon {display:block;flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;}
  #writerNoteVoice>span {display:block;margin:0;padding:0;line-height:18px;}
  #writerReviewComposer.recording {border-color:var(--icon-coral);}
  #writerReviewComposer.recording .writerNoteComposerFoot {display:none;}
  body.studio-refined #sidebar #writerNoteVoice[aria-pressed="true"] {border-color:var(--icon-coral);color:var(--icon-coral);}
  .writerNoteComposerFoot {display:flex;align-items:center;justify-content:space-between;gap:8px;}
  .writerNoteSaveHint {display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--dim);font:10px/17px var(--sans);}
  .writerNoteSaveHint kbd {padding:1px 4px;border:1px solid var(--composer-edge);border-radius:3px;background:color-mix(in srgb,var(--composer-accent) 10%,var(--panel));color:var(--composer-accent);font:10px/15px var(--sans);}
  #writerNoteVoice:disabled {opacity:.4;cursor:default;}
  #writerNoteVoiceStatus {margin:0;font:11px/18px var(--sans);color:var(--icon-mint);}
  #writerNoteVoiceStatus.error {color:var(--icon-coral);}
  .writerNoteUndo {position:relative;z-index:2;display:block;min-width:0;height:var(--note-from-height,var(--writer-control-height));margin-block:0;opacity:1;transform:scale(1);transition:height 360ms cubic-bezier(.22,1,.36,1),opacity 240ms ease,transform 240ms ease;}
  .writerNoteUndo.is-visible {height:var(--writer-control-height);}
  .writerNoteUndo.is-leaving {opacity:0;transform:scale(.985);}
  .writerNoteUndo.is-collapsing {height:0;margin-block:-4px;transition:height 240ms cubic-bezier(.22,1,.36,1),margin 240ms cubic-bezier(.22,1,.36,1);}
  .writerNoteUndo[hidden] {display:none;}
  .writerNoteGhost {position:absolute;inset:0;pointer-events:none;opacity:1;transform:scale(1);transition:opacity 180ms ease,transform 300ms cubic-bezier(.22,1,.36,1);}
  .writerNoteUndo.is-visible .writerNoteGhost {opacity:0;transform:scale(.985);}
  .writerNoteUndoInner {position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;min-height:var(--writer-control-height);height:var(--writer-control-height);padding:2px 8px;border:1px solid color-mix(in srgb,var(--icon-mint) 30%,var(--line));border-radius:5px;background:color-mix(in srgb,var(--icon-mint) 8%,var(--panel));color:var(--text);font:500 11px/18px var(--sans);cursor:pointer;opacity:0;transform:scale(.985);transition:opacity 220ms ease 80ms,transform 300ms cubic-bezier(.22,1,.36,1) 80ms;}
  .writerNoteUndo.is-visible .writerNoteUndoInner {opacity:1;transform:scale(1);}
  body.studio-refined #sidebar .writerNoteUndoDismiss {display:flex;align-items:center;justify-content:flex-start;align-self:stretch;flex:1;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:4px;background:none;color:var(--text);font:inherit;text-align:left;}
  body.studio-refined #sidebar .writerNoteUndoButton {display:grid;place-items:center;min-height:0;height:calc(var(--writer-control-height) - var(--writer-segment-trim));padding:0 5px;border:0;border-radius:4px;background:none;color:var(--icon-mint);font:inherit;}
  body.studio-refined #sidebar .writerNoteUndoButton:hover {background:color-mix(in srgb,var(--icon-mint) 12%,transparent);}
  .writerInlineSlot {position:relative;min-width:0;}
  .writerInlineGhost {position:absolute;inset:0;z-index:2;display:block;min-width:0;pointer-events:none;overflow:hidden;}
  .writerNoteContent {display:block;min-width:0;}
  .writerReviewCard {transition:border-color 220ms ease,background-color 220ms ease;}
  .writerReviewCard.editing {border-color:color-mix(in srgb,var(--icon-mint) 65%,var(--line));}
  .writerNoteInlineEditor {padding:12px;}
  body.studio-refined #sidebar #writerDrawer .writerReviewCard .writerInlineNoteText {box-sizing:border-box;display:block;width:100%;min-width:0;min-height:21px;max-height:480px;margin:0;padding:0;border:0;border-radius:0;outline:0;background:none;color:var(--note-ink);font:var(--writer-note-font);white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical;caret-color:var(--icon-mint);}
  body.studio-refined #sidebar .writerReviewCard.editing [data-review-edit] {color:var(--icon-mint);background:color-mix(in srgb,var(--icon-mint) 9%,transparent);}
  .writerInlineConfirm {--inline-control-size:calc(24px - var(--writer-segment-trim));box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) var(--inline-control-size) var(--inline-control-size);align-items:center;gap:var(--writer-segment-gap);width:100%;height:24px;margin:0;padding:var(--writer-segment-inset);border:var(--writer-segment-border) solid var(--line);border-radius:5px;background:var(--surface-0);box-shadow:none;}
  .writerInlineQuestion {box-sizing:border-box;display:grid;place-items:center;min-width:0;height:var(--inline-control-size,18px);border-radius:3px;background:var(--surface-3);white-space:nowrap;text-align:center;color:var(--text);font:500 11px/18px var(--sans);}
  .writerInlineQuestion>span,.writerVersionActionLabel {display:block;margin:0;padding:0;text-align:center;line-height:18px;transform:none;}
  body.studio-refined #sidebar .writerInlineCircle,body.studio-refined .writerInlineCircle {box-sizing:border-box;display:grid;place-items:center;flex:none;width:var(--inline-control-size,18px);height:var(--inline-control-size,18px);min-width:0;min-height:0;margin:0;padding:0;border:1px solid color-mix(in srgb,var(--icon-mint) 35%,var(--line));border-radius:3px;background:color-mix(in srgb,var(--icon-mint) 9%,var(--panel));color:var(--icon-mint);}
  body.studio-refined #sidebar .writerInlineCircle.cancel,body.studio-refined .writerInlineCircle.cancel {border-color:color-mix(in srgb,var(--icon-coral) 35%,var(--line));background:color-mix(in srgb,var(--icon-coral) 8%,var(--panel));color:var(--icon-coral);}
  .writerInlineCircle svg {display:block;flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #sidebar .writerInlineCircle:hover,body.studio-refined .writerInlineCircle:hover {filter:brightness(1.2);background:color-mix(in srgb,var(--icon-mint) 20%,var(--panel));}
  body.studio-refined #sidebar .writerInlineCircle.cancel:hover,body.studio-refined .writerInlineCircle.cancel:hover {background:color-mix(in srgb,var(--icon-coral) 20%,var(--panel));}
  .writerSaveVersionSlot {margin-bottom:var(--writer-content-gap);}
  .writerInlineSave {--inline-control-size:calc(var(--writer-control-height) - var(--writer-segment-trim));box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) var(--inline-control-size) var(--inline-control-size);align-items:center;gap:var(--writer-segment-gap);width:100%;height:var(--writer-control-height);margin:0;padding:var(--writer-segment-inset);border:var(--writer-segment-border) solid var(--line);border-radius:5px;background:var(--surface-0);}
  .writerInlineSave:focus-within {border-color:color-mix(in srgb,var(--icon-mint) 60%,var(--line));}
  body.studio-refined #sidebar #writerDrawer .writerInlineSave input {box-sizing:border-box;width:100%;min-width:0;height:var(--inline-control-size);min-height:0;margin:0;padding:0 4px;border:0;border-radius:3px;outline:0;background:var(--surface-3);color:var(--text);font:500 11px/18px var(--sans);}
  @media(prefers-reduced-motion:reduce) {.writerNoteUndo,.writerNoteGhost,.writerNoteUndoInner,.writerVersionName,.writerReviewCard {transition:none;}}
  #writerFeedbackMarkers {position:absolute;inset:0;z-index:3;pointer-events:none;}
  body.studio-refined #writerFeedbackMarkers>button {position:absolute;right:54px;display:grid;place-items:center;width:24px;height:24px;min-height:24px;padding:4px;pointer-events:auto;border:1px solid #c9ac6240;border-radius:5px;background:#f2ead5;color:#80692e;font:600 13px/16px var(--sans);}
  #writerFeedbackMarkers .systemIcon {width:16px;height:16px;}
  .writerPassageFlash {outline:3px solid transparent;outline-width:3px!important;outline-style:solid!important;outline-offset:3px;animation:writerPassageFlash 2s cubic-bezier(.22,.61,.36,1) both;}
  .writerListening {background:#dac08430!important;outline:2px solid #dac08455;outline-offset:3px;}
  @keyframes writerPassageFlash {0%,100%{outline-color:#e0b45800;}12%{outline-color:#e0b458cc;}30%{outline-color:#e0b45845;}46%{outline-color:#e0b458aa;}}

  body.studio-refined #writerOutlineView {padding:16px;}
  body.studio-refined #writerOutlineCards {max-width:none;margin:0;}
  body.studio-refined #writerOutlineView .writerOutlineHead {display:flex;align-items:center;justify-content:flex-end;margin:0 0 12px;padding:0;}
  .writerOutlineActions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;}
  body.studio-refined .writerOutlineActions summary {display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:5px;background:var(--panel);font:12px/18px var(--sans);}
  body.studio-refined #writerOutlineView .writerOutlineSection {margin:0 0 20px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
  body.studio-refined #writerOutlineView .writerOutlineSectionHead {padding:10px 0;border:0;background:none;}
  #writerOutlineView .writerOutlineSection[data-outline-section="ungrouped"]>.writerOutlineSectionHead {display:none;}
  body.studio-refined #writerOutlineView .writerOutlineSectionBody {display:grid;grid-template-columns:repeat(var(--outline-columns,1),minmax(0,1fr));align-items:stretch;gap:12px;padding:0;}
  body.studio-refined #writerOutlineView .writerOutlineSectionBody>.writerOutlineSection {grid-column:1/-1;min-width:0;margin-bottom:0;}
  body.studio-refined #writerOutlineView .writerOutlineSection.collapsed>.writerOutlineSectionBody {display:none;}
  body.studio-refined #writerOutlineView .writerOutlineSection.empty {margin-bottom:8px;}
  body.studio-refined #writerOutlineView .writerOutlineSectionHead.dragTarget {border-radius:7px;}
  body.studio-refined #writerOutlineView .writerOutlineCard {display:flex;flex-direction:column;width:100%;min-width:0;min-height:min(300px,var(--outline-card-size,240px));height:auto;aspect-ratio:auto;margin:0;padding:12px;border:1px solid color-mix(in srgb,var(--card-color,var(--accent)) 35%,var(--line));border-radius:7px;background:color-mix(in srgb,var(--card-color,var(--accent)) 16%,var(--panel));box-shadow:none;overflow:visible;}
  .writerPaginationProbe {border:1px solid transparent!important;}
  body.studio-refined #writerOutlineView .writerOutlineCard::before {display:none;content:none;}
  body.studio-refined #writerOutlineView .writerOutlineCard.selected {border-color:color-mix(in srgb,var(--card-color) 85%,var(--line));box-shadow:0 0 0 1px color-mix(in srgb,var(--card-color) 85%,var(--line));}
  .writerOutlineCardHead {display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto;align-items:start;column-gap:9px!important;row-gap:0!important;}
  body.studio-refined #writerOutlineView .writerOutlineNumber {grid-column:1;grid-row:2;position:static;width:24px;max-width:100%;height:22px;margin:0;border-radius:5px;font:11px/22px var(--sans);}
  body.studio-refined #writerOutlineView .writerOutlineCard h3 {grid-column:2;grid-row:1;min-width:0;max-width:100%;margin:0;font:550 13px/20px var(--sans);white-space:pre-wrap;overflow-wrap:anywhere;text-wrap:balance;}
  body.studio-refined #writerOutlineView [data-outline-field] {min-width:0;padding:3px 4px;border:1px solid transparent;border-radius:4px;outline:none;cursor:text;}
  body.studio-refined #writerOutlineView [data-outline-field]:is(:hover,:focus) {border-color:var(--line-strong);background:var(--surface-0);}
  body.studio-refined #writerOutlineView [data-outline-field]:focus {border-color:var(--card-color);}
  [data-outline-field]:empty::before {content:attr(data-placeholder);color:var(--dim);opacity:.75;pointer-events:none;}
  .writerSceneDrag {grid-column:1;grid-row:1;display:grid;place-items:center;width:24px;height:26px;border:1px solid color-mix(in srgb,var(--card-color) 25%,var(--line));border-radius:5px;background:color-mix(in srgb,var(--card-color) 10%,var(--surface-0));font:500 11px/20px var(--sans);cursor:grab;color:var(--text);}
  .writerSceneDrag:active {cursor:grabbing;}
  body.studio-refined #writerOutlineView .writerOutlineCard {cursor:grab;user-select:none;}
  body.studio-refined #writerOutlineView .writerOutlineCard:is(:active,.dragging) {cursor:grabbing;}
  body.studio-refined #writerOutlineView .writerOutlineCard :is(input,textarea,[contenteditable]:not([contenteditable="false"])) {cursor:text;user-select:text;}
  .writerSceneDrag .systemIcon {width:18px;height:18px;stroke-width:2.5;stroke-linecap:round;pointer-events:none;}
  body.studio-refined #writerOutlineView .writerOutlineExcerpt {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:44px;max-height:none;flex:none;margin:10px 0;font:12px/20px var(--sans);color:var(--dim);white-space:pre-wrap;overflow-wrap:anywhere;}
  body.studio-refined #writerOutlineView .writerOutlineExcerpt:focus {display:block;max-height:240px;overflow:auto;}
  body.studio-refined #writerOutlineView textarea[data-outline-note] {flex:1;width:100%;min-height:54px;height:54px;margin:0;padding:7px 0;border:1px solid transparent;border-top-color:var(--line-soft);border-radius:0;background:none;color:var(--text);font:12px/18px var(--sans);resize:vertical;}
  body.studio-refined #writerOutlineView textarea[data-outline-note]:focus {padding-inline:8px;border-color:var(--accent);border-radius:4px;background:var(--surface-0);}
  body.studio-refined #writerOutlineView textarea[data-outline-scene-note] {box-sizing:border-box;flex:none;width:100%;min-width:0;min-height:60px;max-height:160px;margin:0;padding:8px;border:1px solid color-mix(in srgb,var(--icon-gold) 25%,var(--line));border-radius:5px;background:color-mix(in srgb,var(--icon-gold) 7%,var(--panel));color:var(--text);font:12px/19px var(--sans);resize:none;}
  body.studio-refined #writerOutlineView textarea[data-outline-scene-note]:focus {border-color:var(--icon-gold);outline:none;}
  .writerOutlineNoteStatus {display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;font:11px/18px var(--sans);color:var(--dim);}
  body.studio-refined .writerOutlineNoteStatus>button {min-height:24px;padding:2px 6px;border:1px solid var(--line);border-radius:4px;background:var(--panel);font:11px/18px var(--sans);color:var(--text);}
  .writerOutlineCardFoot {align-items:center!important;gap:6px!important;flex-wrap:wrap;margin-top:auto!important;padding-top:10px;}
  .writerOutlineMeta {font:11px/17px var(--sans)!important;color:var(--dim);}
  body.studio-refined #writerOutlineView .writerOutlineMove {display:grid;width:100%;grid-template-columns:auto minmax(28px,1fr) auto;gap:6px;}
  body.studio-refined #writerOutlineView .writerOutlineMove button {min-width:0;min-height:32px;padding:6px 8px;font:12px/18px var(--sans);color:var(--text);}
  body.studio-refined #writerOutlineView .writerOutlineMove .writerCardColorButton {display:grid;place-items:center;width:100%;min-width:28px;padding:8px;}
  .writerCardColorBar {display:block;width:100%;height:10px;border:1px solid #ffffff50;border-radius:999px;background:var(--card-color);}
  body.studio-refined #writerOutlineColors.writerCardColorPopover {position:fixed;z-index:40;display:block;width:max-content;height:auto;margin:0;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--surface-2);box-shadow:0 6px 20px #0006;}
  body.studio-refined #writerOutlineColors.writerCardColorPopover .writerOutlineColorPalette {position:static;display:flex;align-items:center;gap:6px;width:auto;min-width:0;max-width:none;height:auto;margin:0;padding:8px;border:0;border-radius:inherit;background:none;box-shadow:none;}
  body.studio-refined #writerOutlineColors.writerCardColorPopover .writerOutlineColorPalette>span {display:none;}
  body.studio-refined #writerOutlineColors.writerCardColorPopover [data-writer-outline-color] {position:relative;display:grid;place-items:center;flex:none;width:24px;min-width:24px;height:24px;min-height:24px;margin:0;padding:0;border:1px solid #ffffff40;border-radius:50%;background:var(--swatch);color:var(--surface-0);}
  body.studio-refined #writerOutlineColors.writerCardColorPopover [data-writer-outline-color]:is(:hover,:focus-visible) {outline:2px solid var(--text);outline-offset:2px;transform:none;}
  body.studio-refined #writerOutlineColors.writerCardColorPopover [data-writer-outline-color].active {outline:2px solid var(--text);outline-offset:2px;}
  body.studio-refined #writerOutlineColors.writerCardColorPopover [data-writer-outline-color].active::after {display:none;content:none;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineCard {padding:10px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineCard h3 {font-size:12px;line-height:18px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineCardHead {grid-template-columns:22px minmax(0,1fr)!important;column-gap:7px!important;row-gap:2px!important;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineNumber {width:22px;height:22px;line-height:22px;font-size:10px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineExcerpt {font-size:12px;line-height:19px;min-height:38px;margin:8px 0;}
  body.studio-refined #writerOutlineView .smallCards textarea[data-outline-note] {font-size:11px;line-height:17px;}
  body.studio-refined #writerOutlineView .smallCards textarea[data-outline-scene-note] {font-size:12px;line-height:19px;padding:7px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineMeta {font-size:10px!important;line-height:16px!important;}
  #writerOutlineCards .writerOutlineCard.dragging {opacity:.45;}
  #writerOutlineCards .writerOutlineCard.dragTarget {outline:0;}
  body.studio-refined #writerOutlineView .writerOutlineSectionBody {align-items:start;}
  body.studio-refined #writerOutlineView .writerOutlineCard {position:relative;align-self:start;height:auto;min-height:var(--outline-closed-height,0px);max-height:440px;gap:8px;padding:8px;border-bottom-right-radius:0;transition:min-height 240ms cubic-bezier(.22,1,.36,1);}
  body.studio-refined #writerOutlineView .writerOutlineCard.actions-open {min-height:calc(var(--outline-closed-height,0px) + var(--outline-expanded-height,0px));}
  body.studio-refined #writerOutlineView .writerOutlineCardHead {min-height:44px;align-items:center;column-gap:8px!important;}
  body.studio-refined #writerOutlineView .writerOutlineCard h3 {max-height:62px;font:550 12px/18px var(--sans);overflow:auto;text-wrap:wrap;}
  body.studio-refined #writerOutlineView .writerSceneDrag {width:24px;height:28px;font:500 11px/18px var(--sans);}
  body.studio-refined #writerOutlineView .writerOutlineExcerpt {min-height:44px;max-height:44px;margin:0;font:12px/18px var(--sans);-webkit-line-clamp:2;}
  body.studio-refined #writerOutlineView .writerOutlineExcerpt:focus {max-height:44px;}
  body.studio-refined #writerOutlineView textarea[data-outline-scene-note] {min-height:54px;max-height:72px;padding:6px 8px;}
  body.studio-refined #writerOutlineView .writerOutlineCardFoot {position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0!important;margin-top:0!important;padding-top:0;transition:margin-top 240ms cubic-bezier(.22,1,.36,1);}
  body.studio-refined #writerOutlineView .writerOutlineCard:not(.actions-open) .writerOutlineCardFoot {margin-top:-8px!important;}
  body.studio-refined #writerOutlineView .writerOutlineMeta {display:grid;place-items:center;box-sizing:border-box;min-height:12px;margin:8px 0 0;padding:0 16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font:600 10px/12px var(--sans)!important;}
  .writerOutlineMeta>.writerSegmentLabel {display:block;width:100%;overflow:hidden;text-overflow:ellipsis;line-height:12px;}
  .writerCardActionsReveal {order:1;display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-4px);transition:grid-template-rows 240ms cubic-bezier(.22,1,.36,1),opacity 180ms ease,transform 240ms cubic-bezier(.22,1,.36,1);}
  .writerCardActionsClip {min-height:0;overflow:hidden;}
  .writerOutlineCard.actions-open .writerCardActionsReveal {grid-template-rows:1fr;opacity:1;transform:none;}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerOutlineMove {box-sizing:border-box;width:calc(100% - 56px);height:28px;min-height:28px;gap:2px;margin:8px auto 0;justify-self:center;padding:2px;border:1px solid color-mix(in srgb,var(--card-color) 28%,var(--line));border-radius:5px;background:color-mix(in srgb,var(--card-color) 11%,var(--surface-0));}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerOutlineMove button {display:flex;align-items:center;justify-content:center;height:22px;min-height:22px;padding:0 8px;border:0;border-radius:3px;background:none;font:500 11px/18px var(--sans);}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerOutlineMove button:hover {background:color-mix(in srgb,var(--card-color) 18%,var(--surface-2));}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerCardColorButton {padding:6px;background:color-mix(in srgb,var(--card-color) 18%,var(--surface-1));}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerCardColorBar {height:8px;}
  body.studio-refined #writerOutlineView .writerCardFold {position:absolute;right:0;bottom:0;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:5px 0 0 0;background:transparent;color:var(--dim);cursor:pointer;overflow:hidden;}
  .writerCardFold::after {content:'';position:absolute;right:0;bottom:0;width:13px;height:13px;background:color-mix(in srgb,var(--text) 78%,var(--card-color));clip-path:polygon(100% 0,100% 100%,0 100%);transition:width 200ms ease,height 200ms ease,background 200ms ease;pointer-events:none;}
  body.studio-refined #writerOutlineView .writerCardFold:is(:hover,:focus-visible) {background:transparent;color:var(--text);box-shadow:none;}
  .writerCardFold:is(:hover,:focus-visible)::after {width:17px;height:17px;background:var(--text);}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineCard {padding:8px;gap:8px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineCardHead {grid-template-columns:24px minmax(0,1fr)!important;column-gap:8px!important;row-gap:0!important;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineExcerpt {min-height:44px;max-height:44px;margin:0;line-height:18px;}
  body.studio-refined #writerOutlineView :is(.writerOutlineExcerpt,.smallCards .writerOutlineExcerpt) {margin-top:auto;}
  body.studio-refined #writerOutlineView .smallCards textarea[data-outline-scene-note] {padding:6px 8px;}
  body.studio-refined #writerOutlineView .smallCards .writerOutlineMeta {font:600 10px/12px var(--sans)!important;}
  body.studio-refined #writerOutlineView :is(.writerOutlineCardHead,.smallCards .writerOutlineCardHead) {grid-template-columns:var(--scene-number-size,28px) minmax(0,1fr)!important;min-height:0;align-items:start;}
  body.studio-refined #writerOutlineView .writerSceneDrag {width:var(--scene-number-size,28px);height:var(--scene-number-size,28px);font:600 12px/18px var(--sans);font-variant-numeric:tabular-nums;}
  body.studio-refined #writerOutlineView .writerSceneDrag>.writerSegmentLabel {display:block;pointer-events:none;text-align:center;}
  body.studio-refined #writerOutlineView .writerOutlineCard h3 {min-height:28px;max-height:64px;padding:4px 3px;}
  body.studio-refined #writerOutlineView .writerOutlineCard.omitted {opacity:1;}
  body.studio-refined #writerOutlineView .writerOutlineCard.writerPassageFlash {outline:0!important;animation:none;}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerOutlineMove.writerInlineSwatches {grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:4px;width:100%;height:28px;min-height:28px;margin:0;padding:3px;border:0;background:color-mix(in srgb,var(--card-color) 7%,var(--surface-0));box-shadow:none;}
  .writerCardFold::after {width:11px;height:11px;}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerInlineSwatches button {position:relative;width:100%;height:22px;min-height:22px;padding:0;border:0;border-radius:3px;background:var(--swatch);outline:0;}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerInlineSwatches button:hover {background:var(--swatch);filter:brightness(1.1);}
  body.studio-refined #writerOutlineView .writerCardActionsReveal .writerInlineSwatches button:focus-visible {outline:1px solid var(--text);outline-offset:1px;}
  body.studio-refined #writerOmitSceneCommand {display:flex;align-items:center;justify-content:center;flex:none;height:28px;min-height:28px;margin:0;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--dim);font:500 11px/18px var(--sans);}
  body.studio-refined #writerOmitSceneCommand[hidden] {display:none;}
  body.studio-refined #writerOmitSceneCommand:hover {background:var(--surface-3);color:var(--text);}
  body.studio-refined #writerOmitSceneCommand[aria-pressed="true"] {color:var(--icon-coral);border-color:color-mix(in srgb,var(--icon-coral) 40%,var(--line));}
  @media(prefers-reduced-motion:reduce) {.writerCardActionsReveal,.writerCardFold::after,.writerOutlineCardFoot,body.studio-refined #writerOutlineView .writerOutlineCard {transition:none;}}
  body.studio-refined #sidebar #writerDrawer .writerSaveVersionButton {box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:4px;min-height:0;height:var(--sidebar-utility-height);width:100%;margin:0;padding:0 10px;border:1px solid var(--writer-resting-border);border-radius:5px;background:var(--surface-0);color:var(--text);font:500 11px/18px var(--sans);}
  .writerSaveVersionButton .systemIcon {display:block;flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
  body.studio-refined #writerSnapshotBtn.writerSaveVersionButton .systemIcon {stroke-width:2;}
  .writerSaveVersionButton>span {display:block;margin:0;padding:0;line-height:18px;}
  body.studio-refined #sidebar #writerDrawer .writerSaveVersionButton:hover {background:color-mix(in srgb,var(--writer-section-tone) 7%,var(--surface-0));border-color:color-mix(in srgb,var(--writer-section-tone) 45%,var(--line));}
  .writerSaveVersionButton .systemIcon {color:var(--writer-section-tone);}
  body.studio-refined #sidebar .writerSnapshot {display:flex;align-items:center;gap:6px;min-height:34px;padding:4px 6px;border:1px solid transparent;border-radius:6px;background:color-mix(in srgb,var(--icon-slate) 8%,var(--panel));box-shadow:none;}
  body.studio-refined #sidebar .writerSnapshot>span:first-child {display:block;flex:1;min-width:0;min-height:24px;padding:0;}
  body.studio-refined #sidebar .writerSnapshot .writerVersionName {display:block;min-width:0;max-width:100%;height:24px;margin:0;padding:2px 3px;border:0;border-radius:3px;outline:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text;font:550 12px/20px var(--sans);transition:background-color 180ms ease,box-shadow 180ms ease;}
  .writerVersionDateTooltip {position:fixed;z-index:1600;pointer-events:none;box-sizing:border-box;max-width:calc(100vw - 16px);padding:6px 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);color:var(--dim);font:400 11px/16px var(--sans);white-space:nowrap;box-shadow:0 4px 12px #0003;}
  body.studio-refined #sidebar .writerVersionName:hover {background:color-mix(in srgb,var(--icon-slate) 8%,transparent);}
  body.studio-refined #sidebar .writerVersionName:focus {text-overflow:clip;background:var(--surface-2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--icon-mint) 45%,var(--line));}
  body.studio-refined #sidebar .writerVersionName[aria-invalid="true"] {box-shadow:inset 0 0 0 1px var(--icon-coral);}
  body.studio-refined #sidebar .writerSnapshotActions {display:block;flex:none;min-height:24px;}
  .writerVersionControls {box-sizing:border-box;display:flex;align-items:center;gap:var(--writer-segment-gap);height:24px;margin:0;padding:var(--writer-segment-inset);border:var(--writer-segment-border) solid var(--writer-resting-border);border-radius:5px;background:color-mix(in srgb,var(--icon-slate) 4%,var(--surface-0));box-shadow:none;}
  body.studio-refined #sidebar .writerVersionControls>button {box-sizing:border-box;display:grid;place-items:center;min-width:0;min-height:0;height:calc(24px - var(--writer-segment-trim));margin:0;padding:0 5px;border:0;border-radius:3px;background:none;color:var(--text);font:500 11px/18px var(--sans);}
  body.studio-refined #sidebar .writerVersionControls>button+button {position:relative;}
  .writerVersionControls>button+button::before {content:none;}
  body.studio-refined #sidebar .writerVersionControls>button:hover {background:color-mix(in srgb,var(--icon-slate) 12%,transparent);}
  body.studio-refined #sidebar .writerVersionControls .writerSnapshotDelete {display:grid;place-items:center;width:calc(24px - var(--writer-segment-trim));min-width:0;margin:0;padding:0;color:color-mix(in srgb,var(--text) 75%,var(--dim));}
  body.studio-refined #sidebar .writerVersionControls .writerSnapshotDelete svg {display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #sidebar .writerVersionControls .writerSnapshotDelete:hover {color:var(--icon-coral);background:color-mix(in srgb,var(--icon-coral) 9%,transparent);}
  body.studio-refined #sidebar .writerSnapshotEmpty {box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;width:100%;margin:0;padding:8px;border:0;border-radius:6px;background:color-mix(in srgb,var(--icon-slate) 5%,var(--panel));box-shadow:none;}
  body.studio-refined #sidebar .writerSnapshotEmpty::before {display:none;}
  body.studio-refined #sidebar .writerSnapshotEmpty b {font:500 11px/18px var(--sans);color:var(--dim);}
  .writerEmptyVersionIcon {display:grid;place-items:center;flex:none;width:18px;height:18px;color:var(--icon-slate);}
  .writerEmptyVersionIcon svg {display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
  body.studio-refined #sidebar .writerSnapshotEmpty small {font:11px/18px var(--sans);color:var(--dim);}


  .writerWorkflowDialog {width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:hidden;}
  .writerWorkflowDialog[open] {display:flex;flex-direction:column;}
  .writerWorkflowDialog>header {display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:20px 24px;border-bottom:1px solid var(--line);}
  .writerWorkflowDialog h2 {margin:0;font:550 21px/28px var(--sans);}
  .writerWorkflowDialog>header>button {display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:7px;}
  .writerWorkflowDialog>header .systemIcon {width:18px;height:18px;}
  .writerWorkflowDialog form {display:flex;flex-direction:column;min-height:0;}
  .writerWorkflowBody {min-height:0;overflow-y:auto;padding:20px 24px;}
  .writerWorkflowBody p {margin:0 0 14px;font:13px/21px var(--sans);color:var(--dim);}
  .writerWorkflowBody p:last-child {margin-bottom:0;}
  .writerWorkflowBody>label,.writerRenameFields>label {display:grid;gap:7px;margin-bottom:16px;color:var(--dim);font:12px/18px var(--sans);}
  body.studio-refined .writerWorkflowDialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {width:100%;min-width:0;min-height:38px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);color:var(--text);font:13px/20px var(--sans);}
  .writerWorkflowDialog footer {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;flex:none;gap:8px;padding:16px 24px;border-top:1px solid var(--line);}
  .writerWorkflowDialog footer button {min-height:36px;padding:7px 12px;font:12px/20px var(--sans);}
  body.studio-refined .writerWorkflowDialog footer .primary {border-color:var(--accent);background:var(--accent);color:#1b1d1e;}
  body.studio-refined .writerWorkflowDialog footer .destructive {color:var(--icon-coral);border-color:var(--icon-coral);}
  .writerProductCheck {display:flex!important;align-items:center;gap:8px!important;font:12px/20px var(--sans);color:var(--dim);}
  .writerProductCheck input {flex:none;width:15px;height:15px;min-height:15px;margin:0;accent-color:var(--accent);}
  .writerWorkflowError {color:var(--icon-coral)!important;margin:14px 0 0!important;}
  .writerSceneColorField {display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:0;border:0;}
  .writerSceneColorField legend {margin-bottom:10px;font:12px/18px var(--sans);color:var(--dim);}
  .writerSceneColorField label {display:grid;justify-items:center;gap:6px;position:relative;cursor:pointer;}
  .writerSceneColorField input {position:absolute;opacity:0;width:26px;height:26px;}
  .writerSceneColorField span {display:block;width:26px;height:26px;border:3px solid var(--panel);border-radius:50%;background:var(--scene-color);}
  .writerSceneColorField input:checked+span,.writerSceneColorField input:focus-visible+span {outline:2px solid var(--text);outline-offset:2px;}
  .writerSceneColorField small {font:10px/16px var(--sans);color:var(--dim);}
  .writerRenameFields {display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  #writerRenamePreview {display:grid;gap:8px;}
  #writerRenamePreview article {padding:10px;border:1px solid var(--line);border-radius:5px;}
  #writerRenamePreview small {display:block;margin-bottom:6px;font:11px/17px var(--sans);color:var(--dim);}
  #writerRenamePreview :is(del,ins) {display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/19px var(--mono);text-decoration:none;}
  #writerRenamePreview del {color:var(--icon-coral);}
  #writerRenamePreview ins {margin-top:5px;color:var(--icon-mint);}

  body.studio-refined #writerCompareWrap .utilityDialog {width:min(1040px,calc(100vw - 32px));height:auto;max-width:none;max-height:min(800px,calc(100dvh - 48px));border-radius:10px;}
  body.studio-refined #writerCompareWrap .utilityDialogHead {min-height:52px;gap:12px;padding:12px 16px;}
  body.studio-refined #writerCompareWrap #writerCompareTitle {display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin:0;font:550 16px/24px var(--sans);letter-spacing:0;}
  body.studio-refined #writerCompareWrap #writerCompareTitle>span {display:inline;max-width:100%;margin:0;color:var(--text);font:inherit;letter-spacing:0;text-transform:none;overflow-wrap:anywhere;}
  body.studio-refined #writerCompareWrap #writerCompareTitle>.writerCompareAgainst {color:var(--dim);font-weight:400;}
  body.studio-refined #writerCompareWrap .utilityDialogBody {padding:12px 16px 16px;}
  body.studio-refined #writerCompareWrap .utilityDialogFoot {min-height:52px;padding:9px 16px;}
  body.studio-refined #writerCompareWrap .utilityDialogFoot button {height:32px;min-height:32px;padding:6px 11px;border-radius:5px;font:500 12px/20px var(--sans);}
  #writerCompareSummary {position:sticky;top:-12px;z-index:3;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0;padding:8px 0;border:0;border-radius:0;background:var(--panel);}
  .writerCompareNavigation {display:flex;align-items:center;gap:8px;}
  .writerCompareNavigation>span {font:12px/18px var(--sans);color:var(--dim);}
  .writerCompareNavigation button {min-height:32px;padding:6px 9px;font-size:12px;}
  #writerCompareChanges {display:grid;gap:12px;margin-top:12px;}
  .writerCompareScene {min-width:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;scroll-margin-top:64px;}
  .writerCompareScene>header {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:var(--surface-2);}
  .writerCompareScene h3 {margin:0;font:550 13px/20px var(--sans);overflow-wrap:anywhere;}
  .writerCompareSceneNumber {display:inline-block;margin-right:9px;color:var(--icon-mint);font:500 11px/20px var(--sans);white-space:nowrap;}
  .writerCompareScene>header>span {flex:none;color:var(--dim);font:11px/18px var(--sans);}
  .writerDiffHeading,.writerDiffColumns {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .writerDiffHeading {gap:14px;padding:6px 12px 6px 92px;border-bottom:1px solid var(--line);font:11px/18px var(--sans);color:var(--dim);}
  .writerDiffRow {display:grid;grid-template-columns:70px minmax(0,1fr);align-items:start;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line-soft);}
  .writerDiffRow>small {display:block;min-width:0;margin:0;color:var(--dim);font:10px/19px var(--sans);}
  .writerDiffColumns {min-width:0;gap:14px;}
  .writerDiffColumns>div {min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/21px var(--mono);}
  .writerDiffColumns del {border-radius:2px;background:color-mix(in srgb,var(--icon-coral) 18%,transparent);color:var(--text);text-decoration:line-through;text-decoration-color:var(--icon-coral);text-decoration-thickness:1px;}
  .writerDiffColumns ins {border-radius:2px;background:color-mix(in srgb,var(--icon-mint) 21%,transparent);color:var(--text);text-decoration:underline;text-decoration-color:var(--icon-mint);text-decoration-thickness:1px;text-underline-offset:3px;}
  .writerDiffRow.context .writerDiffColumns {color:var(--dim);}
  .writerCompareFilters {display:flex;align-items:center;flex-wrap:wrap;gap:14px;}
  body.studio-refined #writerCompareContext {min-height:30px;padding:5px 9px;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);color:var(--text);font:12px/18px var(--sans);}
  body.studio-refined #writerCompareContext[aria-pressed="true"] {border-color:var(--icon-mint);background:color-mix(in srgb,var(--icon-mint) 12%,var(--panel));}
  .writerCompareSceneActions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;padding:8px 12px;}
  .writerCompareSceneActions button {min-height:28px;padding:4px 8px;font:11px/18px var(--sans);}
  .writerEmptyComparison {padding:32px 0;text-align:center;color:var(--dim);font:13px/20px var(--sans);}
  .writerCompareFlash {outline:2px solid transparent;outline-width:2px!important;outline-style:solid!important;outline-offset:3px;animation:writerPassageFlash 2s cubic-bezier(.22,.61,.36,1);}

  #writerListenBar {display:flex;align-items:center;gap:10px;flex:none;padding:10px 16px;border-top:1px solid var(--line);background:var(--surface-2);}
  #writerListenBar>div {display:grid;gap:3px;flex:1;min-width:0;}
  #writerListenBar b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 12px/20px var(--sans);}
  #writerListenBar span[role=status] {font:11px/17px var(--sans);color:var(--dim);}
  #writerListenBar button {display:flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:34px;padding:7px 10px;font:12px/18px var(--sans);}
  #writerListenBar .systemIcon {width:18px;height:18px;}
  #writerListenToggle .systemIcon {fill:currentColor;stroke:none;}
  #writerListenToggle .systemIcon:has(path[d="M6 4v12M14 4v12"]) {fill:none;stroke:currentColor;stroke-width:4;}
  #writerListenClose {width:32px;}
  @media(max-width:700px) {
    .writerRenameFields {grid-template-columns:1fr;gap:0;}
    .writerWorkflowDialog>header,.writerWorkflowBody {padding:16px;}
    .writerWorkflowDialog footer {padding:14px 16px;}
    body.studio-refined #writerOutlineView {padding:16px;}
    body.studio-refined #writerToolbar {padding-inline:10px;}
    .writerProductMenu>summary {padding-inline:7px;}
    #writerSceneMenu>summary>.systemIcon:first-child {display:none;}
    .writerDiffColumns {grid-template-columns:1fr;gap:10px;}
    .writerDiffRow {grid-template-columns:minmax(0,1fr);gap:4px;}
    .writerDiffHeading {padding-left:12px;}
    .writerDiffColumns>div:first-child::before {content:'Saved · ';color:var(--dim);font:10px/18px var(--sans);}
    .writerDiffColumns>div:last-child::before {content:'Current · ';color:var(--dim);font:10px/18px var(--sans);}
    .writerDiffHeading {display:none;}
    #writerListenBar {padding-inline:10px;}
  }
  @media(prefers-reduced-motion:reduce) {.writerPassageFlash,.writerCompareFlash,body.studio-refined .item.noteTarget,body.studio-refined .productionTargetFocus {animation:none;outline:2px solid var(--accent);outline-offset:3px;}}
}
@media print {#writerFeedbackMarkers,#writerListenBar,#writerSceneMenu,#writerRevisionStatus,#writerSidebarToggle,.writerSceneFinder {display:none!important;}}

body.studio-refined #sidebar #writerFindBar :is(#writerReplaceOne,#writerReplaceAll) {box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:28px;min-height:0;margin:0;padding:0 6px;font:500 11px/18px var(--sans);}
body.studio-refined #sidebar #writerFindBar :is(#writerReplaceOne,#writerReplaceAll)>.workspaceControlLabel {position:relative;top:var(--writer-label-offset,-1px);line-height:18px;}
/* Center the visible plus-and-label group; icons share the same compact size. */
body.studio-refined #sidebar #writerNewNote .systemIcon,body.studio-refined #sidebar #writerSnapshotBtn.writerSaveVersionButton .systemIcon {width:12px;height:12px;flex:0 0 12px;position:static;align-self:center;}
body.studio-refined #sidebar #writerNewNote .writerNewNoteFace {display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:0 6px 0 4px;}
/* Search uses the same optical text inset as the approved title-page fields. */
body.studio-refined #sidebar #writerDrawer #writerSceneSearch {--field-inset:calc((var(--writer-control-height) - 18px - 2px) / 2);box-sizing:border-box;height:var(--writer-control-height);min-height:0;margin:0;padding:calc(var(--field-inset) + var(--writer-label-offset)) 8px calc(var(--field-inset) - var(--writer-label-offset));font:500 11px/18px var(--sans);appearance:none;}

/* A single quiet surface, with shallow controls instead of nested dark cutouts. */
body.studio-refined #sidebar #writerReviewComposer {--composer-edge:color-mix(in srgb,var(--composer-accent) 24%,var(--line));gap:8px;padding:10px;border-radius:8px;background:color-mix(in srgb,var(--composer-accent) 6%,var(--surface-1));box-shadow:none;}
body.studio-refined #sidebar #writerReviewComposer:focus-within {border-color:color-mix(in srgb,var(--composer-accent) 60%,var(--line));}
body.studio-refined #sidebar #writerReviewTarget {gap:4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
body.studio-refined #sidebar #writerReviewTarget>span {font:500 11px/16px var(--sans);}
body.studio-refined #sidebar #writerReviewTarget>q {color:var(--dim);}
body.studio-refined #sidebar #writerReviewText {min-height:64px;padding:7px 8px;border-color:var(--composer-edge);border-radius:6px;background:color-mix(in srgb,var(--composer-accent) 3%,var(--surface-1));font:400 12px/20px var(--sans);box-shadow:none;}
body.studio-refined #sidebar #writerReviewText:focus {border-color:color-mix(in srgb,var(--composer-accent) 65%,var(--line));outline:none;box-shadow:0 0 0 1px color-mix(in srgb,var(--composer-accent) 12%,transparent);}
body.studio-refined #sidebar #writerNoteVoice {height:28px;padding:0 8px;border-color:color-mix(in srgb,var(--composer-accent) 20%,var(--line));background:color-mix(in srgb,var(--composer-accent) 7%,var(--surface-2));}
body.studio-refined #sidebar #writerNoteVoice:hover {background:color-mix(in srgb,var(--composer-accent) 14%,var(--surface-2));}
body.studio-refined #sidebar #writerNoteVoice>span {position:relative;top:var(--writer-label-offset);}
body.studio-refined #sidebar .writerNoteSaveHint {display:inline-flex;align-items:center;gap:5px;min-height:20px;font:400 10px/16px var(--sans);}
body.studio-refined #sidebar .writerNoteSaveHint kbd {box-sizing:border-box;display:inline-grid;place-items:center;height:20px;min-width:36px;margin:0;padding:0 5px;border:1px solid var(--line);border-radius:4px;background:color-mix(in srgb,var(--composer-accent) 5%,var(--surface-2));color:var(--text);font:500 10px/16px var(--sans);}
body.studio-refined #sidebar .writerNoteSaveHint>span,body.studio-refined #sidebar .writerNoteSaveHint kbd>span {position:relative;top:var(--writer-label-offset);}

/* Attachment first; compact input actions share one baseline under the field. */
body.studio-refined #sidebar #writerReviewComposer .writerNoteComposerFoot {display:flex;align-items:center;justify-content:space-between;min-height:20px;gap:8px;}
body.studio-refined #sidebar #writerReviewComposer .writerNoteComposerFoot #writerNoteVoice {height:20px;min-height:0;margin:0 0 0 auto;padding:0 5px;border-radius:4px;gap:3px;font:500 10px/16px var(--sans);}
body.studio-refined #sidebar #writerReviewComposer #writerNoteVoice .systemIcon {width:12px;height:12px;align-self:center;}
body.studio-refined #sidebar #writerReviewComposer #writerNoteVoice>span {line-height:16px;}
body.studio-refined #sidebar #writerReviewComposer.recording {border-color:var(--icon-coral);}
body.studio-refined #sidebar #writerReviewComposer.recording .writerNoteSaveHint {visibility:visible;}

/* One compact heading row; the complete heading stays in its accessible label. */
body.studio-refined #sidebar #writerSceneNav .writerSceneNavTarget {min-height:36px;padding:6px 8px;gap:8px;}
body.studio-refined #sidebar #writerSceneNav .has-notes .writerSceneNavTarget {padding-right:40px;}
.writerSceneHeadingLine {display:flex;align-items:center;gap:5px;min-width:0;height:18px;}
body.studio-refined #sidebar #writerSceneNav .writerSceneHeadingLine>b {flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;text-wrap:nowrap;font:500 11px/18px var(--sans);color:var(--text);}
.writerSceneHeadingLine .writerSceneTag {flex:none;white-space:nowrap;color:var(--dim);font:500 9px/18px var(--sans);}
body.studio-refined #sidebar #writerSceneNav .writerSceneNavItem {min-height:0;height:auto;}

/* One stable native drag surface; the marker shows the exact script insertion. */
.writerOutlineDropMarker {position:fixed;z-index:1100;box-sizing:border-box;pointer-events:none;border:1px solid color-mix(in srgb,var(--icon-mint) 70%,transparent);border-radius:8px;background:color-mix(in srgb,var(--icon-mint) 7%,transparent);box-shadow:0 0 0 3px #a8c9bc16,0 6px 18px #0002;transition:left 100ms ease-out,top 100ms ease-out,width 100ms ease-out,height 100ms ease-out;}
.writerOutlineDropMarker[hidden] {display:none;}
@media(prefers-reduced-motion:reduce) {.writerOutlineDropMarker {transition:none;}}

/* A group is selected by its name; folding is a separate, centered control. */
body.studio-refined #writerOutlineView .writerOutlineSectionHead {box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:8px;height:44px;padding:0;background:none;}
body.studio-refined #writerOutlineView .writerOutlineSectionLabel {display:flex;align-items:center;justify-content:flex-start;gap:6px;box-sizing:border-box;flex:0 1 auto;justify-self:start;min-width:0;width:max-content;max-width:100%;height:28px;min-height:0;padding:0 6px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--text);font:600 11px/18px var(--sans);cursor:grab;text-align:left;}
.writerOutlineSectionLabel .writerOutlineSectionTitle {position:relative;top:var(--writer-label-offset,-1px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.studio-refined #writerOutlineView .section-selected>.writerOutlineSectionHead .writerOutlineSectionLabel {border-color:color-mix(in srgb,var(--icon-mint) 50%,var(--line));background:color-mix(in srgb,var(--icon-mint) 10%,var(--panel));}
body.studio-refined #writerOutlineView .writerOutlineSection[data-outline-section^="sequence:"]>.writerOutlineSectionHead .writerOutlineSectionLabel {font-weight:500;color:var(--dim);}
.writerOutlineGroupIcon {display:grid;place-items:center;align-self:center;flex:none;width:14px;height:14px;pointer-events:none;}
.writerOutlineGroupIcon svg {display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.writerOutlineActIcon {color:#ce9c83;}
.writerOutlineSequenceIcon {color:var(--icon-mint);}
.writerOutlineGroupIconDetail {stroke:var(--text);}
body.studio-refined #writerOutlineView .writerOutlineSectionHead>small {display:grid;place-items:center;flex:none;white-space:nowrap;height:28px;font:500 10px/18px var(--sans);}
body.studio-refined #writerOutlineView .writerOutlineSectionToggle {display:grid;place-items:center;box-sizing:border-box;flex:none;width:28px;height:28px;min-height:0;margin:0;padding:0;border:0;border-radius:5px;background:transparent;color:var(--dim);}
body.studio-refined #writerOutlineView .writerOutlineSectionToggle:hover {background:var(--surface-2);}
body.studio-refined #writerOutlineView .writerGroupEditor {box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:2px;width:min(340px,100%);min-width:0;height:28px;margin:0;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);}
body.studio-refined #writerOutlineView .writerGroupEditor input {box-sizing:border-box;flex:1;min-width:0;width:0;height:22px;min-height:0;margin:0;padding:0 6px 2px;border:0;border-radius:3px;background:var(--surface-2);color:var(--text);font:500 11px/18px var(--sans);outline:0;box-shadow:none;}
body.studio-refined #writerOutlineView .writerGroupEditor>.writerSegmentLabel {display:grid;place-items:center;flex:1;height:22px;min-width:0;font:500 11px/18px var(--sans);}
body.studio-refined #writerOutlineView .writerGroupEditor>.writerInlineCircle {box-sizing:border-box;flex:none;width:22px;height:22px;min-height:0;margin:0;padding:4px;border:0;border-radius:3px;}
.writerGroupMenu {position:fixed;z-index:1250;display:grid;gap:2px;width:max-content;padding:4px;border:1px solid var(--line);border-radius:6px;background:var(--surface-1);box-shadow:0 10px 28px #0005;}
.writerGroupMenu {max-width:min(360px,calc(100vw - 16px));grid-template-columns:minmax(0,1fr);}
.writerGroupMenu>button {box-sizing:border-box;min-width:0;max-width:100%;}
.writerGroupMenu>button>span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.studio-refined .writerGroupMenu .writerGroupDelete {display:flex;align-items:center;gap:2px;box-sizing:border-box;width:100%;height:28px;margin:0;padding:2px;border:1px solid var(--line);border-radius:5px;background:var(--surface-0);}
.writerGroupDelete .writerSegmentLabel {display:grid;place-items:center;flex:1;min-width:0;height:22px;font:500 11px/18px var(--sans);}
body.studio-refined .writerGroupMenu .writerGroupDelete .writerInlineCircle {display:grid;place-items:center;box-sizing:border-box;flex:none;width:22px;height:22px;min-height:0;margin:0;padding:4px;border:0;border-radius:3px;}
.writerOutlineDropMarker.root-target {display:grid;place-items:center;overflow:hidden;padding:0 8px;white-space:nowrap;text-overflow:ellipsis;color:var(--icon-mint);font:500 11px/18px var(--sans);}
body.studio-refined .writerGroupMenu>button {display:flex;align-items:center;justify-content:flex-start;width:100%;height:28px;min-height:0;margin:0;padding:0 8px;border:0;border-radius:3px;background:transparent;color:var(--text);font:500 11px/18px var(--sans);}
body.studio-refined .writerGroupMenu>button:hover {background:var(--surface-2);}
#writerOutlineCards .group-dragging {opacity:.5;}

body.studio-refined #writerOutlineView .writerOutlineSectionLabel:hover {transform:none;background:var(--surface-1);}
body.studio-refined #writerOutlineView .writerOutlineSectionToggle:hover,body.studio-refined .writerGroupMenu>button:hover {transform:none;}

body.studio-refined #writerOutlineView .writerOutlineSectionHead {cursor:grab;}
body.studio-refined #writerOutlineView .writerOutlineSectionToggle,body.studio-refined #writerOutlineView .writerGroupEditor button {cursor:pointer;}
body.studio-refined #writerOutlineView .writerGroupEditor input {cursor:text;}
body.studio-refined #writerOutlineView .group-dragging .writerOutlineSectionHead {cursor:grabbing;}
