.p04-active.s01-active #canvasWrap{height:400px;min-height:400px}
.p04-toolbar{flex-wrap:wrap}.p04-toolbar>select{max-width:160px}
.p04-panel{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:8px 12px}.p04-panel[hidden]{display:none}.p04-panel>p,.p04-panel>details{width:100%;margin:0}.p04-panel>label{display:flex;align-items:center;gap:6px}
.p04-panel table{width:100%;font-size:12px}.p04-panel th{text-align:left;font-weight:500}.p04-panel td{text-align:right}
.p04-active #readings{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}.p04-active #readings .reading{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:4px 0}.p04-active #readings strong{font-size:13px;overflow-wrap:anywhere}
.p04-active .observation-readout{max-width:220px}.p04-active .observation-readout dd{white-space:normal}.p04-active .sm-monitors[data-layout=compact]>.sm-rows{grid-template-columns:repeat(2,minmax(0,1fr))}
.p04-graphs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.p04-graphs[hidden]{display:none}.p04-chart{min-width:0;border:1px solid var(--border,#d9e1dc);border-radius:8px;padding:10px;background:var(--panel,#fff)}.p04-chart h3{font-size:14px;margin:0 0 6px}.p04-chart svg{display:block;width:100%;height:auto;color:var(--text,#26382f)}.p04-chart text{font:16px system-ui,sans-serif}.p04-chart svg [hidden]{display:none}
.p04-math-controls,.p04-math-reading{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.p04-math-reading{font-size:13px}.p04-math-reading>strong,.p04-math-reading>small{flex-basis:100%}.p04-math-controls select{max-width:280px}.p04-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.p04-best{font-weight:600}
.p04-active .sm-rows>.p04-chart{display:flex;flex-direction:column;min-height:0}.p04-active .sm-rows>.p04-chart svg{flex:1;min-height:100px;height:100%;max-height:220px}.p04-active .p04-graphs{display:flex;flex:none;flex-direction:column;gap:6px;margin-top:8px}.p04-active .p04-graphs[hidden]{display:none}
.p04-active .chart-analysis .sm-toolbar,.p04-active .chart-analysis .sm-note{display:none}.p04-active .chart-analysis .p04-math-reading{max-height:72px;overflow:auto}.p04-active .chart-analysis .p04-math-reading>small{display:none}.p04-active .chart-analysis .p04-math-controls{gap:6px}.p04-active .chart-analysis .p04-math-controls select{max-width:210px}
@media(max-width:900px){.p04-graphs{grid-template-columns:1fr}.p04-active.s01-active #canvasWrap{height:360px;min-height:360px}}

.simple-demo.precision-workbench .p04-active .chart-analysis .sm-monitors{height:auto;min-height:100%}.simple-demo.precision-workbench .p04-active .chart-analysis .sm-rows{flex:none;grid-auto-rows:165px}
