.state-demo{border:1px solid #d4ddd1;border-radius:8px;background:#fcfcf6;overflow:hidden}.state-demo-header{padding:24px 26px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.state-demo-kicker{font-size:10px;letter-spacing:1px;color:#87937d;margin:0 0 8px}.state-demo-header h3{font:23px var(--serif);color:#415643;margin:0}.state-result{display:flex;flex-direction:column;align-items:flex-end;gap:5px;max-width:330px}.state-result-label{font-size:9px;color:#8b9585}.state-result strong{font:23px var(--serif);color:#8f7934}.state-result small{font-size:11px;color:#87917d}.state-result[data-state="strong"] strong{color:#c95550}.state-result[data-state="veryweak"] strong{color:#56822a}.state-result[data-state="boundary"] strong{color:#7a8376}.state-scene-wrap{padding:6px 20px 0}.state-scene{display:block;width:100%;height:auto;font-family:-apple-system,'PingFang SC',sans-serif}.scene-heading{font-size:20px;fill:#52674e}.scene-mark-foot{font-size:16px;fill:#8b9684}.mark-wick{stroke:#f75960;stroke-width:3;stroke-linecap:round}.mark-body{fill:#ff595d0b;stroke:#ff595d;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.mark-middle{stroke:#ff595d;stroke-width:1.5;stroke-dasharray:4 5}.state-zone{cursor:pointer;outline:none}.state-zone rect{stroke-width:4;fill:transparent;transition:fill .18s}.zone-strong rect{stroke:#ff595d}.zone-weak rect{stroke:#efbd16}.zone-veryweak rect{stroke:#89bf35}.zone-strong[aria-pressed="true"] rect,.zone-strong:hover rect{fill:#ff595d0e}.zone-weak[aria-pressed="true"] rect,.zone-weak:hover rect{fill:#f4c52b18}.zone-veryweak[aria-pressed="true"] rect,.zone-veryweak:hover rect{fill:#98c93412}.state-zone:focus-visible rect{stroke-width:6;stroke-dasharray:7 5}.zone-name{font-family:var(--serif);font-size:25px;fill:#506046}.zone-note{font-size:17px;fill:#77816b}.zone-extra{font-size:14px;fill:#8c987b}.scene-price-lines path{stroke:#abb7a1;stroke-width:1;stroke-dasharray:5 6}.scene-price-lines text{font-size:16px;fill:#6e8062;paint-order:stroke;stroke:#fcfcf6;stroke-width:7px;stroke-linejoin:round}.state-marker{cursor:grab;touch-action:none;outline:none}.state-marker.is-dragging{cursor:grabbing}.marker-guide{stroke:#ad9344;stroke-width:1.5;stroke-dasharray:3 4}.marker-halo{fill:#ead99a44;stroke:#c5a64a;stroke-width:1}.marker-core{fill:#b79a36;stroke:#fcfcf6;stroke-width:2}.marker-price{font-size:19px;fill:#776323}.marker-hint{font-size:13px;fill:#9c9f86}.state-marker[data-state="strong"] .marker-core{fill:#e3645c}.state-marker[data-state="strong"] .marker-price{fill:#b45049}.state-marker[data-state="veryweak"] .marker-core{fill:#76a533}.state-marker[data-state="veryweak"] .marker-price{fill:#5d812e}.state-marker[data-state="boundary"] .marker-core{fill:#8e9786}.state-marker:focus-visible .marker-halo{stroke:#587647;stroke-width:3}.state-demo-controls{display:flex;align-items:center;gap:20px;border-top:1px solid #e4e8dc;margin:0 25px;padding:17px 0 10px}.state-demo-controls label{font-size:11px;color:#7b8a6b;white-space:nowrap}.state-demo-controls output{display:inline-block;color:#4e6644;min-width:34px;font-size:16px;margin-left:8px;font-variant-numeric:tabular-nums}.state-demo-controls input{flex:1;min-width:60px;accent-color:#829c62;cursor:pointer}.state-demo-controls button{border:1px solid #cbd7be;border-radius:5px;background:#f1f5e9;padding:7px 10px;color:#60774f;font-size:10px;white-space:nowrap}.state-demo-note{font-size:10px;color:#909981;line-height:1.8;padding:0 25px 18px;margin:0}.state-tail-note{margin:0 25px 19px;padding:9px 12px;background:#f2ecdf;border-left:2px solid #b09b73;font-size:11px;color:#8b7756}.state-tail-note[hidden]{display:none}@media(max-width:800px){.state-demo-header{padding:19px 16px 0;gap:16px}.state-demo-header h3{font-size:18px}.state-demo-kicker{font-size:9px;letter-spacing:0}.state-result strong{font-size:20px}.state-result small{font-size:9px;line-height:1.6;max-width:140px;text-align:right}.state-scene-wrap{padding:7px 2px 0}.state-demo-controls{margin:0 16px;gap:10px;padding:13px 0 10px;flex-wrap:wrap}.state-demo-controls label{font-size:10px}.state-demo-controls output{font-size:15px;margin-left:5px}.state-demo-controls button{font-size:9px;padding:6px 8px}.state-demo-note{padding:0 16px 15px;font-size:9px}.state-tail-note{margin:0 16px 15px}}@media(max-width:440px){.state-demo-header{flex-direction:column;gap:13px}.state-result{align-items:flex-start;gap:3px}.state-result small{max-width:none;text-align:left}.state-result-label{display:none}.state-result strong{font-size:18px}.state-scene-wrap{overflow-x:auto}.state-scene{min-width:430px}.state-demo-controls button{margin-left:auto}.state-demo-controls input{min-width:95px}}
.scene-price-lines{pointer-events:none}
@media(max-width:600px){.state-scene{min-width:0}.state-scene-wrap{overflow:visible;padding:10px 4px 0}.scene-heading{font-size:24px}.scene-mark-foot{font-size:23px}.zone-name{font-size:31px}.zone-note{font-size:23px}.zone-extra{font-size:20px}.scene-price-lines text{font-size:23px;stroke-width:10px}.marker-price,.marker-hint{display:none}.marker-halo{r:28px;stroke-width:2}.marker-core{r:10px}.marker-guide{stroke-width:2}.state-demo-note{font-size:10px}.state-demo-controls label{font-size:11px}.state-demo-controls button{font-size:10px}}
.state-marker[data-state="strong"] .marker-halo{fill:#e3645c16;stroke:#e3645c}.state-marker[data-state="strong"] .marker-guide{stroke:#e3645c}.state-marker[data-state="veryweak"] .marker-halo{fill:#76a53316;stroke:#76a533}.state-marker[data-state="veryweak"] .marker-guide{stroke:#76a533}.state-marker[data-state="boundary"] .marker-halo{fill:#8e978616;stroke:#8e9786}.state-marker[data-state="boundary"] .marker-guide{stroke:#8e9786}
.state-demo-controls input[type="range"]{appearance:none;height:6px;border-radius:6px;background:linear-gradient(to right,#8ca674 0 var(--close-progress),#e1e6d9 var(--close-progress) 100%)}.state-demo-controls input[type="range"]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border-radius:50%;background:#8ca674;border:2px solid #fcfcf6;box-shadow:0 0 0 1px #96ac83}.state-demo-controls input[type="range"]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:#8ca674;border:2px solid #fcfcf6;box-shadow:0 0 0 1px #96ac83}.state-demo-controls input:focus-visible{outline:2px solid #8ba577;outline-offset:5px}.state-demo-controls button{cursor:pointer;transition:background .15s}.state-demo-controls button:hover{background:#e7eedd}.state-demo-controls button:focus-visible{outline:2px solid #8ba577;outline-offset:3px}
