/* =========================================================
   Extra Comp Request — Pinksheet wizard design system
   Warm cream paper · hot pink accents · stepped sections
   Ported from design_handoff_extra_comp/pinksheet.css.
   Production defaults: athletic typography + grid page bg
   + cream sidebar. Alternate presets stripped.
   ========================================================= */

:root {
  /* Warm neutrals */
  --bg:            #FAF7F2;
  --bg-sunken:     #F2EEE6;
  --surface:       #FFFFFF;
  --surface-2:     #F7F3EC;
  --border:        #E6DFD2;
  --border-strong: #D4CBB8;
  --ink:           #1A1714;
  --ink-2:         #3D3730;
  --ink-3:         #6B6257;
  --ink-4:         #9A8F80;

  /* Pink — brand accent */
  --pink:        #EC4899;
  --pink-hover:  #DB2777;
  --pink-ink:    #9D174D;
  --pink-soft:   #FCE7F3;
  --pink-softer: #FDF2F8;
  --pink-tint:   #FBE3ED;

  /* Semantic — deadline urgency chips */
  --good: oklch(0.62 0.10 150);
  --warn: oklch(0.68 0.11 75);
  --bad:  oklch(0.58 0.13 25);

  --font-ui:      "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 4px; --r: 6px; --r-md: 8px; --r-lg: 12px;

  --shadow-xs:   0 1px 0 rgba(26,23,20,.04), 0 1px 2px rgba(26,23,20,.04);
  --shadow:      0 1px 0 rgba(26,23,20,.04), 0 4px 14px -6px rgba(26,23,20,.12);
  --shadow-lg:   0 1px 0 rgba(26,23,20,.05), 0 24px 48px -20px rgba(26,23,20,.25);
  --shadow-pink: 0 20px 50px -24px rgba(236, 72, 153, 0.35), 0 1px 0 rgba(26,23,20,.04);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at 50% -200px, rgba(236,72,153,0.22), transparent 60%),
    linear-gradient(180deg, var(--pink-tint) 0%, #F5EFE7 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(157,23,77,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157,23,77,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}
.page { position: relative; z-index: 1; }

/* Athletic typography baked in (Playfair Display headings) */
h1, .section-title, .masthead-title, .totals-row .value {
  font-weight: 500;
  letter-spacing: -0.025em;
}

button { font-family: inherit; font-size: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--pink-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--pink-soft); color: var(--pink-ink); }

/* ===== Page layout ===== */
.page {
  min-height: 100vh;
  padding: 32px 20px 80px;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.wrap.single {
  display: block;
}
.sticky-side { position: sticky; top: 24px; }
@media (max-width: 960px) {
  .wrap { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}

/* ===== Masthead ===== */
.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.logo-lockup img { height: 60px; width: auto; display: block; }
.masthead-center {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.masthead-title {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.masthead-sub {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--pink);
  font-style: italic;
  margin-top: 2px;
}
.top-user {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-align: right;
}
.top-user strong { color: var(--ink); font-weight: 500; }
.top-user a { color: var(--pink-ink); text-decoration: none; }
.top-user a:hover { text-decoration: underline; }
@media (max-width: 620px) {
  .masthead { grid-template-columns: 1fr; text-align: center; }
  .top-user { text-align: center; }
}

/* ===== Form heading ===== */
.form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 22px;
}
.form-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  line-height: 1;
}
.form-heading h1 em {
  font-style: italic;
  color: var(--pink);
  font-weight: 400;
}
.form-heading .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-align: right;
}
.form-heading .meta strong { color: var(--ink); font-weight: 500; }

