.sb-editor-area{min-height:60vh;flex:1;width:100%;max-width:calc(var(--layout-page-width, 100%) + 2 * var(--space-3));margin-inline:auto;padding:var(--space-4) var(--space-3);font-family:var(--layout-font-family,var(--font-sans));font-size:var(--layout-font-size,.875rem);line-height:var(--layout-line-height,2);color:var(--color-foreground);outline:none}.sb-editor-area:focus,.sb-editor-area:focus-visible{outline:none}.sb-editor-area p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--color-muted-foreground);float:left;height:0;pointer-events:none;white-space:pre-line}.sb-editor-area>.sb-character,.sb-scene-heading{font-weight:600}.sb-editor-area>.sb-note,.sb-editor-area>.sb-parenthetical{color:var(--color-muted-foreground)}.sb-editor-area>.sb-shot,.sb-editor-area>.sb-transition{font-weight:600;color:var(--color-muted-foreground)}.sb-editor-area[contenteditable=true]:not([data-ruled-lines])>*,.sb-editor-area[contenteditable=true][data-ruled-lines=true]>*{background-image:linear-gradient(to bottom,transparent calc(var(--layout-line-height) - 1px),var(--color-border) calc(var(--layout-line-height) - 1px),var(--color-border) var(--layout-line-height));background-size:100% var(--layout-line-height)}.sb-editor-area[contenteditable=true][data-ruled-lines=false]>*{background-image:none}.sb-scene-number{font-size:.75rem;font-weight:400;color:var(--color-muted-foreground);letter-spacing:normal;display:inline-block}.sb-block-icon,.sb-scene-number{user-select:none;pointer-events:none;line-height:0;vertical-align:baseline}.sb-block-icon{display:inline-flex;align-items:center;margin-right:var(--space-1,.25rem);color:inherit}.sb-editor-area>.sb-action,.sb-editor-area>.sb-character,.sb-editor-area>.sb-dialogue,.sb-editor-area>.sb-note,.sb-editor-area>.sb-parenthetical,.sb-editor-area>.sb-scene-heading,.sb-editor-area>.sb-shot,.sb-editor-area>.sb-transition{margin-top:0;margin-bottom:0;margin-left:0;width:min(var(--layout-action-content-width,100%),100%);font-size:var(--layout-action-font-size,inherit);line-height:var(--layout-action-line-height,inherit);text-align:var(--layout-action-text-align,left);text-transform:var(--layout-action-text-transform,none);letter-spacing:var(--layout-action-letter-spacing,normal)}.sb-editor-area>.sb-scene-heading{margin-left:var(--layout-scene_heading-indent,0);margin-top:var(--layout-scene_heading-margin-top,0);margin-bottom:var(--layout-scene_heading-margin-bottom,0);width:min(var(--layout-scene_heading-content-width,100%),100%);font-size:var(--layout-scene_heading-font-size,inherit);line-height:var(--layout-scene_heading-line-height,inherit);text-align:var(--layout-scene_heading-text-align,left);text-transform:var(--layout-scene_heading-text-transform,none);letter-spacing:var(--layout-scene_heading-letter-spacing,normal)}.sb-editor-area>.sb-action{margin-left:var(--layout-action-indent,0);margin-top:var(--layout-action-margin-top,0);margin-bottom:var(--layout-action-margin-bottom,0);width:min(var(--layout-action-content-width,100%),100%)}.sb-editor-area>.sb-character{margin-left:var(--layout-character-indent,0);margin-top:var(--layout-character-margin-top,0);margin-bottom:var(--layout-character-margin-bottom,0);width:min(var(--layout-character-content-width,100%),100%);font-size:var(--layout-character-font-size,inherit);line-height:var(--layout-character-line-height,inherit);text-align:var(--layout-character-text-align,left);text-transform:var(--layout-character-text-transform,none);letter-spacing:var(--layout-character-letter-spacing,normal)}.sb-editor-area>.sb-parenthetical{display:block;margin-left:var(--layout-parenthetical-indent,0);margin-top:var(--layout-parenthetical-margin-top,0);margin-bottom:var(--layout-parenthetical-margin-bottom,0);width:min(var(--layout-parenthetical-content-width,100%),100%);font-size:var(--layout-parenthetical-font-size,inherit);line-height:var(--layout-parenthetical-line-height,inherit);text-align:var(--layout-parenthetical-text-align,left);text-transform:var(--layout-parenthetical-text-transform,none);letter-spacing:var(--layout-parenthetical-letter-spacing,normal)}.sb-editor-area>.sb-parenthetical:after{content:"）"}.sb-editor-area>.sb-parenthetical.sb-paren-empty>br{display:none}.sb-editor-area>.sb-dialogue{margin-left:var(--layout-dialogue-indent,0);margin-top:var(--layout-dialogue-margin-top,0);margin-bottom:var(--layout-dialogue-margin-bottom,0);width:min(var(--layout-dialogue-content-width,100%),100%);font-size:var(--layout-dialogue-font-size,inherit);line-height:var(--layout-dialogue-line-height,inherit);text-align:var(--layout-dialogue-text-align,left);text-transform:var(--layout-dialogue-text-transform,none);letter-spacing:var(--layout-dialogue-letter-spacing,normal)}.sb-editor-area>.sb-transition{margin-left:var(--layout-transition-indent,0);margin-top:var(--layout-transition-margin-top,0);margin-bottom:var(--layout-transition-margin-bottom,0);width:min(var(--layout-transition-content-width,100%),100%);font-size:var(--layout-transition-font-size,inherit);line-height:var(--layout-transition-line-height,inherit);text-align:var(--layout-transition-text-align,left);text-transform:var(--layout-transition-text-transform,none);letter-spacing:var(--layout-transition-letter-spacing,normal)}.sb-editor-area>.sb-shot{margin-left:var(--layout-shot-indent,0);margin-top:var(--layout-shot-margin-top,0);margin-bottom:var(--layout-shot-margin-bottom,0);width:min(var(--layout-shot-content-width,100%),100%);font-size:var(--layout-shot-font-size,inherit);line-height:var(--layout-shot-line-height,inherit);text-align:var(--layout-shot-text-align,left);text-transform:var(--layout-shot-text-transform,none);letter-spacing:var(--layout-shot-letter-spacing,normal)}.sb-editor-area>.sb-note{margin-left:var(--layout-note-indent,0);margin-top:var(--layout-note-margin-top,0);margin-bottom:var(--layout-note-margin-bottom,0);width:min(var(--layout-note-content-width,100%),100%);font-size:var(--layout-note-font-size,inherit);line-height:var(--layout-note-line-height,inherit);text-align:var(--layout-note-text-align,left);text-transform:var(--layout-note-text-transform,none);letter-spacing:var(--layout-note-letter-spacing,normal)}.sb-editor-shell{background:transparent}.ProseMirror-gapcursor,.sb-editor-area[contenteditable=false] .sb-block-icon{display:none}.sb-capture-hint{margin-left:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-foreground);font-size:var(--text-xs);line-height:1;padding:var(--space-1) var(--space-2);vertical-align:middle;cursor:pointer}.sb-capture-hint:hover{background:color-mix(in oklab,var(--color-accent) 10%,var(--color-surface))}@media print{.sb-capture-hint{display:none}}.sb-editor-area>.sb-shot,.sb-editor-area>.sb-transition{display:block;width:fit-content;max-width:100%;background:var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-2)}.sb-editor-area>.sb-shot{margin-inline:auto}.sb-editor-area>.sb-transition{margin-left:auto}html[data-viewport-mode=narrow] .sb-editor-shell{background:var(--color-surface-raised);border-radius:var(--radius-xl);box-shadow:var(--elevation-1);padding:var(--space-4);margin-inline:calc(var(--space-2) * -1);margin-bottom:var(--space-1)}html[data-viewport-mode=narrow] .sb-editor-area{padding:0;min-height:0;caret-color:var(--color-accent)}html[data-viewport-mode=narrow] .sb-editor-area>:first-child{margin-top:var(--space-4)!important}html[data-viewport-mode=narrow] .sb-editor-area>.sb-dialogue{margin-left:auto;margin-right:auto;width:min(78%,var(--layout-dialogue-content-width,100%),100%);color:var(--color-muted-foreground);border-radius:var(--radius-md);padding:0 var(--space-2)}html[data-viewport-mode=narrow] .sb-editor-area>.sb-dialogue.sb-focus-block{background:var(--color-surface);color:var(--color-foreground);padding:var(--space-1) var(--space-2)}html[data-viewport-mode=narrow] .sb-editor-area>.sb-parenthetical{margin-inline:auto;width:min(78%,var(--layout-parenthetical-content-width,100%),100%)}html[data-viewport-mode=narrow] .sb-editor-area>.sb-character{margin-left:0;margin-right:0;text-align:center}html[data-viewport-mode=narrow] .sb-editor-area[contenteditable=true]:not([data-ruled-lines])>*,html[data-viewport-mode=narrow] .sb-editor-area[contenteditable=true][data-ruled-lines=true]>*{background-image:none}