.pd-component { min-width: 0; max-width: 48rem; color: #243d35; }
.pd-component *, .pd-component *::before, .pd-component *::after { box-sizing: border-box; }
.pd-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1.2rem; margin: .75rem 0; }
.pd-choice { display: grid; min-width: 0; max-width: 100%; gap: .22rem; font-size: 1rem; font-weight: 600; }
.pd-choice select { background-color: #fffdf8; color: #243d35; border: 1px solid #85978a; border-radius: 4px; font: inherit; font-weight: 450; min-height: 44px; width: fit-content; max-width: 100%; padding: .4rem .55rem; }
.pd-component select:focus-visible, .pd-component summary:focus-visible { outline: 3px solid #9e4e31; outline-offset: 2px; }
.pd-component [hidden] { display: none !important; }
.pd-chart { display: block; width: min(100%, 36rem); height: auto; margin: .5rem 0; }
.pd-chart text { font: 13.6px system-ui, sans-serif; fill: #344b40; }
.pd-chart .pd-axis-name { font-size: 15px; fill: #263b33; }
.pd-grid { stroke: #d3ddce; stroke-width: 1; }
.pd-axis { stroke: #596d61; stroke-width: 1.15; }
.pd-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pd-line.pd-demand { stroke: #285d50; stroke-width: 3.2; }
.pd-line.pd-mr { stroke: #97452d; stroke-width: 2.65; stroke-dasharray: 7 4; }
.pd-line.pd-mc { stroke: #4d5279; stroke-width: 2.65; stroke-dasharray: 1 4; }
.pd-guide { stroke: #496757; stroke-width: 1.4; stroke-dasharray: 3 2; }
.pd-dot { stroke: #fffdf8; stroke-width: 1.5; }
.pd-dot.pd-mr { fill: #97452d; }
.pd-dot.pd-demand { fill: #215646; }
.pd-band { fill: #f1dca3; opacity: .5; }
.pd-legend { display: flex; flex-wrap: wrap; padding: 0; margin: .3rem 0 1rem; gap: .2rem 1rem; list-style: none; }
.pd-legend li { display: inline-flex; align-items: center; gap: .37rem; font-size: .92rem; }
.pd-legend i { display: inline-block; width: 1.5em; height: 0; border-top: 3px solid; }
.pd-legend .pd-demand { color: #285d50; }
.pd-legend .pd-mr { color: #97452d; border-top-style: dashed; }
.pd-legend .pd-mc { color: #4d5279; border-top-style: dotted; }
.pd-equation { color: #314e42; font-variant-numeric: tabular-nums; }
.pd-result { margin: .8rem 0; padding: .65rem .8rem; border-left: 3px solid #688575; background: #ecf1e6; overflow-wrap: anywhere; }
.pd-result p { margin-block: .3rem; }
.pd-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: .65rem 0; font-size: 1rem; }
.pd-table caption { text-align: start; font-weight: 650; margin-bottom: .4rem; }
.pd-table td, .pd-table th { padding: .45rem .5rem; text-align: start; border-bottom: 1px solid #c8d1c5; vertical-align: top; overflow-wrap: anywhere; }
.pd-table thead { color: #284939; background: #ecf1e8; }
.pd-percent { white-space: nowrap; }
.pd-details { margin: .75rem 0; border-top: 1px solid #c8d1c5; }
.pd-details summary { padding-block: .65rem; min-height: 44px; color: #315a49; cursor: pointer; font-weight: 650; }
.pd-component .pd-note { color: #516254; font-size: .95rem; }
.pd-math-line math { font-size: 1.13em; }
@media (max-width: 430px) {
  .pd-controls { gap: .6rem 1rem; }
  .pd-table td, .pd-table th { padding: .4rem .24rem; }
  .pd-legend { column-gap: .65rem; }
}
