/* Open House Sign-In — navy theme */
:root {
  --navy: #081F66;
  --navy-deep: #051548;
  --bg: #F3F5FA;
  --surface: #FFFFFF;
  --ink: #111A36;
  --muted: #58627F;
  --line: #DCE1EC;
  --line-soft: #EBEEF5;
  --hover: #F6F8FD;
  --brand: #081F66;          /* links, active states */
  --brand-strong: #081F66;   /* filled buttons */
  --on-brand: #FFFFFF;
  --tint: #E8EDF9;
  --focus: #3D63E6;
  --danger: #B42318; --danger-tint: #FDECEA;
  --ok: #0F6644; --ok-tint: #E2F4EB;
  --warn: #7A4A00; --warn-tint: #FFF3DC;
  --st-new-bg: #E4EAFB; --st-new-fg: #1B3C9E;
  --st-contacted-bg: #FFF0D4; --st-contacted-fg: #8A4B00;
  --st-showing-bg: #DDF3E8; --st-showing-fg: #0F6644;
  --st-no-bg: #EDEFF4; --st-no-fg: #586178;
  --radius-lg: 18px; --radius: 12px;
  --display: "Avenir Next", Avenir, Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F1E; --surface: #121A2E; --ink: #E7EBF5; --muted: #9AA3BD;
    --line: #263152; --line-soft: #1C2541; --hover: #17213A;
    --brand: #A9BCFF; --brand-strong: #2F4BC0; --tint: #1A2650; --focus: #8EA6FF;
    --danger: #FF8F85; --danger-tint: #3A1715;
    --ok: #7ED9AE; --ok-tint: #0F3426;
    --warn: #F5C46B; --warn-tint: #33260C;
    --st-new-bg: #1C2B5E; --st-new-fg: #BCCBFF;
    --st-contacted-bg: #3B2A0C; --st-contacted-fg: #F5C46B;
    --st-showing-bg: #0F3A2A; --st-showing-fg: #7ED9AE;
    --st-no-bg: #232B3F; --st-no-fg: #AAB2C7;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: var(--brand); text-underline-offset: 2px; }
h1, h2 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.05rem); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: 1.12rem; font-weight: 650; margin: 0 0 12px; }
p { margin: 0 0 10px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); color: var(--ink);
        padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ic { flex: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 18px 16px calc(100px + env(safe-area-inset-bottom)); }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 16px 56px; }
@media (min-width: 760px) { .wrap { padding: 28px 24px 64px; } }

/* ------------------------------------------------------------ top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff;
          padding-top: env(safe-area-inset-top); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topbar-inner { max-width: 1080px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0;
         font: 700 1.06rem/1 var(--display); letter-spacing: -0.005em; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topnav { display: none; height: 100%; gap: 4px; }
.topnav a { display: flex; align-items: center; height: 100%; padding: 0 12px; color: rgba(255,255,255,.72);
            text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: inset 0 -3px 0 transparent; }
.topnav a:hover { color: #fff; }
.topnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-actions form { margin: 0; }
.btn-onbar { background: #fff; color: var(--navy); border-color: #fff; min-height: 38px; padding: 6px 14px; }
.btn-onbar:hover { background: #E8EDF9; border-color: #E8EDF9; }
.iconbtn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 10px;
           background: transparent; color: rgba(255,255,255,.85); cursor: pointer; }
.iconbtn:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (min-width: 760px) {
  .topbar-inner { padding: 0 24px; }
  .topnav { display: flex; }
}
.topbar .btn-onbar { display: none; }
@media (min-width: 760px) { .topbar .btn-onbar { display: inline-flex; } }

/* ------------------------------------------------------------ bottom tab bar (phones) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr);
          background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
            min-height: 62px; color: var(--muted); text-decoration: none; font-size: .74rem; font-weight: 600; }
.tabbar a[aria-current="page"] { color: var(--brand); }
.tab-plus { width: 40px; height: 32px; display: grid; place-items: center; border-radius: 12px;
            background: var(--brand-strong); color: #fff; }
.tab-new[aria-current="page"] .tab-plus { box-shadow: 0 0 0 3px var(--tint); }
@media (min-width: 760px) { .tabbar { display: none; } }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
       padding: 9px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface);
       color: var(--ink); font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--brand); }
.btn-primary { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--on-brand); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-small { min-height: 36px; padding: 6px 12px; font-size: .88rem; }
.btn-block { width: 100%; min-height: 54px; font-size: 1.05rem; }
.btn-quiet { border-color: transparent; background: transparent; color: var(--muted); }
.btn-quiet:hover { border-color: var(--line); }
.btn-quiet.danger { color: var(--danger); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #3A58D4; border-color: #3A58D4; } }

/* ------------------------------------------------------------ page scaffolding */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; }
.backlink { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 6px -4px; padding: 6px 4px;
            font-weight: 600; font-size: .93rem; text-decoration: none; }