/* ===== Deadlines board ===== */
.deadlines-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px 14px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.deadlines-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.label-up {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deadlines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
@media (max-width: 620px) { .deadlines-grid { grid-template-columns: 1fr; } }
.deadline-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 180ms cubic-bezier(.2,.6,.2,1);
}
.deadline-card:hover {
  border-color: var(--pink);
  background: var(--pink-softer);
  transform: translateY(-1px);
}
.deadline-card.is-active {
  border-color: var(--pink);
  background: var(--pink-softer);
  box-shadow: 0 0 0 2px var(--pink-soft);
}
.dl-date {
  text-align: center;
  padding: 6px 4px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.deadline-card.deadline-urgent .dl-date {
  background: color-mix(in oklab, var(--bad) 12%, white);
  border-color: color-mix(in oklab, var(--bad) 25%, transparent);
}
.dl-month {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}
.dl-day {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  margin-top: 3px;
  letter-spacing: -0.02em;
}
.deadline-card.deadline-urgent .dl-day { color: var(--bad); }
.dl-body { min-width: 0; }
.dl-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dl-loc {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.dl-days {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  font-weight: 500;
}

/* ===== Progress bar ===== */
.progress-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 16px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-xs);
}
.pb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pb-track {
  height: 6px;
  background: var(--bg-sunken);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink-hover) 100%);
  border-radius: 99px;
  transition: width 320ms cubic-bezier(.2,.6,.2,1);
}
.pb-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.pb-count em { color: var(--pink); font-style: normal; font-weight: 600; }

/* ===== Section card ===== */
.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 200ms ease, border-color 200ms ease, opacity 200ms ease;
}
.section:hover { border-color: var(--border-strong); }
.section.is-active { box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--pink) 30%, var(--border-strong)); }
.section.is-locked { opacity: 0.55; pointer-events: none; }
.section.is-locked .section-num { color: var(--ink-4); }
.section.is-locked .section-body { display: none; }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 18px 22px 8px;
}
.section-num {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--pink);
  font-weight: 400;
  letter-spacing: -0.02em;
  min-width: 38px;
  transition: color 180ms;
}
.section-num.is-done { color: var(--good); }
.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.section-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
  font-family: var(--font-ui);
}
.section-edit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.section-edit:hover { background: var(--pink-soft); }
.section-body { padding: 6px 22px 22px; animation: fade-in 250ms ease both; }

.section-summary {
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  animation: fade-in 200ms ease both;
}
.summary-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--pink-softer);
  border: 1px solid color-mix(in oklab, var(--pink) 20%, transparent);
  border-radius: 99px;
  color: var(--pink-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.summary-pill strong { color: var(--ink); font-weight: 600; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Fields ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.field-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.field-label .req { color: var(--pink); font-size: 10px; }
.field-hint {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.4;
}
.field-hint.inline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--pink-softer);
  border-left: 2px solid var(--pink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--pink-ink);
  font-size: 12px;
  margin-top: 4px;
}
.field-hint.bad { color: var(--bad); }

.input, .select, .textarea {
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  outline: none;
  font-size: 14.5px;
  color: var(--ink);
  width: 100%;
  transition: border-color 180ms, box-shadow 180ms, background 180ms;
}
.textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
  background: #FFFDFC;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6257' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.select-lg { height: 56px; font-size: 16px; padding-right: 40px; }
.input.small { height: 36px; font-size: 13px; padding: 0 10px; }
.select.small { height: 36px; font-size: 13px; padding: 0 28px 0 10px; background-position: right 10px center; }

/* ===== Toggle tiles ===== */
.bigtile-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) { .bigtile-group { grid-template-columns: 1fr; } }
.bigtile {
  position: relative;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  background: var(--surface);
  cursor: pointer;
  user-select: none;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.bigtile:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.bigtile-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-ink);
  display: grid; place-items: center;
  margin-bottom: 14px;
  transition: all 200ms;
}
.bigtile-icon svg { width: 22px; height: 22px; stroke-width: 1.75; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.bigtile-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.bigtile-title em { font-style: italic; color: var(--pink); font-weight: 400; }
.bigtile-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.45;
}
.bigtile.is-checked {
  border-color: var(--pink);
  background: linear-gradient(180deg, var(--pink-softer), var(--surface));
  box-shadow: var(--shadow-pink);
}
.bigtile.is-checked .bigtile-icon {
  background: var(--pink);
  color: #fff;
}
.bigtile .bigtile-radio {
  position: absolute; top: 18px; right: 18px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  display: grid; place-items: center;
}
.bigtile.is-checked .bigtile-radio { border-color: var(--pink); background: var(--pink); }
.bigtile.is-checked .bigtile-radio::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}

