/* Concept Z, autoclave page. Paints on the shared engine + Z tokens. */

.ask { color: var(--muted); font-style: italic; }
.quoted { font-weight: 650; color: var(--muted); }
.rfq { font-weight: 700; color: var(--accent); white-space: nowrap; }
.was { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 4px; }
.pill-house {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  background: var(--orange); color: #14151a; padding: 3px 7px; border-radius: 5px;
}

/* head facts with live counts */
.page-head .head-actions .btn.btn-primary { background: var(--orange); border-color: var(--orange); color: #14151a; }
.page-head .head-actions .btn.btn-primary:hover { background: var(--orange-lift, #f0913c); }

/* ---------- sizer ---------- */
.sizer { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .sizer { grid-template-columns: 1fr; } }
.sizer-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 12px; padding: 22px; }
.sizer-form .f { display: grid; gap: 6px; margin-bottom: 16px; }
.sizer-form label { font-weight: 650; font-size: 14.5px; }
.sizer-form .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.sizer-form input[type="number"], .sizer-form select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--field-bg); font-size: 16px; min-height: 44px;
}
.sizer-form .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.sizer-form .chk input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.sizer-form .btn-primary { width: 100%; margin-top: 4px; }
.sizer-out { min-height: 120px; }
.sizer-out:focus-visible { outline-offset: 6px; }
.sizer-head { background: var(--head-bg); color: #fff; border-radius: 12px; padding: 22px 24px; }
.sizer-kicker { display: block; font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #ffb35c; margin-bottom: 8px; }
.sizer-line { font-family: var(--display); font-size: clamp(19px, 2.4vw, 25px); font-weight: 750; line-height: 1.25; color: #fff; max-width: 34ch; }
.sizer-line b { color: #ffd9ab; }
.sizer-empty { color: var(--muted); padding: 22px 0; }
.sizer-working { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sizer-working summary { padding: 12px 16px; cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.sizer-working .working { padding: 0 16px 6px 36px; font-size: 14.5px; color: var(--muted); }
.sizer-working .working li { margin: 6px 0; }
.sizer-working .working b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sizer-caveat { padding: 6px 16px 16px; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); margin: 6px 0 0; }
.sizer-matches { margin-top: 26px; }
.sizer-matches h3 { font-size: 20px; margin-bottom: 4px; }

/* ---------- unit cards ---------- */
.ac-card .card-media img { width: 100%; height: auto; }
.ac-card.wide { grid-column: span 1; }
.house-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .house-grid { grid-template-columns: 1fr; } }
.card-note { font-size: 13.5px; color: var(--muted); }
.mini-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13.5px; margin: 6px 0 4px; }
.mini-specs div { min-width: 0; }
.mini-specs dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.mini-specs dd { font-weight: 600; line-height: 1.35; }
.mini-specs.row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ---------- comparison table ---------- */
#compareTable th, #compareTable td { font-size: 13.5px; }
#compareTable tbody th { min-width: 180px; }
#compareTable small { color: var(--muted); font-weight: 500; }
#compareTable .house-row { background: #fff7ee; }
#compareTable .house-row th { border-left: 4px solid var(--orange); }
.legend-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- full listing ---------- */
.ac-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.ac-tools select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; font-size: 14.5px; min-height: 40px; }
.ac-tools .cond-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
#acCount { font-size: 14px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.ac-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.ac-row.house { background: #fff7ee; margin: 0 -14px; padding: 20px 14px; border-radius: 10px; border-top: none; }
.ac-row.house + .ac-row { border-top: none; }
@media (max-width: 700px) { .ac-row { grid-template-columns: 1fr; } .ac-media img { max-width: 240px; } }
.ac-media { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.ac-media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; }
.ac-main h3 { font-size: 19px; margin-bottom: 8px; }
.ac-note, .ac-dup { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.ac-dup { font-style: italic; }
.ac-conds { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.ac-cond { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 14px; }
@media (max-width: 620px) { .ac-cond { grid-template-columns: 1fr 1fr; } .ac-cond .btn { grid-column: 1 / -1; } }
.ac-cond-label { font-weight: 700; }
.ac-cond-label.cpo::before, .ac-cond-label.new::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; background: var(--accent); vertical-align: middle; }
.ac-cond-label.cpo::before { background: var(--orange); }
.ac-cond-price { font-variant-numeric: tabular-nums; font-weight: 750; color: var(--accent); }
.ac-cond-w { font-size: 13px; color: var(--muted); }
.ac-cond .btn { padding: 8px 12px; font-size: 13.5px; min-height: 40px; }

/* ---------- service band ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { border-top: 2px solid var(--orange); padding-top: 14px; }
.svc h3 { font-size: 17px; margin-bottom: 8px; }
.svc ul { padding-left: 18px; font-size: 14.5px; color: var(--muted); }
.svc li { margin-top: 6px; }
.svc li strong { color: var(--ink); }

/* ---------- guide ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-side { position: sticky; top: 84px; }
@media (max-width: 960px) { .guide-side { position: static; } }
.guide-side .plate ul { list-style: none; display: grid; gap: 10px; }
.guide-side .plate li { padding-left: 18px; position: relative; font-size: 14.5px; }
.guide-side .plate li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.guide-side .plate li b { color: var(--ink); }
.prose h3 { font-size: 20px; }
.prose p { font-size: 16px; }

/* trade values */
.trade-vals { list-style: none; border-top: 1px solid var(--line); margin-top: 8px; }
.trade-vals li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.trade-vals .val { font-family: var(--display); font-weight: 700; color: var(--accent); white-space: nowrap; font-size: 14px; padding: 4px 0; }
.band-dark .trade-vals li { border-color: rgba(255,255,255,0.14); color: #eef1f5; }
.band-dark .trade-vals .val { color: #ffb35c; }

/* focus on dark surfaces */
.band-dark :focus-visible, .sizer-head :focus-visible, .page-head :focus-visible { outline-color: #ffd9ab; }
