.choch-lab{--choch-up:#089981;--choch-down:#f23645;scroll-margin-top:100px;border-color:#66bfc855!important;background:linear-gradient(145deg,#11363b22,transparent 48%)}
.choch-lab [hidden]{display:none!important}
.choch-heading .chip{position:static;box-shadow:none;white-space:normal}
.choch-heading h2{font-size:clamp(23px,3vw,33px);line-height:1.5;margin:12px 0 8px}
.choch-heading p,.choch-editor p{line-height:1.85;margin:8px 0;color:var(--muted,#b5c6c9)}
.choch-selects{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.choch-lab label{display:grid;gap:7px;font-size:14px;min-width:0}
.choch-lab select,.choch-lab input{font:inherit;color:inherit;background:var(--bg,#102023);border:1px solid #64808a88;border-radius:9px;padding:10px;width:100%;min-width:0;box-sizing:border-box}
.choch-lab input:focus-visible,.choch-lab select:focus-visible,.choch-lab button:focus-visible,.choch-lab summary:focus-visible{outline:3px solid #50c3e4;outline-offset:3px}
.choch-lab input[aria-invalid=true]{border:2px solid #ff867c}
.choch-stage{border:1px solid #d8e5e9;border-radius:14px;background:#fff;color:#283f48;overflow:hidden;min-width:0}
.choch-stage-head{display:flex;justify-content:space-between;gap:8px;padding:12px 16px;font-size:12px;border-bottom:1px solid #e6edef}
#choch-chart{display:block;width:100%;height:310px;direction:ltr}
.choch-legend{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 16px;border-top:1px solid #e6edef;font-size:11px;color:#465b64}
.choch-legend span{display:inline-flex;align-items:center;gap:6px}
.choch-legend i{display:inline-block;width:10px;height:14px;border-radius:2px}.choch-up{background:var(--choch-up)}.choch-down{background:var(--choch-down)}
.choch-lab .choch-context{font-size:13px;line-height:1.9;color:var(--ink-2,#3d5568);border-radius:10px;background:var(--teal-soft,#e3f5f3);padding:12px 14px}
.choch-playback{display:flex;gap:8px;flex-wrap:wrap}.choch-playback button{flex:1;min-width:110px;justify-content:center}
.choch-lab button:disabled{opacity:.45;cursor:default}
.choch-result{border-inline-start:4px solid #50c3e4;border-radius:10px;background:#50c3e40c;padding:15px 18px;min-height:135px}
.choch-result[data-state=close]{border-color:#63d6a0}.choch-result[data-state=wick],.choch-result[data-state=equal]{border-color:#e4ba68}
.choch-result h3{margin:0 0 8px;font-size:19px}.choch-result p{margin:6px 0;line-height:1.9;font-size:14px}
.choch-result p:last-child{font-size:12px;color:var(--muted,#b5c6c9)}
.choch-editor{border:1px solid #64808a55;border-radius:12px;padding:16px;min-width:0}
.choch-lab summary{cursor:pointer;font-weight:700;line-height:1.7}
.choch-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
.choch-fields fieldset{border:1px solid #64808a55;border-radius:10px;padding:12px;min-width:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choch-fields legend{padding:0 6px;font-size:14px}.choch-level{max-width:220px}
.choch-lab .choch-help,.choch-boundary{font-size:12px;line-height:1.9}.choch-boundary{color:var(--muted,#b5c6c9);margin:0}
.choch-lab .choch-error{color:#a3241c;font-weight:600}
@media(max-width:560px){.choch-selects,.choch-fields{grid-template-columns:1fr}.choch-editor{padding:12px}.choch-result{padding:12px}.choch-selects select{font-size:13px}.choch-stage-head,.choch-legend{padding:10px}.choch-playback button{font-size:12px;min-width:100px}.choch-lab{padding:16px!important}}
