/* Edanpower Solar Designer — embedded stylesheet.
   Everything is scoped under .eps-root and resets inherited theme styles, so the
   designer looks the same on any WordPress theme. Light by default to match the
   host page; add data-eps-theme="dark" on the wrapper for a dark surface. */

.eps-root {
  --eps-paper:     #E9EDF0;
  --eps-surface:   #FFFFFF;
  --eps-surface-2: #F3F6F8;
  --eps-ink:       #16202B;
  --eps-ink-2:     #5A6B7A;
  --eps-ink-3:     #8696A3;
  --eps-line:      #D2DAE1;
  --eps-line-2:    #E3E9ED;
  --eps-solar:     #E08A1E;
  --eps-solar-s:   #FCF1DF;
  --eps-export:    #0E6E78;
  --eps-export-s:  #E0F0F1;
  --eps-canvas:    #1B242D;
  --eps-danger:    #B4442E;
  --eps-shadow:    0 1px 2px rgba(22,32,43,.06), 0 8px 24px rgba(22,32,43,.07);
  --eps-shadow-lg: 0 2px 6px rgba(22,32,43,.10), 0 24px 56px rgba(22,32,43,.16);
  --eps-r-s: 6px;
  --eps-r-m: 10px;
  --eps-r-l: 16px;
  --eps-h: 820px;

  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--eps-ink);
  -webkit-font-smoothing: antialiased;
  text-align: left;
  box-sizing: border-box;
}
.eps-root[data-eps-theme="dark"] {
  --eps-paper:     #10171E;
  --eps-surface:   #1A242E;
  --eps-surface-2: #202C37;
  --eps-ink:       #E7EDF2;
  --eps-ink-2:     #9DADBA;
  --eps-ink-3:     #70818F;
  --eps-line:      #2E3C49;
  --eps-line-2:    #263340;
  --eps-solar:     #F0A63E;
  --eps-solar-s:   rgba(56,41,19,.6);
  --eps-export:    #3FA7B2;
  --eps-export-s:  rgba(19,52,56,.6);
  --eps-canvas:    #121A21;
  color-scheme: dark;
}

.eps-root *,
.eps-root *::before,
.eps-root *::after { box-sizing: border-box; }

.eps-root [hidden] { display: none !important; }

.eps-root h1, .eps-root h2, .eps-root h3, .eps-root p, .eps-root dl,
.eps-root dd, .eps-root dt, .eps-root ol, .eps-root ul, .eps-root figure {
  margin: 0; padding: 0;
}
.eps-root h1, .eps-root h2, .eps-root h3 {
  font-weight: 600; letter-spacing: -.012em; line-height: 1.2;
  text-wrap: balance; color: var(--eps-ink); text-transform: none;
}
.eps-root ol, .eps-root ul { list-style: none; }
.eps-root button, .eps-root input, .eps-root select, .eps-root output {
  font: inherit; color: inherit; margin: 0; letter-spacing: inherit;
}
.eps-root button {
  cursor: pointer; background: none; border: 0;
  text-transform: none; box-shadow: none; text-decoration: none;
  width: auto; min-height: 0; line-height: 1.5;
}
.eps-root input, .eps-root select { background-image: none; box-shadow: none; max-width: none; }
.eps-root :focus-visible { outline: 2px solid var(--eps-solar); outline-offset: 2px; border-radius: 3px; }
.eps-root .eps-num { font-variant-numeric: tabular-nums; }
.eps-root svg:not(.leaflet-zoom-animated) { display: block; max-width: none; }

.eps-page-title { font-size: 1.6rem; margin-bottom: 14px !important; }
.eps-noscript {
  padding: 18px; background: var(--eps-surface-2);
  border: 1px solid var(--eps-line); border-radius: var(--eps-r-m);
}

/* ── shell ──────────────────────────────────────────────── */
.eps-app {
  display: flex; flex-direction: column;
  height: var(--eps-h); min-height: 560px;
  background: var(--eps-paper);
  border: 1px solid var(--eps-line);
  border-radius: var(--eps-r-l);
  overflow: hidden;
  position: relative;
}
.eps-app.eps-full {
  position: fixed; inset: 0; z-index: 99999;
  height: 100%; border-radius: 0; border: 0;
}

