/* suite-capture.css — in-suite planner capture (2026-11-03)
   Styles for the working planner rendered inside the member Suite's Plan
   view by suite-planner-capture.js. Everything is scoped under .spc- and
   wears the suite's own design language (its CSS variables), so the
   capture card reads as native suite furniture, not a pasted-in form. */

#suite-capture-card .spc-head h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3.4vw, 30px);
  margin: 0 0 6px;
  color: var(--ink);
}
#suite-capture-card .spc-sub { color: var(--muted); margin: 0 0 14px; max-width: 62ch; }
.spc-progress-track {
  height: 8px; border-radius: 99px; background: var(--surface2);
  border: 1px solid var(--line); overflow: hidden;
}
#spc-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  transition: width .4s ease;
}
.spc-progress-meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 8px; font-size: 13px; color: var(--muted);
}
#spc-save-state { color: var(--gold-pale); }
#spc-welcome {
  margin: 12px 0; padding: 12px 14px; border: 1px solid var(--gold-deep);
  border-radius: 12px; background: rgba(212, 165, 72, .08);
}
.spc-welcome-line { margin: 0 0 8px; color: var(--ink); }

.spc-chapter {
  border-top: 1px solid var(--line);
  padding: 20px 0 6px; margin-top: 20px;
}
.spc-ch-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.spc-step {
  font-family: var(--display); color: var(--gold);
  font-size: 15px; letter-spacing: .12em;
}
.spc-ch-head h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(19px, 2.6vw, 24px); margin: 0; color: var(--ink);
}
.spc-done { margin-left: auto; color: var(--gold-pale); font-size: 13px; white-space: nowrap; }
.spc-intro { color: var(--muted); margin: 4px 0 14px; max-width: 68ch; }

.spc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 16px;
}
.spc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.spc-field > span, .spc-field > legend {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.spc-field-wide { grid-column: 1 / -1; }
fieldset.spc-field { border: 0; padding: 0; margin: 0; }
.spc-input {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font: inherit; padding: 10px 12px; width: 100%;
}
.spc-input:focus { outline: none; border-color: var(--gold); }
textarea.spc-input { resize: vertical; min-height: 64px; }
.spc-trust, .spc-radio, .spc-checkitem {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink); cursor: pointer; padding: 6px 0;
}
.spc-trust input, .spc-radio input, .spc-checkitem input {
  accent-color: var(--gold); width: 18px; height: 18px; flex: none; margin-top: 1px;
}

.spc-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.spc-row {
  display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap;
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px;
}
.spc-row .spc-field { flex: 1 1 150px; }
.spc-row-x, .spc-mini {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 8px; cursor: pointer; font: inherit; padding: 6px 10px;
}
.spc-row-x:hover, .spc-mini:hover { border-color: var(--gold); color: var(--gold-pale); }
.spc-tl-btns { display: flex; gap: 6px; align-items: center; }
.spc-add {
  margin-top: 12px; background: transparent; border: 1px dashed var(--gold-deep);
  color: var(--gold-pale); border-radius: 10px; padding: 9px 14px;
  font: inherit; cursor: pointer;
}
.spc-add:hover { border-color: var(--gold); }

.spc-checkcount-line { color: var(--gold-pale); font-size: 13px; margin: 0 0 10px; }
.spc-checkgroup { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.spc-checkhead {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: var(--surface2); color: var(--ink); border: 0; cursor: pointer;
  font: inherit; padding: 12px 14px; text-align: left;
}
.spc-checkcount { color: var(--gold-pale); font-size: 13px; }
.spc-checkbody { padding: 6px 14px 10px; }

.spc-upsells { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.spc-upsell {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  background: var(--surface2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
.spc-upsell input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; margin-top: 2px; }
.spc-upsell-body b { color: var(--ink); font-size: 16px; }
/* Figure standard (PRICE-FIX-2026-11-03, routed here by that crew):
   DM Sans 800, tabular + lining numerals at the planner upsell's
   benchmark size — replaces 600-weight inherit-size. Color is the
   standard's night hex set literally: the app's seasonal themes
   redefine --gold-pale, and a price figure does not change voice
   with the season. */
.spc-upsell-price {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  color: #f6db9c;
  font-size: 1.22rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.spc-upsell-desc { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

.spc-sign-btn {
  margin-top: 14px; background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #191204; border: 0; border-radius: 12px; padding: 12px 20px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.spc-err { color: #e88; min-height: 1em; }
.spc-signed-line { color: var(--ink); font-size: 16px; }

.spc-pk-row {
  display: flex; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.spc-pk-row span {
  flex: 0 0 110px; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); padding-top: 3px;
}
.spc-pk-row b { color: var(--ink); font-weight: 500; }
.spc-pk-empty { color: var(--muted); }

@media (max-width: 560px) {
  .spc-row { padding: 10px; }
  .spc-pk-row span { flex-basis: 84px; }
}