.backlink:hover { text-decoration: underline; }
.flash { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; }
.flash-error { background: var(--danger-tint); color: var(--danger); }
.flash-ok { background: var(--ok-tint); color: var(--ok); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 18px; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.block-title { font-size: 1rem; margin: 0; padding: 16px 18px 10px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; padding-right: 18px; }
.block-head a { font-weight: 600; font-size: .9rem; text-decoration: none; }
.pad { padding: 4px 18px 18px; margin: 0; }
.split { display: grid; gap: 0 24px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }

.empty { text-align: center; padding: 40px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.empty-ic { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%;
            background: var(--tint); color: var(--brand); }
.empty p { color: var(--muted); max-width: 42ch; margin: 0 auto 18px; }

/* ------------------------------------------------------------ dashboard */
.pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pulse-item { position: relative; display: block; padding: 14px 34px 14px 16px; border-radius: var(--radius);
              background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.3; }
.pulse-item strong { display: block; font: 700 1.7rem/1.1 var(--display); color: var(--ink); margin-bottom: 2px; }
.pulse-item .ic { position: absolute; right: 12px; top: 18px; color: var(--muted); }
.pulse-item:hover { border-color: var(--brand); }
.pulse-hot { border-left: 4px solid var(--brand-strong); }
.pulse-hot strong { color: var(--brand); }

.houses, .leads { list-style: none; margin: 0; padding: 0; }
.houses li, .leads li { border-top: 1px solid var(--line-soft); }
.block > .leads > li:first-child { border-top: 0; }
.house, .lead { display: grid; align-items: center; gap: 14px; padding: 14px 16px 14px 18px; color: var(--ink); text-decoration: none; }
.house:hover, .lead:hover { background: var(--hover); }
.house { grid-template-columns: auto minmax(0, 1fr) 18px; grid-template-areas: "tile main chev" "tile side chev"; row-gap: 6px; }
.house .datetile { grid-area: tile; } .house-main { grid-area: main; } .house .house-side { grid-area: side; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.house .lead-chev { grid-area: chev; }
@media (min-width: 760px) {
  .house { grid-template-columns: auto minmax(0, 1fr) auto 18px; grid-template-areas: "tile main side chev"; }
  .house .house-side { flex-direction: column; align-items: flex-end; gap: 5px; }
}
.datetile { width: 48px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center;
            border-radius: 10px; background: var(--tint); color: var(--brand); line-height: 1; }
.datetile span { font-size: .72rem; font-weight: 700; }
.datetile strong { font: 700 1.35rem/1 var(--display); margin-top: 3px; }
.house-main, .lead-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.house-addr { font-weight: 650; overflow-wrap: anywhere; }
.house-when { font-size: .85rem; color: var(--muted); }
.house-side, .lead-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.house-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.house-count strong { color: var(--ink); }
.lead-chev { color: var(--muted); opacity: .7; }

.lead { grid-template-columns: minmax(0, 1fr) auto 18px; grid-template-areas: "name side chev" "contact contact chev" "meta meta chev"; row-gap: 2px; column-gap: 10px; }
.lead .lead-main { display: contents; }
.lead-name { grid-area: name; align-self: center; }
.lead-contact { grid-area: contact; }
.lead-meta { grid-area: meta; }
.lead .lead-side { grid-area: side; flex-direction: row; align-items: center; gap: 6px; }
.lead .lead-chev { grid-area: chev; }
.lead-name { font-weight: 650; font-size: 1.02rem; }
.lead-contact, .lead-meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 0; }
.lead-contact { font-size: .9rem; overflow-wrap: anywhere; }
.lead-meta { font-size: .8rem; color: var(--muted); }
.lead-flag { color: var(--muted); }

.status { display: inline-block; white-space: nowrap; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.st-new { background: var(--st-new-bg); color: var(--st-new-fg); }
.st-contacted { background: var(--st-contacted-bg); color: var(--st-contacted-fg); }
.st-showing-scheduled { background: var(--st-showing-bg); color: var(--st-showing-fg); }
.st-not-interested, .st-closed { background: var(--st-no-bg); color: var(--st-no-fg); }

/* ------------------------------------------------------------ open house page */
.event-head { margin-bottom: 4px; }
.event-head h1 { margin-bottom: 8px; overflow-wrap: anywhere; }
.event-when { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0 0 8px; }
.event-state { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 650; margin: 0;
               padding: 4px 12px 4px 10px; border-radius: 999px; }
.event-state .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.is-open { background: var(--ok-tint); color: var(--ok); }
.is-closed { background: var(--st-no-bg); color: var(--st-no-fg); }

.tabs { display: flex; gap: 2px; margin: 18px 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; white-space: nowrap; color: var(--muted);
          font-weight: 650; font-size: .95rem; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand-strong); }
@media (prefers-color-scheme: dark) { .tabs a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); } }
.tab-count { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: .78rem; text-align: center; }

