:root {
  --navy:     #154EA1;
  --regal:    #25386E;
  --sky:      #3CB4E5;
  --white:    #FFFFFF;
  --offwhite: #F4F6FA;
  --light:    #EEF2F9;
  --mid:      #8A99B5;
  --border:   #D5DCE8;
  --text:     #1A2340;
  --danger:   #C8323C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--offwhite);
  color: var(--text);
}

/* ── STEPS ── */
.step {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
}

.step.active {
  opacity: 1;
  pointer-events: all;
}

/* ── STEP 1: BRIEF ── */
#step-brief {
  background: var(--offwhite);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px 60px;
}

.step-inner {
  width: 100%;
  max-width: 680px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--sky);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--regal);
}

.logo-text span { color: var(--sky); }

.header-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  background: var(--light);
  padding: 5px 10px;
  border-radius: 20px;
}

.step-content { }

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--regal);
  line-height: 1.2;
  margin-bottom: 8px;
}

.step-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── FORM ── */
.brief-form {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; gap: 16px; }
.form-row.two-col > .field { flex: 1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--regal);
}

.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mid);
  font-size: 10px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--offwhite);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--sky);
  background: var(--white);
}

input::placeholder, textarea::placeholder { color: var(--mid); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A99B5' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea { resize: none; line-height: 1.6; }

/* ── BUTTONS ── */
.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--navy);
  border: none;
  border-radius: 10px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.primary-btn:hover { background: var(--regal); }
.primary-btn:active { transform: scale(0.99); }
.primary-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ── STEP 2: MAP LAYOUT ── */
#step-map {
  overflow: hidden;
}

/* Mobile block — shown only below the breakpoint where the sidebar + map
   layout becomes unusable. 700px catches phones in either orientation but
   lets tablets (iPad portrait is 768px wide) through to the real map. */
.mobile-map-block { display: none; }
@media (max-width: 700px) {
  .map-layout { display: none !important; }
  .mobile-map-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--offwhite);
    padding: 32px 20px;
    box-sizing: border-box;
    overflow-y: auto;
  }
}

.mobile-map-block-inner {
  max-width: 420px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.mobile-map-block-icon {
  width: 64px;
  height: 64px;
  background: rgba(60,180,229,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  margin: 0 auto 20px;
}
.mobile-map-block-inner h2 {
  color: var(--regal);
  font-size: 20px;
  margin: 0 0 12px;
}
.mobile-map-block-inner p {
  font-family: 'Work Sans', sans-serif;
  color: #5A6880;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.mobile-url-box {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  align-items: stretch;
}
.mobile-url-box input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f4f6fa;
  color: #25386E;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  outline: none;
}
.mobile-url-box input:focus { border-color: var(--sky); }
.mobile-url-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-url-btn:hover { background: #123e82; }
.mobile-email-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--navy);
  margin-bottom: 16px;
}
.mobile-email-btn:hover { background: rgba(21,78,161,0.06); }
.mobile-footnote {
  font-size: 12px !important;
  color: #8a96a8 !important;
  margin-top: 16px !important;
}
.mobile-footnote a { color: var(--navy); text-decoration: none; font-weight: 600; }

.map-layout {
  display: flex;
  height: 100%;
  position: relative;
}

/* ── MAP SIDEBAR ── */
.map-sidebar {
  width: 310px;
  flex-shrink: 0;
  background: var(--regal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-header .logo-text { color: var(--white); }

.back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.back-btn:hover { background: rgba(255,255,255,0.14); color: var(--white); }

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 12px;
}

.sidebar-body::-webkit-scrollbar { width: 3px; }
.sidebar-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

.sidebar-section {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.sidebar-desc {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: var(--mid);
  line-height: 1.6;
}

.section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zone-count-badge {
  background: var(--sky);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  letter-spacing: 0;
}

/* Search */
.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid);
  pointer-events: none;
}

#location-search {
  width: 100%;
  padding: 9px 12px 9px 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

