:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172d36; background: #f3f5f1; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 1140px; margin: auto; padding: 2rem clamp(1rem, 4vw, 3rem); }
header { padding-top: 3rem; border-bottom: 2px solid #c9d4ce; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.12; letter-spacing: -.035em; max-width: 800px; }
h2 { line-height: 1.25; margin-top: 0; }
h3 { margin: .3rem 0 .8rem; }
a { color: #005b5c; text-underline-offset: .2em; overflow-wrap: anywhere; }
.intro { font-size: 1.2rem; max-width: 680px; }
.eyebrow { text-transform: uppercase; font-size: .8rem; font-weight: 750; letter-spacing: .08em; }
nav, .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
main > section { margin-bottom: 3rem; scroll-margin-top: 1rem; }
article { background: white; border: 1px solid #c9d4ce; border-radius: .5rem; padding: 1.2rem; min-width: 0; }
.catalogue { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
fieldset { min-width: 0; border: 1px solid #8ba69d; padding: 1rem; margin: 1rem 0; }
legend { padding: 0 .4rem; font-weight: 700; }
label { display: block; font-weight: 650; margin-bottom: .3rem; }
input, select, button { font: inherit; border-radius: .3rem; min-height: 44px; }
input, select { width: 100%; max-width: 100%; border: 1px solid #627e76; padding: .45rem; background: white; color: #172d36; }
button { border: 1px solid #005b5c; background: #005b5c; color: white; padding: .6rem 1rem; cursor: pointer; }
button[type=reset] { background: white; color: #005b5c; }
small { display: block; color: #425a60; line-height: 1.5; margin-top: .35rem; }
summary { cursor: pointer; padding: .65rem 0; font-weight: 700; }
dt { font-weight: 700; margin-top: .8rem; }
dd { margin: .15rem 0 0; }
li { margin-bottom: .5rem; }
ul, ol { padding-left: 1.4rem; }
.result { margin: 1rem 0; border-left: 5px solid #78858a; }
.excluded { border-left-color: #a75129; }
#results { margin-top: 2rem; }
#status { font-weight: 650; }
:focus-visible { outline: 3px solid #9b3b00; outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -8rem; background: white; padding: .5rem; }
.skip:focus { top: .5rem; }
[hidden] { display: none !important; }
footer { border-top: 1px solid #c9d4ce; }
@media (max-width: 760px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .catalogue { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .fields { grid-template-columns: 1fr; } header, main, footer { padding: 1.25rem; } }
header { padding-top: 1.25rem; padding-bottom: 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .3rem 0 .6rem; }
header p { margin: .5rem 0; }
main { padding-top: 1.25rem; }
.optional { margin-top: 1rem; border-top: 1px solid #c9d4ce; }
.optional > summary { min-height: 44px; }
.actions { margin: 1rem 0; }
[aria-invalid=true] { border: 2px solid #a75129; }
article:target { outline: 3px solid #597e50; outline-offset: 3px; }
@media (max-width: 460px) {
  .basic-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basic-fields > div:nth-child(n+3) { grid-column: 1 / -1; }
  header, main { padding: 1rem; }
  fieldset { padding: .75rem; }
}
#gpu-dimensions { grid-column: 1 / -1; }
.buyer-guide { padding: 1rem; border-left: 5px solid #a75129; background: #fff4e8; }
.storage-signal { background: #f3f5f1; padding: .5rem; }
.depth-warning { border-left: 4px solid #a75129; padding-left: .75rem; }
.result { line-height: 1.45; }
.result > p { margin: .65rem 0; }
.result > ul { margin: .65rem 0; }
.result > ul > li { margin-bottom: .35rem; }
.result .result-links { font-size: .95rem; }

/* Both messages contribute their natural size; readiness never moves the form. */
#readiness { display: grid; }
#readiness > span { grid-area: 1 / 1; }
#readiness .ready, #readiness.initialized .loading { visibility: hidden; }
#readiness.initialized .ready { visibility: visible; }

.depth-concern{border-left:5px solid #a75129}.buyer-guide.depth-concern{padding:1rem;background:#fff1df}.fit-status{color:#79401e}

.measurement-help{margin:12px 0 20px;max-width:720px}.measurement-help p{font-size:.9rem}.rack-measurement{display:block;width:100%;max-width:430px;height:auto;margin:18px 0;color:#243936}.rack-measurement text{font:14px Arial,sans-serif;fill:currentColor}.measurement-boundary{fill:none;stroke:#243936;stroke-width:3}.measurement-case{fill:#e5ebe4;stroke:#53675a;stroke-width:2}.measurement-cables{fill:#f8edda;stroke:#875329;stroke-width:2;stroke-dasharray:5 3}.measurement-arrow{fill:none;stroke:#243936;stroke-width:2}.measurement-note{color:#52635d}

/* Shared build-time brand navigation: keep all three sites and future niches aligned. */
.commons-home{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;color:#24554c;font-family:system-ui,-apple-system,sans-serif;font-size:1rem;font-weight:750;letter-spacing:-.02em;text-transform:none;text-decoration:none}
.commons-home span{font-size:.85em;font-weight:400}
.commons-home:hover{text-decoration:underline;text-underline-offset:4px}
.commons-home:focus-visible,.commons-footer a:focus-visible{outline:3px solid #a74c00;outline-offset:4px}
.commons-footer{display:block;width:100%;max-width:1140px;margin:0 auto;padding:1.5rem clamp(1rem,4vw,3rem) 2rem;border-top:1px solid #c8cec5;color:#52635d;font:14px/1.6 system-ui,-apple-system,sans-serif}
.commons-footer-top{display:flex;align-items:start;justify-content:space-between;gap:1rem 3rem}
.commons-footer .commons-tagline{margin:.2rem 0 0;font-size:13px}
.commons-footer nav{display:grid;grid-template-columns:repeat(2,auto);gap:0 1.4rem}
.commons-nav-label{grid-column:1/-1;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;min-height:24px}
.commons-footer nav a{display:inline-flex;align-items:center;min-height:44px;color:#185e57;text-decoration:underline;text-underline-offset:4px}
.commons-disclosure{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #d9dfd8;font-size:12px;max-width:85ch}
.commons-disclosure p{margin:.4rem 0}
.commons-disclosure a{color:#185e57}
@media(max-width:560px){.commons-footer-top{flex-direction:column;gap:1.25rem}.commons-footer{padding-block:1.25rem 1.75rem}.commons-footer nav{column-gap:1.5rem}}

.commons-masthead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.commons-site-label{font-size:11px;font-weight:650;letter-spacing:.03em;white-space:nowrap}

:focus-visible{scroll-margin-block:8px}

.commons-analytics{margin:1rem 0 1.25rem;padding:.75rem 1rem;border:1px solid #d9dfd8;border-radius:6px;max-width:64ch;font:13px/1.5 system-ui,sans-serif;color:#52635d;background:transparent;scroll-margin-top:16px}
.commons-analytics h2{font:600 14px/1.4 system-ui,sans-serif;letter-spacing:normal;margin:0 0 .35rem;color:#52635d}
.commons-analytics p{margin:.35rem 0}
.commons-analytics-controls{display:flex;align-items:center;gap:.75rem;justify-content:space-between}
.commons-analytics-controls p{min-height:3em;display:flex;align-items:center;flex:1}
.commons-analytics button{width:auto;flex:0 0 auto;min-height:44px;min-width:76px;padding:.5rem .7rem;border:1px solid #7f9183;border-radius:4px;background:transparent;color:#185e57;font:500 13px/1.4 system-ui,sans-serif;cursor:pointer;max-width:100%}
.commons-analytics button:disabled{opacity:.6;cursor:default}
.commons-analytics :focus-visible{outline:3px solid #a74c00;outline-offset:3px}
.commons-analytics details{border:0;margin:0;padding:0}
.commons-analytics summary{min-height:44px;padding:.6rem 0;cursor:pointer;font:500 13px/1.5 system-ui,sans-serif;color:#185e57}
.commons-analytics details p{font-size:13px;overflow-wrap:anywhere}
