/* =====================================================================
   estimator.css — Architech | Instant Price Estimator (estimate.html)
   Standalone, premium, fully responsive. Reuses the site brand tokens
   (utilities.css :root). All classes are est- prefixed to avoid any
   collision with the shared component styles loaded alongside it.
   ===================================================================== */

/* ── HERO ───────────────────────────────────────────────────────────── */
.est-hero {
  position: relative;
  padding: clamp(120px, 20vh, 220px) 0 clamp(36px, 5vh, 64px);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201, 169, 110, 0.10), transparent 56%),
    linear-gradient(180deg, var(--black), var(--off-black));
  overflow: hidden;
  text-align: center;
}
.est-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(201, 169, 110, 0.10), transparent 70%);
  pointer-events: none;
}
.est-hero-inner { position: relative; z-index: 1; }
.est-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.est-hero-rule { display: block; width: clamp(28px, 5vw, 56px); height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 169, 110, 0)); }
.est-hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin: 0 auto;
  max-width: 16ch;
  text-wrap: balance;
}
.est-hero-title em { font-style: italic; color: var(--gold); }
.est-hero-sub {
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: rgba(240, 237, 232, 0.78);
}
.est-hero-meta { margin-top: clamp(26px, 3.4vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.est-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.74rem; letter-spacing: 0.06em; color: rgba(240, 237, 232, 0.7);
  background: rgba(255, 255, 255, 0.015);
}
.est-hero-pill .est-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── TOOL LAYOUT ────────────────────────────────────────────────────── */
.est-tool { padding: clamp(20px, 4vh, 40px) 0 clamp(80px, 12vh, 140px); background: var(--off-black); }
.est-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 32vw, 420px);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

/* ── BLOCKS ─────────────────────────────────────────────────────────── */
.est-form { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 48px); min-width: 0; }
.est-block-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(16px, 2vw, 22px); }
.est-step {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1;
  color: rgba(201, 169, 110, 0.45); flex-shrink: 0;
}
.est-block-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--off-white); margin: 0; line-height: 1.1; }
.est-block-hint { margin: 6px 0 0; font-size: 0.84rem; color: var(--muted); }

/* ── SERVICE CARDS (lang-modal aesthetic, multi-select) ─────────────── */
.est-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.est-service {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: clamp(16px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(12, 12, 12, 0.9));
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--off-white);
  text-align: start;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.est-service:hover { border-color: rgba(201, 169, 110, 0.5); transform: translateY(-3px); }
.est-service:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-service[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.12), rgba(201, 169, 110, 0.04));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(201, 169, 110, 0.3);
}
.est-service-ic { color: var(--gold); opacity: 0.85; }
.est-service[aria-pressed="true"] .est-service-ic { opacity: 1; }
.est-service-name { font-family: var(--font-serif); font-size: clamp(1rem, 1.3vw, 1.18rem); font-weight: 500; line-height: 1.15; }
.est-service-desc { font-size: 0.76rem; color: var(--muted); line-height: 1.4; }
.est-service-check {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--black);
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.est-service[aria-pressed="true"] .est-service-check { opacity: 1; transform: scale(1); }

/* ── SEGMENTED CONTROLS ─────────────────────────────────────────────── */
.est-segment { display: flex; gap: 8px; flex-wrap: wrap; }
.est-segment--stack { display: grid; grid-template-columns: repeat(3, 1fr); }
.est-seg {
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: clamp(13px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: rgba(240, 237, 232, 0.78);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-align: center;
}
.est-seg small { font-weight: 400; font-size: 0.7rem; color: var(--muted); letter-spacing: 0; }
.est-seg:hover { border-color: rgba(201, 169, 110, 0.45); color: var(--off-white); }
.est-seg:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-seg.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.16), rgba(201, 169, 110, 0.05));
  color: var(--off-white);
}
.est-seg.active small { color: rgba(223, 192, 138, 0.9); }

