.psu-wrap { max-width: 1240px; margin: 24px auto 70px; padding: 0 24px; color: #e2e8f0; }
.psu-wrap *, .psu-wrap *::before, .psu-wrap *::after { box-sizing: border-box; }
.psu-wrap [hidden] { display: none !important; }
.psu-wrap section, .psu-wrap form { scroll-margin-top: 110px; }
.psu-breadcrumb, .psu-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.psu-breadcrumb { font-size: .85rem; color: #b7c5d8; margin-bottom: 24px; }
.psu-wrap a { color: #7dd3fc; }
.psu-wrap a.btn-primary { color: #071220; }
.psu-hero { padding: clamp(24px, 5vw, 54px); border: 1px solid #695129; border-radius: 22px; background: linear-gradient(125deg, #243247, #151d2d 70%); margin-bottom: 24px; }
.psu-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.04em; margin: 12px 0 20px; max-width: 800px; }
.psu-hero > p:not(.psu-kicker) { max-width: 740px; font-size: 1.1rem; line-height: 1.7; color: #c2d0e1; margin-bottom: 24px; }
.psu-kicker { color: #fbbf24; font-size: .78rem; font-weight: 700; letter-spacing: .15em; margin: 0 0 10px; }
.psu-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.psu-wrap fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.psu-card { min-width: 0; background: #101b2c; border: 1px solid #2e3c50; border-radius: 18px; padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; }
.psu-card h2 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0 0 20px; line-height: 1.35; }
.psu-card p { line-height: 1.65; }
.psu-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.psu-wide { grid-column: 1 / -1; }
.psu-wrap label { display: flex; flex-direction: column; gap: 9px; font-weight: 600; font-size: .87rem; line-height: 1.5; min-width: 0; }
.psu-wrap select, .psu-wrap input { display: block; min-width: 0; width: 100%; min-height: 46px; padding: 10px; border: 1px solid #52657f; border-radius: 9px; background: #0a1322; color: #f1f5f9; font: inherit; text-overflow: ellipsis; }
.psu-wrap option, .psu-wrap optgroup { background: #0a1322; color: #f1f5f9; }
.psu-wrap :focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.psu-wrap input[readonly] { opacity: .65; }
.psu-help { color: #b5c4d8; font-size: .82rem; font-weight: 400; margin: 0 0 16px; overflow-wrap: anywhere; }
.psu-fields .psu-help { margin: -6px 0 4px; }
.psu-source-note { display: block; margin-top: 7px; }
.psu-summary { position: sticky; top: 105px; border-color: #76602d; }
.psu-watts { display: block; color: #fbbf24; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; overflow-wrap: anywhere; }
.psu-warning { color: #fde68a; padding: 12px; background: #3b3019; border-radius: 8px; line-height: 1.6; }
.psu-warning:empty { display: none; }
.psu-totals { margin: 18px 0; }
.psu-totals > div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #2e3c50; padding: 10px 0; font-size: .88rem; }
.psu-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.psu-wrap summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.psu-compare-selects { margin: 22px 0; }
.psu-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0; font-size: .88rem; }
.psu-intel-key::before, .psu-amd-key::before { content: ""; display: inline-block; width: 30px; margin-right: 8px; vertical-align: middle; border-top: 3px solid #67d5ff; }
.psu-amd-key::before { border-color: #ffad91; border-top-style: dashed; }
.psu-chart, .psu-table-scroll { overflow: auto; width: 100%; border: 1px solid #34455e; border-radius: 10px; margin: 16px 0; background: #091321; }
.psu-chart svg { display: block; max-width: none; }
.psu-chart { scroll-margin-top: 110px; cursor: grab; touch-action: auto; user-select: none; }
.psu-chart.psu-dragging, .psu-chart.psu-dragging * { cursor: grabbing !important; }
.psu-pan-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.psu-pan-controls .btn { min-height: 44px; padding: 10px 14px; }
.psu-pan-controls button:disabled { opacity: .45; cursor: default; }
.psu-chart text { fill: #cad6e5; font-family: Inter, sans-serif; font-size: 14px; }
.psu-chart .psu-model-label { font-size: 13px; }
.psu-chart [data-gpu-index] { cursor: pointer; }
.psu-chart .psu-model-label.psu-inspected { fill: #fbbf24; font-weight: 700; }
.psu-chart .psu-point.psu-inspected { stroke: #fbbf24; stroke-width: 3; }
.psu-chart-detail { padding: 12px; border-left: 3px solid #fbbf24; background: #091321; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.psu-grid-line { stroke: #2b3c52; stroke-width: 1; }
.psu-curve { fill: none; stroke-width: 3; }
.psu-intel { stroke: #67d5ff; }
.psu-amd { stroke: #ffad91; }
.psu-curve.psu-amd { stroke-dasharray: 9 5; }
.psu-point.psu-intel { fill: #67d5ff; }
.psu-point.psu-amd { fill: #ffad91; }
.psu-selected-line { stroke: #fbbf24; stroke-dasharray: 4; }
.psu-table-scroll { max-height: 430px; }
.psu-table-scroll table { width: 100%; border-collapse: collapse; font-size: .83rem; white-space: nowrap; }
.psu-table-scroll caption { padding: 12px; text-align: left; }
.psu-table-scroll th, .psu-table-scroll td { padding: 12px; border-bottom: 1px solid #2e3c50; text-align: left; }
.psu-table-scroll thead th { background: #1c2c42; position: sticky; top: 0; }
.psu-selected-row { background: #423619; }
.psu-method p { margin-bottom: 16px; color: #c1cee0; font-size: .9rem; }
.psu-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .psu-layout { grid-template-columns: 1fr; gap: 0; }
  .psu-summary { position: static; }
}
@media (max-width: 540px) {
  .psu-wrap { padding: 0 12px; }
  .psu-fields { grid-template-columns: 1fr; }
  .psu-wrap .btn { white-space: normal; text-align: center; }
  .psu-totals > div { font-size: .8rem; }
}
