:root {
  --cream: #F5F2EA; --card: #FFFFFF; --line: #E2DED3; --tint: #E3ECE6; --muted-line: #C9D6CE;
  --ink: #17231D; --ink2: #3E4A43; --muted: #5B665F;
  --green: #1E4D3A; --green-dk: #143528; --orange: #C4561F; --orange-tint: #FBE9DF; --orange-ink: #7A3210; --red: #B91C1C;
  --hist: #7C2D12; --rest: #0F766E;
  --nav-h: 76px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.45 'Plus Jakarta Sans', system-ui, sans-serif;
  padding: env(safe-area-inset-top) 0 calc(var(--nav-h) + env(safe-area-inset-bottom)); }
a { color: var(--green); } a:hover { color: var(--green-dk); }
button, input { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
main { padding: 0 20px 28px; max-width: 560px; margin: 0 auto; }
h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 0; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 800; margin: 24px 0 10px; }
h3 { font-size: 15px; font-weight: 800; margin: 18px 0 8px; }
.label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sub { color: var(--ink2); font-size: 14px; }
.sub.small { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.note { margin: 24px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--tint); border-radius: 14px; padding: 10px 12px; }
footer { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* ---------- top bar (SOS on every tab) ---------- */
.top { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 #E2DED3; padding-top: max(10px, env(safe-area-inset-top)) !important; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px; max-width: 560px; margin: 0 auto; background: var(--cream); }
.brand { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 30px; height: auto; border-radius: 7px; }
.cover img.w-logo { position: static; inset: auto; width: 64px; height: auto; object-fit: contain; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.tp-logo { display: block; width: 180px; height: auto; margin-bottom: 6px; }
.sos-pill { height: 44px; padding: 0 16px; border-radius: 22px; background: var(--red); color: #fff !important; font-size: 14px; font-weight: 800;
  display: inline-flex; align-items: center; text-decoration: none; letter-spacing: 0.04em; }
/* Home: the bar floats over the photo, like Eric's cover */
/* header (logo + SOS) is locked at the top on every tab */

/* ---------- tab heads ---------- */
.tab { padding-top: 6px; }
.head { margin: 8px 0 14px; }
.kicker { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.lede { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- home ---------- */
#home { padding-top: 0; }
.cover { position: relative; height: 180px; overflow: hidden; margin: 0 -20px; background: linear-gradient(160deg, #1B2A44, #1E4D3A); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; display: block; }
.cover-top { position: absolute; left: 0; right: 0; top: 0; height: 110px; background: linear-gradient(rgba(14,20,17,0.5), rgba(14,20,17,0)); }
.cover-bot { position: absolute; left: 0; right: 0; bottom: 0; height: 270px; background: linear-gradient(rgba(14,20,17,0), rgba(14,20,17,0.82)); }
.cover-text { position: absolute; left: 20px; right: 20px; bottom: 22px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cover-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.cover h1 { font-size: 40px; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
.cover-pill { font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.18); padding: 6px 10px; border-radius: 20px; margin-top: 4px; }
.credit { font-size: 11px; color: #DCE3DF; }
.stack { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; }
.nextup { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--orange); }
.nextup .nu-label { font-size: 12px; font-weight: 800; color: #A2461A; letter-spacing: 0.06em; text-transform: uppercase; }
.nextup .nu-title { font-size: 18px; font-weight: 800; }
.nextup .nu-line { font-size: 14px; color: var(--ink2); }
.nextup .nu-link { font-size: 13px; font-weight: 700; color: var(--green); }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qbtn { min-height: 84px; border-radius: 16px; border: none; background: var(--tint); color: var(--green-dk); padding: 12px 8px; font-size: 14px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer; }
.qbtn.sos { background: #F6DEDE; color: var(--red); }
.qbtn[aria-expanded="true"] { outline: 2px solid var(--green); }

/* ---------- buttons ---------- */
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.btn { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--muted-line); background: var(--card);
  color: var(--green); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:active { background: var(--green-dk); }
.btn.white { background: #fff; border-color: #fff; color: var(--green); font-weight: 800; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn.dashed { width: 100%; background: transparent; border: 1.5px dashed #9AA89F; margin-top: 4px; }
.btn.wide { width: 100%; margin-top: 14px; }
.btn[aria-pressed="true"] { background: var(--tint); border-color: var(--green); }
.btn.sos { width: 100%; min-height: 72px; font-size: 22px; font-weight: 800; background: var(--red); border-color: var(--red); color: #fff; }
.btn.call { width: 100%; margin-top: 10px; color: var(--red); border-color: var(--red); font-size: 18px; }
.btn.small { min-height: 44px; padding: 0 12px; font-size: 14px; border-radius: 12px; }
.file { position: relative; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 0; }
.pad0 { padding: 0; overflow: hidden; }
/* Eric's green "Next up" card. Orange = leave now / running late. */
.hero { border: 0; border-radius: 22px; padding: 20px; background: var(--orange); color: #fff; }
.hero.ok { background: var(--green); }
.hero .label { color: #fff; opacity: 0.85; letter-spacing: 0.08em; }
.hero .sub { color: #fff; font-size: 14px; font-weight: 600; }
.hero.ok .label, .hero.ok .sub { color: #DCE9E1; }
.hero .big { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 4px 0 6px; }
.hero-btns { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; margin-top: 14px; }
.hero-btns .btn { min-height: 48px; }
#map { height: 300px; }

/* ---------- stops timeline ---------- */
.stops, .places, .memories, .contacts, .tickets { list-style: none; margin: 0; padding: 0; }
.stops { position: relative; }
.stops::before { content: ''; position: absolute; left: 34px; top: 30px; bottom: 30px; width: 2px; background: var(--muted-line); }
.stop { position: relative; display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 10px 0; }
.stop .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stop .body { flex: 1; min-width: 0; }
.stop .label { letter-spacing: 0.04em; font-weight: 700; text-transform: none; font-size: 12px; }
.stop.done { opacity: 0.6; }
.stop .name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.stop .sub { font-size: 13px; color: var(--muted); }
.stop .eta { font-size: 16px; font-weight: 800; margin-top: 4px; color: var(--green); }
.stop form { flex: 1; }
.late { color: var(--orange) !important; font-weight: 800; }
.go { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.go .btn { padding: 0 6px; font-size: 14px; }
.stop .row { margin: 8px 0 0; }

/* ---------- forms ---------- */
.field { display: block; margin: 8px 0; font-weight: 700; font-size: 14px; color: var(--ink2); }
.field.inline { display: flex; gap: 10px; align-items: center; }
input { min-height: 48px; border: 1px solid var(--muted-line); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--ink); width: 100%; }
.field.inline input, .row input { width: auto; flex: 1 1 140px; }

/* ---------- discover ---------- */
.toggles { display: grid; gap: 8px; }
.toggle { min-height: 52px; text-align: left; padding: 0 14px 0 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 700; position: relative; }
.toggle::before { content: ''; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 2px solid var(--muted-line); background: #fff; }
.toggle[aria-pressed="true"]::before, .toggle[aria-checked="true"]::before { background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }
.chips { display: flex; gap: 6px; overflow-x: auto; margin: 14px 0 6px; padding-bottom: 2px; }
.chips .chip { min-height: 44px; padding: 0 14px; border-radius: 10px; border: none; background: #fff; color: var(--ink2); font-size: 14px; font-weight: 700; white-space: nowrap; }
.chips .chip.on { background: var(--green); color: #fff; }
.place { background: var(--card); border-radius: 18px; padding: 16px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.place .pl-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.place .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.place.rest .kind { color: var(--rest); } .place.hist .kind { color: var(--hist); }
.place .mi { font-size: 13px; font-weight: 800; color: var(--green); background: var(--tint); padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.place .what { margin: 0; font-size: 16px; font-weight: 800; }
.place .btn { align-self: flex-start; }

/* ---------- wallet ---------- */
.ticket { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; min-height: 72px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 14px 10px 10px; margin: 0 0 10px; color: var(--ink); }
.ticket img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--tint); }
.ticket .t-when { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.ticket .t-title { display: block; font-size: 15px; font-weight: 700; }
.ticket .t-pill { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green); background: var(--tint); padding: 6px 8px; border-radius: 8px; }
.contacts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- album ---------- */
.greencard { background: var(--green); color: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.gc-text { margin: 0; font-size: 13px; color: #DCE9E1; line-height: 1.45; }
.gc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.memories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.memories .ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--tint); }
.memories .ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.memories .ph .t { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(23,35,29,0.6); padding: 2px 6px; border-radius: 6px; pointer-events: none; }
.memories .ph .x, .memories .ph .star { position: absolute; top: 2px; width: 44px; height: 44px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; }
.memories .ph .x { right: 0; } .memories .ph .star { left: 0; }
.memories .ph .x span, .memories .ph .star span { width: 30px; height: 30px; border-radius: 15px; background: rgba(23,35,29,0.7); color: #fff; display: flex; align-items: center; justify-content: center; }
.memories .ph .star[aria-pressed="true"] span { background: #F2B705; color: var(--ink); }
.memories .nt { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 8px; align-items: flex-start; }
.memories .nt > div { flex: 1; min-width: 0; }
.memories .empty { grid-column: 1 / -1; }

/* ---------- bottom nav (Eric) ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff;
  border-top: 1px solid var(--line); padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); }
.tabbar a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; font-weight: 700;
  color: var(--muted); text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--green); }

/* ---------- "Leave in 15 minutes" (Eric's push card) ---------- */
.push { position: fixed; top: calc(68px + env(safe-area-inset-top)); left: 12px; right: 12px; max-width: 536px; margin: 0 auto; z-index: 20; background: #fff; border-radius: 20px;
  padding: 14px 16px; box-shadow: 0 12px 36px rgba(23,35,29,0.22); display: flex; gap: 12px; align-items: flex-start; }
.push-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.push-body { flex: 1; min-width: 0; }
.push p { margin: 0; }
.push-from { font-size: 12px; font-weight: 700; color: var(--muted); }
.push-title { margin-top: 2px !important; font-size: 15px; font-weight: 800; }
.push-text { margin-top: 2px !important; font-size: 13px; color: var(--ink2); line-height: 1.4; }
.push-x { width: 44px; height: 44px; margin: -8px -10px 0 0; border: none; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- full-screen viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 30; background: #0E1411; color: #fff; display: flex; flex-direction: column; align-items: center;
  padding: calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); }
.viewer-bar { width: 100%; display: flex; justify-content: space-between; }
.viewer-title { margin: 12px 0 8px; font-size: 18px; font-weight: 800; text-align: center; }
.viewer img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; border-radius: 12px; }
.viewer-note { margin: 12px 0 0; font-size: 13px; color: #C9D6CE; text-align: center; }
.viewer-note a { color: #fff; }

.toast { position: fixed; left: 20px; right: 20px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; padding: 14px 16px;
  border-radius: 14px; box-shadow: 0 12px 36px rgba(23,35,29,0.22); font-weight: 600; z-index: 40; }
.marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: var(--green); box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.marker.me { background: #2563EB; }
.marker.end { background: var(--orange); }

/* ---------- trip page (preview on screen, printed on paper) ---------- */
.printview { position: fixed; inset: 0; z-index: 35; background: #D9D4C7; display: flex; flex-direction: column; }
.pv-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: var(--green); color: #fff; }
.pv-title { font-weight: 800; font-size: 15px; }
.pv-scroll { flex: 1; overflow: auto; padding: 16px 12px 32px; }
.tp { background: var(--cream); color: var(--ink); width: 100%; max-width: 8.5in; margin: 0 auto; padding: 36px 30px; box-shadow: 0 6px 24px rgba(23,35,29,0.18); }
.tp-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.tp h1 { font-size: 34px; letter-spacing: -0.03em; margin: 4px 0 2px; color: var(--green-dk); }
.tp-sub { font-size: 14px; color: var(--ink2); margin: 0 0 20px; }
.tp-grid { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; }
.tp-map svg { width: 100%; height: auto; display: block; }
.tp-map figcaption { font-size: 10px; color: var(--muted); margin-top: 4px; }
.tp-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tp-photos figure { margin: 0; break-inside: avoid; }
.tp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 6px; }
.tp-photos figcaption { font-size: 11px; color: var(--ink2); margin-top: 4px; }
.tp-quotes { margin: 22px 0 0; display: grid; gap: 10px; }
.tp-quotes blockquote { margin: 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--orange); font: italic 16px/1.45 Georgia, 'Times New Roman', serif; color: var(--ink); break-inside: avoid; }
.tp-quotes cite { display: block; font: 600 11px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--muted); margin-top: 2px; font-style: normal; }
.tp-hist { margin: 22px 0 0; padding: 12px 14px; background: var(--tint); border-radius: 10px; font-size: 13px; break-inside: avoid; }
.tp-hist b { color: var(--green-dk); }
.tp-hist small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.tp-foot { margin-top: 26px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); text-align: center; }
@media (max-width: 480px) {
  .tp { padding: 22px 16px; }
  .tp h1 { font-size: 26px; }
  .tp-grid { grid-template-columns: 76px 1fr; gap: 12px; }
  .tp-photos { gap: 8px; }
}
@page { size: letter; margin: 0.6in; }
@media print {
  body { padding: 0; background: #fff; }
  body > *:not(#printView) { display: none !important; }
  .printview { position: static; display: block; background: none; }
  .pv-bar { display: none; }
  .pv-scroll { overflow: visible; padding: 0; }
  .tp { box-shadow: none; padding: 0; max-width: none; background: #fff; }
  .tp, .tp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tp-grid { grid-template-columns: 1.5in 1fr; }
}

/* ---------- first-run welcome ---------- */
.welcome { position: fixed; inset: 0; z-index: 50; background: var(--cream); overflow-y: auto; }
.w-cover { margin: 0; height: 190px; }
.w-top { position: sticky; top: 0; }
.w-cover h1 { font-size: 34px; }
.w-body { padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }
.w-step .field { margin: 14px 0 6px; }
.w-err { color: var(--red); font-size: 14px; font-weight: 700; min-height: 20px; margin: 8px 0 0; }
.w-card { text-align: center; }
.w-name { margin: 0; font-size: 22px; font-weight: 800; }
.w-phone { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
.w-step h2 { margin-top: 4px; }
.staged { position: absolute; left: 20px; right: 20px; opacity: 0; pointer-events: none; }
.clipbox { position: relative; aspect-ratio: 16 / 9; background: #0E1411; }
.clip-now { position: absolute; inset: 0; margin: 0; }
.clip-now img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-now p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 16px; color: #FFFFFF; background: linear-gradient(rgba(14,20,17,0), rgba(14,20,17,0.85)); display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.clip-now span { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.clipbox iframe, #ytPlayer { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-empty { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; color: #C9D6CE; font-weight: 700; }
.greet { font-size: 15px; font-weight: 700; }
#sos { scroll-margin-top: 72px; }
.w-hello { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; color: var(--green-dk); }
.w-hello-sub { margin: 4px 0 14px; font-size: 16px; }

/* ---------- group locator ---------- */
#groupCard { scroll-margin-top: 72px; }
#groupCard .toggle { width: 100%; margin-top: 4px; }
#groupCard .row { margin: 8px 0 12px; }
.gcode { color: var(--green); font-size: 16px; font-weight: 800; letter-spacing: 0.08em; }
.glist { list-style: none; margin: 0; padding: 0; }
.gm { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 10px 0; }
.gm .body { flex: 1; min-width: 0; }
.gm .name { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.gm .sub { font-size: 13px; color: var(--muted); }
.gm-dot { width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gm.stale { background: transparent; }
.gm.stale .name, .gm.stale .sub { color: var(--muted); }
.gm.stale .gm-dot, .gmark.stale { filter: grayscale(1); opacity: 0.55; }
.gm summary { list-style: none; margin-top: 8px; display: inline-flex; }
.gm summary::-webkit-details-marker { display: none; }
.gm details[open] summary { background: var(--tint); border-color: var(--green); }
.gmark { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.gmark span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; font-size: 11px; color: var(--ink);
  background: #fff; padding: 1px 6px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.findgroup { align-self: flex-start; }

/* Home cover after sign-in: half height, compact text (the welcome cover keeps its own sizes) */
.cover:not(.w-cover) .cover-text { bottom: 10px; gap: 3px; }
.cover:not(.w-cover) h1 { font-size: 28px; }
.cover:not(.w-cover) .cover-label { display: none; }
.cover:not(.w-cover) .cover-pill { margin-top: 2px; padding: 4px 9px; font-size: 12px; }
.cover:not(.w-cover) .credit { font-size: 9px; }