/* ── AREA SLIDER + VISUAL SCALE ─────────────────────────────────────── */
.est-area-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.est-area-value { font-family: var(--font-serif); font-weight: 300; color: var(--off-white); line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.est-area-value #estAreaVal { font-size: clamp(2.2rem, 5vw, 3.4rem); font-variant-numeric: tabular-nums; }
.est-area-unit { font-size: 1rem; color: var(--gold); }
.est-area-input {
  width: 110px; text-align: center;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 10px;
  color: var(--off-white); font-size: 0.95rem; padding: 10px 8px;
  font-family: var(--font-sans, 'Manrope', sans-serif);
}
.est-area-input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.est-slider {
  -webkit-appearance: none; appearance: none;
  /* A measurement axis is inherently LTR (20 → 2000, like the m²/price
     islands). direction:ltr keeps the native thumb, the min→max mapping
     AND the --fill gradient aligned in RTL (Hebrew) too. */
  direction: ltr;
  width: 100%; height: 4px; border-radius: 100px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 14%), rgba(255, 255, 255, 0.12) var(--fill, 14%));
  outline: none; cursor: pointer; margin: 6px 0 18px;
}
.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--off-black);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer; transition: transform 0.15s ease;
}
.est-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.est-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--off-black);
  box-shadow: 0 0 0 1px var(--gold); cursor: pointer;
}
.est-slider::-moz-range-track { height: 4px; border-radius: 100px; background: rgba(255, 255, 255, 0.12); }
.est-area-scale {
  direction: ltr; /* cells fill left→right to match the LTR slider above */
  display: flex; flex-wrap: wrap; gap: 4px;
  min-height: 24px;
  padding: 14px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.est-cell {
  width: 11px; height: 11px; border-radius: 2px;
  background: rgba(201, 169, 110, 0.5);
  animation: estCellIn 0.32s var(--ease-out) both;
}
@keyframes estCellIn { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }

/* ── SUMMARY CARD ───────────────────────────────────────────────────── */
.est-summary { position: sticky; top: clamp(86px, 11vh, 104px); min-width: 0; }
.est-summary-card {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(201, 169, 110, 0.08), transparent 60%),
    linear-gradient(180deg, var(--dark), var(--off-black));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(24px, 2.4vw, 34px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.est-summary-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.est-price { display: flex; align-items: flex-start; gap: 4px; margin-top: 10px; color: var(--off-white); font-family: var(--font-serif); font-weight: 300; line-height: 1; }
.est-price-cur { font-size: clamp(1.4rem, 2vw, 1.9rem); margin-top: 0.4em; color: var(--gold); }
#estPriceMain { font-size: clamp(3rem, 6vw, 4.4rem); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.est-price-range { margin-top: 8px; font-size: 0.92rem; color: rgba(240, 237, 232, 0.7); min-height: 1.2em; }
.est-price-range strong { color: var(--gold); font-weight: 500; }
.est-summary-note { margin-top: 12px; font-size: 0.72rem; color: var(--muted); line-height: 1.5; }

.est-breakdown { list-style: none; margin: clamp(18px, 2vw, 24px) 0 0; padding: clamp(16px, 2vw, 22px) 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.est-breakdown li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.est-bd-name { color: rgba(240, 237, 232, 0.82); }
.est-bd-amount { color: var(--off-white); font-variant-numeric: tabular-nums; }
.est-breakdown li.est-bd-meta { font-size: 0.72rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 2px; }
.est-breakdown li.est-bd-meta .est-bd-amount { color: var(--gold); }

.est-delivery-date {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.est-dd-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.est-dd-value { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.02rem; }

.est-cta { width: 100%; justify-content: center; margin-top: clamp(18px, 2vw, 24px); }
.est-cta-alt { display: block; text-align: center; margin-top: 12px; font-size: 0.82rem; color: rgba(201, 169, 110, 0.78); transition: color 0.3s; }
.est-cta-alt:hover { color: var(--gold); }
.est-trust { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ── VALUE SECTION ──────────────────────────────────────────────────── */
.est-value { padding: clamp(70px, 11vh, 130px) 0; background: var(--black); border-top: 1px solid var(--border); }
.est-value-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vh, 64px); }
.est-value-head .display { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; color: var(--off-white); margin: 14px 0 0; }
.est-value-head .display em { font-style: italic; color: var(--gold); }
.est-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.est-value-card { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--border); border-radius: 18px; background: var(--off-black); text-align: center; }
.est-value-num { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--off-white); font-variant-numeric: tabular-nums; }
.est-value-num .suffix { color: var(--gold); }
.est-value-text { margin-top: 14px; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
.est-value-proof { margin-top: clamp(36px, 5vh, 56px); display: flex; justify-content: center; }
.est-value-proof .google-rating-banner { width: 100%; max-width: 680px; margin-top: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .est-grid { grid-template-columns: 1fr; gap: 28px; }
  .est-summary { position: static; }
  .est-value-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .est-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .est-services { grid-template-columns: 1fr; }
  .est-segment--stack { grid-template-columns: 1fr; }
  .est-area-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .est-area-input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .est-service, .est-seg, .est-cell, .est-service-check { transition: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PACKAGE MODEL (rebuild) — Flagship / Signature + Customize + sticky bar
   ═══════════════════════════════════════════════════════════════════ */
.est-packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.est-package {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: clamp(18px, 2vw, 26px); padding-top: clamp(28px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(20,20,20,0.9), rgba(12,12,12,0.9));
  border: 1px solid var(--border); border-radius: 18px; color: var(--off-white);
  text-align: start; cursor: pointer;
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease-out), box-shadow .3s ease;
}
.est-package:hover { border-color: rgba(201,169,110,0.5); transform: translateY(-3px); }
.est-package:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-package[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,169,110,0.14), rgba(201,169,110,0.04));
  box-shadow: 0 16px 44px rgba(0,0,0,.3), inset 0 0 0 1px rgba(201,169,110,.3);
}
.est-package-badge {
  position: absolute; top: -1px; inset-inline-end: -1px;
  font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--black); background: var(--gold); padding: 5px 12px; border-radius: 0 17px 0 12px; font-weight: 700;
}
[dir="rtl"] .est-package-badge { border-radius: 17px 0 12px 0; }
.est-package-check {
  position: absolute; top: 14px; inset-inline-start: 16px; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--black);
  opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .25s var(--ease-out);
}
.est-package[aria-pressed="true"] .est-package-check { opacity: 1; transform: scale(1); }
.est-package-name { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; margin-top: 4px; }
.est-package-rate { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold); line-height: 1; }
.est-package-cur { font-size: .6em; }
.est-package-unit { font-size: .42em; color: var(--muted); }
.est-package-tag { font-size: .76rem; color: var(--muted); }

