.regulation-runtime{margin-top:var(--space-7);font-family:var(--font-sans);color:var(--text)}
.regulation-runtime *{box-sizing:border-box}.regulation-runtime__shell{display:grid;gap:var(--space-5);padding:clamp(1rem,3vw,1.6rem);border:1px solid var(--border);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface) 94%,var(--accent) 6%)}
.regulation-runtime h2,.regulation-runtime h3{margin:0}.regulation-runtime p{margin:.45rem 0}.regulation-runtime__step{padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}
.regulation-runtime__step[hidden]{display:none}.regulation-runtime__eyebrow{font:700 .72rem var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.regulation-runtime__prediction{display:grid;gap:.65rem;margin:1rem 0}.regulation-runtime label{font-weight:650}.regulation-runtime select,.regulation-runtime input[type=number],.regulation-runtime textarea{width:100%;min-height:44px;padding:.65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font:inherit}
.regulation-runtime__readings{display:flex;gap:.4rem;overflow-x:auto;padding:.8rem 0;scrollbar-width:thin}.regulation-runtime__reading{flex:0 0 58px;text-align:center;padding:.55rem .3rem;border:1px solid var(--border);border-radius:.5rem;font:700 .8rem var(--font-mono)}
.regulation-runtime__reading[data-state=closed]{border-color:#f59e0b;background:color-mix(in srgb,#f59e0b 14%,var(--surface))}.regulation-runtime__reading[data-change=true]{outline:2px solid var(--accent);outline-offset:2px}
.regulation-runtime__controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin:1rem 0}.regulation-runtime__control{padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm)}
.regulation-runtime__control input[type=range]{width:100%;min-height:44px}.regulation-runtime__band{position:relative;height:72px;margin:1rem 0;border-radius:var(--radius-sm);overflow:hidden;background:linear-gradient(90deg,#263c61,#f2c14e)}
.regulation-runtime__marker{position:absolute;top:0;bottom:0;width:3px;background:var(--text)}.regulation-runtime__marker span{position:absolute;top:7px;white-space:nowrap;padding:.2rem .35rem;border-radius:.25rem;background:var(--surface);font:700 .7rem var(--font-mono)}
.regulation-runtime__status{min-height:52px;padding:.75rem;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-radius:0 var(--radius-sm) var(--radius-sm) 0}.regulation-runtime__status[data-kind=error]{border-color:#ef4444}.regulation-runtime__status[data-kind=success]{border-color:#22c55e}
.regulation-runtime__actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}.regulation-runtime button{min-height:44px}.regulation-runtime__scenario{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}
.regulation-runtime__summary{display:grid;gap:.7rem}.regulation-runtime__summary pre{white-space:pre-wrap;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);font-size:.83rem}
@media(max-width:620px){.regulation-runtime__controls{grid-template-columns:1fr}.regulation-runtime__actions button{width:100%}.regulation-runtime__marker span{writing-mode:vertical-rl;top:5px}}