.eps-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; flex: none;
  background: var(--eps-surface); border-bottom: 1px solid var(--eps-line);
  position: relative; z-index: 6;
}
.eps-brand { font-weight: 700; font-size: 1.05rem; letter-spacing: -.03em; }
.eps-brand span { color: var(--eps-solar); }
.eps-tag {
  font-size: .66rem; font-weight: 600; color: var(--eps-ink-2);
  border: 1px solid var(--eps-line); padding: 3px 8px;
  border-radius: 100px; white-space: nowrap;
}
.eps-tag[data-demo="true"] { color: #8A5A05; border-color: #E6C178; background: var(--eps-solar-s); }

.eps-steps { display: flex; gap: 2px; margin-inline: auto; }
.eps-step {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 500; color: var(--eps-ink-3);
  padding: 5px 10px; border-radius: 100px; white-space: nowrap;
}
.eps-step i { width: 7px; height: 7px; border-radius: 50%; background: var(--eps-line); flex: none; }
.eps-step[data-on="done"] { color: var(--eps-ink-2); }
.eps-step[data-on="done"] i { background: var(--eps-export); }
.eps-step[data-on="now"] { color: var(--eps-ink); background: var(--eps-surface-2); }
.eps-step[data-on="now"] i { background: var(--eps-solar); }

.eps-root .eps-ghost {
  border: 1px solid var(--eps-line); color: var(--eps-ink-2);
  font-size: .76rem; font-weight: 500; padding: 6px 11px; border-radius: 100px;
}
.eps-root .eps-ghost:hover { border-color: var(--eps-ink-3); color: var(--eps-ink); }

/* ── split ──────────────────────────────────────────────── */
.eps-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 410px minmax(0,1fr); }
.eps-app[data-stage="quotes"] .eps-split { grid-template-columns: minmax(0,1fr); grid-template-rows: 180px minmax(0,1fr); }
.eps-app[data-stage="quotes"] .eps-scene { order: -1; }

.eps-rail {
  min-width: 0; min-height: 0; overflow-y: auto;
  background: var(--eps-surface); border-right: 1px solid var(--eps-line);
}
.eps-app[data-stage="quotes"] .eps-rail {
  border-right: 0; border-top: 1px solid var(--eps-line); background: var(--eps-paper);
}
.eps-rail-in { padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 16px; }

.eps-scene { position: relative; min-width: 0; min-height: 0; background: var(--eps-canvas); overflow: hidden; }
.eps-scene svg { width: 100%; height: 100%; }
.eps-scene-note {
  position: absolute; left: 10px; bottom: 9px; margin: 0 !important;
  font-size: .66rem; color: rgba(236,242,246,.55);
  background: rgba(10,16,21,.6); padding: 4px 9px; border-radius: 100px;
  pointer-events: none; max-width: calc(100% - 20px);
}
.eps-scene-badge {
  position: absolute; right: 10px; top: 10px;
  font-size: .68rem; font-weight: 600; color: #EAF1F5;
  background: rgba(10,16,21,.62); padding: 5px 10px; border-radius: 100px;
  pointer-events: none;
}
.eps-scene-badge b { color: var(--eps-solar); }
.eps-cell-hit { cursor: pointer; }
.eps-cell:hover .eps-cell-hit { opacity: .5 !important; }

/* ── rail type ──────────────────────────────────────────── */
.eps-eyebrow { font-size: .74rem; font-weight: 600; color: var(--eps-ink-2); }
.eps-lead { font-size: 1.42rem; line-height: 1.18; }
.eps-lead em { font-style: normal; color: var(--eps-solar); }
.eps-sub { font-size: .86rem; color: var(--eps-ink-2); }
.eps-fine { font-size: .72rem; color: var(--eps-ink-3); line-height: 1.45; }
.eps-stack { display: flex; flex-direction: column; gap: 16px; }
.eps-stack-s { display: flex; flex-direction: column; gap: 7px; }