.est-includes { margin-top: 16px; padding: clamp(16px,1.8vw,22px); border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,0.015); }
.est-includes-title { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.est-includes-pkg { color: var(--off-white); }
.est-includes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.est-includes-list li { position: relative; padding-inline-start: 26px; font-size: .86rem; line-height: 1.5; color: rgba(240,237,232,0.82); }
.est-includes-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 3px; width: 12px; height: 7px; border-inline-start: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
[dir="rtl"] .est-includes-list li::before { transform: rotate(-45deg) scaleX(-1); }

/* Customize expander + add-ons */
.est-customize-toggle {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px;
  padding: clamp(14px,1.6vw,18px); color: var(--off-white); cursor: pointer; text-align: start;
  transition: border-color .3s ease;
}
.est-customize-toggle:hover { border-color: rgba(201,169,110,0.45); }
.est-customize-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-customize-toggle .est-block-title { margin: 0; font-size: clamp(1.1rem,1.8vw,1.4rem); }
.est-customize-toggle .est-step { font-size: clamp(1rem,1.6vw,1.4rem); }
.est-customize-opt { font-size: .8rem; color: var(--muted); }
.est-customize-chev { margin-inline-start: auto; color: var(--gold); transition: transform .3s var(--ease-out); }
.est-customize-toggle.is-open .est-customize-chev { transform: rotate(180deg); }
.est-customize { margin-top: 12px; display: grid; gap: 8px; }
.est-addon {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px;
  color: var(--off-white); cursor: pointer; text-align: start; font-size: .92rem;
  transition: border-color .3s ease, background .3s ease;
}
.est-addon:hover { border-color: rgba(201,169,110,0.45); }
.est-addon:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.est-addon[aria-pressed="true"] { border-color: var(--gold); background: rgba(201,169,110,0.08); }
.est-addon-check { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--black); transition: background .25s ease, border-color .25s ease; }
.est-addon-check svg { opacity: 0; transition: opacity .2s ease; }
.est-addon[aria-pressed="true"] .est-addon-check { background: var(--gold); border-color: var(--gold); }
.est-addon[aria-pressed="true"] .est-addon-check svg { opacity: 1; }
.est-addon-name { flex: 1; min-width: 0; }
.est-addon-amt { color: var(--gold); font-variant-numeric: tabular-nums; }