.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
          padding: 12px 16px; border-radius: var(--radius); background: var(--warn-tint); color: var(--warn); margin-bottom: 16px; font-size: .92rem; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.list-head p { margin: 0; font-size: .88rem; }

.share { display: grid; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.share-qr { display: flex; justify-content: center; align-items: flex-start; }
.share-qr img { width: 100%; max-width: 260px; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.share-body h2 { margin-bottom: 4px; }
.copy-row { display: flex; gap: 8px; margin: 6px 0 18px; }
.copy-row input { margin: 0; min-height: 40px; font-size: .88rem; color: var(--muted); }
.share-actions { display: grid; gap: 10px; }
.action { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
          color: var(--ink); text-decoration: none; }
.action:hover { border-color: var(--brand); }
.action .ic { color: var(--brand); }
.action strong { display: block; font-size: .95rem; }
.action small { display: block; color: var(--muted); font-size: .82rem; margin-top: 1px; }
.action-main { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.action-main .ic { color: #fff; }
.action-main small { color: rgba(255,255,255,.8); }
.action-main:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
@media (min-width: 760px) {
  .share { grid-template-columns: 260px minmax(0, 1fr); padding: 28px; gap: 32px; }
  .share-actions { grid-template-columns: 1fr 1fr; }
  .action-main { grid-column: 1 / -1; }
}

.toggle-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
.toggle-row h2 { margin: 0 0 4px; }
.toggle-row p { margin: 0; font-size: .9rem; }
.danger-zone summary { cursor: pointer; font-weight: 650; color: var(--danger); list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone[open] summary { margin-bottom: 12px; }
.row-end { align-items: end; }
.row-end label { margin-bottom: 0; }

/* ------------------------------------------------------------ visitors */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.filters label { margin: 0; }
.search { position: relative; flex: 1 1 260px; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { margin: 0; padding-left: 44px; }
.select-house { flex: 0 1 300px; }
.select-house select { margin: 0; }
.chips { display: flex; gap: 8px; padding: 12px 0 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; white-space: nowrap;
           border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.chips a:hover { border-color: var(--brand); }
.chips a[aria-current="true"] { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-dot.st-new { background: var(--st-new-fg); }
.chip-dot.st-contacted { background: var(--st-contacted-fg); }
.chip-dot.st-showing-scheduled { background: var(--st-showing-fg); }
.chip-dot.st-not-interested { background: var(--st-no-fg); }
.chips a[aria-current="true"] .chip-dot { box-shadow: 0 0 0 2px #fff; }
.result-count { font-size: .88rem; color: var(--muted); margin: 8px 0 10px; }
.result-count a { margin-left: 8px; font-weight: 600; }

.person-head { display: flex; align-items: center; gap: 14px; margin: 2px 0 18px; }
.person-head p { margin: 4px 0 0; font-size: .9rem; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
          background: var(--navy); color: #fff; font: 700 1.2rem/1 var(--display); letter-spacing: .02em; }
.caution { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--radius);
           background: var(--warn-tint); color: var(--warn); font-size: .9rem; margin: 0 0 16px; }
.caution .ic { margin-top: 1px; }
.reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin-bottom: 18px; }
.reach:empty { display: none; }
.reach-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px;
             background: var(--brand-strong); color: #fff; font-weight: 650; text-decoration: none; }
.reach-btn:hover { background: var(--navy-deep); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.seg-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
           border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .9rem/1 var(--body); cursor: pointer; }
.seg-btn:hover { border-color: var(--brand); }
.seg-btn[aria-pressed="true"] { border-color: currentColor; }
.seg-btn[aria-pressed="true"].st-new { background: var(--st-new-bg); color: var(--st-new-fg); }
.seg-btn[aria-pressed="true"].st-contacted { background: var(--st-contacted-bg); color: var(--st-contacted-fg); }
.seg-btn[aria-pressed="true"].st-showing-scheduled { background: var(--st-showing-bg); color: var(--st-showing-fg); }
.seg-btn[aria-pressed="true"].st-not-interested { background: var(--st-no-bg); color: var(--st-no-fg); }
.notes { margin: 0; }
.opt { font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.facts { display: grid; margin: 0; }
.facts > div { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.facts .quote { font-weight: 400; font-style: italic; }
@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .facts > div:nth-child(2) { border-top: 0; padding-top: 0; }
  .fact-wide { grid-column: 1 / -1; }
}
.remove { text-align: center; margin: 8px 0 0; }

/* ------------------------------------------------------------ forms */
label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 16px;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; min-height: 48px; }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--tint); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 600; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.row, .row-3 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 520px) { .row-3 { grid-template-columns: 1fr 1fr; } .row-3 label:first-child { grid-column: 1 / -1; } }
.req { font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.hint { color: var(--muted); font-size: .85rem; margin: -6px 0 16px; }
.form-sub { font-size: 1rem; margin: 22px 0 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-narrow { max-width: 660px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { margin: 0; font-weight: 500; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1.5px solid var(--line);
             border-radius: 999px; cursor: pointer; background: var(--surface); }
.pill input:checked + span { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.agent-name { display: none; margin-top: 10px; }
fieldset:has(input[value="Yes"]:checked) .agent-name { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--muted); }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--brand-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ visitor-facing pages */
.welcome { background: var(--navy); color: #fff; text-align: center; padding: calc(30px + env(safe-area-inset-top)) 20px 72px; }
.welcome-inner { max-width: 560px; margin: 0 auto; }
.welcome-hi { margin: 0 0 10px; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.78); }
.welcome h1 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 3vw, 2.6rem); line-height: 1.08; margin: 0 0 12px; }
.welcome-when, .welcome-host { margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; }
.welcome-host { margin-top: 4px; }
.welcome-short { padding-bottom: 64px; }
.welcome-short h1 { margin-bottom: 0; }
.welcome .mark { display: block; margin: 0 auto 12px; }
.lift { margin-top: -44px; position: relative; }
.lift .panel { box-shadow: 0 10px 30px rgba(8, 31, 102, .10); }
.done { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); }
.visitor-form { padding: 22px 18px; }
@media (min-width: 520px) { .visitor-form { padding: 28px; } }
.thanks { padding: 28px 20px; }
.thanks-lead { font-size: 1.08rem; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.fine { color: var(--muted); font-size: .8rem; text-align: center; margin: 14px 0 0; }
.login { padding: 24px; }
@media (prefers-color-scheme: dark) { .lift .panel { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); } }