/* ── address ────────────────────────────────────────────── */
.eps-search { position: relative; }
.eps-search input {
  width: 100%; padding: 12px 14px; border-radius: var(--eps-r-m);
  border: 1px solid var(--eps-line); background: var(--eps-surface-2); color: var(--eps-ink);
}
.eps-search input:focus { background: var(--eps-surface); border-color: var(--eps-ink-3); outline: none; }
.eps-sugg {
  position: absolute; inset-inline: 0; top: calc(100% + 5px); z-index: 8;
  background: var(--eps-surface); border: 1px solid var(--eps-line);
  border-radius: var(--eps-r-m); box-shadow: var(--eps-shadow-lg);
  overflow: hidden auto; max-height: 250px;
}
.eps-sugg button {
  display: block; width: 100%; text-align: left;
  border-bottom: 1px solid var(--eps-line-2); padding: 10px 13px; font-size: .85rem;
}
.eps-sugg button:last-child { border-bottom: 0; }
.eps-sugg button:hover, .eps-sugg button:focus-visible { background: var(--eps-surface-2); }
.eps-sugg b { font-weight: 600; display: block; }
.eps-sugg span { display: block; color: var(--eps-ink-3); font-size: .75rem; }

.eps-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.eps-chip {
  font-size: .72rem; color: var(--eps-ink-2); background: var(--eps-surface-2);
  border: 1px solid var(--eps-line-2); padding: 4px 10px; border-radius: 100px;
}

/* ── buttons ────────────────────────────────────────────── */
.eps-root .eps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--eps-ink); color: var(--eps-surface);
  border: 1px solid var(--eps-ink);
  padding: 12px 17px; border-radius: var(--eps-r-m);
  font-weight: 600; font-size: .89rem;
}
.eps-root .eps-btn:hover { opacity: .88; }
.eps-root .eps-btn[disabled] { opacity: .4; cursor: not-allowed; }
.eps-root .eps-btn-solar { background: var(--eps-solar); border-color: var(--eps-solar); color: #241603; }
.eps-root .eps-btn-line { background: none; color: var(--eps-ink); border-color: var(--eps-line); }
.eps-root .eps-btn-line:hover { background: var(--eps-surface-2); opacity: 1; }
.eps-root .eps-btn-wide { width: 100%; }
.eps-root .eps-linky {
  color: var(--eps-ink-2); font-size: .78rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--eps-line);
  padding: 0;
}
.eps-root .eps-linky:hover { color: var(--eps-ink); }

/* ── scan ───────────────────────────────────────────────── */
.eps-scanrow { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--eps-ink-3); }
.eps-scanrow[data-on="now"] { color: var(--eps-ink); }
.eps-scanrow[data-on="done"] { color: var(--eps-ink-2); }
.eps-dot {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid var(--eps-line); margin-top: 3px;
  display: grid; place-items: center;
}
.eps-scanrow[data-on="now"] .eps-dot {
  border-color: var(--eps-solar); border-top-color: transparent;
  animation: eps-spin .7s linear infinite;
}
.eps-scanrow[data-on="done"] .eps-dot { border-color: var(--eps-export); background: var(--eps-export); }
.eps-scanrow[data-on="done"] .eps-dot::after {
  content: ""; width: 5px; height: 8px;
  border: 2px solid var(--eps-surface); border-top: 0; border-left: 0;
  transform: rotate(42deg) translate(-1px,-1px);
}
@keyframes eps-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .eps-scanrow[data-on="now"] .eps-dot { animation: none; border-top-color: var(--eps-solar); }
}