/* summary additions */
.est-summary-pkg { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.05rem; margin-bottom: 2px; }
.est-vat { margin-top: 8px; font-size: .72rem; color: var(--muted); line-height: 1.5; }
.est-valueline { margin-top: 12px; font-size: .84rem; line-height: 1.5; color: rgba(223,192,138,0.92); min-height: 1.4em; }
.est-social { display: block; text-align: center; margin-top: 14px; font-size: .76rem; color: var(--muted); transition: color .3s; }
.est-social:hover { color: var(--gold); }

/* Sticky mobile total bar */
.est-sticky { display: none; }
@media (max-width: 980px) {
  .est-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 11px clamp(16px,4vw,24px); padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,10,10,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
  }
  .est-sticky-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .est-sticky-label { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .est-sticky-price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--off-white); font-variant-numeric: tabular-nums; }
  .est-sticky-cur { color: var(--gold); }
  .est-sticky-vat { font-size: .58rem; color: var(--muted); }
  .est-sticky-cta { white-space: nowrap; padding: 12px 20px; font-size: .8rem; }
  .est-page { padding-bottom: 84px; }
  .est-page .wa-float, .est-page .back-top { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .est-package, .est-addon, .est-customize-chev, .est-package-check { transition: none !important; }
}

/* ===================================================================
   06 — MOOD BOARD (optional step; flavours the lead, never the price)
   Mobile-first; logical props for RTL; 44px+ touch targets.
   =================================================================== */
