.ps-products {
  --ps-ink: #213b35;
  --ps-moss: #35604b;
  --ps-muted: #4c6053;
  --ps-pale: #eaf0e4;
  --ps-line: #cad4c5;
  --ps-rust: #985033;
  min-width: 0;
  color: var(--ps-ink);
  font-variant-numeric: tabular-nums;
}
.ps-group { min-width: 0; margin: 0 0 .7rem; padding: 0; border: 0; }
.ps-group legend, .ps-tools label > span, .ps-standalone > span, .ps-range > span { font-weight: 650; }
.ps-buttons, .ps-tools { display: flex; gap: .45rem .8rem; flex-wrap: wrap; }
.ps-buttons { margin-top: .35rem; gap: .35rem; }
.ps-buttons button {
  min-height: 44px;
  padding: .3rem .7rem;
  border: 1px solid #89998b;
  border-radius: 3px;
  color: var(--ps-moss);
  background: #fffdf8;
  font: inherit;
  cursor: pointer;
}
.ps-buttons button[aria-pressed="true"] { background: var(--ps-ink); color: white; border-color: var(--ps-ink); }
.ps-products :is(button, select, input, summary):focus-visible { outline: 3px solid #a45331; outline-offset: 2px; }
.ps-tools label, .ps-standalone { display: grid; gap: .25rem; min-width: 0; max-width: 100%; }
.ps-tools { margin: .5rem 0 1rem; }
.ps-standalone { justify-items: start; }
.ps-products select { width: fit-content; max-width: 100%; min-height: 44px; color: var(--ps-ink); font: inherit; }
.ps-products [hidden] { display: none !important; }
.ps-caption { margin: .5rem 0 .8rem; color: var(--ps-muted); font-size: .93rem; }
.ps-buyers { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.ps-buyers section { padding: .65rem .8rem; border: 1px solid var(--ps-line); border-top: 3px solid var(--ps-moss); }
.ps-buyers section + section { border-top-color: var(--ps-rust); }
.ps-buyers h3 { font-family: inherit; font-size: 1.05rem; font-weight: 650; line-height: 1.5; margin: 0 0 .25rem; }
.ps-buyers p { margin: .2rem 0; color: var(--ps-muted); font-size: .95rem; }
.ps-buyers strong { display: block; margin: .35rem 0 .1rem; }
.ps-result { display: block; margin: .8rem 0; padding: .65rem .85rem; border-inline-start: 3px solid var(--ps-moss); background: var(--ps-pale); }
.ps-details { margin-top: .6rem; border-block-start: 1px solid var(--ps-line); }
.ps-details summary { min-height: 44px; padding: .5rem 0; cursor: pointer; font-weight: 650; color: var(--ps-moss); }
.ps-details p { margin: .45rem 0 .65rem; }
.ps-table { width: 100%; border-collapse: collapse; line-height: 1.45; }
.ps-table caption { text-align: left; margin: .45rem 0; font-weight: 650; }
.ps-table td, .ps-table th { padding: .45rem .45rem; text-align: right; border-bottom: 1px solid var(--ps-line); }
.ps-table th:first-child { text-align: left; }
.ps-table thead { background: var(--ps-pale); color: var(--ps-moss); }
.ps-table tbody th { font-weight: 500; }
.ps-capacities { display: grid; gap: .45rem; margin: 1rem 0; }
.ps-capacities > div { display: grid; grid-template-columns: 4.3em minmax(0,1fr); align-items: center; gap: .5rem; }
.ps-cap-line { display: flex; gap: 2px; min-width: 0; }
.ps-cap-line span {
  flex: 1;
  padding: .3rem .2rem;
  text-align: center;
  background: #e1ece1;
  color: #284a39;
  border: 1px solid #85a38b;
  line-height: 1.35;
}
.ps-cap-single span { background: #f4e5d6; color: #713d2c; border-color: #c89579; }
.ps-range { display: grid; gap: .1rem; }
.ps-range input { width: 100%; margin: 0; min-height: 44px; accent-color: var(--ps-moss); cursor: pointer; }
.ps-joint-plot { max-width: 560px; margin: .4rem auto; }
.ps-plot { display: block; width: 100%; height: auto; overflow: visible; }
.ps-plot text { fill: #405448; font: 11px system-ui, "PingFang SC", sans-serif; }
.ps-gridline { stroke: #d0d7cb; fill: none; }
.ps-axisline { stroke: #657766; fill: none; }
.ps-profit-line { stroke: var(--ps-moss); stroke-width: 2.3; fill: none; stroke-linejoin: round; }
.ps-guide { stroke: var(--ps-rust); stroke-dasharray: 3 2; }
.ps-max { fill: white; stroke: var(--ps-moss); stroke-width: 2; }
.ps-now { fill: var(--ps-rust); }
.ps-selected-row { background: #eff2e9; }
.ps-equations math { max-width: 100%; margin-block: .5rem; }
@media (max-width: 560px) {
  .ps-tools { display: grid; grid-template-columns: minmax(0,1fr); }
  .ps-buyers { gap: .35rem; }
  .ps-buyers section { padding: .45rem; }
  .ps-table td, .ps-table th { padding: .4rem .24rem; }
}
@media (max-width: 365px) {
  .ps-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ps-buttons button { padding-inline: .2rem; font-size: .93rem; }
  .ps-plot text { font-size: 13px; }
  .ps-buyers p { font-size: .9rem; }
}
@media (forced-colors: active) {
  .ps-buttons button[aria-pressed="true"], .ps-selected-row { outline: 2px solid Highlight; }
  .ps-profit-line, .ps-axisline, .ps-gridline, .ps-max, .ps-guide { stroke: CanvasText; }
  .ps-now, .ps-plot text { fill: CanvasText; }
}