/* ── roof spaces ────────────────────────────────────────── */
.eps-spaces { display: flex; flex-direction: column; gap: 7px; }
.eps-root .eps-space {
  display: grid; grid-template-columns: 20px minmax(0,1fr) auto;
  gap: 10px; align-items: center; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: var(--eps-r-m);
  border: 1px solid var(--eps-line); background: var(--eps-surface);
}
.eps-root .eps-space[data-on="true"] { border-color: var(--eps-solar); background: var(--eps-solar-s); }
.eps-root .eps-space[data-on="false"] { opacity: .66; }
.eps-tick {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--eps-line); background: var(--eps-surface);
  display: grid; place-items: center; flex: none;
}
.eps-root .eps-space[data-on="true"] .eps-tick { background: var(--eps-solar); border-color: var(--eps-solar); }
.eps-root .eps-space[data-on="true"] .eps-tick::after {
  content: ""; width: 5px; height: 8px;
  border: 2px solid #241603; border-top: 0; border-left: 0;
  transform: rotate(42deg) translate(-1px,-1px);
}
.eps-space-name { font-size: .86rem; font-weight: 600; display: block; }
.eps-space-sub { font-size: .73rem; color: var(--eps-ink-2); display: block; }
.eps-space-n { font-size: .92rem; font-weight: 700; white-space: nowrap; }
.eps-space-n small { font-weight: 500; color: var(--eps-ink-3); font-size: .7rem; }

.eps-stepper {
  display: inline-flex; align-items: center; gap: 3px;
  border: 1px solid var(--eps-line); border-radius: 100px; padding: 3px;
  background: var(--eps-surface);
}
.eps-stepper button {
  width: 29px; height: 29px; border-radius: 50%;
  background: var(--eps-surface-2); color: var(--eps-ink);
  font-size: 1.05rem; display: grid; place-items: center; padding: 0;
}
.eps-stepper button:hover { background: var(--eps-ink); color: var(--eps-surface); }
.eps-stepper button[disabled] { opacity: .35; cursor: not-allowed; background: var(--eps-surface-2); color: var(--eps-ink); }
.eps-stepper output { min-width: 76px; text-align: center; font-size: .82rem; font-weight: 600; }

/* ── metrics ────────────────────────────────────────────── */
.eps-mstrip {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid var(--eps-line); border-radius: var(--eps-r-m);
  overflow: hidden; background: var(--eps-surface);
}
.eps-mstrip > div { padding: 10px 12px; border-right: 1px solid var(--eps-line-2); min-width: 0; }
.eps-mstrip > div:last-child { border-right: 0; }
.eps-mstrip dt { font-size: .68rem; color: var(--eps-ink-2); }
.eps-mstrip dd { font-size: 1.08rem; font-weight: 700; margin-top: 2px !important; }
.eps-mstrip dd small { font-size: .68rem; font-weight: 500; color: var(--eps-ink-3); }

.eps-usage {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: var(--eps-r-m);
  background: var(--eps-surface-2); border: 1px solid var(--eps-line-2);
  font-size: .8rem; color: var(--eps-ink-2);
}
.eps-usage input {
  width: 88px; padding: 6px 8px; border-radius: var(--eps-r-s);
  border: 1px solid var(--eps-line); background: var(--eps-surface);
  font-variant-numeric: tabular-nums; color: var(--eps-ink);
}

.eps-note {
  display: flex; gap: 8px; font-size: .75rem; line-height: 1.45;
  color: var(--eps-ink-2); padding: 10px 12px; border-radius: var(--eps-r-s);
  background: var(--eps-surface-2); border-left: 2px solid var(--eps-solar);
}
.eps-note.eps-warn { border-left-color: var(--eps-danger); }
.eps-note b { color: var(--eps-ink); font-weight: 600; }

/* ── quotes ─────────────────────────────────────────────── */
.eps-qhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eps-qhead h2 { font-size: 1.22rem; }
.eps-toggle {
  display: inline-flex; background: var(--eps-surface-2);
  border: 1px solid var(--eps-line); border-radius: 100px; padding: 3px; gap: 2px;
}
.eps-toggle button {
  padding: 7px 14px; border-radius: 100px;
  font-size: .81rem; font-weight: 600; color: var(--eps-ink-2);
}
.eps-toggle button[aria-pressed="true"] { background: var(--eps-ink); color: var(--eps-surface); }

