.option-media { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.option-media .option-image { position:absolute; inset:0; width:100%; height:100%; min-height:0; }
.masthead { border-bottom:3px solid #6b9100; }
.masthead .wordmark,.footer .wordmark {
  font-family:Roboto,Arial,sans-serif; font-style:normal; font-weight:900; letter-spacing:-.02em; color:var(--ink);
}
.masthead .wordmark { font-size:42px; }
.top-nav a:hover,.library-link:hover,.footer a:hover { color:var(--accent-ink); }
.top-nav .nav-current { color:var(--ink); box-shadow:inset 0 -3px var(--brand); }
.header-tools { display:flex; gap:15px; align-items:center; margin-left:auto; }
.theme-toggle { width:36px; height:26px; border:1px solid var(--edge); background:var(--field); color:var(--accent-ink); border-radius:20px; display:grid; place-items:center; }
.theme-toggle span { width:13px; height:13px; border:1.5px solid currentColor; border-radius:50%; background:linear-gradient(90deg, currentColor 49%, transparent 50%); }
.hero { width:min(calc(100% - clamp(32px,7.8vw,136px)),1500px); margin:19px auto 0; border:0; border-radius:19px; background:#061920; color:#fff; }
.hero .frame { width:100%; padding-inline:clamp(23px,3.5vw,58px); }
.hero-photo { inset:0 0 0 auto; width:clamp(430px,52%,750px); background:#062026; }
.hero-photo img { object-fit:cover; object-position:67% 43%; }
.hero:after { background:linear-gradient(90deg,#061920 32%,#061920f8 43%,#061920ba 53%,#06192000 69%); }
.hero h1 { color:#fff; letter-spacing:-.046em; }
.hero h1 em { color:#c6ed82; }
.hero p { color:#e5eeef; }
.hero .btn-glass { color:white; background:#172d34; border-color:#5d7074; }
.hero .btn-glass:hover { background:#294149; }
.step { background:var(--panel); }
.step.is-active { color:var(--accent-ink); background:var(--tint); border-color:var(--active-edge); }
.step-count,.compare-pick[aria-pressed=true],.build-guide__table tfoot td,.build-guide__table tfoot th { color:var(--accent-ink); }
.switch:before,.compat-toggle input:checked+.switch:before { background:#fff; }
.option { box-shadow:0 2px 9px rgb(20 30 25 / 4%); }
.option-media { background:linear-gradient(145deg,#fff,#f5f7f3); }
.option-picked { background:var(--accent-solid); color:#fff; }
.select-part,.btn-lime,.rq-primary { background:var(--brand); color:var(--on-brand); }
.select-part:hover,.btn-lime:hover:not(:disabled) { background:var(--brand-hover); }
.select-part.is-selected { background:var(--tint); color:var(--accent-ink); box-shadow:inset 0 0 0 1px var(--active-edge); }
.summary { background:var(--panel); border-color:var(--edge); box-shadow:0 3px 18px rgb(21 33 29 / 6%); }
.summary-top strong { color:var(--ink); }
.compare-open { background:var(--brand); color:var(--on-brand); }
.review-dialog .btn-glass { color:var(--accent-ink); border-color:var(--edge); background:var(--field); }
.notice:not(:empty) { color:var(--ink); background:var(--panel); border-color:var(--edge); }
.test-order .test-order-result { color:var(--accent-ink); }
@media(max-width:850px) {
  .hero { width:calc(100% - 36px); margin-top:14px; }
  .hero-photo { width:57%; }
}
@media(max-width:680px) {
  .hero { width:calc(100% - 22px); margin-top:10px; border-radius:14px; }
  .hero .frame { padding-inline:14px; }
  .hero-photo { width:59%; }
  .hero-photo img { object-position:73% 50%; }
  .hero:after { background:linear-gradient(90deg,#061920 21%,#061920ed 39%,#061920a6 56%,transparent 80%); }
  .masthead .wordmark { font-size:30px; }
  .header-tools { gap:7px; }
}
.filters-row {
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between;
  gap:0 12px; margin:3px 0 9px; color:var(--muted); font-size:12px;
}
.facets-box { min-width:0; text-align:right; }
.facets-box[open] { width:100%; text-align:left; }
.facets-box summary { padding:11px 0; color:var(--accent-ink); cursor:pointer; }
#facets {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));
  align-items:end; gap:10px; padding:14px; background:var(--panel);
  border:1px solid var(--line); border-radius:8px;
}
.facet-field { display:grid; gap:5px; min-width:0; color:var(--muted); font-size:12px; }
.facet-field select,.facet-field input {
  width:100%; min-width:0; min-height:34px; padding:5px 8px; color:var(--ink);
  border:1px solid var(--line); border-radius:5px; background:var(--field);
}
.facet-clear,.review-action {
  border:1px solid var(--edge); border-radius:6px; color:var(--accent-ink);
  background:var(--field); padding:7px 10px; font-size:12px;
}
.summary-top { padding-bottom:8px; }
.cost-lines { margin-bottom:16px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.cost-lines p { display:flex; align-items:baseline; justify-content:space-between; gap:6px; color:var(--muted); font-size:12px; padding:2px 0; }
.cost-lines strong { color:var(--ink); white-space:nowrap; font-weight:500; }
.inspect-btn {
  border-radius:6px; color:var(--ink); background:var(--field);
  border:1px solid var(--line); width:100%; font-size:12px; padding:8px; margin-top:6px;
}
.inspect-btn:hover,.review-action:hover,.facet-clear:hover { border-color:var(--active-edge); color:var(--ink); }
.build-actions { margin-top:9px; font-size:13px; color:var(--muted); }
.build-actions > summary { min-height:34px; padding:8px 0; cursor:pointer; width:fit-content; }
.build-actions > summary:hover { color:var(--ink); }
.build-action-list { display:grid; gap:2px; border:1px solid var(--line); padding:3px; border-radius:7px; }
.build-action-list button {
  width:100%; text-align:left; min-height:35px; padding:7px 9px; border:0;
  border-radius:4px; color:var(--ink); background:transparent; font:inherit;
}
.build-action-list button:hover { background:var(--field); }
.mobile-sum { display:grid; gap:0; }
.mobile-sum small { font-size:10px; line-height:1.1; }
.summary #request-build { min-height:44px; margin:0 0 13px; font-size:16px; font-weight:650; }
@media(max-width:680px) {
  .mobile-bar #review-link { min-width:min(44%,175px); min-height:44px; font-size:15px; font-weight:650; }
}
.example-section { padding-bottom:24px; }
.example-section .build-guide { border-bottom:0; margin-bottom:0; padding-bottom:5px; }
.mobile-bar button:disabled { background:var(--field); color:var(--muted); border-color:var(--line); cursor:default; }
.ready-pcs { padding:clamp(22px,3vw,43px) 0; border-bottom:1px solid var(--line); }
.ready-head { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin-bottom:15px; }
.ready-head h2 { font-size:clamp(24px,2.5vw,39px); line-height:1.13; letter-spacing:-.05em; font-weight:600; }
.ready-head #ready-start { display:inline-flex; align-items:center; justify-self:start; min-height:44px; color:var(--ink); font-size:14px; text-underline-offset:3px; }
.ready-head p,.ready-source,.ready-empty { margin-top:6px; color:var(--muted); line-height:1.45; font-size:13px; }
.ready-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ready-card { min-width:0; display:flex; flex-direction:column; padding:15px; border-radius:9px; background:var(--panel); border:1px solid var(--line); }
.ready-sku { font-size:10px; letter-spacing:.045em; color:var(--muted); }
.ready-model { font-weight:570; font-size:clamp(16px,1.5vw,22px); line-height:1.23; letter-spacing:-.025em; margin-top:9px; }
.ready-model-link { color:inherit; text-decoration:none; }
.ready-model-link:hover,.ready-model-link:focus-visible { color:var(--accent-ink); text-decoration:underline; text-underline-offset:3px; }
.ready-specs { margin:7px 0 0; color:var(--ink); font-size:13px; }
.ready-basis { color:var(--accent-ink); font-size:11px; padding-block:10px; }
.ready-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; margin-top:auto; padding-top:9px; border-top:1px solid var(--line); }
.ready-price { font-size:18px; white-space:nowrap; }
.ready-cart-controls { display:flex; align-items:center; gap:4px; }
.ready-add,.ready-more,.ready-qty,.ready-remove {
  border:1px solid var(--edge); border-radius:6px; color:var(--accent-ink);
  background:var(--field); padding:6px 9px; font-size:12px; line-height:1.25;
}
.ready-add { min-height:32px; padding-inline:11px; border-color:transparent; background:var(--brand); color:var(--on-brand); font-weight:600; }
.ready-add:hover { background:var(--brand-hover); }
.ready-configure { align-self:flex-start; display:inline-flex; align-items:center; min-height:44px; color:var(--accent-ink); text-underline-offset:3px; font-weight:600; }
.ready-config-price { color:var(--muted); font-size:12px; line-height:1.4; }
.ready-more { margin-top:10px; }
.ready-cart { border:1px solid var(--active-edge); border-radius:10px; margin-bottom:14px; padding:14px; background:var(--tint); }
.ready-cart:focus-visible { outline:2px solid var(--active-edge); outline-offset:2px; }
.ready-cart h3 { font-size:18px; line-height:1.3; color:var(--ink); }
.ready-cart>p { color:var(--muted); margin-top:4px; font-size:12px; line-height:1.4; }
.ready-cart ul { list-style:none; margin:8px 0; padding:0; }
.ready-cart-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto auto; align-items:center; gap:9px; padding:7px 0; border-top:1px solid var(--edge); }
.ready-cart-model { color:var(--ink); font-size:14px; font-weight:550; overflow-wrap:anywhere; }
.ready-cart-sku { display:block; font-size:10px; color:var(--muted); font-weight:400; }
.ready-store-buy { display:inline-block; padding-block:4px; color:var(--accent-ink); font-size:13px; text-underline-offset:3px; }
.ready-qty { min-width:30px; min-height:30px; padding:3px; font-size:15px; }
.ready-qty-value,.ready-cart-price { color:var(--ink); font-size:13px; white-space:nowrap; }
.ready-remove { min-height:32px; min-width:32px; padding:3px; border-color:transparent; background:transparent; font-size:19px; }
.ready-remove:hover { color:var(--ink); border-color:var(--edge); }
.ready-cart .ready-cart-total { display:flex; align-items:baseline; justify-content:space-between; padding-top:8px; border-top:1px solid var(--edge); font-size:14px; color:var(--ink); }
.ready-cart-total strong { font-size:19px; }
.ready-link,.build-guide a { color:var(--accent-ink); text-underline-offset:3px; }
.ready-link { font-size:12px; }
.ready-source,.ready-empty { grid-column:1/-1; }
.ready-source { margin:0; font-size:11px; }
.build-guide__example>p { color:var(--muted); font-size:12px; line-height:1.5; margin:11px 0 0; }
.slot-replace { max-width:100%; min-width:0; color:var(--ink); background:var(--field); border:1px solid var(--line); border-radius:5px; padding:5px; font-size:12px; }
.option-price.is-saving { color:var(--accent-ink); }
.option-price.is-current { font-size:13px; font-weight:550; color:var(--accent-ink); letter-spacing:0; }
.option-footer:has(.slot-add),.option-footer:has(.slot-replace) { flex-wrap:wrap; }
.option-footer:has(.upgrade-benefit) { flex-wrap:wrap; }
.upgrade-benefit { display:block; color:var(--muted); font-size:12px; line-height:1.35; overflow-wrap:anywhere; }
.option-footer>.upgrade-benefit { flex:1 0 100%; }
.summary-copy .upgrade-benefit { margin-top:4px; }
.slot-replace,.slot-add { flex:1 1 100%; }
.slot-add { padding:6px; color:var(--ink); background:var(--field); border:1px solid var(--line); border-radius:5px; font:inherit; font-size:12px; cursor:pointer; }
.slot-add:hover { border-color:var(--active-edge); }
.review-dialog {
  background:var(--panel); color:var(--ink); padding:clamp(16px,3vw,28px); width:min(640px,calc(100% - 24px));
  max-height:90dvh; overflow:auto; overscroll-behavior:contain; border:1px solid var(--edge); border-radius:12px;
}
.review-dialog::backdrop { background:rgb(8 7 12 / 78%); }
.test-order { margin-top:12px; padding-top:10px; border-top:1px solid var(--line); display:grid; gap:7px; font-size:12px; line-height:1.45; color:var(--muted); }
.test-order .rq-button { justify-self:start; }
.test-order>summary,.rq-optional>summary { padding:6px 0; cursor:pointer; }
.test-order[open] .rq-button { margin:8px 0; }
.rq-optional[open] .rq-fields { margin-top:7px; }
.ready-specs { margin-bottom:8px; }
.test-order-result:not(:empty) { color:var(--brand); }
.transfer-build { display:grid; gap:7px; max-width:550px; padding:15px 0 4px; color:var(--muted); font-size:12px; }
.transfer-build input { padding:8px; border:1px solid var(--line); border-radius:5px; background:var(--field); color:var(--ink); }
.transfer-build div { display:flex; gap:6px; flex-wrap:wrap; }
.transfer-build button { color:var(--accent-ink); border:1px solid var(--line); background:var(--panel); border-radius:5px; padding:6px 9px; }
.review-dialog .dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.review-dialog h2 { font-size:clamp(24px,3vw,34px); line-height:1.12; letter-spacing:-.045em; }
.review-dialog #close-review { color:var(--ink); background:var(--field); border:1px solid var(--line); border-radius:7px; height:32px; width:32px; line-height:1; font-size:21px; }
#review-intro,.review-note { margin-block:8px 13px; color:var(--muted); font-size:13px; line-height:1.5; }
.review-subhead { margin:13px 0 7px; font-size:15px; font-weight:550; color:var(--ink); }
.review-checks { list-style:none; margin:0; padding:0; display:grid; gap:5px; }
.review-check { font-size:12px; display:grid; gap:3px; padding:6px 8px; background:var(--field); border-radius:4px; overflow-wrap:anywhere; }
.review-check span { color:var(--muted); }
.review-check strong { font-weight:530; }
.review-missing,.review-replacements { display:flex; flex-wrap:wrap; gap:6px; }
.review-passed { margin-top:12px; font-size:13px; }
.review-passed summary { cursor:pointer; color:var(--accent-ink); padding:5px 0; }
#review-ready { margin-top:14px; }
@media(max-width:680px) {
  .ready-options { grid-template-columns:1fr; gap:8px; }
  .ready-card { padding:12px; }
  .ready-head { display:grid; }
  .ready-cart-row { grid-template-columns:minmax(0,1fr) auto; gap:5px; }
  .ready-cart-controls { grid-row:2; }
  .ready-cart-price { grid-area:1/2; text-align:right; }
  .ready-remove { justify-self:end; }
  .ready-basis { padding-block:6px; }
  .facets-box[open] { margin-top:0; }
  .filters-row { gap:0 9px; font-size:11px; }
  .review-dialog { max-height:88dvh; }
}