.est-mood-opt { margin-inline-start: auto; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.est-mood-sub { margin: clamp(22px, 2.8vw, 30px) 0 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* style cards — gradient swatches, zero image bytes, instant paint */
.est-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.est-style { display: flex; flex-direction: column; padding: 0; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; min-height: 44px; color: var(--muted); font-family: var(--font-sans); transition: border-color .25s, color .25s; }
.est-style:hover, .est-style:focus-visible { border-color: rgba(201,169,110,.5); }
.est-style[aria-pressed="true"] { border-color: var(--gold); color: var(--off-white); box-shadow: 0 0 0 1px var(--gold) inset; }
.est-style-sw { display: block; height: 52px; }
.est-style-name { display: block; padding: 9px 10px 11px; font-size: .73rem; line-height: 1.3; text-align: start; }
.est-style[data-mood-style="modern"] .est-style-sw { background: linear-gradient(120deg, #e8e6e1, #b9b7b2 60%, #8e8c88); }
.est-style[data-mood-style="medit"] .est-style-sw { background: linear-gradient(120deg, #f3ead9, #d9c6a3 50%, #7fa3b0); }
.est-style[data-mood-style="luxury"] .est-style-sw { background: linear-gradient(120deg, #15151a, #3a3440 55%, #c9a96e); }
.est-style[data-mood-style="scandi"] .est-style-sw { background: linear-gradient(120deg, #f5f2ec, #e0d8c9 55%, #b9c4bd); }
.est-style[data-mood-style="industrial"] .est-style-sw { background: linear-gradient(120deg, #3c3c40, #56565c 55%, #2b2b2e); }
.est-style[data-mood-style="organic"] .est-style-sw { background: linear-gradient(120deg, #d9c0a3, #a98c68 55%, #6f5b42); }
.est-style[data-mood-style="classic"] .est-style-sw { background: linear-gradient(120deg, #efe7da, #d4c5ab 55%, #9c8b72); }

/* material + palette pills */
.est-mats, .est-pals { display: flex; flex-wrap: wrap; gap: 8px; }
.est-mat, .est-pal { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.02); color: var(--muted); font-family: var(--font-sans); font-size: .76rem; cursor: pointer; transition: border-color .25s, color .25s; }
.est-mat:hover, .est-pal:hover, .est-mat:focus-visible, .est-pal:focus-visible { border-color: rgba(201,169,110,.5); }
.est-mat[aria-pressed="true"], .est-pal[aria-pressed="true"] { border-color: var(--gold); color: var(--off-white); box-shadow: 0 0 0 1px var(--gold) inset; }
.est-mat-sw { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,.18); }
.est-mat[data-mood-mat="oak"] .est-mat-sw { background: linear-gradient(135deg, #b08756, #6f4f2c); }
.est-mat[data-mood-mat="marble"] .est-mat-sw { background: linear-gradient(135deg, #efeae2, #cfc6b8); }
.est-mat[data-mood-mat="micro"] .est-mat-sw { background: linear-gradient(135deg, #b9b6b0, #8f8c86); }
.est-mat[data-mood-mat="concrete"] .est-mat-sw { background: linear-gradient(135deg, #9a9a9a, #6e6e6e); }
.est-mat[data-mood-mat="steel"] .est-mat-sw { background: linear-gradient(135deg, #33343a, #15161a); }
.est-mat[data-mood-mat="brass"] .est-mat-sw { background: linear-gradient(135deg, #d9b36a, #9c7a3c); }
.est-mat[data-mood-mat="stone"] .est-mat-sw { background: linear-gradient(135deg, #a89e8d, #7c7263); }
.est-mat[data-mood-mat="glass"] .est-mat-sw { background: linear-gradient(135deg, rgba(173,216,230,.85), rgba(140,170,190,.5)); }
.est-pal-dots { display: inline-flex; gap: 3px; }
.est-pal-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }

/* mood axes — semantic sliders, forced LTR so labels match thumb ends */
.est-axes { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.est-axis { display: flex; align-items: center; gap: 14px; }
.est-axis-end { flex: 0 0 auto; min-width: 62px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.est-axis .est-axis-end:last-child { text-align: right; }
.est-axis-range { flex: 1; min-width: 0; -webkit-appearance: none; appearance: none; direction: ltr; height: 3px; border-radius: 99px; background: rgba(255,255,255,.12); outline: none; cursor: pointer; }
.est-axis-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--off-black); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
.est-axis-range::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--gold); border: 3px solid var(--off-black); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
.est-axis-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* inspiration uploads — client-side previews only */
.est-up { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.est-up-btn { min-height: 44px; padding: 10px 18px; border: 1px dashed rgba(201,169,110,.45); border-radius: 10px; background: rgba(201,169,110,.05); color: var(--gold); font-family: var(--font-sans); font-size: .78rem; letter-spacing: .06em; cursor: pointer; transition: border-color .25s, background .25s; }
.est-up-btn:hover, .est-up-btn:focus-visible { border-color: var(--gold); background: rgba(201,169,110,.1); }
.est-up-hint { flex: 1 1 240px; font-size: .72rem; line-height: 1.55; color: var(--muted); }
.est-up-errors { margin-top: 8px; font-size: .74rem; color: #e08585; min-height: 0; }
.est-up-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.est-up-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: rgba(201,169,110,.08); }
.est-up-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.est-up-x { position: absolute; top: 4px; inset-inline-end: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(8,8,8,.78); color: var(--off-white); font-size: 13px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.est-up-x:hover, .est-up-x:focus-visible { background: var(--gold); color: var(--black); }

/* live board summary chips + authority line (summary card) */
.est-mood-summary { margin-top: clamp(14px, 2vw, 18px); padding-top: clamp(12px, 1.6vw, 16px); border-top: 1px solid var(--border); }
.est-mood-summary-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.est-mood-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.est-mood-chips span { font-size: .68rem; color: rgba(240,237,232,.75); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.est-authority { margin-top: 10px; text-align: center; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(240,237,232,.38); }

@media (max-width: 560px) {
  .est-styles { grid-template-columns: repeat(2, 1fr); }
  .est-axis-end { min-width: 52px; font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  .est-style, .est-mat, .est-pal, .est-up-btn { transition: none !important; }
}