.eps-cards {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
  align-items: start;
}
.eps-card {
  background: var(--eps-surface); border: 1px solid var(--eps-line);
  border-radius: var(--eps-r-l); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
}
.eps-card[data-best="true"] { border-color: var(--eps-solar); box-shadow: var(--eps-shadow); }
.eps-card-top {
  padding: 12px 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid var(--eps-line-2); background: var(--eps-surface-2);
}
.eps-tier {
  font-size: .67rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 100px;
  background: var(--eps-ink); color: var(--eps-surface);
}
.eps-card[data-best="true"] .eps-tier { background: var(--eps-solar); color: #241603; }
.eps-apr {
  font-size: .67rem; font-weight: 600; color: var(--eps-export);
  background: var(--eps-export-s); padding: 3px 9px; border-radius: 100px;
}
.eps-card-body { padding: 15px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.eps-card h3 { font-size: .95rem; line-height: 1.3; }

.eps-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px,1fr)); gap: 8px; }
.eps-spec { min-width: 0; }
.eps-spec label { display: block; font-size: .67rem; color: var(--eps-ink-2); margin-bottom: 3px; }
.eps-spec select {
  width: 100%; padding: 7px 8px; border-radius: var(--eps-r-s);
  border: 1px solid var(--eps-line); background: var(--eps-surface);
  font-size: .77rem; color: var(--eps-ink);
}
.eps-spec .eps-fixed {
  padding: 7px 8px; border-radius: var(--eps-r-s); font-size: .77rem;
  background: var(--eps-surface-2); border: 1px dashed var(--eps-line); color: var(--eps-ink-2);
}

