.tool-shell>.result-panel,.tool-shell>.calc-panel,.result-panel .result-content{min-inline-size:0}
:is(.result-panel,.crs-result) :is(.result-number,#crs-total){max-inline-size:100%!important;min-inline-size:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
:is(.result-panel,.crs-result) :is(.result-number,#crs-total)[data-oct-measure]{white-space:nowrap!important}
:is(.result-panel,.crs-result) :is(.result-number,#crs-total)[data-oct-fit]{font-size:var(--oct-result-font)!important}
.result-panel :is(.result-category,.result-sentence,.result-facts,.result-note,.step-equation,.finance-step-equation){overflow-wrap:anywhere;min-inline-size:0}
.oct-result-chart[hidden]{display:none!important}
[data-oct-chart-replacement]{display:none!important}
.oct-result-chart{--oct-gold:#e1a640;--oct-blue:#65b6ee;--oct-purple:#bd9afa;margin:1.15rem 0 0;padding:clamp(.75rem,2vw,1.2rem);border:1px solid #b48a4670;border-radius:16px;background:#b48a4610;min-inline-size:0}
.oct-result-chart figcaption{font-size:1.15rem;font-weight:800}
.oct-result-chart p{margin:.45rem 0;color:inherit;font-size:.91rem}
.oct-result-chart svg{display:block;width:100%;height:auto}
.oct-result-chart svg text{fill:currentColor;font-size:20px;font-weight:650}
.oct-result-chart .oct-grid{stroke:currentColor;opacity:.2}
.oct-result-chart .oct-fill{fill:var(--oct-gold);opacity:.13}
.oct-result-chart .oct-line{fill:none;stroke:var(--oct-gold);stroke-width:4}
.oct-result-chart .oct-line-alt{fill:none;stroke:var(--oct-blue);stroke-width:3;stroke-dasharray:8 6}
.oct-result-chart .oct-line-third{fill:none;stroke:var(--oct-purple);stroke-width:3;stroke-dasharray:2 6;stroke-linecap:round}
.oct-chart-legend{display:flex;gap:.45rem 1rem;flex-wrap:wrap;font-size:.86rem}
.oct-chart-legend span{display:inline-flex;align-items:center;gap:.4rem}
.oct-chart-legend i{width:1.35rem;border-block-start:3px solid var(--oct-gold)}
.oct-chart-legend span+span i{border-block-start:3px dashed var(--oct-blue)}
.oct-chart-legend span:nth-child(3) i{border-block-start:3px dotted var(--oct-purple)}
.oct-chart-bar{height:.7rem;border-radius:5px;background:#80808038;overflow:hidden}
.oct-chart-bar i{display:block;height:100%;background:var(--oct-gold)}
.oct-chart-bar:last-child i{background:var(--oct-blue)}
html[data-theme=light] .oct-result-chart{--oct-gold:#986300;--oct-blue:#196b9f;--oct-purple:#7449a8}
@media print{.oct-result-chart{break-inside:avoid;print-color-adjust:exact}}
