/* RA one-font rule (owner 28 Nov): BT Grotesk text, Geist Mono captions */
@font-face{font-family:"BT Grotesk";src:url("assets/fonts/BTGrotesk-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"BT Grotesk";src:url("assets/fonts/BTGrotesk-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"BT Grotesk";src:url("assets/fonts/BTGrotesk-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"BT Grotesk";src:url("assets/fonts/BTGrotesk-Bold.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("assets/fonts/GeistMono-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("assets/fonts/GeistMono-Medium.woff2") format("woff2");font-weight:500 900;font-style:normal;font-display:swap}
/* RA DESIGN — Heron Canonical Palette & Personal Design vNext Static Prototype Styles */
:root {
  --bg: #f7f5f0;
  --surface: #f1eee6;
  --surface-2: #ffffff;
  --ink: #262622;
  --muted: #625f56;
  --rule: #c8c3b8;
  --copper: #9a5326;
  --gold: #c7713d;
  --pass: #2a6e47;
  --warn: #b33326;
  --banner-bg: #262622;
  --banner-ink: #f7f5f0;
  --radius: 6px;
  --font-sans: "BT Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "Consolas", "SFMono-Regular", monospace;
}

html[data-theme="dark"] {
  --bg: #141412;
  --surface: #1d1c19;
  --surface-2: #24231f;
  --ink: #f1eee6;
  --muted: #b0aa9c;
  --rule: #3a3832;
  --copper: #d68854;
  --gold: #e49b68;
  --pass: #4aa873;
  --warn: #e06c5d;
  --banner-bg: #9a5326;
  --banner-ink: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.proto-banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
  border-bottom: 1px solid var(--gold);
}

/* Home Master Header Shell (Heron) */
.ra-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.ra-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ra-brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--copper);
}
.ra-brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  font-weight: 400;
}
.ra-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ra-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.ra-nav-links a.active,
.ra-nav-links a:hover { color: var(--ink); }
.ra-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.pill-btn, .cta-btn {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font-size: 12.5px;
  font-family: var(--font-sans);
  padding: 7px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.pill-btn:hover:not(:disabled) { border-color: var(--copper); color: var(--copper); }
.pill-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cta-btn.primary {
  background: var(--copper);
  color: #ffffff;
  border-color: var(--copper);
  font-weight: 600;
}
.cta-btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.cta-btn.secondary { background: var(--surface-2); }
.cta-btn:disabled, .pill-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.pd-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 20px 36px;
}

.entry-view {
  max-width: 980px;
  margin: 24px auto 40px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}
.entry-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.entry-sub {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 68ch;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.choice-card {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.choice-card:hover { border-color: var(--copper); transform: translateY(-2px); }
.choice-card h3 { margin: 0; font-size: 20px; }
.choice-card p { margin: 0; font-size: 14px; color: var(--muted); }
.choice-meta {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  border-top: 1px dashed var(--rule);
}

.coach-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: 11px 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.coach-text { font-size: 13.5px; font-weight: 500; flex: 1 1 300px; }
.norm-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--pass);
  color: var(--pass);
  background: var(--surface-2);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.norm-pill.fail {
  border-color: var(--warn);
  color: var(--warn);
  box-shadow: 0 0 0 1px rgba(179, 51, 38, 0.16);
}
.norm-pill:hover { transform: translateY(-1px); }

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.step-tab {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius);
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}
.step-tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.step-tab.done { border-color: var(--pass); color: var(--ink); }

/* Desktop: ~35% controls / ~65% drawing */
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.35fr) minmax(0, 0.65fr);
  gap: 16px;
  align-items: start;
}
.workspace-grid-even {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 15px;
}
.panel h2 { font-size: 16px; margin: 0 0 10px; }
.panel h3 { font-size: 12.5px; margin: 14px 0 8px; color: var(--copper); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  font-family: var(--font-sans);
}
.field textarea { min-height: 110px; resize: vertical; }

@keyframes pulseField {
  0% { box-shadow: 0 0 0 0 rgba(179, 51, 38, 0.55); border-color: var(--warn); }
  50% { box-shadow: 0 0 0 5px rgba(179, 51, 38, 0.22); border-color: var(--warn); }
  100% { box-shadow: 0 0 0 0 rgba(179, 51, 38, 0); }
}
.field-pulse {
  animation: pulseField 1.4s ease 2;
  border-color: var(--warn) !important;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-top: 8px;
  cursor: pointer;
}
.check-row input { margin-top: 3px; }