.eps-money { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eps-money > div { padding: 10px 11px; border-radius: var(--eps-r-m); min-width: 0; }
.eps-save { background: var(--eps-solar-s); border: 1px solid rgba(224,138,30,.3); }
.eps-cost { background: var(--eps-surface-2); border: 1px solid var(--eps-line-2); }
.eps-money dt { font-size: .67rem; color: var(--eps-ink-2); }
.eps-money dd { font-size: 1.18rem; font-weight: 700; margin-top: 3px !important; }
.eps-money dd small { font-size: .65rem; font-weight: 600; color: var(--eps-ink-2); }
.eps-mnote { font-size: .67rem; color: var(--eps-ink-2); margin-top: 2px !important; }
.eps-blur { filter: blur(7px); pointer-events: none; user-select: none; }

/* ── modal ──────────────────────────────────────────────── */
.eps-scrim {
  position: absolute; inset: 0; z-index: 50;
  background: rgba(14,20,27,.55);
  display: grid; place-items: center; padding: 16px;
}
.eps-app.eps-full .eps-scrim { position: fixed; }
.eps-modal {
  background: var(--eps-surface); border-radius: var(--eps-r-l);
  box-shadow: var(--eps-shadow-lg); width: min(420px, 100%);
  max-height: calc(100% - 24px); overflow-y: auto; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.eps-modal h2 { font-size: 1.22rem; }
.eps-fields { display: grid; gap: 10px; }
.eps-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eps-field label { display: block; font-size: .73rem; color: var(--eps-ink-2); margin-bottom: 4px; }
.eps-field input {
  width: 100%; padding: 10px 11px; border-radius: var(--eps-r-s);
  border: 1px solid var(--eps-line); background: var(--eps-surface-2); color: var(--eps-ink);
}
.eps-field input:focus { background: var(--eps-surface); border-color: var(--eps-ink-3); outline: none; }
.eps-field input[aria-invalid="true"] { border-color: var(--eps-danger); }
.eps-err { font-size: .7rem; color: var(--eps-danger); margin-top: 3px !important; }
.eps-perk { display: flex; gap: 8px; font-size: .81rem; color: var(--eps-ink-2); }
.eps-perk i { color: var(--eps-export); font-style: normal; flex: none; }
.eps-consent { display: flex; gap: 8px; font-size: .73rem; color: var(--eps-ink-2); align-items: flex-start; }
.eps-consent input { width: auto; margin-top: 3px; flex: none; }

.eps-breakdown {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--eps-line-2); border: 1px solid var(--eps-line-2);
  border-radius: var(--eps-r-m); overflow: hidden;
}
.eps-brow {
  display: flex; justify-content: space-between; gap: 12px;
  background: var(--eps-surface); padding: 9px 12px; font-size: .81rem;
}
.eps-brow.eps-tot { font-weight: 700; background: var(--eps-surface-2); }
.eps-brow span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

.eps-ftable { width: 100%; border-collapse: collapse; font-size: .79rem; }
.eps-ftable th, .eps-ftable td {
  text-align: right; padding: 8px 9px;
  border-bottom: 1px solid var(--eps-line-2);
  font-variant-numeric: tabular-nums; color: var(--eps-ink);
}
.eps-ftable th { font-size: .67rem; color: var(--eps-ink-2); font-weight: 600; }
.eps-ftable td:first-child, .eps-ftable th:first-child { text-align: left; }
.eps-ftable tr:last-child td { border-bottom: 0; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .eps-root { --eps-h: 760px; }
  .eps-steps { display: none; }
  .eps-split,
  .eps-app[data-stage="quotes"] .eps-split {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: 38% minmax(0,1fr);
  }
  .eps-scene { order: -1; }
  .eps-app[data-stage="quotes"] .eps-split { grid-template-rows: 140px minmax(0,1fr); }
  .eps-rail { border-right: 0; border-top: 1px solid var(--eps-line); }
  .eps-rail-in { padding: 18px 16px 24px; }
}
@media (max-width: 460px) {
  .eps-frow, .eps-money { grid-template-columns: 1fr; }
  .eps-lead { font-size: 1.26rem; }
  .eps-mstrip { grid-template-columns: 1fr; }
  .eps-mstrip > div { border-right: 0; border-bottom: 1px solid var(--eps-line-2); }
  .eps-mstrip > div:last-child { border-bottom: 0; }
}

/* ── map ────────────────────────────────────────────────── */
.eps-root .eps-map { position: absolute; inset: 0; background: var(--eps-canvas); }
.eps-root .eps-map.leaflet-container { font-family: inherit; background: var(--eps-canvas); }

/* Leaflet draws its own controls; keep the theme and the reset off them. */
.eps-root .leaflet-control a,
.eps-root .leaflet-bar a {
  background-color: #fff; color: #16202B; border-bottom: 1px solid #ccc;
  text-transform: none; letter-spacing: normal; font-family: inherit;
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  text-decoration: none; display: block;
}
.eps-root .leaflet-control a:hover { background-color: #f4f4f4; }
.eps-root .leaflet-control-attribution {
  font-size: 10px; line-height: 1.4; background: rgba(255,255,255,.75);
  padding: 2px 6px; color: #333;
}
.eps-root .leaflet-control-attribution a { all: revert; color: #0E6E78; }
.eps-root .leaflet-container { cursor: grab; }
.eps-root .eps-app[data-drawing="true"] .leaflet-container { cursor: crosshair; }

.eps-root .eps-maphud {
  position: absolute; left: 10px; top: 10px; z-index: 500;
  background: rgba(10,16,21,.72); color: #EAF1F5;
  font-size: .72rem; padding: 6px 10px; border-radius: var(--eps-r-s);
  max-width: calc(100% - 20px); pointer-events: none;
}

/* ── draw controls ──────────────────────────────────────── */
.eps-root .eps-drawbar { display: flex; gap: 7px; flex-wrap: wrap; }
.eps-root .eps-btn-sm { padding: 8px 13px; font-size: .81rem; border-radius: var(--eps-r-s); }

.eps-root .eps-faces { display: flex; flex-direction: column; gap: 7px; }

/* ── per-face controls ──────────────────────────────────── */
.eps-root .eps-tune {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: var(--eps-r-m);
  border: 1px solid var(--eps-line); background: var(--eps-surface-2);
}
.eps-root .eps-row {
  display: grid; grid-template-columns: 94px minmax(0,1fr) auto;
  gap: 9px; align-items: center; font-size: .79rem; color: var(--eps-ink-2);
}
.eps-root .eps-row select {
  width: 100%; padding: 6px 8px; border-radius: var(--eps-r-s);
  border: 1px solid var(--eps-line); background: var(--eps-surface);
  font-size: .79rem; color: var(--eps-ink); grid-column: 2 / span 2;
}
.eps-root .eps-row input[type="range"] {
  width: 100%; accent-color: var(--eps-solar); margin: 0; padding: 0;
  background: transparent; border: 0;
}
.eps-root .eps-row output { font-size: .79rem; font-weight: 600; color: var(--eps-ink); min-width: 34px; text-align: right; }