/* ===== Stepper (quantity) ===== */
.qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 4px;
}
.qty button {
  width: 28px; height: 28px;
  border: none; background: transparent;
  color: var(--ink-2);
  border-radius: 4px;
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: all .12s;
}
.qty button:hover:not(:disabled) { background: var(--pink-soft); color: var(--pink-ink); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty button svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.qty .val {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

/* Entry rows (Add) */
.entry-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .15s;
}
.entry-row:hover { border-color: var(--border-strong); }
.entry-row.has-qty { border-color: var(--pink); background: var(--pink-softer); }
.entry-row-title { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.entry-row-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.entry-row .price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  min-width: 60px;
  text-align: right;
}
.entry-row.has-qty .price { color: var(--pink-ink); }

/* Dance picker — extra row under entry-row when qty > 0 */
.entry-dance-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px dashed color-mix(in oklab, var(--pink) 25%, transparent);
  animation: fade-in 220ms ease both;
}
.entry-dance-picker .field-label { margin: 0; }

/* Item type section header inside Section 3 */
.entry-group-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 14px 0 6px;
  display: block;
}
.entry-group-label:first-child { margin-top: 0; }

/* Competition detail card */
.comp-detail {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.comp-detail-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--ink-2);
}
.comp-detail-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.comp-detail-meta svg {
  width: 14px; height: 14px; stroke: var(--ink-3); stroke-width: 1.75;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.comp-detail-deadline {
  text-align: right;
}
.comp-detail-deadline .label-up {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.comp-detail-deadline .val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  margin-top: 4px;
}
.comp-detail-deadline .days {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  display: inline-block;
}
.days-urgent { background: color-mix(in oklab, var(--bad) 14%, white); color: var(--bad); }
.days-warn   { background: color-mix(in oklab, var(--warn) 18%, white); color: oklch(0.45 0.11 75); }
.days-ok     { background: color-mix(in oklab, var(--good) 14%, white); color: var(--good); }

/* Drop row */
.drop-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .15s;
}
.drop-row:hover { border-color: var(--border-strong); }
.drop-row.is-on {
  border-color: var(--pink);
  background: var(--pink-softer);
}
.drop-row .price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  min-width: 60px;
  text-align: right;
}

/* File drop */
.file-drop {
  display: flex; align-items: center; gap: 12px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r);
  cursor: pointer;
  color: var(--ink-3);
  font-size: 13.5px;
  transition: all .15s;
}
.file-drop:hover { border-color: var(--pink); background: var(--pink-softer); color: var(--pink-ink); }
.file-drop input { display: none; }
.file-drop svg { stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.file-drop .filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.file-drop .remove {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pink-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--r-sm);
}
.file-drop .remove:hover { background: var(--pink-soft); }

/* ===== Nav buttons ===== */
.step-nav {
  display: flex; justify-content: space-between;
  margin-top: 18px;
  gap: 12px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(.2,.6,.2,1);
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.btn-primary:hover:not(:disabled) {
  background: #0F0D0B;
  box-shadow: var(--shadow-pink);
  text-decoration: none;
}
.btn-primary:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); color: var(--ink); text-decoration: none; }
.btn-link {
  background: transparent;
  color: var(--pink-ink);
  border: none;
  height: auto;
  padding: 6px 10px;
}
.btn-link:hover { background: var(--pink-soft); text-decoration: none; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Custom checkbox ===== */
.check {
  display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink);
  line-height: 1.4;
  position: relative;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  display: inline-grid; place-items: center;
  transition: all .15s;
  flex-shrink: 0;
  margin-top: 1px;
}
.check .box svg { opacity: 0; transform: scale(.6); transition: all .15s; }
.check input:checked + .box { background: var(--pink); border-color: var(--pink); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check:hover .box { border-color: var(--pink); }

/* ===== Sticky sidebar (cart) — cream variant ===== */
.sidebar {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-hd {
  padding: 18px 20px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px dashed var(--border);
}
.sidebar-hd .section-num { font-size: 30px; }
.sidebar-hd .section-title { font-size: 22px; }
.sidebar-body { padding: 16px 20px 20px; }

.sidebar-empty {
  padding: 24px 4px;
  text-align: center;
}
.sidebar-empty .glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: var(--pink);
  opacity: 0.7;
}
.sidebar-empty p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.itin-stop { padding: 12px 0; border-bottom: 1px dashed var(--border); animation: pop-in 220ms ease-out both; }
.itin-stop:last-of-type { border-bottom: none; padding-bottom: 4px; }
.itin-stop-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px; margin-bottom: 6px;
}
.itin-stop-name { font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.itin-stop-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 3px;
  text-transform: uppercase;
}
.itin-stop-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--pink-ink);
  font-weight: 500;
}
.itin-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  padding: 4px 0;
  font-size: 13px;
}
.itin-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.itin-line .price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.itin-line.is-drop { text-decoration: line-through; opacity: .7; }

