/* ===================== Aquasani Intake — bold modern ===================== */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; color-scheme: light; overflow: hidden; overscroll-behavior: none; }
:root {
  --brand: #1486c9;
  --accent: #16a8d8;
  --radius: 16px;
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ink: #0d1f2b;
  --muted: #5d6e79;
  --faint: #8a99a3;
  --line: #e2ebf1;
  --paper: #ffffff;
  --bg: #eef4f8;
  --field-bg: #f6fafc;
  --err: #d64545;
  --ok: #16a34a;
}
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
#root { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
button { font-family: inherit; cursor: pointer; }

/* ===================== App layouts ===================== */
.app { height: 100dvh; max-height: 100dvh; overflow: hidden; min-height: 0; }
.app.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
}
.app.layout-top, .app.layout-focused { display: flex; flex-direction: column; min-height: 0; }

/* ===================== Brand panel (sidebar) ===================== */
.brand-panel {
  background: var(--brand);
  color: #fff;
  padding: 40px 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  min-height: 0;
  max-height: 100dvh;
}
.block-gradient .brand-panel {
  background: linear-gradient(155deg, color-mix(in oklab, var(--brand) 80%, #fff) 0%, var(--brand) 45%, color-mix(in oklab, var(--brand) 70%, #000) 100%);
}
.brand-panel::after {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}
.brand-top { margin-bottom: 32px; }
.brand-logo { height: 52px; width: auto; background: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.brand-pitch { margin-bottom: 36px; }
.brand-h { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; }
.brand-p { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.86); margin: 0; max-width: 30ch; }
.rail { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.rail-item { display: flex; align-items: center; gap: 14px; background: none; border: 0; text-align: left; padding: 11px 12px; border-radius: 12px; color: rgba(255,255,255,.7); transition: background .15s, color .15s; }
.rail-item:hover { background: rgba(255,255,255,.08); }
.rail-dot { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.rail-dot svg { width: 20px; height: 20px; }
.rail-text { display: flex; flex-direction: column; line-height: 1.2; }
.rail-num { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.rail-lab { font-size: 15px; font-weight: 600; }
.rail-current { color: #fff; background: rgba(255,255,255,.14); }
.rail-current .rail-dot { background: #fff; color: var(--brand); }
.rail-done { color: rgba(255,255,255,.92); }
.rail-done .rail-dot { background: rgba(255,255,255,.92); color: var(--brand); }
.brand-foot { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.7); }
.brand-foot strong { color: #fff; }

/* Keep all six steps visible when the browser window is short */
@media (max-height: 860px) {
  .brand-panel { padding: 30px 32px; }
  .brand-top { margin-bottom: 22px; }
  .brand-pitch { margin-bottom: 24px; }
  .brand-h { font-size: 27px; margin-bottom: 12px; }
  .brand-p { display: none; }
  .rail-item { padding: 9px 12px; }
  .brand-foot { margin-top: 22px; }
}
@media (max-height: 700px) {
  .brand-pitch { display: none; }
  .rail { margin-top: 12px; }
  .rail-item { padding: 8px 11px; }
  .rail-dot { width: 34px; height: 34px; flex-basis: 34px; }
}

/* ===================== Brand bar (top/focused) ===================== */
.brand-bar { display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.brand-logo-sm { height: 36px; width: auto; }
.brand-bar-tag { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 14px; letter-spacing: .01em; padding-left: 16px; border-left: 1px solid var(--line); }

/* ===================== Main column ===================== */
.main-col { display: flex; flex-direction: column; min-height: 0; height: 100%; max-height: 100dvh; background: var(--bg); overflow: hidden; }
.scroll-area { flex: 1 1 auto; overflow-y: auto; min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.form-inner { position: relative; max-width: 660px; margin: 0 auto; padding: 48px 40px 56px; }
.layout-focused .form-inner { max-width: 600px; padding-top: 56px; }

/* ===================== Top stepper ===================== */
.top-stepper { background: #fff; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.top-steps { display: flex; max-width: 900px; margin: 0 auto; padding: 16px 24px 0; gap: 6px; }
.tstep { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 2px 14px; color: var(--faint); }
.tstep-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--field-bg); border: 1.5px solid var(--line); color: var(--faint); transition: all .15s; }
.tstep-lab { font-size: 12.5px; font-weight: 600; }
.tstep-current .tstep-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.tstep-current { color: var(--ink); }
.tstep-done .tstep-num { background: color-mix(in oklab, var(--brand) 14%, #fff); border-color: color-mix(in oklab, var(--brand) 30%, #fff); color: var(--brand); }
.tstep-done { color: var(--muted); }
.top-bar { height: 4px; background: var(--line); }
.top-bar span { display: block; height: 100%; background: var(--brand); transition: width .35s cubic-bezier(.4,0,.2,1); }

/* ===================== Focus bar ===================== */
.focus-bar { max-width: 600px; width: 100%; margin: 0 auto; padding: 24px 40px 0; flex: 0 0 auto; }
.focus-meta { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.focus-track { height: 5px; background: #dde7ee; border-radius: 99px; overflow: hidden; }
.focus-track span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .35s cubic-bezier(.4,0,.2,1); }

/* ===================== Step head ===================== */
.step-head { margin-bottom: 32px; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.layout-sidebar .eyebrow { color: var(--brand); }
.step-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 12px; }
.step-sub { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 48ch; text-wrap: pretty; }

/* ===================== Fields ===================== */
.field { margin-bottom: 26px; }
.field-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 9px; color: var(--ink); }
.req { color: var(--brand); margin-left: 3px; }
.field-hint { font-size: 13.5px; color: var(--muted); margin: -3px 0 11px; line-height: 1.45; max-width: 52ch; }
.field-error { font-size: 13px; color: var(--err); margin-top: 7px; font-weight: 500; }
.banner-err { background: #fdecec; color: var(--err); border: 1px solid #f5c9c9; border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }

.inp { width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.inp::placeholder { color: var(--faint); }
.inp:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 14%, transparent); }
.inp-err, .inp-err .sel { border-color: var(--err) !important; }
.inp-area { resize: vertical; line-height: 1.5; }

.pac-container {
  z-index: 10000 !important;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  box-shadow: 0 12px 32px rgba(13, 31, 43, 0.12);
  font-family: var(--font-body);
  margin-top: 4px;
}
.pac-item { padding: 10px 12px; font-size: 14px; cursor: pointer; }
.pac-item:hover { background: color-mix(in oklab, var(--brand) 8%, #fff); }

.sel-wrap { position: relative; }
.sel { width: 100%; appearance: none; font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 42px 13px 15px; transition: border-color .15s, box-shadow .15s; }
.sel:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 14%, transparent); }
.sel:invalid { color: var(--faint); }
.sel-chev { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===================== Segmented blocks ===================== */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: var(--field-bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: all .15s; color: var(--ink); position: relative; }
.seg-btn:hover { border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); background: #fff; }
.seg-icon { color: var(--brand); margin-bottom: 4px; display: block; }
.seg-icon svg { display: block; }
.seg-lab { font-weight: 700; font-size: 15.5px; font-family: var(--font-head); letter-spacing: -.01em; }
.seg-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.seg-on { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 9%, #fff); box-shadow: 0 0 0 1px var(--brand); }
.seg-on .seg-desc { color: color-mix(in oklab, var(--brand) 60%, var(--muted)); }
.seg-on::after { content: "✓"; position: absolute; top: 12px; right: 14px; width: 22px; height: 22px; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* ===================== Chips (multi) ===================== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--field-bg); border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 16px 9px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: all .15s; }
.chip:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.chip-check { width: 20px; height: 20px; border-radius: 50%; background: #e6eef3; color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 700; transition: all .15s; }
.chip-on { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 10%, #fff); color: color-mix(in oklab, var(--brand) 75%, #000); }
.chip-on .chip-check { background: var(--brand); color: #fff; }

/* ===================== Toggle / Check ===================== */
.toggle { width: 50px; height: 28px; border-radius: 99px; background: #cdd9e1; border: 0; padding: 3px; transition: background .18s; position: relative; }
.toggle-knob { display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .18s; }
.toggle-on { background: var(--brand); }
.toggle-on .toggle-knob { transform: translateX(22px); }

.check-row { display: flex; align-items: flex-start; gap: 13px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field-bg); cursor: pointer; transition: all .15s; }
.check-row:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c2cfd8; background: #fff; display: grid; place-items: center; margin-top: 1px; transition: all .15s; }
.check-on { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 7%, #fff); }
.check-on .check-box { background: var(--brand); border-color: var(--brand); }
.check-text { font-size: 14.5px; line-height: 1.5; color: var(--ink); }

/* ===================== Stepper ===================== */
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field-bg); padding: 4px; }
.step-btn { width: 38px; height: 38px; border: 0; background: #fff; border-radius: 9px; font-size: 20px; font-weight: 600; color: var(--brand); box-shadow: 0 1px 2px rgba(0,0,0,.06); display: grid; place-items: center; line-height: 1; }
.step-btn:hover { background: color-mix(in oklab, var(--brand) 10%, #fff); }
.step-val { min-width: 40px; text-align: center; font-weight: 700; font-size: 17px; font-family: var(--font-head); }

/* ===================== Location & cooler cards ===================== */
.loc-card { background: #fff; border: 1.5px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(13,31,43,.04); }
.loc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.loc-card-title { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.loc-num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 15px; }
.loc-name-stack { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 1px; }
.loc-name-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.loc-name-inp { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); border: 0; border-bottom: 2px solid transparent; background: none; padding: 2px 0; letter-spacing: -.01em; }
.loc-name-inp:focus { outline: none; border-bottom-color: var(--brand); }
.loc-name-inp::placeholder { color: var(--faint); }
.loc-name-static { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.loc-card-meta { display: flex; align-items: center; gap: 14px; }
.loc-pill { background: color-mix(in oklab, var(--brand) 10%, #fff); color: color-mix(in oklab, var(--brand) 75%, #000); font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.link-remove { background: none; border: 0; color: var(--faint); font-size: 13px; font-weight: 600; padding: 4px; }
.link-remove:hover { color: var(--err); }
.addr-grid { display: grid; grid-template-columns: 2fr 1.4fr .8fr .8fr; gap: 14px; }
.addr-grid .field { margin-bottom: 0; }

.coolers-wrap { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.coolers-label { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.cooler-card { background: var(--field-bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.cooler-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cooler-tag { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.cooler-card .field { margin-bottom: 18px; }
.cooler-card .seg-btn { background: #fff; }

.plumb-block { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 4px; }
.plumb-head { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; margin-bottom: 14px; color: var(--ink); }
.plumb-dot { width: 26px; height: 26px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 14%, #fff); color: var(--accent); border-radius: 8px; }
.plumb-dot svg { width: 16px; height: 16px; }
.plumb-block .field:last-child { margin-bottom: 0; }

.add-btn { width: 100%; border: 1.5px dashed color-mix(in oklab, var(--brand) 40%, var(--line)); background: color-mix(in oklab, var(--brand) 4%, #fff); color: var(--brand); font-weight: 700; font-size: 14.5px; padding: 14px; border-radius: 12px; transition: all .15s; }
.add-btn:hover { background: color-mix(in oklab, var(--brand) 9%, #fff); border-style: solid; }
.add-cooler { margin-top: 4px; }
.add-loc { margin-bottom: 8px; }

/* ===================== Soft card / sub-section ===================== */
.card-soft { background: #fff; border: 1.5px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 22px; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(13,31,43,.04); }
.card-soft-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 18px; letter-spacing: -.01em; }
.card-soft .field:last-child { margin-bottom: 0; }

/* ===================== Months ===================== */
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.month { padding: 10px 4px; border: 1.5px solid var(--line); background: var(--field-bg); border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink); transition: all .15s; }
.month:hover { border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.month-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ===================== Review ===================== */
.rev-card { background: #fff; border: 1.5px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(13,31,43,.04); }
.rev-card-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rev-edit { background: none; border: 0; color: var(--brand); font-weight: 700; font-size: 13.5px; }
.rev-edit:hover { text-decoration: underline; }
.rev-row { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; font-size: 14.5px; }
.rev-label { color: var(--muted); }
.rev-value { font-weight: 600; text-align: right; }
.rev-loc { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rev-loc:last-child { border-bottom: 0; padding-bottom: 0; }
.rev-loc-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.rev-loc-label { color: var(--muted); font-weight: 600; }
.rev-loc-addr { font-size: 13.5px; color: var(--muted); margin: 2px 0 8px; }
.rev-cooler { display: flex; gap: 8px; font-size: 14px; padding: 3px 0; }
.rev-cooler-qty { font-weight: 800; color: var(--brand); font-family: var(--font-head); }

/* ===================== Per-location billing ===================== */
.bill-list { display: flex; flex-direction: column; gap: 14px; }
.bill-card { background: var(--field-bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.bill-card-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.bill-card .seg-btn { background: #fff; }
.bill-addr-fields { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.bill-addr-fields .field:last-child { margin-bottom: 0; }

/* ===================== Per-location on-site contacts ===================== */
.contact-locs { margin-top: 4px; }
.contact-locs-head { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 6px; letter-spacing: -.01em; }
.contact-locs-sub { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; max-width: 56ch; }
.contact-locs .bill-card { margin-bottom: 14px; }

/* ===================== Review contact groups ===================== */
.rev-contact { padding: 2px 0; }
.rev-contact-sep { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rev-contact-role { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }

/* ===================== Photo upload ===================== */
.photo-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.photo-thumb { position: relative; width: 104px; height: 104px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(13,31,43,.66); color: #fff; font-size: 16px; line-height: 1; display: grid; place-items: center; backdrop-filter: blur(2px); }
.photo-x:hover { background: var(--err); }
.photo-add { width: 104px; height: 104px; border-radius: 12px; border: 1.5px dashed color-mix(in oklab, var(--brand) 40%, var(--line)); background: color-mix(in oklab, var(--brand) 4%, #fff); color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: all .15s; }
.photo-add:hover, .photo-add-drag { background: color-mix(in oklab, var(--brand) 10%, #fff); border-style: solid; }
.photo-add-icon { font-size: 22px; font-weight: 600; line-height: 1; }
.photo-add-lab { font-size: 13px; font-weight: 700; font-family: var(--font-head); }
.photo-add-sub { font-size: 11px; color: var(--muted); }

/* ===================== Human verification gate ===================== */
.human-gate-card { border: 1.5px solid var(--line); background: #fff; border-radius: calc(var(--radius) + 2px); padding: 18px; box-shadow: 0 2px 10px rgba(13,31,43,.04); }
.human-gate-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.human-gate-sub { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.pour-stage { position: relative; display: flex; align-items: center; justify-content: space-between; height: 128px; margin-bottom: 14px; padding: 8px 20px; border-radius: 18px; background: #fff; touch-action: none; user-select: none; overflow: visible; }
.pour-drop { position: relative; z-index: 2; width: 48px; height: 48px; border: 0; padding: 0; background: transparent; color: var(--brand); cursor: grab; overflow: visible; }
.pour-drop-gone { opacity: 0; pointer-events: none; }
.pour-drop svg { width: 40px; height: 42px; overflow: visible; filter: drop-shadow(0 2px 4px rgba(20,134,201,.25)); }
.pour-hint { position: absolute; left: 68px; font-size: 12px; font-weight: 600; color: color-mix(in oklab, var(--brand) 80%, #fff); pointer-events: none; }
.pour-glass { margin-left: auto; width: 56px; height: 80px; color: var(--brand); overflow: visible; }
.pour-glass svg { width: 100%; height: 100%; overflow: visible; }
.human-gate-q { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.human-gate-foot { margin: 10px 0 0; font-size: 11px; color: var(--faint); }

/* ===================== Consent / captcha ===================== */
.consent { margin: 8px 0 18px; }
.consent-blurb { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.consent .check-text { font-size: 14px; font-weight: 600; color: var(--ink); }
.captcha-stub { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--muted); }
.captcha-box { width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--ok); color: var(--ok); display: grid; place-items: center; font-weight: 800; cursor: pointer; background: #fff; padding: 0; }
.captcha-box-off { border-color: #cbd5e1; color: transparent; }
.captcha-box-on { border-color: var(--ok); color: var(--ok); }
.captcha-brand { margin-left: 16px; font-size: 11px; color: var(--faint); letter-spacing: .02em; }

/* ===================== Footer ===================== */
.form-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 40px; background: #fff; border-top: 1px solid var(--line); }
.layout-sidebar .form-foot, .layout-top .form-foot, .layout-focused .form-foot { padding-left: max(40px, calc((100% - 660px) / 2)); padding-right: max(40px, calc((100% - 660px) / 2)); }
.layout-focused .form-foot { padding-left: max(40px, calc((100% - 600px) / 2)); padding-right: max(40px, calc((100% - 600px) / 2)); }
.btn { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; border-radius: 12px; border: 0; padding: 14px 24px; transition: all .15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost { background: none; color: var(--muted); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--ink); }
.btn-hidden { visibility: hidden; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in oklab, var(--brand) 35%, transparent); }
.btn-primary:hover { background: color-mix(in oklab, var(--brand) 88%, #000); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none !important; }
.btn-arrow { font-size: 17px; }
.foot-right { display: flex; align-items: center; gap: 18px; }
.foot-count { font-size: 13.5px; color: var(--faint); font-weight: 600; }

/* ===================== Success ===================== */
.success-app { display: grid; place-items: center; background: var(--brand); }
.block-gradient.success-app { background: linear-gradient(155deg, color-mix(in oklab, var(--brand) 78%, #fff), var(--brand) 55%, color-mix(in oklab, var(--brand) 70%, #000)); }
.success-wrap { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; overflow: auto; }
.success-card { background: #fff; border-radius: 24px; padding: 48px 44px; max-width: 540px; width: 100%; box-shadow: 0 30px 70px rgba(0,0,0,.25); text-align: center; }
.success-splash { width: 72px; height: 72px; margin: 0 auto 22px; background: color-mix(in oklab, var(--brand) 12%, #fff); color: var(--brand); border-radius: 22px; display: grid; place-items: center; }
.success-splash svg { width: 38px; height: 38px; }
.success-h { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin: 0 0 12px; }
.success-p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0 0 28px; }
.success-next { text-align: left; background: var(--field-bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 24px; }
.snext-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.snext-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.snext-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.snext-list li span.snext-num { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; font-family: var(--font-head); }
.success-contact { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.success-contact strong { color: var(--ink); }

/* ===================== Responsive ===================== */
@media (max-width: 940px) {
  .app.layout-sidebar { display: flex; flex-direction: column; }
  .app.layout-sidebar .main-col { flex: 1 1 auto; min-height: 0; }
  .brand-panel { flex: 0 0 auto; padding: 16px 20px; overflow: visible; }
  .brand-panel::after { display: none; }
  .brand-top { margin-bottom: 14px; }
  .brand-logo { height: 40px; padding: 7px 12px; }
  .brand-pitch { display: none; }
  .rail { flex-direction: row; overflow-x: auto; gap: 8px; margin-top: 0; padding-bottom: 2px; }
  .rail-item { flex: 0 0 auto; padding: 7px 9px; gap: 9px; }
  .rail-dot { width: 30px; height: 30px; flex-basis: 30px; }
  .rail-dot svg { width: 16px; height: 16px; }
  .rail-num { display: none; }
  .rail-lab { font-size: 13px; white-space: nowrap; }
  .rail-todo .rail-lab { display: none; }
  .brand-foot { display: none; }
}
@media (max-width: 720px) {
  .form-inner, .layout-focused .form-inner { padding: 28px 20px 40px; }
  .two-col { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .addr-grid { grid-template-columns: 1fr 1fr; }
  .form-foot { padding: 14px 20px !important; }
  .top-steps .tstep-lab { display: none; }
  .months { grid-template-columns: repeat(4, 1fr); }
}