.sketch-box {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px dashed var(--copper);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sketch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}

.client-summary-card {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.client-area-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--copper);
}

.canvas-box {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px;
}
.mock-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  background: #fff3dc;
  color: #7c4100;
  border: 1px solid #d9a441;
  border-radius: 4px;
  margin-bottom: 8px;
}
.legal-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 6px 0 0;
}
.plan-svg {
  width: 100%;
  height: auto;
  max-height: 580px;
  display: block;
  border: 1px solid var(--rule);
  background: #faf8f4;
  touch-action: pan-y;
}
html[data-theme="dark"] .plan-svg { background: #191815; }

.tool-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  align-items: center;
}

details.adv-drawer {
  margin-top: 12px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--surface);
}
details.adv-drawer summary {
  cursor: pointer;
  font-size: 12.5px;
  color: var(--muted);
}

/* Visual Image Swatch Grid (Step 3) */
.swatch-section { margin-bottom: 14px; }
.swatch-section > label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.swatch-card {
  background: var(--surface-2);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  color: var(--ink);
  transition: border-color 0.14s ease, transform 0.14s ease;
}
.swatch-card:hover { border-color: var(--copper); transform: translateY(-1px); }
.swatch-card.active {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px var(--copper);
  background: var(--bg);
}
.swatch-thumb {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.swatch-name {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}

.palette-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.palette-pill {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.palette-pill img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}
.palette-pill-k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}
.palette-pill-v {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}
.infeasible-banner {
  margin-bottom: 8px;
  padding: 9px 12px;
  background: #fff3ee;
  border: 1px solid var(--warn);
  border-left: 4px solid var(--warn);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.4;
}
html[data-theme="dark"] .infeasible-banner {
  background: rgba(224, 108, 93, 0.14);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.tier-card {
  background: var(--surface-2);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  color: var(--ink);
}
.tier-card.active { border-color: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.tier-card img { width: 100%; height: 195px; object-fit: contain; border-radius: 4px; border: 1px solid var(--rule); background: #f7f5f0; }
.tier-price { font-family: var(--font-mono); color: var(--copper); font-weight: 700; font-size: 15px; }
.tier-pay { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }

.advice-box {
  background: var(--surface-2);
  border: 1px solid var(--pass);
  border-left: 4px solid var(--pass);
  border-radius: var(--radius);
  padding: 14px;
}
.advice-box.fail {
  border-color: var(--warn);
  border-left-color: var(--warn);
}
.advice-box h4 { margin: 0 0 6px; font-size: 14px; }
.advice-list { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.advice-item-btn {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 7px 10px;
  color: var(--ink);
  font-size: 12.5px;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.advice-item-btn:hover { border-color: var(--copper); }
.advice-fix-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  font-weight: 700;
  white-space: nowrap;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.sticky-nav {
  position: sticky;
  bottom: 0;
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 40;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 15, 0.72);
  display: grid;
  place-items: center;
  padding: 14px;
  z-index: 80;
  overflow-y: auto;
}
.modal-card {
  width: 100%;
  max-width: 610px;
  max-height: 94vh;
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.modal-card h3 { margin: 0 0 4px; font-size: 18px; }
.modal-card p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.sn-fieldset {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 8px 10px;
  margin: 0;
  background: var(--surface);
}
.sn-fieldset legend {
  font-size: 12px;
  font-weight: 600;
  color: var(--copper);
  padding: 0 4px;
}
.sn-opt {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  font-size: 12.5px;
}
.sn-banner {
  padding: 9px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--copper);
  background: var(--surface);
  font-size: 13px;
}
.sn-bullets {
  margin: 4px 0 4px 16px;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.sn-bullets li { margin-bottom: 2px; }
details.full-cond-details {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
details.full-cond-details summary {
  cursor: pointer;
  color: var(--copper);
  font-weight: 600;
}
details.full-cond-details p {
  margin: 6px 0 0;
  padding: 6px 8px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1.4;
}

.modal-card .field input, .modal-card .field select, .modal-card .field textarea {
  padding: 6px 9px;
}
.modal-card .check-row {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.34;
}

/* ?dev=1 Owner Deliverables Studio Panel */
.dev-panel {
  margin-top: 18px;
  border-style: dashed;
  border-color: var(--copper);
}
.dev-sheet-svg {
  width: 100%;
  height: auto;
  max-height: 540px;
  border: 1px solid var(--rule);
  background: #faf8f4;
  display: block;
}
.dev-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}
.dev-table th, .dev-table td {
  border-bottom: 1px solid var(--rule);
  padding: 6px 8px;
  text-align: left;
}
.dev-sample-3d {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #141412;
}

.slip-box {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed var(--copper);
  background: var(--surface);
  border-radius: var(--radius);
  text-align: left;
  font-size: 12.5px;
  font-family: var(--font-mono);
}
.slip-dl {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
}
.slip-dl dt { color: var(--muted); font-weight: 400; }
.slip-dl dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }

/* Home Master Footer Layout */
.ra-footer {
  max-width: 1380px;
  margin: 28px auto 36px;
  padding: 22px 20px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.ra-footer h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--copper);
  letter-spacing: 0.06em;
}

.hidden { display: none !important; }

@media (max-width: 1120px) {
  .ra-nav-links { display: none; }
}
@media (max-width: 960px) {
  .workspace-grid, .workspace-grid-even, .card-grid-2, .card-grid-3, .tier-grid, .ra-footer {
    grid-template-columns: 1fr;
  }
  .workspace-grid .canvas-box {
    order: -1;
  }
  .step-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-header { padding: 10px 14px; }
  .pd-shell { padding: 14px 12px 24px; }
}
@media (max-width: 640px) {
  .ra-header { flex-wrap: wrap; }
  .ra-header-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
}
@media print {
  .proto-banner, .ra-header, .pd-shell, .ra-footer, #emailModal, .modal-actions { display: none !important; }
  .modal-backdrop { position: static; background: none; padding: 0; }
  .modal-card { box-shadow: none; border: 1px solid #000; max-width: 100%; }
}

/* Laura 28 Nov: cottage note under the size fields */
.field-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted, #6b655c); }

/* one-font rule: form controls use the page font */
button,input,select,textarea{font-family:inherit}

/* Laura 28 Nov: house look picker + live preview */
.look-section h3{margin:0 0 4px}
.look-section > label{display:block;margin-top:14px}
.look-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}
.look-preview{position:relative;margin:10px 0 4px;border-radius:6px;overflow:hidden;background:var(--surface)}
.look-preview > img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.look-hint{position:absolute;right:8px;bottom:8px;font-family:var(--font-mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:color-mix(in srgb,var(--bg) 82%,transparent);padding:3px 7px;border-radius:3px;pointer-events:none}
/* Laura 28 Nov: generating panel */
.gen-overlay{position:fixed;inset:0;z-index:900;display:grid;place-items:center;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(3px)}
.gen-overlay.hidden{display:none}
.gen-card{width:min(420px,88vw);padding:28px 30px;border:1px solid var(--rule);background:var(--surface-2);border-radius:6px;box-shadow:0 18px 50px rgba(0,0,0,.12)}
.gen-title{font-size:20px;font-weight:600;margin-bottom:16px;color:var(--ink)}
.gen-steps{list-style:none;margin:0 0 18px;padding:0;font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.gen-steps li{padding:6px 0;color:var(--muted);opacity:.45;transition:opacity .3s,color .3s}
.gen-steps li::before{content:"○";display:inline-block;width:20px;color:var(--rule)}
.gen-steps li.on{opacity:1;color:var(--ink)}
.gen-steps li.on::before{content:"◐";color:var(--copper)}
.gen-steps li.done{opacity:1;color:var(--ink)}
.gen-steps li.done::before{content:"●";color:var(--pass)}
.gen-bar{height:3px;background:var(--rule);border-radius:2px;overflow:hidden}
.gen-bar span{display:block;height:100%;width:0;background:var(--copper);transition:width .4s linear}

/* Laura 29 Nov: "Where is the house?" text choices (note for the AI render, no 3D change) */
.look-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.look-chip{font:inherit;font-size:13px;padding:7px 12px;border:1.5px solid var(--rule);border-radius:999px;background:var(--surface-2);color:var(--ink);cursor:pointer}
.look-chip:hover{border-color:var(--copper)}
.look-chip.active{border-color:var(--copper);background:color-mix(in srgb,var(--copper) 12%,transparent);font-weight:600}
.look-chip:focus-visible{outline:2px solid var(--copper);outline-offset:2px}

/* Laura 29 Nov (owner): client preview watermark over every 2D / 3D design (clean in the owner view and admin exports) */
body.wm-on .wm{position:relative}
body.wm-on .wm::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='170'%3E%3Ctext x='150' y='95' text-anchor='middle' transform='rotate(-24 150 85)' font-family='Geist Mono,Consolas,monospace' font-size='15' font-weight='700' letter-spacing='3' fill='%23857e72' fill-opacity='0.30'%3ERA DESIGN %C2%B7 PREVIEW%3C/text%3E%3C/svg%3E");
  background-repeat:repeat;background-size:300px 170px}
@media print{body.wm-on .wm::after{background-size:220px 125px}}
body.wm-on .wm .wm::after{display:none}   /* one layer only when 3D sits inside #lookPreview */

/* Laura 29 Nov (owner): "What you get" - the client's own drawings per package (step 4) */
.pd-deliver{margin:18px 0 6px;border-top:1px solid var(--rule);padding-top:16px}
.pd-dtitle h3{margin:0 0 4px;font-size:18px}
.pd-dtitle p{margin:0 0 12px;color:var(--muted);font-size:13px}
.pd-dgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pd-dcard{border:1px solid var(--rule);border-radius:10px;background:var(--surface-2,#faf8f4);padding:10px;display:flex;flex-direction:column;gap:8px;transition:opacity .2s,filter .2s,border-color .2s}
.pd-dcard.pd-wide{grid-column:span 2}
.pd-dhead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px}
.pd-dtag{font:600 11px "Geist Mono",monospace;color:var(--copper);white-space:nowrap}
.pd-off{opacity:.5;filter:grayscale(.85);cursor:pointer}
.pd-off:hover,.pd-off:focus-visible{opacity:.8;filter:grayscale(.3);border-color:var(--copper);outline:none}
.pd-off .pd-dtag{color:var(--ink)}
.pd-dplans{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.pd-dfig{margin:0}
.pd-dfig figcaption{font:500 11px "Geist Mono",monospace;color:var(--muted);margin-top:4px}
.pd-dmedia{background:#fbfaf7;border:1px solid var(--rule);border-radius:6px;aspect-ratio:840/540;overflow:hidden}
.pd-dmedia svg{width:100%;height:100%;display:block}
.pd-dtable{max-height:190px;overflow:auto;font-size:12px}
.pd-dtable table{width:100%;border-collapse:collapse}
.pd-dtable th,.pd-dtable td{text-align:left;padding:4px 6px;border-bottom:1px solid var(--rule)}
.pd-dtable .num{text-align:right}
.pd-lock{color:var(--muted);font-family:"Geist Mono",monospace;white-space:nowrap}
.pd-d3d{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;border:1px dashed var(--rule);border-radius:6px;text-align:center;padding:10px}
.pd-d3d span{font:700 26px "Geist Mono",monospace;color:var(--copper)}
.pd-d3d p,.pd-dnote{margin:0;font-size:12px;color:var(--muted)}
.pd-deliver>.pd-dnote{margin-top:10px}
@media (max-width:760px){.pd-dgrid{grid-template-columns:1fr}.pd-dcard.pd-wide{grid-column:auto}}

/* Laura 29 Nov: server payment block of a real order (PD_SUBMIT.payHtml) */
#paySrvBox .pd-pay{margin:14px 0;padding:14px;border:1px solid var(--copper,#c7713d);border-radius:8px;text-align:left}
#paySrvBox .pd-pay h5{margin:0 0 6px;font-size:15px}
#paySrvBox .pd-pay-row{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
#paySrvBox dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0;font-size:14px}
#paySrvBox dt{opacity:.75}#paySrvBox dd{margin:0;font-family:"Geist Mono",monospace}
#paySrvBox .pd-qr{width:132px;height:132px;flex:none}
#paySrvBox .pd-pay-help{font-size:13px;opacity:.8;margin:8px 0 0}