.totals-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
}
.totals-row .label-up {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.totals-row .value {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.totals-row .value small {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.65;
  margin-left: 4px;
  font-weight: 400;
}

.sidebar-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--pink-softer);
  border: 1px solid color-mix(in oklab, var(--pink) 22%, transparent);
  border-left: 3px solid var(--pink);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--pink-ink);
  line-height: 1.5;
}
.sidebar-note strong { font-weight: 600; }

/* ===== Review card ===== */
.review-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.review-stop {
  border-bottom: 1px solid var(--border);
}
.review-stop:last-of-type { border-bottom: none; }
.review-head {
  padding: 18px 22px;
  border-bottom: 2px dashed var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: flex-start;
}
.review-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.review-comp-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 4px;
}
.review-deadline {
  padding: 10px 14px;
  background: var(--pink-soft);
  border: 1px solid color-mix(in oklab, var(--pink) 25%, transparent);
  border-radius: var(--r-sm);
  text-align: right;
}
.review-deadline .label-up { color: var(--pink-ink); font-size: 10px; }
.review-deadline .val {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--pink-ink);
  margin-top: 2px;
  letter-spacing: -0.02em;
}
.review-body { padding: 18px 22px; }
.review-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 6px 0;
  font-size: 14px;
  align-items: baseline;
}
.review-line .sub { color: var(--ink-3); font-size: 12px; }
.review-line .price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.review-line.is-drop .price { color: var(--ink-4); text-decoration: line-through; }
.review-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 13px;
  color: var(--ink-2);
}
.review-details .key { color: var(--ink-3); }
.review-totals {
  padding: 14px 22px;
  border-top: 1px solid var(--ink);
  background: var(--surface-2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}
.review-totals .label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.review-totals .amount {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* ===== Submit footer ===== */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 60px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 200ms cubic-bezier(.2,.6,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: inherit;
  margin-top: 14px;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(236,72,153,0.35), transparent);
  transform: translateX(-100%);
  transition: transform 500ms;
}
.btn-submit:hover:not(:disabled) { background: #0F0D0B; box-shadow: var(--shadow-pink); }
.btn-submit:hover:not(:disabled)::before { transform: translateX(100%); }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-submit svg { transition: transform 180ms; }
.btn-submit:hover:not(:disabled) svg { transform: translateX(4px); }

/* ===== Success ===== */
.success-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: fade-in 280ms ease both;
}
.success-glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 80px;
  line-height: 1;
  color: var(--pink);
}
.success-card h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 14px 0 6px;
}
.success-card h2 em { font-style: italic; color: var(--pink); font-weight: 400; }
.success-card p {
  color: var(--ink-3);
  max-width: 480px;
  margin: 8px auto 0;
  font-size: 14.5px;
}

/* ===== Auth screens ===== */
.auth-card {
  max-width: 460px;
  margin: 8vh auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  animation: fade-in 250ms ease both;
}
.auth-card .logo-lockup { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}
.auth-card h1 em { font-style: italic; color: var(--pink); font-weight: 400; }
.auth-card .auth-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.auth-card .auth-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 16px;
  text-align: center;
}
.auth-card .auth-meta strong { color: var(--ink); font-weight: 500; }
.auth-card .input.otp {
  text-align: center;
  font-size: 22px;
  letter-spacing: 10px;
  font-weight: 600;
  font-family: var(--font-mono);
  height: 56px;
}
.auth-error {
  background: color-mix(in oklab, var(--bad) 8%, white);
  border: 1px solid color-mix(in oklab, var(--bad) 35%, transparent);
  border-left: 3px solid var(--bad);
  color: var(--bad);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  text-align: left;
}

/* ===== Helpers ===== */
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-center { text-align: center; }