#location-search::placeholder { color: var(--mid); }
#location-search:focus { border-color: var(--sky); background: rgba(255,255,255,0.1); }

/* Google Places Autocomplete dropdown (legacy) - ensure it sits above .step (position:fixed) and .toast */
.pac-container {
  z-index: 2000 !important;
  font-family: 'Work Sans', sans-serif;
  border-radius: 6px;
  margin-top: 2px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* New PlaceAutocompleteElement - style its shadow-DOM parts to match the
   dark sidebar input. The element has `no-input-icon` set in JS so its
   internal 48px icon row collapses, letting our own absolutely-positioned
   .search-icon SVG sit in the natural left slot. We pin an explicit height
   on the element so it doesn't jump taller once its shadow DOM initialises,
   and give ::part(input) the familiar 34px left padding for the icon. */
gmp-place-autocomplete.location-search-element {
  display: block;
  width: 100%;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  /* overflow MUST NOT be hidden — predictions dropdown is rendered as a
     sibling immediately below the input inside the host's shadow DOM. */
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  /* Do NOT set --gmp-mat-color-surface here — it cascades into the
     dropdown panel and makes it transparent. We override the dropdown
     background separately via ::part(prediction-list) below.
     Do NOT set color-scheme: dark — the element's dropdown uses
     light-dark() and we want the LIGHT (white) variant for contrast
     against the navy sidebar. */
  --gmp-mat-color-on-surface-variant: var(--mid);
  --gmp-mat-color-outline-decorative: transparent;
}

gmp-place-autocomplete.location-search-element:focus-within {
  border-color: var(--sky);
  background: rgba(255,255,255,0.1);
}

gmp-place-autocomplete.location-search-element::part(input),
gmp-place-autocomplete.location-search-element::part(input):hover,
gmp-place-autocomplete.location-search-element::part(input):focus,
gmp-place-autocomplete.location-search-element::part(input):active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: var(--white) !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 13px !important;
  padding: 0 12px 0 34px !important;
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

gmp-place-autocomplete.location-search-element::part(input)::placeholder {
  color: var(--mid) !important;
  text-align: left !important;
  opacity: 1 !important;
}

/* Predictions dropdown — lives in the element's shadow DOM, anchored
   immediately after the input. Force a solid white panel so it stands
   out against the dark sidebar regardless of the element's internal
   light-dark() colour-scheme logic. */
gmp-place-autocomplete.location-search-element::part(prediction-list) {
  z-index: 2000 !important;
  margin-top: 4px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1f1f1f !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
  font-family: 'Work Sans', sans-serif !important;
}

gmp-place-autocomplete.location-search-element::part(prediction-item) {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 13px !important;
  color: #1f1f1f !important;
  background: #ffffff !important;
}

gmp-place-autocomplete.location-search-element::part(prediction-item-selected) {
  background: rgba(60,180,229,0.12) !important;
}

gmp-place-autocomplete.location-search-element::part(prediction-item-main-text) {
  color: #1f1f1f !important;
  font-weight: 500 !important;
}

gmp-place-autocomplete.location-search-element::part(prediction-item-icon) {
  color: #5e5e5e !important;
}

/* Zone type buttons */
.zone-types {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zone-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

.zone-btn:hover { background: rgba(255,255,255,0.09); }

.zone-btn-text { display: flex; flex-direction: column; gap: 1px; }
.zone-btn-text strong { font-size: 12px; font-weight: 600; }
.zone-btn-text small { font-size: 10px; font-weight: 400; color: var(--mid); font-family: 'Work Sans', sans-serif; }

.zone-btn.active.preferred  { border-color: #3CB4E5; background: rgba(60,180,229,0.1); }
.zone-btn.active.acceptable { border-color: #154EA1; background: rgba(21,78,161,0.2); }
.zone-btn.active.exclude    { border-color: #C8323C; background: rgba(200,50,60,0.12); }
.zone-btn.active.custom     { border-color: #7B8FBF; background: rgba(123,143,191,0.12); }

.zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-preferred  { background: #3CB4E5; }
.dot-acceptable { background: #154EA1; }
.dot-exclude    { background: #C8323C; }
.dot-custom     { background: #7B8FBF; }

#custom-label-wrap {
  display: none;
  margin-top: 8px;
}

#custom-label-wrap.visible { display: block; }

#custom-label {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  outline: none;
}

#custom-label::placeholder { color: var(--mid); }

/* Draw toggle */
.draw-toggle {
  display: flex;
  gap: 5px;
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 6px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--mid);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.mode-btn:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.mode-btn.active {
  background: var(--navy);
  border-color: var(--sky);
  color: var(--white);
}

/* Zones list */
.zones-section { flex: 1; }

.zones-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.no-zones {
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  color: var(--mid);
  font-style: italic;
  line-height: 1.5;
}

.zone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 7px;
  animation: slideIn 0.2s ease both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

.zone-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.zone-item-label {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
}

.zone-item-delete {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  transition: color 0.15s;
}

.zone-item-delete:hover { color: var(--danger); }

/* Sidebar footer */
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.submit-hint {
  margin-top: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  color: var(--mid);
  text-align: center;
  line-height: 1.5;
}

/* Map */
#map {
  flex: 1;
  height: 100%;
}

/* Map hint */
.map-hint {
  position: absolute;
  bottom: 24px;
  right: 20px;
  background: rgba(21,78,161,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(60,180,229,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Work Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  max-width: 320px;
}

.map-hint button {
  background: none;
  border: none;
  color: var(--mid);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  margin-left: 4px;
}

/* ── STEP 3: SUCCESS ── */
#step-success {
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-inner {
  text-align: center;
  max-width: 480px;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(60,180,229,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--sky);
}

.success-inner h1 { color: var(--regal); margin-bottom: 12px; }

.success-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: #5A6880;
  line-height: 1.7;
  margin-bottom: 24px;
}

.success-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s, opacity 0.2s;
}
.secondary-btn:hover { background: rgba(21,78,161,0.06); }
.secondary-btn:active { transform: translateY(1px); }
.secondary-btn:disabled { opacity: 0.45; cursor: default; }

/* Sidebar version of the secondary button sits on the dark navy sidebar,
   so invert the palette: transparent with white text, filling subtly on
   hover. Full width with a small margin-bottom to separate from the
   primary Send button below it. */
.sidebar-secondary-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  margin-bottom: 10px;
}
.sidebar-secondary-btn:hover { background: rgba(255,255,255,0.08); }
.sidebar-secondary-btn:disabled { opacity: 0.35; }

.success-footer {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: var(--mid);
}

.success-footer a { color: var(--navy); text-decoration: none; font-weight: 600; }

/* ── PRINT WINDOW (opens via printBrief) ── */
@media print {
  body { margin: 0; }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--regal);
  border: 1px solid var(--sky);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transition: all 0.25s;
  z-index: 1000;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── SUBMITTING OVERLAY ── */
.submitting-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37,56,110,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.submitting-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.submitting-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .form-row.two-col { flex-direction: column; }

  .map-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50vh;
    z-index: 20;
  }

  #map {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50vh;
  }

  .map-hint { display: none; }
}
.privacy-notice {
  background: #EEF2F9;
  border: 1px solid #D5DCE8;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  color: #5A6880;
  line-height: 1.7;
}
.privacy-notice strong { color: #25386E; }
.privacy-notice a { color: #154EA1; font-weight: 600; }
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: #25386E;
  font-weight: 500;
  cursor: pointer;
}
.privacy-check input { margin-top: 2px; flex-shrink: 0; accent-color: #154EA1; }
.form-row.full-width { display: block; }
.form-row.full-width .field { width: 100%; }

/* ── FOOTER BAR ── */
.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--regal);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  font-family: 'Work Sans', sans-serif;
  font-size: 10px;
  color: var(--mid);
}
.app-footer a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.app-footer a:hover { color: var(--sky); }
.app-footer .version {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}
