.sn-scene-preview {position:absolute;inset:0;width:100%;height:100%;z-index:50;pointer-events:none;object-fit:fill;}
body.sn-shared-render #manuscriptBoard {background:none!important;filter:none!important;}
body.sn-shared-render #boardBorder,body.sn-shared-render #redDotsCanvas,body.sn-shared-render .corner-tag,body.sn-shared-render .v2-ordered-mark {opacity:0!important;}
body.sn-shared-render .board-ornament img {visibility:hidden!important;}
body.sn-shared-render .calligraphy-word,body.sn-shared-render #calligraphyText {color:transparent!important;-webkit-text-fill-color:transparent!important;background:none!important;text-shadow:none!important;filter:none!important;}
.sn-surface-panel {padding:15px 0;border-bottom:1px solid var(--panel-border,#d7ddc9);margin-bottom:14px;}
.sn-surface-panel h3 {margin:0 0 9px;font-size:14px;font-weight:700;color:#31432d;}
.sn-surface-panel p,.sn-surface-note {font-size:12px;line-height:1.65;color:#68745e;margin:8px 0;}
.sn-material-presets {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0;}
.sn-material-presets button {min-height:44px;background:#f8f9ef;border:1px solid #d5ddc4;border-radius:8px;color:#37492f;font:inherit;cursor:pointer;}
.sn-material-presets [aria-pressed=true] {background:#e4ebd5;border-color:#7e9365;box-shadow:inset 0 0 0 1px #7e9365;}
.sn-owned-materials h4 {font-size:12px;margin:16px 0 5px;color:#31432d;}
.sn-owned-materials button {padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;}
.sn-owned-materials canvas {width:100%;height:57px;object-fit:contain;}
#snMaterialTarget {font-size:12px;line-height:1.6;color:#68745e;}
.sn-surface-field {display:flex;flex-direction:column;gap:7px;font-size:12px;margin:12px 0;min-width:0;}
.sn-surface-field input[type=range] {width:100%;accent-color:#71835a;min-height:26px;}
.sn-surface-field input[type=number],.sn-surface-field select {box-sizing:border-box;min-height:44px;width:100%;border:1px solid #d5ddc4;background:#fffef7;color:#31432d;border-radius:7px;padding:8px;font:inherit;}
.sn-surface-check {display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;}
.sn-surface-check input {width:18px;height:18px;accent-color:#71835a;}
.sn-stroke-controls {min-width:0;margin:18px 0 6px;padding:8px 12px 12px;border:1px solid #d5ddc4;border-radius:8px;}
.sn-stroke-controls legend {font-size:13px;font-weight:600;padding-inline:6px;color:#31432d;}
.sn-stroke-color {display:flex;align-items:center;gap:12px;}
.sn-stroke-color input[type=color] {width:56px;height:44px;padding:3px;border:1px solid #d5ddc4;border-radius:6px;background:#fffef7;cursor:pointer;}
.sn-stroke-color output {font-family:ui-monospace,monospace;font-size:12px;unicode-bidi:isolate;}
.sn-stroke-controls .sn-surface-field > span:first-child {display:flex;justify-content:space-between;gap:8px;}
.sn-stroke-controls output[data-stroke-value] {font-variant-numeric:tabular-nums;unicode-bidi:isolate;color:#526343;}
.sn-stroke-controls input:disabled {opacity:.5;cursor:default;}
.sn-print-fields {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
#snPrintSummary {display:block;font-size:12px;line-height:1.7;color:#354a30;unicode-bidi:isolate;}
#snRenderStatus {color:#9b452c;}
.sn-paper-drag {width:100%;min-height:44px;margin:6px 0;}
.sn-paper-drag[aria-pressed=true] {background:#dce6c9;box-shadow:inset 0 0 0 1px #7e9365;}
#manuscriptBoard.sn-moving-paper {cursor:grab;touch-action:none;}
#manuscriptBoard.is-dragging-paper {cursor:grabbing;}
.v2-export-top .v2-field {display:none;}
.sn-surface-panel button:focus-visible,.sn-surface-panel input:focus-visible,.sn-surface-panel select:focus-visible,.sn-paper-drag:focus-visible {outline:2px solid #657e4d;outline-offset:3px;}
