/* ── EOA SGM Public Form – Styles ───────────────────────────── */

/* ── Reset & Variables ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --g900: #1b5e20;
  --g700: #2e7d32;
  --g500: #4caf50;
  --g100: #e8f5e9;
  --g50:  #f1f8f1;

  --b900: #0d47a1;
  --b700: #1565c0;
  --b100: #e3f2fd;

  --r900: #b71c1c;
  --r700: #c62828;
  --r100: #ffebee;

  --a900: #bf360c;
  --a700: #e64a19;
  --a100: #fbe9e7;

  --text:   #1a1a1a;
  --sub:    #4a4a4a;
  --muted:  #888;
  --border: #e0e3e0;
  --bg:     #ffffff;
  --page:   #f0f3f0;
  --rlg:    16px;
  --r:      12px;
  --rsm:    8px;
  --shadow: 0 2px 14px rgba(0,0,0,0.09);
  --glow:   0 6px 28px rgba(0,0,0,0.11);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
  background: var(--page);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}

/* ── Header ────────────────────────────────────────────────── */
.app-header {
  background: var(--g900);
  color: #fff;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 600px;
  margin: 0 auto;
}
.logo-badge {
  background: rgba(255,255,255,0.13);
  border: 2px solid rgba(255,255,255,0.28);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-name { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.header-sub  { font-size: 0.75rem; opacity: 0.72; margin-top: 0.1rem; }

/* ── Main ───────────────────────────────────────────────────── */
.app-main {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin: 1.25rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Hero / Search card ─────────────────────────────────────── */
.hero-card {
  background: var(--bg);
  border-radius: var(--rlg);
  box-shadow: var(--glow);
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
}
.hero-card h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--g900);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero-desc {
  font-size: 0.88rem;
  color: var(--sub);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* Search section label */
.search-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* OR divider */
.search-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.search-divider::before,
.search-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ERF search button — inverted: dark-green background, white text */
.btn-erf-search {
  background: var(--g900);
  border: 2px solid var(--g900);
  border-radius: var(--r);
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  transition: background 0.13s, border-color 0.13s;
  -webkit-tap-highlight-color: transparent;
}
.btn-erf-search:hover  { background: var(--g700); border-color: var(--g700); }
.btn-erf-search:active { transform: scale(0.97); }

.search-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.search-wrap input {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--rsm);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  color: var(--text);
  background: #fafafa;
  box-sizing: border-box;
}
.search-wrap input:focus {
  border-color: var(--g700);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.search-wrap input::placeholder { color: #bbb; }
.search-wrap .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  min-width: unset;
}

.privacy-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

/* ── Estate picker ──────────────────────────────────────────── */
.estate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.estate-btn {
  background: var(--g50);
  border: 2px solid var(--g100);
  border-radius: var(--r);
  padding: 1rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--g900);
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: background 0.13s, border-color 0.13s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.estate-btn:hover  { background: var(--g100); border-color: var(--g500); }
.estate-btn:active { transform: scale(0.97); background: var(--g100); }

.erf-alt-row { margin-top: 0; }

.step-back-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: left;
}
.step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── State cards ────────────────────────────────────────────── */
.state-card {
  background: var(--bg);
  border-radius: var(--rlg);
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.state-card.state-warn { border-top: 4px solid #fb8c00; }
.state-emoji { font-size: 2.5rem; margin-bottom: 0.65rem; }
.state-card h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.state-card p  { font-size: 0.9rem; color: var(--sub); line-height: 1.5; }
.state-msg     { color: var(--muted); margin-top: 1rem; font-size: 0.88rem; }

/* ── Results nav ────────────────────────────────────────────── */
.results-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.2rem 0.4rem;
}
.btn-link {
  background: none;
  border: none;
  color: var(--g700);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.3rem 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.btn-link:hover { opacity: 0.75; }
.results-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Stand card ──────────────────────────────────────────────── */
.stand-card {
  background: var(--bg);
  border-radius: var(--rlg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.stand-card.verified { border-color: var(--g500); }

/* Top info block */
.sc-top {
  padding: 1.1rem 1.25rem 1rem;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--g100);
  color: var(--g900);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.sc-erf {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.sc-existing-response {
  font-size: .78rem;
  color: #e65100;
  background: #fff3e0;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: .3rem .6rem;
  margin-top: .4rem;
  font-weight: 500;
}
.sc-section-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--g700);
  background: var(--g100);
  border-radius: 6px;
  padding: 0.1rem 0.55rem;
  letter-spacing: 0;
}
.sc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.badge {
  background: var(--g100);
  color: var(--g900);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}
.badge-cat { background: #f3e5f5; color: #6a1b9a; }

/* Response section */
.sc-resp {
  padding: 1rem 1.25rem 1.25rem;
}
.sc-resp-prompt {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.7rem;
}

/* 2×2 response grid */
.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.resp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.05rem 0.65rem;
  min-height: 80px;
  border-radius: var(--r);
  border: 2.5px solid var(--border);
  background: #fafafa;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--sub);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.3;
}
.resp-tile:active { transform: scale(0.96); }
.resp-tile:hover:not([class*="sel-"]) {
  border-color: #bbb;
  background: #f2f2f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.resp-tile .t-icon { font-size: 1.5rem; line-height: 1; }

/* Selected states */
.resp-tile.sel-attend {
  background: var(--g100);
  border-color: var(--g700);
  color: var(--g900);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.18);
}
.resp-tile.sel-proxy {
  background: var(--b100);
  border-color: var(--b700);
  color: var(--b900);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.18);
}
.resp-tile.sel-not-attend {
  background: var(--r100);
  border-color: var(--r700);
  color: var(--r900);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.18);
}
.resp-tile.sel-follow-up {
  background: var(--a100);
  border-color: var(--a700);
  color: var(--a900);
  box-shadow: 0 0 0 3px rgba(230,74,25,0.18);
}

/* Tick badge on selected tile */
.resp-tile::after {
  content: "✓";
  display: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--g700);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}
.resp-tile[class*="sel-"]::after { display: flex; }
.resp-tile.sel-proxy::after      { background: var(--b700); }
.resp-tile.sel-not-attend::after { background: var(--r700); }
.resp-tile.sel-follow-up::after  { background: var(--a700); }

/* Confirm button row */

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  border-radius: var(--rsm);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.48; cursor: not-allowed; }

.btn-primary  { background: var(--g700); color: #fff; min-width: 120px; }
.btn-primary:hover:not(:disabled)  { background: var(--g900); }

.btn-success  { background: var(--g900); color: #fff; width: 100%; font-size: 1rem; padding: 1rem; }
.btn-success:hover:not(:disabled)  { background: #0e3d11; }

.btn-ghost { background: transparent; color: var(--g700); border: 2px solid var(--g700); }
.btn-ghost:hover:not(:disabled)    { background: var(--g100); }

.btn-whatsapp { background: #25D366; color: #fff; border: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

.btn-muted { background: transparent; color: var(--muted); border: 1px solid var(--border); font-size: 0.875rem; }
.btn-muted:hover { background: var(--g100); color: var(--sub); }

/* ── Extra-info screen ───────────────────────────────────────── */
.extra-card {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.xtra-block { display: flex; flex-direction: column; gap: 0.6rem; }
.xtra-block.hidden { display: none !important; }
.xtra-icon  { font-size: 2rem; line-height: 1; text-align: center; }
.xtra-block h3 { font-size: 1.05rem; font-weight: 800; color: var(--g900); text-align: center; }
.xtra-desc  { font-size: 0.88rem; color: var(--sub); text-align: center; line-height: 1.5; }
.xtra-block input[type="email"],
.xtra-block input[type="text"] {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--rsm);
  font-size: 1rem; outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.xtra-block input:focus { border-color: var(--g500); }
.xtra-hint { font-size: 0.75rem; color: var(--muted); line-height: 1.4; text-align: center; }

/* ── Survey questions ────────────────────────────────────────── */
.survey-q { display: flex; flex-direction: column; gap: 0.55rem; }
.survey-qlabel {
  font-size: 0.9rem; font-weight: 700; color: var(--g900); line-height: 1.4;
}
.survey-opts {
  display: flex; flex-direction: column; gap: 0.45rem;
}
.survey-opts-inline {
  flex-direction: row; flex-wrap: wrap; gap: 0.45rem;
}
.survey-opt {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--rsm);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.survey-opt:hover { border-color: var(--g500); background: var(--g50); }
.survey-opt input[type="radio"] { accent-color: var(--g700); flex-shrink: 0; }
.survey-opts-inline .survey-opt { flex: 1; min-width: 80px; justify-content: center; }

/* ── POPIA consent block ─────────────────────────────────────── */
.popia-block {
  background: #f1f4f1;
  border: 1.5px solid var(--border);
  border-radius: var(--rsm);
  padding: 0.9rem 1rem;
}
.popia-label {
  display: flex; align-items: flex-start; gap: 0.65rem;
  cursor: pointer;
}
.popia-label input[type="checkbox"] {
  flex-shrink: 0; margin-top: 0.2rem;
  width: 18px; height: 18px; accent-color: var(--g700); cursor: pointer;
}
.popia-text {
  font-size: 0.78rem; color: var(--sub); line-height: 1.55;
}

/* ── POPIA full disclosure (confirmation screen) ─────────────── */
.popia-disclosure {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin: 1.1rem 0 0.85rem;
  text-align: left;
}

/* ── Proxy stand search (extra screen) ──────────────────────── */
.proxy-search-wrap {
  display: flex; gap: 0.5rem; margin-bottom: 0.5rem;
}
.proxy-search-wrap input { flex: 1; }
.proxy-results {
  border: 1px solid var(--border);
  border-radius: var(--rsm);
  overflow: hidden;
  margin: 0.4rem 0 0.5rem;
}
.proxy-result-item {
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  transition: background 0.15s;
}
.proxy-result-item:last-child { border-bottom: none; }
.proxy-result-item:hover { background: var(--g100); }
.proxy-result-item.selected { background: var(--g100); border-left: 3px solid var(--g700); }
.proxy-selected-label {
  font-size: 0.82rem;
  color: var(--g700);
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
}

.share-block {
  margin: 1.5rem 0 0.75rem;
  border: 2px solid #25D366;
  border-radius: var(--rmd);
  padding: 1.25rem 1rem 1rem;
  background: #f0fff6;
}
.share-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--g900);
  margin-bottom: 0.35rem;
}
.share-prompt { font-size: 0.85rem; color: #444; margin-bottom: 0.85rem; text-align: center; line-height: 1.5; }

.btn-full { width: 100%; padding: 1rem; font-size: 1rem; margin-top: 0.75rem; }

/* ── Messages ────────────────────────────────────────────────── */
.msg-error {
  color: #b71c1c;
  background: #ffebee;
  border: 1px solid #ef9a9a;
  border-radius: var(--rsm);
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  text-align: left;
}
.msg-info {
  color: #01579b;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: var(--rsm);
  padding: 0.8rem 0.9rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ── Spinner ─────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
/* Dark spinner — for use on light-coloured backgrounds (e.g. selected tiles) */
.spinner-dark {
  display: inline-block;
  width: 17px; height: 17px;
  border: 2.5px solid rgba(0,0,0,0.15);
  border-top-color: rgba(0,0,0,0.65);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
.spin-lg {
  display: block;
  width: 42px; height: 42px;
  border: 3.5px solid var(--g100);
  border-top-color: var(--g700);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto;
}

/* ── Confirmation screen ─────────────────────────────────────── */
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  75%  { transform: scale(1.1); }
  to   { transform: scale(1);   opacity: 1; }
}
.confirm-card {
  background: var(--bg);
  border-radius: var(--rlg);
  box-shadow: var(--glow);
  padding: 2.75rem 1.75rem 2.25rem;
  text-align: center;
}
.confirm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px;
  background: var(--g700);
  color: #fff;
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 1.35rem;
  animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.confirm-card h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--g900);
  margin-bottom: 0.65rem;
}
.confirm-detail {
  font-size: 1rem;
  color: var(--sub);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.confirm-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Referral label */
.refer-label {
  font-size: 0.83rem;
  color: var(--sub);
  margin: 0 0 0.5rem;
  text-align: center;
}

/* Refer row on stand card (shown after 409 or on existing-response) */
.sc-refer-row {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e8e8e8;
}
.sc-refer-row .refer-label {
  margin-bottom: 0.5rem;
}
@media (min-width: 480px) {
  .sc-refer-row { text-align: center; }
  .sc-refer-row .sc-refer-btn { width: auto; padding: 0.85rem 2rem; }
}

/* Mute the header when already voted — keep ERF readable, dim the colour badges */
.already-voted-card .sc-top { opacity: 0.45; }
.already-voted-card .sc-erf { font-size: 1.1rem; font-weight: 700; }

/* Already-voted state on stand card */
.already-voted {
  padding: 0.5rem 0 0.75rem;
  text-align: center;
}
.already-voted-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2e7d32;
  background: #f0faf3;
  border: 1px solid #c3e6cb;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
}

/* Referral shortcut — already submitted */
#refer-shortcut {
  margin-top: 0.75rem;
  text-align: center;
}
.refer-shortcut-toggle {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.5rem 0.25rem; /* larger tap target on mobile */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.refer-shortcut-panel {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e8e8e8;
  text-align: left;
}
.refer-mini-card {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  box-sizing: border-box;
}
.refer-mini-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.1rem;
}

/* Subtle calendar row */
.cal-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0.25rem;
  flex-wrap: wrap;
}
.cal-gcal-link {
  font-size: 0.8rem;
  color: #1565c0;
  text-decoration: none;
}
.cal-gcal-link:hover { text-decoration: underline; }
.cal-sep { font-size: 0.8rem; color: var(--muted); }
.cal-email-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline dotted;
}
.cal-email-toggle:hover { color: var(--g700); }
.cal-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #f5f5f5;
  border-radius: var(--rsm);
}
.cal-email-form input { margin: 0; font-size: 0.9rem; padding: 0.55rem 0.75rem; }
.cal-email-form .btn { align-self: flex-end; padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.app-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.73rem;
  color: var(--muted);
}

/* ── Utility ─────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Desktop ─────────────────────────────────────────────────── */
@media (min-width: 480px) {
  .hero-card { padding: 2.75rem 2.25rem 2.25rem; }
  .hero-card h2 { font-size: 2rem; }
  .sc-top  { padding: 1.35rem 1.5rem 1.1rem; }
  .sc-resp { padding: 1.1rem 1.5rem 1.5rem; }
  .search-wrap {
    flex-direction: row;
    align-items: stretch;
  }
  .search-wrap input { flex: 1; width: auto; }
  .search-wrap .btn-primary { width: auto; min-width: 130px; padding: 0 1.25rem; }
}
