:root {
  /* Looks (owner 2026-11-11, promo/web_planner_v2/README.md). Blue is primary; gold means Pro
     (and star ratings). --acc fills the main action buttons, --hl is every other accent.
     html[data-look] switches: "gold" (v5) and "mixed" (v7, gold buttons); blue (v6) is the default. */
  --brand-deep: #0c2340;
  --acc: #1a3258; --acc-hover: #24426f; --on-acc: #ffffff;
  --hl: #4a699b; --hl-ink: #4a699b; --hl-rgb: 74, 105, 155; --hl-ink-rgb: 74, 105, 155;
  --hl-dim: rgba(74, 105, 155, 0.14); --hl-wash: #f5f8fc; --hl-soft: #e8eef5;
  --dk-acc: #ffffff; --dk-acc-hover: #e8eef5; --on-dk-acc: #1a3258; --dk-hl: #9fb7dd;
  --pro: #e6b800; --pro-ink: #a8841a; --pro-hover: #f0c419; --pro-dim: rgba(168, 132, 26, 0.14);
  --navy: #0b1f3a;
  --navy-deep: #0a1828;
  --gold: #e6b800;
  --gold-ink: #a8841a;
  --gold-dim: rgba(var(--hl-ink-rgb), 0.14);
  --bg: #f2f5f9;
  --elev: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.64);
  --faint: rgba(15, 23, 42, 0.45);
  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  --soft: 0 1px 2px rgba(10, 24, 40, 0.06), 0 6px 18px rgba(10, 24, 40, 0.08);
  --shadow-lg: 0 10px 30px rgba(10, 24, 40, 0.14);
  --green: #2e9e6b;
  --mbar: 64px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Outfit", var(--font);
  --topbar: 56px;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 1.3em; line-height: 1;
  display: inline-block; vertical-align: -0.3em;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.ms-fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
/* Blank icons until the font has loaded (icons_wait.js, owner 2026-12-02). */
html.ms-wait .ms { color: transparent !important; width: 1em; overflow: hidden; }
html.ms-wait .rtool.locked::after { color: transparent; }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar); z-index: 30;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem;
  padding: 0 1rem; background: var(--navy-deep); color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; display: block; }
.search { position: relative; display: flex; align-items: center; gap: 0.5rem; max-width: 560px; width: 100%; justify-self: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 0 0.9rem; height: 38px; }
.search:focus-within { background: #fff; color: var(--text); border-color: var(--hl); }
.search .ms { color: inherit; opacity: 0.8; }
.search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: inherit; font: inherit; font-size: 0.95rem; }
.search input::placeholder { color: inherit; opacity: 0.6; }
/* Filters inside the search bar, as in the app (owner, 2026-11-30). */
.search { padding-right: 4px; }
.sfbtn { position: relative; flex: none; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 999px; border: none; background: rgba(255, 255, 255, 0.16); color: inherit; font: 600 0.85rem var(--font); cursor: pointer; }
.sfbtn:hover { background: rgba(255, 255, 255, 0.26); }
.search:focus-within .sfbtn { background: rgba(11, 31, 58, 0.08); }
.sfbtn .ms { font-size: 18px; opacity: 1; }
.sfbtn .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 0.7rem; display: inline-grid; place-items: center; }
.sfbtn .count[hidden] { display: none; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 0.35rem; list-style: none;
  background: #fff; color: var(--text); border-radius: 12px; box-shadow: var(--shadow); max-height: 60vh; overflow: auto; z-index: 40;
}
.suggest li { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: 0.6rem; align-items: center; padding: 0.5rem 0.6rem; border-radius: 8px; cursor: pointer; font-size: 0.92rem; }
.suggest li:hover, .suggest li[aria-selected="true"] { background: var(--hl-dim); }
.suggest li .ms { color: var(--hl-ink); }
.suggest li small { color: var(--faint); font-size: 0.78rem; }
.suggest li .sub { display: block; color: var(--muted); font-size: 0.78rem; }
.topnav { display: flex; gap: 0.4rem; align-items: center; }
.chipbtn {
  position: relative; display: inline-flex; align-items: center; gap: 0.35rem; height: 36px; padding: 0 0.8rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; font-size: 0.88rem; font-weight: 600;
}
.chipbtn:hover { background: rgba(255, 255, 255, 0.16); }
.chipbtn.gold { background: var(--acc); color: var(--on-acc); border-color: var(--hl); }
.chipbtn .count { position: absolute; top: -6px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 0.7rem; display: grid; place-items: center; }
.chipbtn .count[hidden] { display: none; }

/* Stage */
.stage { position: fixed; inset: var(--topbar) 0 0 0; }
/* Light page behind the flat map while tiles load (no dark space). */
.map { position: absolute; inset: 0; background: #f3efec; }
.mapboxgl-ctrl-bottom-right { margin-bottom: 0.5rem; }
.fitctl[hidden] { display: none; }
.fitctl button .ms { font-size: 20px; color: var(--navy); vertical-align: 0; line-height: 29px; }
.along-all { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.along-all[hidden] { display: none; }
.along-all:hover { border-color: var(--hl-ink); }
.along-all .ms { font-size: 18px; color: var(--hl-ink); vertical-align: 0; }
.pill.along.pulse { animation: focusIn 0.35s ease-out, focusGlow 1.4s ease-out 0.35s 2; }
@media (prefers-reduced-motion: reduce) { .pill.along.pulse { animation: none; } }

/* Drawers */
.drawer {
  position: absolute; top: 0.9rem; left: 0.9rem; bottom: 0.9rem; width: 380px; max-width: calc(100% - 1.8rem);
  background: var(--elev); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 20;
  display: flex; flex-direction: column; overflow: hidden;
}
.drawer[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.9rem 1rem 0.6rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.drawer-actions { display: flex; gap: 0.2rem; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.iconbtn:hover { background: rgba(15, 23, 42, 0.06); color: var(--text); }
.drawer-note { margin: 0; padding: 0.75rem 1rem 0.9rem; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); }

.fbody { overflow: auto; flex: 1; min-height: 0; }
.fsec { margin: 0; padding: 0.7rem 1.1rem 0.1rem; font: 700 0.74rem var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fpills { display: flex; flex-wrap: wrap; gap: 6px; padding: 0.4rem 1rem 0.9rem; }
.fpills .pill { box-shadow: 0 0 0 1px var(--line) inset; height: 32px; font-size: 13px; }
.layer-list { list-style: none; margin: 0; padding: 0.5rem; }
.layer-row label { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 10px; cursor: pointer; }
.layer-row label:hover { background: rgba(15, 23, 42, 0.04); }
.layer-row input { accent-color: var(--navy); width: 16px; height: 16px; }
/* Each layer shows a small copy of its real map pin (pins/*.png, the same art the map draws). */
.layer-row .swatch { width: 28px; height: 30px; display: grid; place-items: center; }
.layer-row .swatch img { display: block; height: 30px; width: auto; filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.18)); }
.layer-row .name { font-weight: 600; font-size: 0.92rem; }
.layer-row .n { font-size: 0.78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.stage.research-open .rbar { display: none !important; }
.layer-row.off .swatch img { filter: grayscale(1); opacity: 0.45; }
/* Filters dropdowns (owner, 2026-11-30): the arrow opens the camp type's choices, like the app. */
.layer-row.has-sub { display: flex; align-items: center; }
.layer-row.has-sub > label { flex: 1; min-width: 0; }
.sub-toggle { flex: none; width: 30px; height: 30px; margin-right: 2px; border: none; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; position: relative; }
.sub-toggle:hover { background: rgba(15, 23, 42, 0.06); color: var(--navy); }
.sub-toggle .ms { font-size: 22px; transition: transform 0.18s ease; }
.sub-toggle.open .ms { transform: rotate(180deg); }
.sub-toggle.changed::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.sub-panel { margin: 0 0.4rem 0.5rem 2.4rem; padding: 0.35rem 0.6rem 0.5rem; border-left: 2px solid var(--line); }
.caution-row .swatch img { height: 22px; }
.caution-note { list-style: none; margin: -2px 0 6px 38px; }
.sub-hint { margin: 0.2rem 0 0.35rem; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
.sub-sw { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; cursor: pointer; }
.sub-t { flex: 1; min-width: 0; font-size: 0.86rem; font-weight: 600; }
.sub-t small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); line-height: 1.3; margin-top: 1px; }
.sub-sw input { appearance: none; -webkit-appearance: none; flex: none; width: 34px; height: 20px; border-radius: 999px; background: #cbd2dc; position: relative; cursor: pointer; transition: background 0.15s ease; margin: 0; }
.sub-sw input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s ease; }
.sub-sw input:checked { background: var(--navy); }
.sub-sw input:checked::after { transform: translateX(14px); }
.sub-sw input:focus-visible { outline: 2px solid var(--hl); outline-offset: 2px; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0.2rem 0 0.3rem; }
.sub-chip { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font: 600 0.8rem var(--font); cursor: pointer; }
.sub-chip.on { background: var(--hl-soft); border-color: var(--hl); color: var(--navy); }
/* Save as my default (defaults.js): under the layer list, like the app's Filters sheet */
.layer-defaults { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.6rem 1rem 0.7rem; border-top: 1px solid var(--line); }
.defbtn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; width: 100%; padding: 0.55rem 0.8rem; border: 1.5px solid var(--navy); border-radius: 10px; background: var(--elev); color: var(--navy); font: 600 0.9rem var(--font); cursor: pointer; }
.defbtn .ms { font-size: 1.1rem; }
.defbtn:hover { background: rgba(11, 31, 58, 0.05); }
.deflink { align-self: center; border: none; background: transparent; color: var(--navy); font: 600 0.85rem var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 0.25rem 0.4rem; }
.deflink[hidden] { display: none; }
.defmsg { margin: 0; font-size: 0.82rem; color: var(--green); text-align: center; }
.defmsg:empty { display: none; }

/* Layers: a popover under its button, so it never fights the docked panes */
.drawer.layers { top: 0.5rem; right: 0.75rem; left: auto; bottom: auto; width: 300px; max-height: calc(100% - 1rem); }

/* Trip rail (planner.js), approved v4 look (promo/web_planner_v2/README.md):
   white surfaces, hairlines, soft shadows; gold for the timeline, Rig & route,
   Reserved and the Add to trip button. */
.stage { --tpane: 380px; }
.tpane {
  position: absolute; top: 0; bottom: 0; left: 0; width: var(--tpane); z-index: 22; background: #fff;
  border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.22s ease;
}
.tpane.collapsed { transform: translateX(-100%); }
.ptab {
  position: absolute; top: 50%; transform: translateY(-50%); width: 26px; padding: 0.7rem 0; border: 1px solid var(--line); border-left: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--navy); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; box-shadow: 2px 2px 8px rgba(15, 23, 42, 0.14);
}
.tpane .ptab { left: 100%; border-radius: 0 10px 10px 0; }
.ptab-label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.ptab .ms { font-size: 1.1rem; color: var(--hl-ink); transition: transform 0.22s ease; }
.tpane:not(.collapsed) .ptab .ms { transform: rotate(180deg); }
.ptab:hover { background: var(--hl-wash); }
.rgrab { display: none; }
.rhead { padding: 16px 16px 10px 18px; flex: none; }
.rtitle { display: flex; align-items: center; gap: 8px; }
.rtitle h2 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.rmeter { font-size: 12px; font-weight: 700; color: var(--hl-ink); background: rgba(var(--hl-rgb), 0.14); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.rmeter.full { background: var(--acc); color: var(--on-acc); }
.rmeter:empty { display: none; }
.rmeter { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Save in the title row (owner, 2026-11-30): visible, not in the menu. */
.rtool.rsave { margin-left: auto; height: 32px; flex: none; }
.rtool.rsave.done { color: var(--hl-ink); }
.rsave:not([hidden]) + .rclose { margin-left: 2px; }
.menu .prow { font: 800 10.5px/1 Inter, system-ui, sans-serif; color: var(--pro-ink, #6b5300); background: var(--pro, #f0c14b); border-radius: 999px; padding: 3px 6px; margin-left: 6px; }
.rclose { margin-left: auto; width: 32px; height: 32px; }
.rsub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.rsub b { color: var(--hl-ink); font-weight: 600; }
.rtools { position: relative; display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.rtool { position: relative; height: 34px; padding: 0 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.rtool .ms { font-size: 18px; vertical-align: 0; }
.rtool:hover { border-color: var(--hl-ink); }
.rtool.gold { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.rtool.gold:hover { background: var(--acc-hover); }
.rtool.icon { width: 38px; padding: 0; justify-content: center; }
.rtool.locked::after { content: "lock"; font-family: "Material Symbols Rounded"; font-variation-settings: "FILL" 1; position: absolute; top: -6px; right: -6px; width: 17px; height: 17px; border-radius: 50%; background: var(--acc); color: var(--on-acc); font-size: 11px; line-height: 17px; text-align: center; }
.vh { position: absolute; left: 150px; top: 30px; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.rtools .menuwrap { margin-left: 0; }
.rtool.rgps { margin-left: auto; height: 32px; flex: none; padding: 0 10px; }
.rgps:not([hidden]) + .rsave { margin-left: 0; }
.rtools .menu { right: auto; left: 0; }

.tempty { padding: 1.6rem 1.2rem; text-align: center; color: var(--muted); display: grid; gap: 0.6rem; justify-items: center; }
.tempty > .ms { font-size: 2rem; color: var(--hl-ink); }
.tempty .btn .ms { font-size: 1.1rem; color: var(--hl-ink); vertical-align: 0; }
.tempty p { margin: 0; font-size: 0.9rem; line-height: 1.45; }

.tl {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; position: relative; padding: 2px 14px 14px;
  overscroll-behavior: contain;
}
.tl-in { position: relative; }
.tl-in::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 40px; width: 2px; background: rgba(var(--hl-rgb), 0.7); border-radius: 1px; }
.tl-day { position: relative; margin: 10px 0 6px; padding-left: 36px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); font-weight: 700; }
.tl-day::before { content: ""; position: absolute; left: 13px; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(var(--hl-rgb), 0.35); }
.tl-card {
  position: relative; margin: 0 0 0 36px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 4px;
  display: grid; grid-template-columns: 18px 34px minmax(0, 1fr) auto; gap: 0 8px; align-items: center; box-shadow: var(--soft); cursor: pointer;
}
.tl-card:hover { border-color: rgba(var(--hl-ink-rgb), 0.45); }
.tl-card.sel { border-color: var(--hl); box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.28), var(--soft); }
.tl-grip { display: grid; place-items: center; align-self: stretch; color: #9aa4b2; cursor: grab; touch-action: none; border-radius: 6px; }
.tl-grip .ms { font-size: 20px; vertical-align: 0; }
.tl-grip:hover { color: var(--navy); background: rgba(var(--hl-rgb), 0.14); }
.tl-card:not(.edit) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tl-card.dragging { z-index: 5; opacity: 0.95; cursor: grabbing; box-shadow: 0 10px 28px rgba(0, 20, 50, 0.28); border-color: var(--hl); }
.tl-card.dragging .tl-grip { cursor: grabbing; color: var(--navy); }
.tl-card.over { box-shadow: 0 -3px 0 var(--hl), var(--soft); }
.tl-card.over-end { box-shadow: 0 3px 0 var(--hl), var(--soft); }
.tl.reordering, .tl.reordering * { user-select: none; cursor: grabbing; }
.tl.reordering .tl-tools { display: none !important; }
.tl-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(var(--hl-rgb), 0.14); color: var(--navy); display: grid; place-items: center; }
.tl-ic .ms { font-size: 20px; vertical-align: 0; }
.tl-ic.head { border-radius: 50%; background: none; }
.tl-ic.head img { width: 34px; height: 34px; display: block; }
.tl-ic.head.pt { background: var(--navy); color: #fff; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,0.25); }
.tl-main { min-width: 0; }
.tl-nm { font-weight: 700; font-size: 13.5px; line-height: 1.22; }
.tl-nm .nm-f { display: none; }
@media print { .tl-nm .nm-s { display: none; } .tl-nm .nm-f { display: inline; } .tl-card:not(.edit) .tl-nm { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; } }
/* Two lines at most, then "..." (owner 2026-11-24). The stop being edited
   shows its whole name. */
.tl-card:not(.edit) .tl-nm { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.tl-mt { font-size: 12.5px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.tl-lk { display: inline-flex; align-items: center; gap: 3px; background: rgba(var(--hl-rgb), 0.16); color: var(--hl-ink); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.tl-lk .ms { font-size: 13px; vertical-align: 0; }
.tl-conf, .tl-note { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-conf .ms { font-size: 13px; color: var(--hl-ink); vertical-align: -0.15em; margin-right: 3px; }
.tl-note { font-style: italic; }
.tl-n { border: none; background: none; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; color: var(--navy); cursor: pointer; padding: 5px 4px; border-radius: 8px; min-width: 52px; }
.tl-n small { display: block; font-family: var(--font); font-weight: 600; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.tl-n.stop { font-size: 12px; color: var(--muted); font-family: var(--font); font-weight: 600; }
button.tl-n:hover { background: var(--bg); }
.tl-tools { position: absolute; top: -12px; right: 8px; display: none; gap: 3px; z-index: 2; }
.tl-card:hover .tl-tools, .tl-card:focus-within .tl-tools { display: flex; }
.tl-tools button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15); }
.tl-tools .ms { font-size: 15px; vertical-align: 0; }
.tl-tools button:hover { color: var(--navy); border-color: var(--hl-ink); }
.tl-tools .rm:hover { color: #b3261e; border-color: #b3261e; }
.tl-tools button:disabled { opacity: 0.35; cursor: default; }
.tl-drive { display: flex; align-items: center; gap: 7px; width: calc(100% - 46px); margin: 2px 0 2px 46px; height: 28px; border: none; background: none; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; padding: 0 6px; border-radius: 7px; text-align: left; }
.tl-drive:hover { background: var(--bg); }
.tl-drive .ms { color: var(--hl-ink); font-size: 17px; vertical-align: 0; }
.tl-drive b { color: var(--text); font-weight: 600; }
.tl-drive .fuel { margin-left: auto; color: var(--green); font-weight: 600; }
/* Long day: grey outline, navy text (owner pick E, 2026-11-17; the yellow fill looked cheap). */
.tl-drive .long { display: inline-flex; align-items: center; gap: 3px; color: var(--navy); background: #fff; border: 1px solid #CBD5E1; border-radius: 999px; padding: 0 7px; font-weight: 600; font-size: 11.5px; }
.tl-drive .long .ms { color: var(--navy); font-size: 13px; }
.tl-drive .muted { font-style: italic; }
.tl-gap, .tl-over { margin: 4px 0 4px 36px; border-radius: 10px; padding: 7px 10px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.tl-gap { border: 1.5px dashed rgba(var(--hl-ink-rgb), 0.55); background: var(--hl-wash); }
.tl-gap .ms { color: var(--hl-ink); font-size: 18px; vertical-align: 0; }
.tl-over { border: 1.5px solid rgba(179, 38, 30, 0.45); background: #fdf3f2; color: #7f1d1d; }
.tl-over .ms { color: #b3261e; font-size: 18px; vertical-align: 0; }
.tl-gap b, .tl-over b { color: var(--text); }
.tl-err { margin: 8px 0 8px 36px; color: #b3261e; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.tl-add { margin: 12px 0 0 36px; border: 2px dashed var(--line); border-radius: 12px; padding: 10px; background: #fafbfd; display: grid; gap: 6px; justify-items: center; text-align: center; }
.tl-addt { font-weight: 700; color: var(--navy); font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.tl-addt .ms { color: var(--hl-ink); vertical-align: 0; }
.tl-addh { font-size: 12.5px; color: var(--muted); }
.tl-addb { display: flex; gap: 6px; flex-wrap: wrap; }
/* Return to start (owner, 2026-11-30): the last stop of a round trip, not draggable. */
.tl-grip.off { cursor: default; }
.tl-grip.off:hover { color: #9aa4b2; background: none; }
.tl-back { font-weight: 700; color: var(--navy); }
.tl-addb button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--navy); cursor: pointer; }
.tl-addb button:hover { border-color: var(--hl-ink); }
.tl-addb .ms { font-size: 16px; color: var(--hl-ink); vertical-align: 0; }

/* Stop editor, in place on the card */
.tl-card.edit { display: block; cursor: default; border-color: var(--hl); box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.28), var(--soft); }
.tl-top { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; }
.ef { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.fl { min-width: 0; }
.fl label { display: block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 3px; }
.fl.wide { margin-top: 8px; }
.inp { height: 36px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; padding: 0 10px; gap: 6px; font-size: 14px; background: #fff; min-width: 0; }
.inp:focus-within { border-color: var(--hl-ink); box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.2); }
.inp input, .inp select { flex: 1; min-width: 0; width: 100%; border: none; outline: none; background: none; font: inherit; color: var(--text); padding: 0; }
.inp input::placeholder { color: var(--faint); }
.inp .r { margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.inp .pre { color: var(--muted); }
.inp > .ms { color: var(--navy); font-size: 18px; vertical-align: 0; }
.inp.off { background: var(--bg); opacity: 0.7; }
.inp.date { padding-left: 6px; }
.inp.date button { border: none; background: none; padding: 2px; cursor: pointer; color: var(--navy); display: grid; border-radius: 6px; }
.inp.date button:hover { background: var(--bg); }
.inp.date button .ms { font-size: 18px; vertical-align: 0; }
.inp.date.on { border-color: rgba(var(--hl-ink-rgb), 0.55); }
.inp.date { position: relative; }
.inp.date .dtxt { flex: 1; text-align: left; font: inherit; font-size: 14px; color: var(--text); padding: 0 2px; }
.inp.date .dpick { position: absolute; left: 30px; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.inp.date.on button .ms { color: var(--hl-ink); }
textarea.inp.area { height: auto; min-height: 46px; width: 100%; padding: 8px 10px; resize: vertical; font: inherit; font-size: 14px; display: block; outline: none; color: var(--text); }
.step { display: flex; gap: 6px; }
.step .pm { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 18px; cursor: pointer; color: var(--navy); }
.step .pm:hover { border-color: var(--hl-ink); }
.step .num { flex: 1; justify-content: center; font-weight: 700; font-size: 16px; }
.step.locked, .seg.locked, .tog.locked .sw { opacity: 0.55; }
.ebar { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--bg); border-radius: 9px; padding: 8px 10px; font-size: 13px; }
.ebar .ms { color: var(--hl-ink); vertical-align: 0; }
.ebar b { margin-left: auto; font-family: var(--display); font-size: 15px; color: var(--navy); }
.eacts { display: flex; gap: 6px; margin-top: 10px; }
.eacts button { flex: 1; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 600; font-size: 13.5px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.eacts .ms { font-size: 18px; vertical-align: 0; }
.eacts .gold { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.eacts .gold:hover { background: var(--acc-hover); }
.eacts .rm { color: #b3261e; flex: 0 0 auto; padding: 0 10px; }

/* Summary chips and route choices */
.ralts { display: flex; gap: 6px; align-items: center; padding: 8px 14px 2px; flex: none; flex-wrap: wrap; border-top: 1px solid var(--line); }
.ralts-l { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-right: 2px; }
.ralts button { display: inline-flex; align-items: baseline; gap: 5px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.ralts button small { color: var(--muted); }
.ralts button.on { border-color: var(--hl); background: rgba(var(--hl-rgb), 0.14); }
.rsum { display: flex; align-items: center; margin-top: 10px; padding: 2px 0; }
.rsum .sx { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0 8px; background: none; border: none; border-left: 1px solid var(--line); font: inherit; text-align: left; color: inherit; }
.rsum .sx:first-child { border-left: none; padding-left: 0; }
.rsum .sx > .ms { font-size: 18px; color: var(--pro); flex: none; }
.rsum .sx > span:last-child { min-width: 0; line-height: 1.15; }
.rsum b { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rsum small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.rsum button.sx { cursor: pointer; border-radius: 0; }
.rsum button.sx:hover b { text-decoration: underline; }
.rsum .lockd b .ms { font-size: 15px; color: var(--pro-ink); vertical-align: -0.15em; }

/* One drive, shown over the rail */
.legview { position: absolute; inset: 0; background: #fff; z-index: 4; display: flex; flex-direction: column; }

/* Add to trip: slides up inside the rail */
.addsheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 14px 16px 16px; box-shadow: 0 -10px 30px rgba(10, 24, 40, 0.16); border-top: 1px solid var(--line); z-index: 5; display: grid; gap: 10px; max-height: calc(100% - 40px); overflow: auto; }
.addsheet.in { animation: sheetUp 0.22s ease-out; }
@keyframes sheetUp { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.as-head { display: flex; align-items: center; gap: 6px; }
.as-head h3 { margin: 0; flex: 1; font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--navy); }
.as-sub { font-size: 13px; color: var(--muted); margin-top: -8px; }
.as-sub:empty { display: none; }
.seg { display: flex; background: var(--bg); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { flex: 1; height: 36px; border-radius: 8px; border: none; background: none; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button .ms { vertical-align: 0; font-size: 19px; }
.seg button.on { background: #fff; color: var(--navy); box-shadow: var(--soft); }
.seg button.on .ms { color: var(--hl-ink); }
.after { display: flex; gap: 6px; flex-wrap: wrap; }
.after button { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 500; background: #fff; cursor: pointer; color: var(--text); }
.after button.on { background: rgba(var(--hl-rgb), 0.14); color: var(--navy); border-color: var(--hl); font-weight: 600; }
.tog { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tog > .ms { color: var(--hl-ink); vertical-align: 0; }
.tog > div { flex: 1; min-width: 0; }
.tog small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.sw { flex: none; width: 44px; height: 26px; border-radius: 13px; background: rgba(15, 23, 42, 0.18); position: relative; border: none; cursor: pointer; padding: 0; transition: background 0.15s; }
.sw.on { background: var(--green); }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: left 0.15s; }
.sw.on::after { left: 21px; }
.probadge { display: inline-flex; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hl-ink); background: rgba(var(--hl-rgb), 0.16); border-radius: 999px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
.probadge .ms { font-size: 12px; vertical-align: 0; }
.goldbtn { height: 46px; width: 100%; border-radius: 12px; background: var(--acc); color: var(--on-acc); font-weight: 800; font-family: var(--display); font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 6px 16px rgba(var(--hl-rgb), 0.35); border: none; cursor: pointer; }
.goldbtn:hover { background: var(--acc-hover); }
.goldbtn .ms { vertical-align: 0; }

/* Rig & route: settings sheet over the rail */
.rigsheet { position: absolute; inset: 0; background: #fff; z-index: 6; display: flex; flex-direction: column; }
.rs-h { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--navy); flex: none; }
.rs-h > .ms { color: var(--hl-ink); vertical-align: 0; }
.rs-h .iconbtn { margin-left: auto; }
.rs-b { flex: 1; min-height: 0; overflow: auto; padding: 2px 18px 10px; }
.rigsheet h5 { margin: 14px 0 8px; font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); display: flex; align-items: center; gap: 6px; }
.rigsheet h5::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g3 + .g2 { margin-top: 8px; }
.rigsheet .tog { border-top: 1px solid var(--line); padding: 10px 0; }
.rigsheet .g2 + .tog { margin-top: 10px; }
.rigsheet .note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
.rs-f { padding: 12px 18px 16px; flex: none; border-top: 1px solid var(--line); }

/* The one Pro card */
.modal { position: absolute; inset: 0; z-index: 35; background: rgba(10, 24, 40, 0.45); display: grid; place-items: center; }
.procard { width: 460px; max-width: calc(100% - 2rem); max-height: calc(100% - 2rem); overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.pc-h { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 18px; color: var(--navy); }
.pc-h b { font-weight: 800; }
.pc-h > .ms { color: var(--hl-ink); vertical-align: 0; }
.pc-h .iconbtn { margin-left: auto; }
.pc-b { padding: 12px 16px 16px; }
.pc-lead { margin: 0 0 8px; font-size: 15px; line-height: 1.45; }
.pc-b h4 { margin: 12px 0 4px; font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); display: flex; align-items: center; gap: 6px; }
.pc-b h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.pc-list .ms { color: var(--hl-ink); }
.pc-list small { display: block; color: var(--muted); font-size: 12.5px; }
.pc-cta { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.pc-cta p { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.4; }
.pc-stores { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.pc-stores a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--navy); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.pc-stores a:hover { border-color: var(--hl-ink); }
.pc-stores .ms { font-size: 17px; color: var(--hl-ink); vertical-align: -0.2em; }

/* Filter pills over the map, and Scout (Along route popover; phone: a sheet) */
.pills { position: absolute; top: 10px; left: 16px; right: 16px; z-index: 24; display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; transition: left 0.22s ease; pointer-events: none; }
.pills::-webkit-scrollbar { display: none; }
.pills > * { pointer-events: auto; }
.stage.trip-open .pills { left: calc(var(--tpane) + 20px); }
/* The row scrolls sideways: drag it, use the mouse wheel over it, or the end
   arrows, which show only while there is more to see (owner, 2026-11-16). */
.pills.dragging { pointer-events: auto; }
.pills.dragging, .pills.dragging .pill { cursor: grabbing; user-select: none; }
.pills.more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent calc(100% - 8px)); mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent calc(100% - 8px)); }
.pills.more-l { -webkit-mask-image: linear-gradient(90deg, transparent 8px, #000 64px); mask-image: linear-gradient(90deg, transparent 8px, #000 64px); }
.pills.more-l.more-r { -webkit-mask-image: linear-gradient(90deg, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px)); mask-image: linear-gradient(90deg, transparent 8px, #000 64px, #000 calc(100% - 64px), transparent calc(100% - 8px)); }
.pnav { position: absolute; top: 12px; z-index: 25; width: 36px; height: 36px; border-radius: 50%; border: none; background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(10, 24, 40, 0.25); display: grid; place-items: center; cursor: pointer; padding: 0; transition: left 0.22s ease; }
.pnav[hidden] { display: none; }
.pnav .ms { font-size: 24px; vertical-align: 0; }
.pnav:hover { box-shadow: 0 0 0 1.5px rgba(var(--hl-ink-rgb), 0.5) inset, 0 2px 8px rgba(10, 24, 40, 0.25); }
.pnav.l { left: 12px; }
.pnav.r { right: 12px; }
.stage.trip-open .pnav.l { left: calc(var(--tpane) + 16px); }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(10, 24, 40, 0.18); font-weight: 600; font-size: 13.5px; border: none; cursor: pointer; color: var(--text); white-space: nowrap; font-family: var(--font); }
.pill .ms { color: var(--navy); font-size: 19px; vertical-align: 0; }
.pill .dd { font-size: 16px; margin-left: -3px; }
.pill:hover { box-shadow: 0 0 0 1.5px rgba(var(--hl-ink-rgb), 0.5) inset, 0 2px 8px rgba(10, 24, 40, 0.18); }
.pill.on { background: var(--hl-soft); color: var(--navy); box-shadow: 0 0 0 1.5px var(--hl) inset, 0 2px 8px rgba(10, 24, 40, 0.18); }
.pill.on .ms { color: var(--hl-ink); }
/* Stops only: the one navy pill on the row, so it is clear why the map is quiet (owner, 2026-11-30). */
.pill.along.stops { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(10, 24, 40, 0.3); }
.pill.along.stops .ms { color: #fff; }
.pill.phide { width: 30px; height: 30px; padding: 0; justify-content: center; }
/* Trip row (owner, 2026-11-30): the app's along-route chips, the slider beside them. */
.pill.rchip .ac-head { width: 20px; height: 20px; display: block; }
/* Chip row open and close (owner, 2026-11-30): short, staggered, never bouncy. */
@keyframes pillIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.pills > .pin-in { animation: pillIn 0.22s cubic-bezier(0.2, 0.7, 0.3, 1) both; animation-delay: calc(var(--pi, 0) * 22ms); }
.pills.pills-out > :not(:first-child) { opacity: 0; transform: translateX(-10px); transition: opacity 0.14s ease-in, transform 0.14s ease-in; }
@media (prefers-reduced-motion: reduce) { .pills > .pin-in { animation: none; } .pills.pills-out > * { transition: none; } }
/* Along route in the top bar opens Discovery on its Along route view (owner, 2026-11-30). */
#alongBtn[disabled] { opacity: 0.45; cursor: default; }
#alongBtn.on { background: #fff; color: var(--navy); }
@media (max-width: 760px) { #alongBtn { display: none !important; } }
/* Distance line under the chip row (owner, 2026-11-30). */
.rbar { position: absolute; top: 58px; left: 16px; z-index: 24; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(10, 24, 40, 0.18); font-size: 13.5px; font-weight: 600; color: var(--text); transition: left 0.22s ease; }
.rbar[hidden] { display: none; }
.rbar.second { top: 98px; }
.stage.trip-open .rbar { left: calc(var(--tpane) + 20px); }
.rbar input { width: 150px; accent-color: var(--navy); cursor: pointer; }
.rbar b { min-width: 44px; font-variant-numeric: tabular-nums; color: var(--navy); }
.rbar .rb-n { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .rbar { display: none !important; } }
.pill.rwhole.on, .pill.rreach.on { background: var(--navy); color: #fff; }
.pill.rwhole.on .ms, .pill.rreach.on .ms { color: #fff; }
.pill.phide .ms { font-size: 20px; }
.pill.open { box-shadow: 0 0 0 2px var(--hl) inset, 0 2px 8px rgba(10, 24, 40, 0.18); }
.pill.count { cursor: default; font-family: var(--display); font-size: 14px; font-weight: 600; }
.pill.count b { color: var(--navy); font-weight: 800; }
.pill.count .ms { color: var(--hl); }
.pill.count:hover { box-shadow: 0 2px 8px rgba(10, 24, 40, 0.18); }
.pill.locked .lk { font-size: 13px; color: var(--hl-ink); margin-left: -2px; }
.scout { position: absolute; z-index: 27; width: 320px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 12px 14px 14px; display: grid; gap: 8px; }
.scout-grab, .scout-head, .scout-pills { display: none; }
.scout-along { display: grid; gap: 8px; }
.slabel { margin: 0; font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); display: flex; align-items: center; gap: 6px; }
.slabel .ms { font-size: 18px; vertical-align: 0; }
.rhint { margin: 0; padding: 0.6rem 0.7rem; border-radius: 8px; background: rgba(var(--hl-rgb), 0.14); font-size: 0.82rem; color: var(--text); }
.rlabel { margin: 0.2rem 0 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }
.rlabel b { color: var(--navy); letter-spacing: 0; text-transform: none; font-size: 0.82rem; }
.scout input[type="range"] { width: 100%; accent-color: var(--hl-ink); }
.along-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.achip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.8rem; cursor: pointer; }
.achip.on { background: var(--hl-soft); color: var(--navy); border-color: var(--hl); font-weight: 600; }
.achip .ms { font-size: 1rem; vertical-align: -0.2em; color: var(--navy); }
.achip.on .ms { color: var(--hl-ink); }
.rcount { margin: 0.2rem 0 0; font-size: 0.85rem; font-weight: 600; }
.ringlbl { background: #fff; color: var(--navy); border: 1px solid var(--hl); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: var(--soft); pointer-events: none; }

.mapbtns { position: absolute; top: 58px; left: 16px; z-index: 15; display: flex; gap: 0.4rem; transition: left 0.22s ease; }
.stage.trip-open .mapbtns { left: calc(var(--tpane) + 20px); }
.stage.trip-open .mapboxgl-ctrl-bottom-left { margin-left: var(--tpane); }
.mapboxgl-ctrl-bottom-left, .mapboxgl-ctrl-bottom-right { transition: margin 0.22s ease; }

.fitbtn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 0.82rem; cursor: pointer; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.6rem 0.95rem; border-radius: 10px; border: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; background: var(--navy); color: #fff; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn.gold { background: var(--acc); color: var(--on-acc); }
.btn.small { padding: 0.4rem 0.7rem; font-size: 0.82rem; background: rgba(15, 23, 42, 0.06); color: var(--text); }
.btn.small:hover { background: rgba(15, 23, 42, 0.1); filter: none; }
.btn.danger { color: #b3261e; }

/* Place panel: see the listing panel block at the end of this file. */

.toast { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); background: var(--navy-deep); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow); z-index: 40; max-width: calc(100% - 2rem); }
.toast[hidden] { display: none; }
/* Saved style (owner, 2026-11-18, moments mockup E): white pill, gold check that pops. */
.toast.ok { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border: 1px solid #e6ebf1; font-weight: 700; padding: 0.5rem 1rem 0.5rem 0.55rem; box-shadow: 0 10px 26px rgba(10, 24, 40, .16); }
.toast.ok .tcheck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pro); color: var(--navy-deep); font-size: 18px; animation: tcheck-pop .5s .1s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes tcheck-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .toast.ok .tcheck { animation: none; } }
.toast.ok { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border: 1px solid #e6ebf1; font-weight: 700; padding: 0.5rem 1rem 0.5rem 0.55rem; box-shadow: 0 10px 26px rgba(10, 24, 40, .16); }
.toast.ok .tcheck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pro); color: var(--navy-deep); font-size: 18px; animation: tcheck-pop .5s .1s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes tcheck-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .toast.ok .tcheck { animation: none; } }
.toast .tact { margin-left: 0.8rem; padding: 0.15rem 0.7rem; border: none; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.toast .tact:hover { background: var(--dk-acc-hover); }

/* Mapbox popup tweaks */
.mapboxgl-popup-content { font-family: var(--font); border-radius: 10px; padding: 0.5rem 0.7rem; box-shadow: var(--shadow); }
.mapboxgl-popup-content b { font-size: 0.9rem; }
.mapboxgl-popup-content small { color: var(--muted); }
.hovpop .mapboxgl-popup-content b, .hovpop .mapboxgl-popup-content small { display: block; }
.hovpop .hrate { display: flex; align-items: center; gap: 5px; margin: 3px 0 2px; font-size: 13px; }
.hovpop .hrate b { display: inline; font-size: 13px; color: var(--ink, #1b2430); }
.hovpop .hrate .hn { color: var(--muted); }
.hovpop .hrate.none { color: var(--muted); font-size: 12.5px; }
.hstars { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; }
.hstars i { font-style: normal; color: #d3d9e2; }
.hstars i.f { color: #f2b01e; }
.hstars i.h { background: linear-gradient(90deg, #f2b01e 50%, #d3d9e2 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 760px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr); padding: 0 0.7rem; gap: 0.5rem; }
  .topnav { grid-column: 1 / 3; display: none; }
  .search { max-width: none; height: 34px; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: 72vh; border-radius: 16px 16px 0 0; }
  .ptab, .mapbtns { display: none; }
}

@media print {
  .topbar, .map, .drawer, .pills, .scout, .mapbtns, .panel, .mbar, .toast, .ptab, .fitbtn, .rtools, .rclose, .tl-tools, .tl-add, .ralts, .addsheet, .rigsheet, .legview, .modal, .rgrab, .rsave, .rgps { display: none !important; }
  .stage { position: static; }
  .tpane { position: static; width: auto; transform: none !important; box-shadow: none; border: none; }
  body { overflow: visible; }
  .tl { overflow: visible; }
  .tl-card { break-inside: avoid; box-shadow: none; }
  .tl-grip { visibility: hidden; }
}

/* Drive pill: the Mi · Hr cell opens that drive */
.legpill { border: 1px solid transparent; background: none; border-radius: 8px; padding: 0.15rem 0.3rem; margin-right: -0.3rem; cursor: pointer; text-align: right; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.legpill small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); }
.legpill:hover { border-color: var(--hl-ink); background: var(--hl-dim); }

/* One drive, shown over the stop list */
.legback { display: flex; align-items: center; gap: 0.35rem; border: none; border-bottom: 1px solid var(--line); background: #f8fafc; padding: 0.55rem 0.9rem; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--navy); cursor: pointer; text-align: left; }
.legback:hover { background: var(--hl-dim); }
.legbody { padding: 0.8rem 0.9rem; overflow: auto; display: grid; gap: 0.5rem; align-content: start; }
.lfrom { display: grid; grid-template-columns: 22px 1fr; gap: 0.55rem; align-items: center; }
.lfrom .badge { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.7rem; color: #fff; background: var(--navy); }
.lfrom small { display: block; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.lfrom b { font-size: 0.86rem; }
.lline { margin-left: 10px; padding: 0.35rem 0 0.35rem 1.1rem; border-left: 2px dashed var(--hl-ink); font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 0.35rem; }
.lline .ms { color: var(--hl-ink); font-size: 1.05rem; }
.lacts { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.3rem 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 1.4rem 1fr auto; gap: 0.4rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.steps li::before { content: counter(s); color: var(--faint); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.steps li small { color: var(--muted); white-space: nowrap; }
.steps li.muted { display: block; color: var(--muted); }
.steps li.muted::before { content: none; }

/* Quick card at the pin */
.qpop .mapboxgl-popup-content { padding: 0; border-radius: 12px; overflow: hidden; width: 270px; }
.qpop .mapboxgl-popup-close-button { z-index: 2; width: 24px; height: 24px; margin: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); font-size: 16px; line-height: 22px; }
.qhero { position: relative; height: 112px; background: #1a2a3f; }
.qhero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qtag { position: absolute; left: 8px; bottom: 8px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-acc); background: var(--acc); border-radius: 999px; padding: 0.15rem 0.5rem; }
.qbody { padding: 0.6rem 0.75rem 0.5rem; }
.qname { display: block; font-family: var(--display); font-size: 1rem; line-height: 1.2; color: var(--text); }
.qmeta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; margin-top: 0.2rem; font-size: 0.76rem; color: var(--muted); }
.qstars { color: var(--hl-ink); font-weight: 700; }
.qn { margin-left: -0.35rem; }
.qoff { color: var(--navy); font-weight: 600; }
.qroute { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.4rem; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.qroute .ms { font-size: 0.95rem; }
.qroute.on { background: #e6f5ec; color: #1d7a4c; }
.qroute.near { background: #eef2f7; color: var(--navy); }
.qroute.far { background: #fdf0d2; color: #8a5a00; }
.qroute.far .ms { color: #c98a00; }
.qfacts { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.45rem; }
.qfacts > span { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; padding: 0.2rem 0.45rem; border-radius: 8px; background: rgba(15, 23, 42, 0.05); color: var(--text); }
.qfacts .ms { font-size: 0.9rem; color: var(--hl-ink); }
.qacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0.4rem; padding: 0.15rem 0.75rem 0.75rem; }
.qacts.one { grid-template-columns: 1fr; }
.qacts button { display: flex; align-items: center; justify-content: center; gap: 0.25rem; padding: 0.5rem 0.2rem; border: 1px solid transparent; border-radius: 10px; background: #fff; font: inherit; font-size: 0.76rem; font-weight: 700; color: var(--navy); cursor: pointer; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease; }
.qacts .ms { font-size: 1rem; }
.qacts button:not(.more):not(.go):not(.done) { border-color: rgba(15, 23, 42, 0.22); }
.qacts button:not(.more):not(.go):not(.done):hover { background: #f4f6f9; }
.qacts .more { background: #4a699b; color: #fff; }
.qacts .more:hover { background: #3f5b88; }
.qacts .go { background: var(--acc); color: var(--on-acc); }
.qacts .go:hover { background: var(--acc-hover); }
.qacts .done { background: #e6f5ec; color: #1d7a4c; cursor: default; }

/* Add to trip dialog */
.modal[hidden] { display: none; }
.mbox { width: 340px; max-width: calc(100% - 2rem); background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 0.4rem 1rem 1rem; display: grid; gap: 0.6rem; }
.mhead { display: flex; align-items: center; justify-content: space-between; }
.mhead b { font-family: var(--display); font-size: 1.05rem; }
.mplace { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.mplace .ms { color: var(--hl-ink); grid-row: span 2; }
.mplace small { grid-column: 2; font-weight: 500; font-size: 0.76rem; color: var(--muted); }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; }
.mrow.col { flex-direction: column; align-items: stretch; gap: 0.3rem; }
.mrow select { padding: 0.45rem 0.5rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.85rem; font-weight: 500; background: #fff; }
.stepper { display: inline-flex; align-items: center; gap: 0.4rem; }
.stepper button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
.stepper b { min-width: 1.4rem; text-align: center; font-size: 1rem; }
.mnote { margin: -0.3rem 0 0; font-size: 0.74rem; color: var(--muted); min-height: 0; }
.mnote:empty { display: none; }
.mgo { width: 100%; }
.qcredit { position: absolute; right: 6px; bottom: 4px; font-size: 0.56rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.qhero { background: linear-gradient(90deg, #1a2a3f 0%, #24384f 50%, #1a2a3f 100%); }
/* Route focus bar: says why the map is quiet, with the way back to everything */
.focusbar { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.3rem 0.3rem 0.75rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 600; box-shadow: 0 3px 12px rgba(15, 23, 42, 0.3); }
.focusbar[hidden] { display: none; }
.focusbar > .ms { color: var(--hl); font-size: 1.1rem; }
.focusbar button { display: inline-flex; align-items: center; gap: 0.3rem; border: none; border-radius: 999px; padding: 0.4rem 0.8rem; background: var(--acc); color: var(--on-acc); font: inherit; font-weight: 700; cursor: pointer; }
.focusbar button:hover { background: var(--acc-hover); }
.focusbar button .ms { font-size: 1.05rem; }
.focusbar.off { background: #fff; color: var(--text); border: 1px solid var(--line); }
.focusbar.off > .ms { color: var(--hl-ink); }
.focusbar.off button { background: var(--navy); color: #fff; }
.focusbar.pulse { animation: focusIn 0.35s ease-out, focusGlow 1.4s ease-out 0.35s 2; }
@keyframes focusIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes focusGlow { 0% { box-shadow: 0 3px 12px rgba(15, 23, 42, 0.3), 0 0 0 0 rgba(var(--hl-rgb), 0.75); } 100% { box-shadow: 0 3px 12px rgba(15, 23, 42, 0.3), 0 0 0 14px rgba(var(--hl-rgb), 0); } }
@media (prefers-reduced-motion: reduce) { .focusbar.pulse { animation: none; } }
/* Custom pins: add row in the trip pane, drop pin mode, the pin card */
.tadd { display: flex; gap: 0.4rem; padding: 0.55rem 0.75rem; border-top: 1px solid var(--line); flex: none; }
.tbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; padding: 0.45rem 0.4rem; border: 1px dashed var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 0.78rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.tbtn .ms { font-size: 1rem; color: var(--hl-ink); }
.tbtn:hover { border-color: var(--hl-ink); background: var(--hl-dim); }
.dpin { position: absolute; z-index: 16; width: 34px; height: 48px; transform: translate(-50%, -100%); pointer-events: none; }
.dpin svg { display: block; position: relative; z-index: 1; transition: transform 0.15s ease; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.dpin.lifted svg { transform: translateY(-8px); }
.dshadow { position: absolute; left: 50%; bottom: -3px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); }
.dbar { position: absolute; bottom: 1.2rem; z-index: 30; transform: translateX(-50%); width: min(420px, calc(100% - 1.5rem)); display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.6rem 0.6rem 0.85rem; border-radius: 14px; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow); }
.dbar > .ms { color: var(--hl); }
.dtext { flex: 1; min-width: 0; display: grid; }
.dtext b { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtext small { font-size: 0.74rem; color: rgba(255, 255, 255, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcancel, .dok { border: none; border-radius: 9px; padding: 0.5rem 0.8rem; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.dcancel { background: transparent; color: rgba(255, 255, 255, 0.75); }
.dcancel:hover { color: #fff; }
.dok { background: var(--acc); color: var(--on-acc); }
.dok:hover { background: var(--acc-hover); }
.pmark { width: 34px; height: 48px; pointer-events: none; }
.pmark svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.qcoords { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.35rem; font-size: 0.74rem; font-variant-numeric: tabular-nums; color: var(--text); }
.qcoords .ms { font-size: 0.9rem; color: var(--hl-ink); }
.mrow input[type="text"] { padding: 0.45rem 0.55rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.88rem; font-weight: 500; }
.mrow input[type="text"]:focus { outline: 2px solid var(--hl); outline-offset: -1px; }
@media print { .dpin, .dbar, .tadd { display: none !important; } }
/* A real photo needs no location marker on it; that marker is for the satellite view. */
.qhero img { background: #1a2a3f; }

/* Listing panel (panel.js), approved v4 look (promo/web_planner_v2/README.md):
   white surfaces, hairlines, soft shadows; navy only in the hero overlay, icons and
   text; gold for Add to trip, tile tops, section labels and the Pro button. */
.panel {
  position: absolute; top: 1rem; right: 1rem; width: 440px; max-width: calc(100% - 2rem); max-height: calc(100% - 2rem);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 26; overflow: hidden;
  display: flex; flex-direction: column; font-size: 15px;
}
.panel[hidden] { display: none; }
.lp-grab, .lp-peek { display: none; }
.lp-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.lp-hero { position: relative; height: 210px; flex: none; background: #1a2a3f; color: #fff; overflow: hidden; }
.lp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #1a2a3f; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 40, 0.12) 28%, rgba(10, 24, 40, 0.9)); pointer-events: none; }
.lp-hero .credit { position: absolute; left: 10px; top: 9px; z-index: 2; font-size: 10.5px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
.lp-x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(10, 24, 40, 0.7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lp-x:hover { background: rgba(10, 24, 40, 0.9); }
.lp-ht { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 2; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.lp-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: rgba(255, 255, 255, 0.18); }
.lp-tag.gold { background: var(--acc); color: var(--on-acc); }
.lp-tag .ms { font-size: 14px; }
.lp-hero h2, .lp-peek h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.12; letter-spacing: -0.005em; }
.lp-meta { margin-top: 5px; font-size: 13.5px; color: rgba(255, 255, 255, 0.9); display: flex; flex-wrap: wrap; gap: 3px 6px; align-items: center; }
.lp-dot { opacity: 0.7; }
.lp-stars { color: var(--hl); letter-spacing: -1px; }
.lp-act { display: grid; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex: none; align-items: center; grid-template-columns: minmax(0, 1fr); }
/* Add to trip plus 1 to 3 round buttons (panel.js actionsHtml sets the class). */
.lp-act.c1 { grid-template-columns: minmax(0, 1fr) 46px; }
.lp-act.c2 { grid-template-columns: minmax(0, 1fr) 46px 46px; }
.lp-act.c3 { grid-template-columns: minmax(0, 1fr) 46px 46px 46px; }
.lp-act.c4 { grid-template-columns: minmax(0, 1fr) 46px 46px 46px 46px; }
.lp-act.c5 { grid-template-columns: minmax(0, 1fr) 46px 46px 46px 46px 46px; }
.lp-add { height: 48px; border-radius: 12px; border: none; background: var(--acc); color: var(--on-acc); font-family: var(--display); font-weight: 800; font-size: 16.5px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(var(--hl-rgb), 0.3); text-align: left; }
.lp-add:hover { background: var(--acc-hover); }
.lp-add .ms { font-size: 24px; }
.lp-add small { display: block; font-family: var(--font); font-size: 11.5px; font-weight: 600; opacity: 0.85; }
.lp-add.in { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: none; cursor: default; }
.lp-add.in .ms { color: var(--green); }
.lp-ib { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; }
.lp-ib:hover { border-color: var(--hl-ink); background: var(--hl-wash); }
.lp-ib .ms { font-size: 22px; }
button.lp-ib { cursor: pointer; font: inherit; padding: 0; }
.lp-ib.on { color: #c0392b; border-color: rgba(192, 57, 43, 0.4); }
.lp-jump { display: flex; gap: 6px; padding: 10px 14px 8px; flex: none; border-bottom: 1px solid var(--line); }
.lp-jump button { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.lp-jump button:hover { color: var(--text); }
.lp-jump button.on { background: var(--hl-dim); color: var(--hl-ink); border-color: rgba(var(--hl-ink-rgb), 0.45); }
.lp-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 14px 0; overscroll-behavior: contain; }
.lp-sec { padding-top: 12px; }
.lp-sec + .lp-sec { margin-top: 6px; }
.lp-sec > :first-child { margin-top: 0; }
.lp-loading { display: flex; align-items: center; gap: 10px; padding: 18px 2px; color: var(--muted); font-size: 14.5px; }
.lp-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--hl-ink); animation: lpspin 0.8s linear infinite; }
@keyframes lpspin { to { transform: rotate(360deg); } }
.lp-empty { margin: 14px 2px; font-size: 14.5px; color: var(--muted); }
.lp-lead { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: #1f2937; }
.lp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--hl); border-radius: 10px; padding: 8px 10px 9px; min-width: 0; }
.lp-tile small { display: block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.lp-tile b { display: flex; align-items: flex-start; gap: 5px; font-size: 14.5px; margin-top: 3px; font-weight: 600; line-height: 1.25; }
.lp-tile b > span:last-child { overflow-wrap: anywhere; }
.lp-tile .ms { color: var(--navy); font-size: 18px; flex: none; vertical-align: 0; margin-top: -1px; }
.lp-band { margin-top: 10px; background: var(--hl-dim); border: 1px solid rgba(var(--hl-rgb), 0.38); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.lp-band .ms { color: var(--hl-ink); font-size: 22px; flex: none; }
.lp-band b { display: block; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--hl-ink); margin-bottom: 1px; }
.lp-flagbox { position: relative; margin-top: 12px; display: flex; align-items: center; min-height: 64px; padding: 12px 14px 12px 74px; background: #eef2f8; border: 1px solid rgba(11, 31, 58, 0.10); border-radius: 10px; overflow: hidden; }
.lp-flagbox .fb-flag { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%); background: linear-gradient(#0b1f3a 0 46%, transparent 46%), repeating-linear-gradient(#b22234 0 7px, #fff 7px 12px); }
.lp-flagbox .fb-flag .ms { position: absolute; left: 10px; top: 8px; font-size: 26px; color: #fff; }
.lp-flagbox b { display: block; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.lp-flagbox p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.lp-flagbox strong { color: var(--navy); font-weight: 700; }
.lp-rows { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 15px; border-top: 1px solid var(--line); color: var(--text); }
.lp-row:first-child { border-top: none; }
a.lp-row:hover { background: #fafbfd; }
.lp-row > .ms { color: var(--hl-ink); font-size: 20px; }
.lp-row small { display: block; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.lp-row > span:nth-child(2) { overflow-wrap: anywhere; }
.lp-out { color: var(--faint) !important; font-size: 18px !important; }
.lp-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-book { margin-top: 10px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--soft); }
.lp-book .ms:first-child { color: var(--hl-ink); }
.lp-book:hover { border-color: var(--hl-ink); }
.lp-h4 { margin: 14px 0 8px; font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); display: flex; align-items: center; gap: 6px; }
.lp-sec > .lp-h4:first-child { margin-top: 2px; }
.lp-h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lp-h4 span { text-transform: none; letter-spacing: 0; color: var(--faint); font-family: var(--font); font-weight: 500; font-size: 12.5px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg); border-radius: 8px; padding: 5px 9px 5px 7px; font-size: 14px; font-weight: 500; }
.lp-chip .ms { font-size: 17px; color: var(--navy); }
/* Camp area heading inside the Sites and hookups drawer (one per area, the app's per area blocks). */
.lp-area { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl-ink); }
.lp-area b { color: inherit; font-weight: 700; }
.lp-db > .lp-area:first-child, .lp-db > .lp-dl + .lp-area:nth-child(2) { margin-top: 6px; }
.lp-db > .lp-area:first-child { border-top: none; padding-top: 0; }
.lp-dr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; overflow: hidden; background: #fff; }
.lp-dr summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; cursor: pointer; list-style: none; }
.lp-dr summary::-webkit-details-marker { display: none; }
.lp-dr summary:hover { background: #fafbfd; }
.lp-dic { width: 34px; height: 34px; border-radius: 9px; background: var(--hl-dim); display: grid; place-items: center; }
.lp-dic .ms { color: var(--hl-ink); font-size: 20px; vertical-align: 0; }
.lp-dt b { display: block; font-size: 15px; font-weight: 700; }
.lp-dt small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; line-height: 1.35; }
.lp-ch { color: var(--faint); transition: transform 0.18s ease; }
.lp-dr[open] { border-color: rgba(var(--hl-ink-rgb), 0.45); }
.lp-dr[open] .lp-ch { transform: rotate(180deg); }
.lp-db { padding: 0 12px 12px 56px; font-size: 15px; line-height: 1.5; color: #1f2937; }
.lp-db p { margin: 6px 0; }
.lp-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 14px; margin: 4px 0 2px; }
.lp-dl dt { color: var(--muted); }
.lp-dl dd { margin: 0; font-weight: 600; color: var(--text); }
.lp-db b { color: var(--text); }
.lp-db a, .lp-rev a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(var(--hl-ink-rgb), 0.6); overflow-wrap: anywhere; }
.lp-score { display: flex; align-items: center; gap: 12px; margin: 2px 0 8px; }
.lp-big { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; color: var(--navy); }
.lp-stars.lg { color: var(--hl-ink); font-size: 18px; }
.lp-sub { font-size: 13.5px; color: var(--muted); }
.lp-sub b { color: var(--text); }
.lp-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; margin: 4px 0 10px; }
.lp-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 26px; align-items: center; gap: 8px; font-size: 13.5px; }
.lp-bar i { height: 7px; border-radius: 4px; background: var(--bg); position: relative; display: block; }
.lp-bar i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: var(--hl-ink); border-radius: 4px; }
.map-missing { padding: 2rem; }
.lp-bar b { font-weight: 600; text-align: right; }
.lp-lock { display: flex; gap: 10px; align-items: center; margin: 4px 0 6px; background: var(--hl-dim); border: 1px solid rgba(var(--hl-rgb), 0.38); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; color: var(--text); }
.lp-lock > .ms:first-child { color: var(--hl-ink); font-size: 24px; }
.lp-lock div { flex: 1; }
.lp-lock small { display: block; font-size: 13px; color: var(--muted); }
.lp-rev { border-top: 1px solid var(--line); padding: 10px 0; }
.lp-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.lp-who b { color: var(--text); font-size: 14.5px; }
.lp-who .lp-stars { color: var(--hl-ink); }
.lp-av { width: 28px; height: 28px; border-radius: 50%; background: var(--hl-dim); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 11.5px; }
.lp-badge { font-size: 11px; font-weight: 700; color: var(--hl-ink); border: 1px solid rgba(var(--hl-ink-rgb), 0.45); border-radius: 999px; padding: 1px 7px; }
.lp-rev p { margin: 6px 0 5px; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.lp-clamp6 { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.lp-stay { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--navy); }
.lp-stay span { background: var(--bg); border-radius: 6px; padding: 3px 8px; }
.lp-link { border: none; background: none; padding: 0; color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(var(--hl-ink-rgb), 0.6); }
.lp-write { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; text-decoration: none; }
.lp-write .ms { color: var(--hl-ink); }
.lp-lockdr .lp-dic { background: var(--hl-dim); }
.lp-inv { padding-left: 12px; }
.lp-inv ul { margin: 0; padding: 0; list-style: none; }
.lp-inv li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp-inv li .ms { color: var(--hl-ink); }
.lp-inv li small { display: block; color: var(--muted); font-size: 13px; }
.lp-cnt { font-family: var(--display); font-weight: 800; color: var(--navy); white-space: nowrap; }
.lp-procta { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.lp-gold { height: 46px; border-radius: 10px; background: var(--acc); color: var(--on-acc); font-family: var(--display); font-weight: 800; font-size: 16.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lp-gold:hover { background: var(--acc-hover); }
.lp-procta p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.lp-procta .lp-pronote { margin: 0 0 10px; color: var(--text); font-size: 14.5px; }
.lp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin: 16px -14px 0; padding: 10px 14px 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.lp-foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 600; }
.lp-foot a:hover { text-decoration: underline; }
.lp-foot .ms { color: var(--hl-ink); font-size: 18px; }


/* Phone: the panel is a bottom sheet above the mobile bar (peek and full). */
.mbar { display: none; }
@media (max-width: 760px) {
  .stage { bottom: var(--mbar); }
  .drawer.layers { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: 72vh; border-radius: 16px 16px 0 0; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; height: var(--mbar); z-index: 32; display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar button { position: relative; border: none; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
  .mbar button .ms { font-size: 25px; color: var(--navy); opacity: 0.8; }
  .mbar button.on { color: var(--hl-ink); }
  .mbar button.on .ms { color: var(--hl-ink); opacity: 1; }
  .mcount { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 11px; display: grid; place-items: center; }
  .panel { top: 0; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: none; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16); }
  .panel.lp-anim { transition: transform 0.24s ease; }
  .panel.is-peek .lp-main { display: none; }
  .panel.is-peek .lp-grab, .panel.is-peek .lp-peek { display: block; }
  .panel.is-full { border-radius: 0; }
  .panel.is-full .lp-hero { height: 170px; }
  .panel.is-full .lp-hero::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 4px rgba(0, 0, 0, 0.45); z-index: 3; }
  .panel.is-full .lp-hero .credit { top: auto; bottom: 4px; left: auto; right: 8px; }
  .lp-grab, .lp-peek, .lp-hero { touch-action: none; }
  .lp-grab { padding: 8px 0 2px; cursor: grab; }
  .lp-handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); margin: 0 auto; }
  .lp-peek { padding: 4px 14px 12px; }
  .lp-peek h2 { font-size: 19.5px; color: var(--text); }
  .lp-pmeta { font-size: 13.5px; color: var(--muted); margin: 3px 0 9px; }
  .lp-pmeta .lp-stars { color: var(--hl-ink); }
  .lp-act-peek { padding: 0; border: none; }
  .lp-pchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .lp-pchips span { background: var(--bg); border-radius: 8px; padding: 5px 9px; font-size: 13.5px; font-weight: 500; }
  .lp-body { padding: 2px 14px 0; }
  .lp-tile { padding: 7px 8px 8px; }
  .lp-tile b { font-size: 14px; }
  .lp-bars { grid-template-columns: 1fr; }
  .toast { bottom: 0.9rem; }
}

/* Desktop: the listing panel and the Layers popover sit under the filter pills. */
@media (min-width: 761px) {
  .drawer.layers { top: 58px; }
}

/* Phone: the trip rail is a bottom sheet (peek and full) above the mobile bar,
   Scout is a sheet with every filter, one pane at a time. */
@media (max-width: 760px) {
  .tpane { width: 100%; top: 0; border-right: none; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16); transition: none; z-index: 28; }
  .tpane.lp-anim { transition: transform 0.24s ease; }
  .tpane.collapsed { transform: translateY(105%) !important; box-shadow: none; }
  .tpane.is-full { border-radius: 0; }
  .ptab { display: none; }
  .rgrab { display: block; padding: 8px 0 2px; cursor: grab; touch-action: none; order: 0; flex: none; }
  .rhandle { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); margin: 0 auto; }
  .rhead { order: 1; padding: 2px 14px 10px; touch-action: none; }
  .tempty { order: 3; }
  .tl { order: 4; border-top: 1px solid var(--line); }
  .rtitle h2 { font-size: 20px; }
  .pills, .pnav { display: none; }
  .scout { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 80%; overflow: auto; border-radius: 18px 18px 0 0; border: none; box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16); padding: 4px 14px 16px; z-index: 28; }
  .scout-grab { display: block; padding: 4px 0 2px; }
  .scout-head { display: flex; align-items: center; gap: 8px; }
  .scout-head h2 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--navy); }
  .scount { font-size: 13px; color: var(--muted); font-weight: 600; }
  .scout-head .iconbtn { margin-left: auto; }
  .scout-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
  .scout-pills .pill { box-shadow: 0 0 0 1px var(--line) inset; }
  .scout-pills .pill.on { box-shadow: 0 0 0 1.5px var(--hl) inset; }
  .procard { width: 100%; }
  .ringlbl { white-space: normal; max-width: 44vw; text-align: center; border-radius: 12px; font-size: 12px; line-height: 1.3; }
}

/* Desktop: the Pro card dims the map, not the trip rail beside it. */
@media (min-width: 761px) { .stage.trip-open .modal { left: var(--tpane); } }

/* Plan a trip: the first action card. Bottom left on a desktop (clear of the
   scale bar and the Mapbox logo), above the mobile bar on a phone. */
.plancard { position: absolute; left: 44px; bottom: 74px; z-index: 20; width: 344px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--soft); padding: 10px 12px 12px; display: grid; gap: 8px; }
.stage.trip-open .plancard { display: none; }
.plan-head { display: flex; align-items: center; gap: 8px; }
.plan-head h2 { margin: 0; flex: 1; font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--navy); }
.plan-ic { color: var(--hl-ink); font-size: 21px; vertical-align: 0; }
.plan-head .iconbtn { width: 30px; height: 30px; margin-right: -4px; }
.plan-field { position: relative; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.plan-field:focus-within { background: #fff; border-color: var(--hl); }
.plan-field input { flex: 1; min-width: 0; border: none; outline: none; background: none; font: inherit; font-size: 14.5px; color: var(--text); }
.plan-field input::placeholder { color: var(--faint); }
.plan-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid #1d6eeb; }
.plan-dot.to { border-color: #d32f2f; }
/* The card sits low on the screen, so its suggestions open upward. */
.plancard .suggest { top: auto; bottom: calc(100% + 6px); left: -1px; right: -1px; max-height: 46vh; }
@media (max-width: 760px) {
  .plancard { left: 10px; right: 10px; bottom: 40px; width: auto; }
  /* One pane at a time on a phone: Layers, Scout or a listing sheet hides the card. */
  .stage:has(#layers:not([hidden]), #scout:not([hidden]), #panel:not([hidden])) .plancard { display: none; }
}
@media print { .plancard { display: none !important; } }

/* ---------- Looks: gold means Pro ---------- */
html[data-look="gold"] {
  --acc: #e6b800; --acc-hover: #f0c419; --on-acc: #0a1828;
  --hl: #e6b800; --hl-ink: #a8841a; --hl-rgb: 230, 184, 0; --hl-ink-rgb: 168, 132, 26;
  --hl-dim: rgba(168, 132, 26, 0.14); --hl-wash: #fffdf4; --hl-soft: #fdf4d0;
}
html[data-look="mixed"] { --acc: #e6b800; --acc-hover: #f0c419; --on-acc: #0c2340; }
.topbar { background: var(--brand-deep); }
html[data-look="gold"] .topbar { background: var(--navy-deep); }
/* Pro and stars stay gold in every look. */
.chipbtn.gold { background: var(--pro); border-color: var(--pro); color: var(--navy-deep); }
.rmeter.full { background: var(--pro); color: var(--navy-deep); }
.probadge { color: var(--pro-ink); background: rgba(230, 184, 0, 0.16); }
.pill.locked .lk { color: var(--pro-ink); }
.pc-h > .ms, .pc-b h4, .pc-list .ms, .pc-stores .ms { color: var(--pro-ink); }
.pc-cta .goldbtn { background: var(--pro); color: var(--navy-deep); }
.pc-cta .goldbtn:hover { background: var(--pro-hover); }
.lp-gold { background: var(--pro); color: var(--navy-deep); }
.lp-gold:hover { background: var(--pro-hover); }
.lp-lockdr .lp-dic { background: var(--pro-dim); }
.lp-lockdr .lp-dic .ms, .lp-inv li .ms { color: var(--pro-ink); }
.lp-stars { color: var(--pro); }
.lp-stars.lg, .lp-who .lp-stars, .qstars { color: var(--pro-ink); }
@media (max-width: 760px) { .lp-pmeta .lp-stars { color: var(--pro-ink); } }
/* The type tag on the photo: white with blue text (gold in the gold look). */
.lp-tag.gold { background: #fff; color: #1a3258; }
html[data-look="gold"] .lp-tag.gold { background: var(--hl); color: var(--navy-deep); }
/* Buttons and icons on dark bars (toast, focus bar, drop a pin bar, top bar badge). */
html[data-look="gold"], html[data-look="mixed"] { --dk-acc: #e6b800; --dk-acc-hover: #f0c419; --on-dk-acc: #0a1828; }
html[data-look="gold"] { --dk-hl: #e6b800; }
.toast .tact, .focusbar button, .dok, .chipbtn .count { background: var(--dk-acc); color: var(--on-dk-acc); }
.focusbar button:hover, .dok:hover { background: var(--dk-acc-hover); }
.focusbar > .ms, .dbar > .ms { color: var(--dk-hl); }
.rtool.locked::after { background: var(--pro); color: var(--navy-deep); }

/* ---------- Listing window (desktop, owner 2026-11-11, promo/web_planner_v2/mock_v6.html) ----------
   Centered over the map area with the map dimmed behind it; the picked camp shows
   through a lit spot (panel.js sets --hx and --hy). With the trip rail open the
   window and the dimming cover the map only, so the trip stays in view. */
.lp-scrim, .lp-ring, .lp-mini, .lp-thumbs, .lp-ib .lbl { display: none; }
@media (min-width: 761px) {
  .lp-scrim {
    display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 25; cursor: pointer;
    --hx: -200px; --hy: -200px;
    background: rgba(10, 24, 40, 0.5);
    -webkit-mask: radial-gradient(circle at var(--hx) var(--hy), transparent 47px, #000 48px);
    mask: radial-gradient(circle at var(--hx) var(--hy), transparent 47px, #000 48px);
  }
  /* A ring around the lit camp (its own element so the mask does not cut it). */
  .lp-ring { position: absolute; z-index: 25; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 3px solid rgba(var(--hl-rgb), 0.95); pointer-events: none; }
  .lp-scrim[hidden], .lp-ring[hidden] { display: none; }
  .lp-ring { display: block; }
  .stage.trip-open .lp-scrim { left: var(--tpane); }
  .panel.lp-win {
    --win-w: min(1040px, calc(100% - 48px));
    top: 18px; bottom: 18px; right: auto; left: 50%; transform: translateX(-50%);
    width: var(--win-w); max-width: none; max-height: none; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10, 24, 40, 0.38); container-type: inline-size;
  }
  .stage.trip-open .panel.lp-win {
    --win-w: min(1040px, calc(100% - var(--tpane) - 48px));
    left: calc(var(--tpane) + (100% - var(--tpane)) / 2);
  }
  /* The trip and Discovery side panes and their tabs sit above the dark
     backdrop, so the Your trip tab opens or hides the trip with a camp window
     open instead of the click landing on the backdrop and closing the window.
     The window slides to its new center (owner 2026-11-16). */
  .stage:has(.lp-scrim:not([hidden])) .tpane,
  .stage:has(.lp-scrim:not([hidden])) .rpane { z-index: 26; }
  .panel.lp-win { transition: left 0.22s ease, width 0.22s ease; }
  /* Photo header */
  .lp-win .lp-hero { height: 236px; }
  .lp-win .lp-x { width: 38px; height: 38px; right: 14px; top: 14px; }
  .lp-win .lp-ht { left: 22px; bottom: 16px; }
  .lp-win .lp-hero.has-thumbs .lp-ht { right: 430px; }
  .lp-win .lp-hero h2 { font-size: 28px; }
  .lp-win .lp-meta { font-size: 14.5px; margin-top: 6px; }
  .lp-win .lp-thumbs { display: flex; gap: 6px; position: absolute; right: 18px; bottom: 16px; z-index: 2; }
  .lp-thumb { width: 78px; height: 56px; padding: 0; border-radius: 9px; border: 2px solid rgba(255, 255, 255, 0.75); overflow: hidden; background: #1a2a3f; cursor: pointer; }
  .lp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .lp-thumb.on, .lp-thumb:hover { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4); }
  /* Actions: Add to trip plus labeled buttons */
  .lp-win .lp-act { display: flex; gap: 10px; padding: 12px 22px; }
  .lp-win .lp-act .lp-add { flex: 0 0 300px; }
  .lp-win .lp-ib { width: auto; padding: 0 15px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; }
  .lp-win .lp-ib .lbl { display: inline; }
  .lp-win .lp-ib .ms { font-size: 21px; }
  .lp-win .lp-jump { padding: 10px 22px; }
  .lp-win .lp-jump button { padding: 6px 15px; font-size: 14px; }
  .lp-win .lp-body { padding: 6px 22px 0; }
  .lp-win .lp-foot { margin: 18px -22px 0; padding: 10px 22px 14px; justify-content: flex-start; gap: 6px 26px; }
  /* The whole window scrolls (photo header included), so nothing jumps; the jump
     pills stick to the top and the small bar slides in over them once the photo is gone. */
  .lp-win .lp-main { overflow-y: auto; overscroll-behavior: contain; }
  .lp-win .lp-body { flex: none; overflow: visible; min-height: auto; }
  .lp-win .lp-jump { position: sticky; top: 0; z-index: 4; background: #fff; transition: top 0.2s ease; }
  .lp-win.compact .lp-jump { top: var(--mini-h, 77px); }
  .lp-win .lp-mini {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
    position: absolute; top: 0; left: 0; right: 0; z-index: 6; height: var(--mini-h, 77px); padding: 12px 22px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 14px rgba(10, 24, 40, 0.06);
    transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
  }
  .lp-win.compact .lp-mini { transform: none; opacity: 1; visibility: visible; transition: transform 0.2s ease, opacity 0.2s ease; }
  .lp-mini img { width: 72px; height: 52px; border-radius: 10px; object-fit: cover; display: block; background: #1a2a3f; }
  .lp-mini h2 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-mini-m { font-size: 13.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lp-mini-m .lp-stars { color: var(--pro-ink); }
  .lp-mini-act .lp-add { height: 44px; padding: 0 20px; font-size: 16px; }
  .lp-mini-act .lp-add small { display: none; }
  .lp-mini-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
  .lp-mini-x:hover { background: var(--bg); }
}
/* Two columns when the window is wide: Snapshot left, Stay (Field report) right;
   Reviews and Pro run the full width under them. */
@container (min-width: 780px) {
  .lp-body.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; align-items: start; }
  .lp-body.two > * { grid-column: 1 / -1; }
  .lp-body.two > #lp-snap { grid-column: 1; }
  .lp-body.two > #lp-stay { grid-column: 2; }
  .lp-body.two > #lp-stay { margin-top: 0; }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) { .lp-win .lp-mini, .lp-win .lp-jump { transition: none; } }
@media print { .lp-scrim { display: none !important; } }

/* ---------- account (Phase 1b): sign in wall, account button and menu, live Pro content ---------- */
.gate { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 1rem; background: rgba(10, 24, 40, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: auto; }
.gate[hidden] { display: none; }
.gatecard { width: 420px; max-width: 100%; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 26px 24px 20px; text-align: center; }
.gatecard > img { display: block; margin: 0 auto 10px; }
.gatecard h1 { margin: 0 0 8px; font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
.gate-lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.45; color: #334155; }
.gate-app { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 16px; }
.gate-app[hidden] { display: none; }
.gate-app a { flex: 1 1 140px; text-align: center; background: #0c2340; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 10px 12px; }
.gate-app a:hover { background: #163a63; }
.gate-wait { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 8px; color: var(--muted); font-size: 14.5px; }
.gate-wait[hidden], #gateForm[hidden] { display: none; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; margin: 0 0 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: #111827; font: 600 15px var(--font); cursor: pointer; }
.gbtn:hover { background: #f8fafc; }
.gbtn:disabled { opacity: 0.55; cursor: default; }
.gbtn.dark { background: #111827; border-color: #111827; color: #fff; }
.gbtn.dark:hover { background: #1f2937; }
.gbtn.navy { background: var(--navy); border-color: var(--navy); color: #fff; margin-top: 12px; }
.gbtn.navy:hover { background: var(--navy-deep); }
.gmark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: #4285f4; font: 800 13px var(--display); }
.gate-or { display: flex; align-items: center; gap: 10px; margin: 8px 0 10px; color: var(--muted); font-size: 12.5px; }
.gate-or::before, .gate-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#gateEmail, #gateNew, #gateCode { text-align: left; }
#gateEmail label, #gateNew label, #gateCode label { display: block; margin: 8px 0 4px; font-size: 12.5px; font-weight: 600; color: #334155; }
#gateEmail input, #gateNew input, #gateCode input { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: 500 15px var(--font); color: #111827; background: #fff; }
#gateEmail input:focus, #gateNew input:focus, #gateCode input:focus { outline: 2px solid rgba(var(--hl-ink-rgb), 0.55); outline-offset: 1px; }
.gate-link { display: block; margin: 2px auto 0; border: none; background: none; color: var(--navy); font: 600 13.5px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 6px; }
.gate-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: #b42318; }
.gate-msg:empty { display: none; }
.gate-terms { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.gate-terms a { color: var(--navy); }
.gate-new { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #334155; }
.chipbtn.acct { padding: 0 3px; width: 38px; justify-content: center; }
/* Satellite is Pro on the web (owner, 2026-11-30). */
.chipbtn .lk { font-size: 14px; margin-left: 2px; opacity: 0.85; }
/* Profile photo, or the app's dog tags when there is none (owner, 2026-11-30). */
.acct-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.acct-av.tags { object-position: 50% 35%; }
.chipbtn.acct[hidden] { display: none; }
.acctmenu { position: absolute; top: 8px; right: 12px; z-index: 40; width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px; }
.acctmenu[hidden] { display: none; }
.acctmenu p { margin: 0; }
.am-name { font-weight: 700; color: var(--navy); font-size: 15px; overflow-wrap: anywhere; }
.am-mail { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.am-tier { display: inline-block; margin: 10px 0 !important; padding: 3px 10px; border-radius: 999px; background: #eef2f7; color: #334155; font-size: 12.5px; font-weight: 700; }
.am-tier.pro { background: rgba(var(--hl-rgb), 0.2); color: var(--navy); }
.acctmenu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 38px; margin-top: 4px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: 600 13.5px var(--font); cursor: pointer; }
.acctmenu button:hover { background: #f8fafc; }
.acctmenu button .ms { font-size: 18px; }
.pc-sync, .lp-prosync { display: block; margin: 10px auto 0; border: none; background: none; color: var(--navy); font: 600 13.5px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pc-sync:disabled, .lp-prosync:disabled { opacity: 0.6; cursor: default; text-decoration: none; }
.lp-prodr .lp-db { padding-left: 12px; }
.lp-prolead { margin: 4px 2px 10px; font-size: 15px; line-height: 1.5; color: #1f2937; }
.lp-gfacts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px !important; }
.lp-gfacts span { padding: 3px 9px; border-radius: 999px; background: #eef2f7; color: #334155; font-size: 12.5px; font-weight: 600; }
.lp-glinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px !important; }
.lp-glinks a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.lp-glinks a:hover { border-color: var(--hl-ink); }
.lp-glinks a .ms { font-size: 18px; }
@media (max-width: 760px) {
  .gatecard { padding: 22px 18px 16px; }
  .gatecard h1 { font-size: 22px; }
  .acctmenu { left: 12px; right: 12px; width: auto; }
}
@media print { .gate, .acctmenu { display: none !important; } }

/* Create account, code and early access views on the sign in wall (2026-11-13). */
#gateNew[hidden], #gateCode[hidden], #gateBeta[hidden], #gateLead[hidden] { display: none; }
.gate-inline { border: none; background: none; padding: 0; color: var(--navy); font: 700 12.5px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.gate-hint { margin: 3px 0 0; text-align: left; font-size: 12px; color: var(--muted); }
.gate-fix { display: block; margin: 4px 0 0; border: none; background: var(--hl-soft); color: var(--navy); border-radius: 8px; padding: 6px 10px; font: 600 12.5px var(--font); cursor: pointer; text-align: left; width: 100%; }
.gate-fix[hidden] { display: none; }
.gate-sent { margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; color: #334155; }
#gateCode input.gate-code { letter-spacing: 0.35em; text-align: center; font: 700 22px var(--display); height: 52px; }
.gate-sent { text-align: center; }
#gateNew .gate-terms { text-align: center; }
.gbtn.gold { background: var(--pro); border-color: var(--pro); color: var(--navy-deep); text-decoration: none; font-weight: 800; }
.gbtn.gold:hover { background: var(--pro-hover); }

/* My trips, Save trip, Saved camps (library.js). Reuses the Pro card window. */
.lib-list { list-style: none; margin: 0; padding: 0; }
.lib-row { display: grid; grid-template-columns: 28px 1fr 20px; gap: 8px; align-items: center; width: 100%; padding: 10px 4px; border: none; border-bottom: 1px solid var(--line); background: none; text-align: left; font: 600 14.5px var(--font); color: var(--navy); cursor: pointer; }
.lib-row:hover { background: var(--hl-wash); }
.lib-row .ms { color: var(--muted); }
.lib-row .lib-heart { color: #c0392b; }
.lib-t small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.lib-on { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--hl-ink); margin-left: 4px; }
.lib-empty { margin: 8px 0; font-size: 14.5px; line-height: 1.45; }
.lib-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.lib-label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 6px; }
.lib-input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 500 15px var(--font); margin-bottom: 4px; box-sizing: border-box; }
#libSave { margin-top: 14px; }

/* Early access (beta): small gold tag by the name, and the welcome card. */
.eabadge { align-self: center; margin-left: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.7); color: #e9c766; font: 700 11px var(--font); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.eabadge[hidden] { display: none; }
.eacard .goldbtn { margin-top: 14px; }
/* Early access welcome, restyled to the approved moments mockup D (2026-11-18). */
.ea2 { padding: 24px 22px 20px; text-align: center; border-radius: 20px; animation: ea-lift .45s .05s cubic-bezier(.2,.9,.3,1) both; }
.ea2 .ea-shield { display: block; width: 72px; height: 72px; margin: 0 auto 10px; animation: ea-pop .55s .25s cubic-bezier(.2,1.5,.4,1) both; }
.ea2 .ea-pill { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: #fff7d6; color: var(--pro-ink); font: 800 11.5px var(--display); letter-spacing: .08em; animation: ea-rise .4s .6s both; }
.ea2 h2 { margin: 0 0 6px; font: 800 24px/1.15 var(--display); color: var(--navy); animation: ea-rise .4s .7s both; }
.ea2 .ea-lead { margin: 0 0 14px; color: #475569; font-size: 15px; line-height: 1.45; animation: ea-rise .4s .78s both; }
.ea2 .ea-list { list-style: none; margin: 0 0 4px; padding: 0; text-align: left; display: grid; gap: 8px; }
.ea2 .ea-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--navy); animation: ea-rise .35s both; }
.ea2 .ea-list li:nth-child(1) { animation-delay: .86s; } .ea2 .ea-list li:nth-child(2) { animation-delay: .94s; } .ea2 .ea-list li:nth-child(3) { animation-delay: 1.02s; }
.ea2 .ea-list .ms { font-size: 21px; color: var(--pro); vertical-align: 0; }
.ea2 .goldbtn { box-shadow: 0 6px 16px rgba(230,184,0,.3); animation: ea-rise .35s 1.1s both; }
.ea2 .ea-small { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); animation: ea-rise .35s 1.18s both; }
@keyframes ea-lift { from { transform: translateY(18px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ea-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ea-rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ea2, .ea2 * { animation-duration: .01ms !important; animation-delay: 0s !important; } }
@media (max-width: 760px) { .eabadge { display: none; } }

/* Listing window, owner's look (2026-11-15 mockup): bright satellite with a
   shade only behind the name, plain bold title, solid navy tab, bolder tiles,
   navy Field report heading with a gold rule, bigger drawer titles and phones. */
.lp-hero::after { background: linear-gradient(180deg, rgba(10, 24, 40, 0) 38%, rgba(10, 24, 40, 0.55) 72%, rgba(10, 24, 40, 0.82)), radial-gradient(120% 90% at 0% 100%, rgba(10, 24, 40, 0.55), rgba(10, 24, 40, 0) 60%); }
.lp-hero h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.lp-jump button { color: var(--navy); border-color: rgba(11, 31, 58, 0.16); }
.lp-jump button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.lp-tile { border: 1.5px solid rgba(11, 31, 58, 0.55); border-top: 3px solid var(--navy); border-radius: 12px; }
.lp-tile small { color: #4b5b70; font-weight: 700; }
.lp-tile b { font-size: 16px; font-weight: 700; color: var(--navy); }
.lp-tile .ms { font-size: 19px; }
.lp-h4 { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); }
.lp-h4::after { height: 2px; background: #e6b800; }
.lp-dt b { font-size: 17px; font-weight: 800; color: var(--navy); }
.lp-row { font-size: 17px; font-weight: 700; color: var(--navy); padding: 11px 14px; }
.lp-row > .ms { color: var(--navy); font-size: 22px; }
.lp-row small { font-weight: 700; color: #4b5b70; }
@media (min-width: 761px) {
  .lp-win .lp-hero h2 { font-size: 34px; }
  .lp-win .lp-jump button { font-size: 15px; padding: 7px 18px; }
}
.lp-hero img.sat { filter: saturate(1.2) contrast(1.06) brightness(1.04); }

/* ---------- Listing window, Gemini layout (owner 2026-11-15) ----------
   Name block on white under the photo, tab bar with a gold Pro tab, Camp
   Snapshot tiles, Who can stay beside Contact, amenity grids (camp and base),
   Field Report drawers, the Pro insider card and the review summary. */
.lp-hero::after { background: linear-gradient(180deg, rgba(10, 24, 40, 0.18), rgba(10, 24, 40, 0) 30%); }
.lp-win .lp-hero { height: 260px; }
.lp-head { padding: 16px 16px 6px; flex: none; }
.lp-win .lp-head { padding: 20px 22px 8px; }
.lp-head .lp-tags { margin-bottom: 10px; gap: 8px; }
.lp-tag { background: var(--hl-soft); color: var(--navy); border-radius: 999px; padding: 4px 11px; font-size: 12px; letter-spacing: 0.06em; }
.lp-tag.type { background: var(--navy); color: #fff; }
.lp-tag.plain { background: var(--hl-wash); color: var(--hl-ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.lp-head h2 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; }
.lp-win .lp-head h2 { font-size: 32px; }
.lp-head .lp-meta { margin-top: 8px; color: var(--hl-ink); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 9px; align-items: center; }
.lp-win .lp-head .lp-meta { font-size: 15.5px; }
.lp-head .lp-meta strong { color: var(--navy); font-weight: 600; }
.lp-head .lp-meta b { color: var(--navy); }
.lp-head .lp-stars { color: var(--pro); letter-spacing: 1px; font-size: 1.1em; }
.lp-head .lp-dot { color: var(--faint); font-size: 0.8em; }
.lp-win .lp-act { padding: 12px 22px 16px; border-bottom: none; }
.lp-win .lp-act .lp-add { flex: 0 0 auto; padding: 0 22px; }

/* Tab bar */
.lp-jump, .lp-win .lp-jump { background: var(--hl-wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 4px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.lp-jump::-webkit-scrollbar { display: none; }
.lp-jump button, .lp-win .lp-jump button { border: 1px solid transparent; background: none; color: var(--navy); font-weight: 600; font-size: 14.5px; padding: 7px 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.lp-jump button:hover { color: var(--navy); background: rgba(11, 31, 58, 0.05); }
.lp-jump button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.lp-jump button.pro { border-color: var(--pro); background: #fff8dc; }
.lp-jump button.pro.on { background: var(--pro); color: var(--navy-deep); }
.lp-jump button .ms { font-size: 16px; }

/* Section headings */
.lp-sec { padding-top: 24px; }
.lp-sec + .lp-sec { margin-top: 4px; }
.lp-h3 { margin: 0 0 14px; font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.lp-sechead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lp-sechead .lp-h3 { margin: 0; }
.lp-free { font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; background: var(--hl-soft); color: var(--navy); border-radius: 999px; padding: 4px 11px; }
.lp-free.pro { background: var(--pro); color: var(--navy-deep); }
.lp-sechead .lp-expand, .lp-sechead .lp-write { margin-left: auto; }
.lp-sechead .lp-write { margin-top: 0; margin-bottom: 0; text-decoration: none; color: var(--hl-ink); font-size: 14.5px; }
.lp-lead { font-size: 16px; }

/* Camp Snapshot tiles */
.lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-tile { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 12px; background: var(--hl-wash); padding: 12px 14px 13px; }
.lp-tile small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; color: var(--hl-ink); }
.lp-tile small .ms { font-size: 18px; color: var(--navy); margin: 0; }
.lp-tile b { display: block; margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.lp-tile em { display: block; font-style: normal; margin-top: 3px; font-size: 13.5px; color: var(--hl-ink); }

/* Who can stay beside Contact */
.lp-contact { display: grid; gap: 14px; }
.lp-contact .lp-flagbox { margin-top: 0; align-self: start; }
.lp-ccard { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; background: #fff; }
.lp-chead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.lp-chead h3 { margin: 0; font-family: var(--display); font-size: 17.5px; font-weight: 800; color: var(--navy); }
.lp-chead span { margin-left: auto; font-size: 13px; color: var(--hl-ink); }
.lp-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.lp-phone { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--hl-wash); }
.lp-phone:hover { border-color: var(--hl-ink); background: #fff; }
.lp-phone small { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--hl-ink); }
.lp-phone small .ms { font-size: 15px; }
.lp-phone b { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.lp-cfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lp-cfoot .lp-cline { flex: 1 1 220px; }
.lp-site { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--hl-ink); font-size: 15px; }
.lp-site .ms { font-size: 17px; }
.lp-cline { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--text); line-height: 1.4; }
.lp-cline > .ms { color: var(--hl-ink); font-size: 19px; flex: none; }
.lp-cline small { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.lp-crows { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Amenities: at the camp, then on base */
.lp-ambox { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; background: #fff; }
.lp-ambox + .lp-ambox { margin-top: 12px; }
.lp-ambox.base { background: var(--hl-wash); }
.lp-amhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-amhead .ms { color: var(--navy); font-size: 21px; }
.lp-amhead b { font-family: var(--display); font-size: 16.5px; font-weight: 800; color: var(--navy); }
.lp-amhead > span:not(.ms) { margin-left: auto; font-size: 13px; color: var(--hl-ink); }
.lp-amgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-am { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: var(--hl-wash); font-size: 14.5px; font-weight: 500; color: var(--text); min-width: 0; line-height: 1.25; }
.lp-ambox.base .lp-am { background: #fff; }
.lp-am .ms { color: var(--navy); font-size: 19px; flex: none; }

/* Field Report drawers */
.lp-dr { border-radius: 14px; margin-bottom: 10px; }
.lp-dr summary { padding: 13px 16px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; }
.lp-dic { width: 40px; height: 40px; border-radius: 10px; background: var(--hl-wash); border: 1px solid var(--line); }
.lp-dic .ms { color: var(--navy); }
.lp-dt b { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--navy); }
.lp-dt small { font-size: 14px; color: var(--hl-ink); margin-top: 2px; }
.lp-dr[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.lp-db { padding: 2px 16px 14px 70px; }
.lp-db:has(> .lp-kv:first-child) { padding-left: 16px; }
.lp-kv { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.lp-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lp-kv > div:last-child { border-bottom: none; }
.lp-kv span { color: var(--hl-ink); }
.lp-kv b { font-weight: 700; color: var(--navy); text-align: right; }

/* Pro insider card (locked) */
.lp-lockdr { border: 2px solid var(--pro); border-radius: 16px; overflow: hidden; background: #fff; }
.lp-phead { background: #fffbea; padding: 16px 20px 15px; border-bottom: 1px solid rgba(230, 184, 0, 0.35); }
.lp-pbadge { display: inline-flex; align-items: center; gap: 6px; background: var(--pro); color: var(--navy-deep); font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.lp-pbadge .ms { font-size: 15px; }
.lp-phead h3 { margin: 12px 0 5px; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.lp-phead p { margin: 0; color: var(--hl-ink); font-size: 15px; line-height: 1.45; }
.lp-pbody { padding: 16px 20px 18px; }
.lp-pbig { display: grid; gap: 12px; }
.lp-pcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--hl-wash); }
.lp-pch { display: flex; align-items: center; gap: 8px; }
.lp-pch .ms { color: var(--navy); font-size: 22px; }
.lp-pch b { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--navy); }
.lp-pcnt { margin-left: auto; font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--navy); white-space: nowrap; }
.lp-pcard > p { margin: 8px 0 10px; font-size: 14.5px; color: var(--hl-ink); line-height: 1.45; }
.lp-ppills { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lp-ppills span { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-size: 13px; font-weight: 600; color: var(--navy); }
.lp-fake { display: grid; gap: 8px; padding-top: 12px; }
.lp-fake i { display: block; height: 9px; border-radius: 5px; background: rgba(11, 31, 58, 0.13); filter: blur(1.5px); }
.lp-fake i:nth-child(2) { width: 88%; }
.lp-fake i:nth-child(3) { width: 55%; }
.lp-psmall { display: grid; gap: 12px; margin-top: 12px; }
.lp-pcard.sm { display: flex; gap: 10px; align-items: flex-start; background: #fff; }
.lp-pcard.sm > .ms { color: var(--navy); font-size: 22px; }
.lp-pcard.sm b { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--navy); }
.lp-pcard.sm small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--hl-ink); line-height: 1.4; }
.lp-lockdr .lp-procta { border: none; border-top: 1px solid var(--line); border-radius: 0; margin-top: 16px; padding: 16px 0 0; text-align: center; background: none; }
.lp-lockdr .lp-gold { max-width: 320px; margin: 0 auto; }
.lp-lockdr .lp-procta p { color: var(--text); font-size: 14.5px; }

/* Reviews */
.lp-score { display: grid; gap: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--hl-wash); padding: 18px 20px; margin: 0 0 12px; align-items: center; }
.lp-big { font-size: 46px; }
.lp-scorel .lp-stars.lg { display: block; font-size: 22px; margin-top: 4px; color: var(--pro); letter-spacing: 1px; }
.lp-scorel .lp-sub { margin-top: 6px; font-size: 14.5px; color: var(--hl-ink); }
.lp-bars { margin: 0; gap: 12px 28px; }
.lp-bar { grid-template-columns: 1fr auto; row-gap: 6px; font-size: 14.5px; }
.lp-bar span { font-weight: 600; color: var(--navy); }
.lp-bar b { color: var(--navy); }
.lp-bar i { grid-column: 1 / -1; height: 8px; background: rgba(11, 31, 58, 0.1); }
.lp-bar i::after { background: var(--navy); }
.lp-rev { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; background: #fff; }
.lp-rev .lp-who { gap: 12px; flex-wrap: nowrap; align-items: center; }
.lp-rev .lp-av { width: 42px; height: 42px; background: var(--navy); color: #fff; font-size: 14px; flex: none; }
.lp-whot { flex: 1; min-width: 0; }
.lp-whot > div { display: flex; align-items: center; gap: 8px; }
.lp-whot b { font-size: 16px; color: var(--navy); }
.lp-whot small { display: block; color: var(--hl-ink); font-size: 13.5px; margin-top: 1px; }
.lp-rev .lp-who > .lp-stars { font-size: 18px; color: var(--pro); letter-spacing: 1px; }
.lp-rev .lp-badge { background: #fff8dc; border-color: var(--pro); color: var(--navy); }
.lp-rev p { font-size: 15.5px; margin: 10px 0 4px; }
.lp-lock { margin-bottom: 12px; }

/* Wide window: four tiles a row, contact beside eligibility, wider grids. */
@container (min-width: 700px) {
  .lp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .lp-contact.one { grid-template-columns: 1fr; }
  .lp-amgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-ambox.base .lp-amgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lp-kv { grid-template-columns: 1fr 1fr; }
  .lp-kv > div:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .lp-pbig { grid-template-columns: 1fr 1fr; }
  .lp-pbig.one { grid-template-columns: 1fr; }
  .lp-psmall.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-psmall.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-score { grid-template-columns: 230px minmax(0, 1fr); }
  .lp-score.solo { grid-template-columns: 1fr; }
  .lp-score:not(.solo) .lp-scorel { border-right: 1px solid var(--line); padding-right: 16px; }
}

/* Phone: the whole sheet scrolls (photo and name included); the tab bar sticks. */
@media (max-width: 760px) {
  .panel .lp-main { overflow-y: auto; overscroll-behavior: contain; }
  .panel .lp-body { flex: none; overflow: visible; min-height: auto; }
  .panel .lp-jump { position: sticky; top: 0; z-index: 4; }
  .lp-act { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lp-act.c4 { grid-template-columns: minmax(0, 1fr) repeat(4, 42px); }
  .lp-act.c5 { grid-template-columns: minmax(0, 1fr) repeat(5, 40px); }
  .lp-act .lp-ib { width: auto; height: 46px; }
  .lp-add { white-space: nowrap; font-size: 15.5px; gap: 6px; padding: 0 8px; }
  .lp-add .ms { font-size: 21px; }
  .lp-head h2 { font-size: 22px; }
  .lp-head .lp-addr { display: none; }
}
@media (max-width: 760px) { .lp-head .lp-dot:has(+ .lp-addr) { display: none; } }

/* ---------- Name first, then a photo row (owner 2026-11-15) ----------
   Photos keep their own shape in a row you scroll sideways; a click opens the
   full size viewer. FamCamps with no photo show no row (no satellite). */
.lp-head { position: relative; padding-right: 64px; }
.lp-win .lp-head { padding-right: 76px; }
.lp-head .lp-x, .lp-win .lp-head .lp-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: var(--soft); }
.lp-head .lp-x:hover { background: var(--hl-wash); }
.lp-gal { position: relative; flex: none; padding: 2px 16px 16px; }
.lp-win .lp-gal { padding: 2px 22px 18px; }
.lp-gtrack { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border-radius: 14px; }
.lp-gtrack::-webkit-scrollbar { display: none; }
.lp-gi { position: relative; flex: none; height: 250px; min-width: 150px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--hl-soft); cursor: pointer; scroll-snap-align: start; }
.lp-gi img { display: block; height: 100%; width: auto; max-width: 560px; object-fit: cover; transition: transform 0.25s ease; }
.lp-gi:hover img { transform: scale(1.025); }
.lp-gi.sat img { width: 372px; }
.lp-gal.only-sat .lp-gi.sat { width: 100%; height: 210px; }
.lp-gal.only-sat .lp-gi.sat img { width: 100%; max-width: none; }
.lp-gc { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(10, 24, 40, 0.58); padding: 3px 8px; border-radius: 6px; }
.lp-garr { display: none; position: absolute; top: calc(50% - 8px); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(10, 24, 40, 0.2); place-items: center; cursor: pointer; z-index: 2; }
.lp-garr.prev { left: 30px; }
.lp-garr.next { right: 30px; }
.lp-gal.can-prev .lp-garr.prev, .lp-gal.can-next .lp-garr.next { display: grid; }
.lp-garr:hover { background: var(--hl-wash); }
.lp-mini-ph { width: 72px; height: 52px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; }
.lp-mini-ph .ms { color: var(--pro); font-size: 24px; }
/* Full size viewer */
.lp-lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 14, 26, 0.94); display: grid; place-items: center; }
.lp-lb[hidden] { display: none; }
.lp-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.lp-lb figcaption { color: rgba(255, 255, 255, 0.86); font-size: 14px; }
.lp-lbx, .lp-lbn { position: absolute; display: grid; place-items: center; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; }
.lp-lbx { top: 18px; right: 18px; width: 46px; height: 46px; }
.lp-lbn { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lp-lbn .ms { font-size: 32px; }
.lp-lbn.prev { left: 18px; }
.lp-lbn.next { right: 18px; }
.lp-lbx:hover, .lp-lbn:hover { background: rgba(255, 255, 255, 0.26); }
.lp-lb.single .lp-lbn { display: none; }
@media (max-width: 760px) {
  .lp-gi { height: 180px; min-width: 120px; }
  .lp-gi img { max-width: 300px; }
  .lp-gi.sat img { width: 268px; }
  .lp-gal.only-sat .lp-gi.sat { height: 160px; }
  .lp-garr { display: none !important; }
  .panel.is-full .lp-head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); }
  .panel.is-full .lp-head { padding-top: 22px; }
  .lp-head { touch-action: none; }
  .lp-lbn { width: 44px; height: 44px; }
}

/* ---------- Top of the window: name left, one photo right (owner 2026-11-15) ---------- */
.lp-top { position: relative; flex: none; padding: 16px 16px 14px; }
.lp-top .lp-head { padding: 0 52px 0 0; }
.lp-top .lp-act, .lp-win .lp-top .lp-act { padding: 14px 0 0; border: 0; }
.lp-top > .lp-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: var(--soft); display: grid; place-items: center; cursor: pointer; }
.lp-top > .lp-x:hover { background: var(--hl-wash); }
.lp-topr { margin-top: 14px; }
.lp-win .lp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 26px; padding: 22px 22px 20px; align-items: start; }
.lp-win .lp-top.nogal { grid-template-columns: 1fr; }
.lp-win .lp-top:not(.nogal) .lp-head { padding-right: 0; }
.lp-win .lp-topr { margin-top: 0; }
.lp-win .lp-top .lp-act { flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.lp-win .lp-top .lp-ib { height: 44px; padding: 0 13px; }
.lp-win .lp-top .lp-add { height: 46px; }
.lp-win .lp-top:not(.nogal) .lp-head h2 { font-size: 30px; }
/* One large photo, thumbnails under it */
.lp-gal { position: relative; padding: 0; }
.lp-win .lp-gal { padding: 0; }
.lp-gmain { position: relative; display: block; width: 100%; height: 230px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--hl-soft); cursor: pointer; }
.lp-win .lp-gmain { height: 262px; }
.lp-gmain img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.lp-gmain:hover img { transform: scale(1.02); }
.lp-gn { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(10, 24, 40, 0.6); padding: 3px 9px; border-radius: 999px; }
.lp-gal .lp-garr { display: grid; opacity: 0; top: 115px; transition: opacity 0.15s ease; }
.lp-win .lp-gal .lp-garr { top: 131px; }
.lp-gal .lp-garr.prev { left: 10px; }
.lp-gal .lp-garr.next { right: 10px; }
.lp-gal:hover .lp-garr, .lp-gal .lp-garr:focus-visible { opacity: 1; }
.lp-gthumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.lp-gthumbs::-webkit-scrollbar { display: none; }
.lp-gt { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: var(--hl-soft); cursor: pointer; opacity: 0.72; transition: opacity 0.15s ease; }
.lp-gt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-gt.on { border-color: var(--gold); opacity: 1; }
.lp-gt:hover { opacity: 1; }
@media (max-width: 760px) {
  .lp-gmain { height: 210px; }
  .lp-gal .lp-garr { display: none; }
  .lp-top .lp-act { padding-top: 12px; }
}

/* Beside a photo: Add to trip on its own row, the other buttons an even row of
   icon over label under it. */
.lp-win .lp-top:not(.nogal) .lp-act { display: grid; gap: 8px; }
.lp-win .lp-top:not(.nogal) .lp-act.c1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.lp-win .lp-top:not(.nogal) .lp-act.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-win .lp-top:not(.nogal) .lp-act.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-win .lp-top:not(.nogal) .lp-act.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-win .lp-top:not(.nogal) .lp-act.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lp-win .lp-top:not(.nogal) .lp-act .lp-add { grid-column: 1 / -1; width: 100%; height: 48px; }
.lp-win .lp-top:not(.nogal) .lp-ib { flex-direction: column; justify-content: center; height: 60px; gap: 3px; padding: 0 4px; font-size: 13px; }
.lp-win .lp-top:not(.nogal) .lp-ib .ms { font-size: 21px; }

/* ---------- Owner pick 2026-11-15 ("Blue Angel" mock): banner with the name on it,
   compact facts left, amenities right, Field Report below ---------- */
.lp-banner { position: relative; flex: none; height: 210px; background: #1a2a3f; color: #fff; overflow: hidden; }
.lp-win .lp-banner { height: 270px; }
.lp-bimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 40, 0.28) 0%, rgba(10, 24, 40, 0) 26%, rgba(10, 24, 40, 0) 42%, rgba(10, 24, 40, 0.86) 100%); pointer-events: none; z-index: 1; }
.lp-banner.nophoto { background: linear-gradient(120deg, #0b1f3a 0%, #13325c 70%, #1a3f70 100%); }
.lp-banner.nophoto::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.3px, transparent 1.8px); background-size: 24px 24px; -webkit-mask: linear-gradient(90deg, transparent 0%, #000 55%); mask: linear-gradient(90deg, transparent 0%, #000 55%); }
.lp-banner.nophoto::after { background: repeating-linear-gradient(180deg, rgba(178, 34, 52, 0.16) 0 16px, rgba(255, 255, 255, 0.05) 16px 32px); -webkit-mask: linear-gradient(90deg, transparent 45%, #000 100%); mask: linear-gradient(90deg, transparent 45%, #000 100%); }
.lp-bcredit { position: absolute; left: 12px; top: 10px; z-index: 2; font-size: 11px; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
.lp-banner .lp-x { position: absolute; z-index: 3; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(10, 24, 40, 0.72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lp-banner .lp-x:hover { background: rgba(10, 24, 40, 0.92); }
.lp-banner .lp-ht { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.lp-win .lp-banner .lp-ht { left: 24px; bottom: 20px; }
.lp-win .lp-banner:has(.lp-seeall) .lp-ht { right: 220px; }
.lp-banner .lp-tags { margin-bottom: 8px; gap: 7px; }
.lp-banner .lp-tag { background: rgba(255, 255, 255, 0.2); color: #fff; border-radius: 7px; padding: 4px 10px; font-size: 12px; }
.lp-banner .lp-tag.type { background: #fff; color: var(--navy); }
.lp-banner .lp-tag.plain { background: rgba(255, 255, 255, 0.14); text-transform: none; letter-spacing: 0; }
.lp-banner h2 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 800; line-height: 1.12; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }
.lp-win .lp-banner h2 { font-size: 31px; }
.lp-banner .lp-meta { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.95); display: flex; flex-wrap: wrap; gap: 3px 7px; align-items: center; }
.lp-win .lp-banner .lp-meta { font-size: 15.5px; }
.lp-banner .lp-meta b { color: #fff; }
.lp-banner .lp-stars { color: var(--pro); letter-spacing: 0; }
.lp-seeall { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 13.5px; font-weight: 700; padding: 8px 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); cursor: pointer; }
.panel .lp-pvmain .lp-seeall .ms { font-size: 18px; }
.panel .lp-pvmain .lp-seeall:hover { background: var(--hl-wash); }
.lp-main > .lp-act { border-bottom: none; }
.lp-win .lp-main > .lp-act .lp-add { flex: 0 0 300px; }

/* Snapshot: two columns */
.lp-snapgrid { display: grid; gap: 18px; }
.lp-snapl .lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-snapl .lp-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 10px; padding: 8px 10px 9px; }
.lp-snapl .lp-tile small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl-ink); }
.lp-snapl .lp-tile b { display: flex; align-items: flex-start; gap: 6px; margin-top: 4px; font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.25; }
.lp-snapl .lp-tile b .ms { font-size: 18px; color: var(--navy); margin-top: 0; }
.lp-snapl .lp-tile em { display: block; font-style: normal; margin-top: 2px; font-size: 12px; color: var(--hl-ink); }
.lp-snapl .lp-flagbox { margin-top: 10px; }
.lp-snapl .lp-rows { margin-top: 10px; }
.lp-snapr .lp-h4, .lp-sechead .lp-h3 { color: var(--navy); }
.lp-snapr .lp-h4 { margin: 0 0 9px; font-size: 13px; }
.lp-snapr .lp-h4::after { background: var(--pro); height: 2px; }
.lp-amsec + .lp-amsec { margin-top: 16px; }
.lp-amsub { margin: -3px 0 8px; font-size: 13px; color: var(--muted); }
.lp-amsec .lp-chip { font-size: 13.5px; padding: 4px 9px 4px 7px; }
.lp-amsec.base .lp-chip { background: #fff; border: 1px solid var(--line); }
@container (min-width: 700px) {
  .lp-snapgrid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 26px; align-items: start; }
  .lp-snapgrid.one { grid-template-columns: 1fr; }
  .lp-snapl .lp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-snapgrid.one .lp-snapl .lp-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .panel.is-full .lp-banner { height: 190px; }
  .lp-seeall { top: 12px; bottom: auto; right: 60px; padding: 6px 11px; font-size: 12.5px; }
}

/* ---------- Desktop density (owner 2026-11-15: "I'm 2 feet from my screen") ----------
   Laptop reading sizes: smaller type, shorter banner, slimmer controls, more per row. */
@media (min-width: 761px) {
  .panel.lp-win { --win-w: min(1180px, calc(100% - 48px)); font-size: 14px; }
  .stage.trip-open .panel.lp-win { --win-w: min(1180px, calc(100% - var(--tpane) - 48px)); }
  .lp-win .lp-banner { height: 210px; }
  .lp-win .lp-banner h2 { font-size: 25px; }
  .lp-win .lp-banner .lp-meta { font-size: 13.5px; margin-top: 4px; }
  .lp-win .lp-banner .lp-tag { font-size: 10.5px; padding: 3px 8px; }
  .lp-win .lp-banner .lp-tags { margin-bottom: 6px; }
  .lp-win .lp-banner .lp-ht { bottom: 14px; left: 20px; }
  .lp-win .lp-seeall { font-size: 12.5px; padding: 6px 11px; bottom: 14px; right: 14px; }
  .lp-win .lp-main > .lp-act { padding: 10px 20px; gap: 8px; }
  .lp-win .lp-main > .lp-act .lp-add { flex: 0 0 210px; height: 40px; font-size: 15px; border-radius: 10px; }
  .lp-win .lp-main > .lp-act .lp-add .ms { font-size: 20px; }
  .lp-win .lp-main > .lp-act .lp-ib { height: 40px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
  .lp-win .lp-main > .lp-act .lp-ib .ms { font-size: 18px; }
  .lp-win .lp-jump { padding: 7px 20px; }
  .lp-win .lp-jump button { font-size: 13.5px; padding: 5px 13px; }
  .lp-win .lp-body { padding: 2px 20px 0; }
  .lp-win .lp-sec { padding-top: 16px; }
  .lp-win .lp-lead { font-size: 14px; margin-bottom: 10px; }
  /* Snapshot */
  .lp-win .lp-snapgrid { gap: 22px; }
  .lp-win .lp-snapl .lp-tiles { gap: 6px; }
  .lp-win .lp-snapl .lp-tile { padding: 6px 9px 7px; border-top-width: 2px; border-radius: 8px; }
  .lp-win .lp-snapl .lp-tile small { font-size: 9.5px; }
  .lp-win .lp-snapl .lp-tile b { font-size: 13.5px; margin-top: 2px; gap: 5px; }
  .lp-win .lp-snapl .lp-tile b .ms { font-size: 16px; }
  .lp-win .lp-snapl .lp-tile em { font-size: 11px; }
  .lp-win .lp-flagbox { min-height: 0; padding: 8px 12px 8px 62px; margin-top: 8px; }
  .lp-win .lp-flagbox .fb-flag { width: 46px; }
  .lp-win .lp-flagbox .fb-flag .ms { font-size: 20px; left: 8px; top: 6px; }
  .lp-win .lp-flagbox b { font-size: 12px; }
  .lp-win .lp-flagbox p { font-size: 13.5px; line-height: 1.4; }
  .lp-win .lp-rows { margin-top: 8px; border-radius: 10px; }
  .lp-win .lp-row { padding: 6px 10px; font-size: 13.5px; gap: 8px; grid-template-columns: 18px minmax(0, 1fr) auto; }
  .lp-win .lp-row > .ms { font-size: 17px; }
  .lp-win .lp-row small { font-size: 9.5px; }
  .lp-win .lp-snapr .lp-h4 { font-size: 11.5px; margin-bottom: 7px; }
  .lp-win .lp-amsub { font-size: 12px; margin-bottom: 6px; }
  .lp-win .lp-chips { gap: 5px; }
  .lp-win .lp-amsec .lp-chip { font-size: 12.5px; padding: 3px 8px 3px 6px; border-radius: 7px; gap: 4px; }
  .lp-win .lp-amsec .lp-chip .ms { font-size: 15px; }
  .lp-win .lp-amsec + .lp-amsec { margin-top: 12px; }
  /* Field Report */
  .lp-win .lp-h3 { font-size: 17px; margin-bottom: 10px; }
  .lp-win .lp-sechead { margin-bottom: 10px; gap: 8px; }
  .lp-win .lp-free { font-size: 10px; padding: 3px 9px; }
  .lp-win .lp-dr { margin-bottom: 6px; border-radius: 10px; }
  .lp-win .lp-dr summary { padding: 8px 12px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; }
  .lp-win .lp-dic { width: 30px; height: 30px; border-radius: 8px; }
  .lp-win .lp-dic .ms { font-size: 17px; }
  .lp-win .lp-dt b { font-size: 14.5px; }
  .lp-win .lp-dt small { font-size: 12.5px; margin-top: 0; }
  .lp-win .lp-db { padding: 2px 12px 10px 52px; font-size: 14px; }
  .lp-win .lp-db:has(> .lp-kv:first-child) { padding-left: 12px; }
  .lp-win .lp-kv > div { padding: 6px 0; font-size: 13.5px; }
  /* Pro card */
  .lp-win .lp-phead { padding: 12px 16px 11px; }
  .lp-win .lp-pbadge { font-size: 10.5px; padding: 4px 10px; }
  .lp-win .lp-phead h3 { font-size: 18px; margin: 9px 0 3px; }
  .lp-win .lp-phead p { font-size: 13.5px; }
  .lp-win .lp-pbody { padding: 12px 16px 14px; }
  .lp-win .lp-pbig, .lp-win .lp-psmall { gap: 9px; }
  .lp-win .lp-psmall { margin-top: 9px; }
  .lp-win .lp-pcard { padding: 10px 12px; border-radius: 10px; }
  .lp-win .lp-pch b { font-size: 15px; }
  .lp-win .lp-pch .ms { font-size: 19px; }
  .lp-win .lp-pcard > p { font-size: 13px; margin: 5px 0 8px; }
  .lp-win .lp-ppills span { font-size: 12px; padding: 2px 8px; }
  .lp-win .lp-pcard.sm b { font-size: 14px; }
  .lp-win .lp-pcard.sm small { font-size: 12.5px; }
  .lp-win .lp-lockdr .lp-procta { margin-top: 12px; padding-top: 12px; }
  .lp-win .lp-lockdr .lp-gold { height: 40px; font-size: 15px; max-width: 260px; }
  .lp-win .lp-lockdr .lp-procta p { font-size: 13px; }
  /* Reviews */
  .lp-win .lp-score { padding: 12px 16px; gap: 12px; }
  .lp-win .lp-big { font-size: 36px; }
  .lp-win .lp-scorel .lp-stars.lg { font-size: 18px; }
  .lp-win .lp-scorel .lp-sub { font-size: 13px; }
  .lp-win .lp-bars { gap: 8px 22px; }
  .lp-win .lp-bar { font-size: 13px; row-gap: 4px; }
  .lp-win .lp-bar i { height: 6px; }
  .lp-win .lp-rev { padding: 12px 14px; border-radius: 10px; }
  .lp-win .lp-rev .lp-av { width: 34px; height: 34px; font-size: 12.5px; }
  .lp-win .lp-whot b { font-size: 14.5px; }
  .lp-win .lp-whot small { font-size: 12.5px; }
  .lp-win .lp-rev p { font-size: 14px; margin: 7px 0 3px; }
  .lp-win .lp-foot { font-size: 13px; padding: 8px 20px 12px; margin: 14px -20px 0; }
}
@container (min-width: 1000px) {
  .lp-snapl .lp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-snapgrid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}
@container (min-width: 1000px) {
  .lp-snapl .lp-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-snapl .lp-rows > .lp-row:nth-child(-n+2) { border-top: none; }
  .lp-snapl .lp-rows > .lp-row:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------- RV LIFE style (owner 2026-11-15): slim header, tabs, then the
   Overview with actions and facts on the left and the photo on the right ---------- */
.lp-shead { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px 12px; flex: none; }
.lp-win .lp-shead { padding: 18px 20px 14px; }
.lp-sheadl { flex: 1; min-width: 0; }
.lp-sheadr { display: flex; gap: 8px; align-items: center; flex: none; }
.lp-shead .lp-tags { margin-bottom: 6px; gap: 6px; }
.lp-shead .lp-tag { font-size: 10.5px; padding: 3px 9px; }
.lp-shead h2 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
.lp-win .lp-shead h2 { font-size: 24px; }
.lp-shead .lp-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.lp-shead .lp-meta b { color: var(--text); }
.lp-shead .lp-stars { color: var(--pro); letter-spacing: 0.5px; }
.lp-shead .lp-dot { color: var(--faint); font-size: 0.8em; }
.lp-hact { display: flex; gap: 8px; align-items: center; }
.lp-hact .lp-add { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.lp-hact .lp-add .ms { font-size: 20px; }
.lp-hact .lp-ib, .lp-win .lp-hact .lp-ib { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 10px; }
.lp-hact .lp-ib .lbl, .lp-win .lp-hact .lp-ib .lbl { display: none; }
.lp-shead .lp-x { position: static; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.lp-shead .lp-x:hover { background: var(--hl-wash); }
/* Overview */
.lp-ov { display: grid; gap: 16px; }
.lp-ovr { order: -1; }
.lp-qlist { display: grid; gap: 2px; }
.lp-qlist + .lp-qlist { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.lp-qlist.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.lp-ql { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center; padding: 4px 0; color: var(--text); }
.lp-qi { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.lp-qi .ms { font-size: 16px; color: #fff; }
.lp-qi.plain { background: var(--hl-wash); border: 1px solid var(--line); }
.lp-qi.plain .ms { color: var(--navy); }
.lp-ql b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.lp-ql small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
a.lp-ql b { color: #1d4f91; }
a.lp-ql:hover b { text-decoration: underline; }
.lp-ov .lp-flagbox { margin-top: 12px; }
/* Photo viewer: the whole photo, letterboxed, arrows and a thumbnail strip */
.lp-pvmain { position: relative; height: 240px; border-radius: 12px; background: #e9eef4; overflow: hidden; }
.lp-pvimg { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.lp-pvimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-pvarr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(10, 24, 40, 0.18); }
.lp-pvarr:hover { background: #fff; }
.lp-pvarr.prev { left: 10px; }
.lp-pvarr.next { right: 10px; }
.lp-pvmain .lp-gc { left: 10px; bottom: 10px; }
.lp-pvthumbs { display: flex; gap: 6px; margin-top: 7px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.lp-pvthumbs .lp-gt { width: 66px; height: 48px; }
/* Amenities: camp and base side by side */
.lp-amgrid2 { display: grid; gap: 16px; }
.lp-amgrid2 .lp-h4 { margin: 0 0 9px; font-size: 12px; color: var(--navy); }
.lp-amgrid2 .lp-h4::after { background: var(--pro); height: 2px; }
.lp-amgrid2 .lp-amsec + .lp-amsec { margin-top: 0; }
.lp-amgrid2 .lp-chip { font-size: 13px; padding: 4px 9px 4px 7px; }
.lp-amgrid2 .lp-amsec.base .lp-chip { background: #fff; border: 1px solid var(--line); }
@container (min-width: 700px) {
  .lp-ov { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 22px; align-items: start; }
  .lp-ov.nogal { grid-template-columns: 1fr; }
  .lp-ov.nogal .lp-qlist.links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
  .lp-ov.nogal .lp-qlist.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-ovr { order: 0; }
  .lp-pvmain { height: 330px; }
  .lp-amgrid2 { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}
@media (max-width: 760px) {
  .lp-shead { flex-wrap: wrap; }
  .lp-sheadl { padding-right: 44px; }
  .lp-sheadr { width: 100%; }
  .lp-hact { flex: 1; }
  .lp-hact .lp-add { flex: 1; }
  .lp-shead .lp-x { position: absolute; top: 10px; right: 12px; }
  .panel.is-full .lp-shead { padding-top: 22px; }
  .panel.is-full .lp-shead::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); }
  .lp-shead { touch-action: none; }
}
.lp-hours { font-size: 13px; line-height: 1.45; color: var(--text); margin-top: 2px; }
.lp-ql.wide { align-items: start; }
.lp-ql.wide .lp-qi { margin-top: 2px; }

/* ---------- Tight layout, tabs as screens (owner 2026-11-15) ---------- */
.lp-sec[hidden] { display: none !important; }
/* Header: text and buttons left, photo right */
.lp-h2c { display: block; padding: 14px 16px 12px; }
.lp-h2c .lp-hl { min-width: 0; display: flex; flex-direction: column; }
.lp-h2c .lp-tags { margin-bottom: 6px; gap: 6px; }
.lp-h2c .lp-tag { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; }
.lp-h2c h2 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
.lp-h2c .lp-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.lp-h2c .lp-meta b, .lp-h2c .lp-meta strong { color: var(--text); font-weight: 600; }
.lp-h2c .lp-stars { color: var(--pro); letter-spacing: 0.5px; }
.lp-h2c .lp-dot { color: var(--faint); font-size: 0.8em; }
.lp-addr2 { margin-top: 3px; font-size: 13px; color: var(--muted); }
.lp-h2c .lp-x { position: absolute; top: 10px; right: 10px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--soft); }
.lp-h2c .lp-x:hover { background: var(--hl-wash); }
.lp-h2c .lp-hr { margin-top: 12px; }
/* Button bar */
.lp-bar2 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.lp-bar2 .lp-add { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 9px; flex: 0 0 auto; }
.lp-bar2 .lp-add .ms { font-size: 19px; }
.lp-bar2 .lp-add small { display: none; }
.lp-bar2 .lp-ib, .lp-win .lp-bar2 .lp-ib { width: auto; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 9px; font-size: 13.5px; font-weight: 600; }
.lp-bar2 .lp-ib .lbl { display: inline; }
.lp-bar2 .lp-ib .ms { font-size: 18px; }
.lp-bar2 .lp-ib[data-a="save"] .lbl { display: none; }
.lp-bar2 .lp-ib[data-a="save"] { padding: 0 11px; }
.lp-phonly { display: none; }
.lp-calldd { position: relative; }
.lp-ddi { font-size: 18px !important; margin-left: -2px; opacity: 0.7; }
.lp-callmenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(10, 24, 40, 0.2); padding: 4px; }
.lp-callmenu[hidden] { display: none; }
.lp-callmenu a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 10px; border-radius: 7px; color: var(--text); }
.lp-callmenu a:hover { background: var(--hl-wash); }
.lp-callmenu small { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.lp-callmenu b { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }
/* Photo in the header */
.lp-h2c .lp-pvmain { height: 200px; border-radius: 10px; }
.lp-h2c .lp-pvthumbs { margin-top: 6px; gap: 5px; }
.lp-h2c .lp-pvthumbs .lp-gt { width: 52px; height: 38px; border-radius: 7px; }
.lp-h2c .lp-pvarr { width: 32px; height: 32px; }
.lp-h2c .lp-gn { right: 8px; bottom: 8px; }
.lp-h2c .lp-pvmain .lp-gc { left: 8px; bottom: 8px; font-size: 11px; }
/* Snapshot screen */
.lp-snap3 { display: grid; gap: 16px; }
.lp-t3s { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.lp-t3 { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 9px; padding: 6px 9px 7px; min-width: 0; }
.lp-t3 small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl-ink); }
.lp-t3 b { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.25; }
.lp-t3 b .ms { font-size: 17px; color: var(--navy); flex: none; }
.lp-t3 em { display: block; font-style: normal; margin-top: 1px; font-size: 11.5px; color: var(--hl-ink); }
.lp-s3l .lp-flagbox { margin-top: 8px; min-height: 0; padding: 9px 12px 9px 64px; }
.lp-s3l .lp-flagbox .fb-flag { width: 48px; }
.lp-s3l .lp-flagbox .fb-flag .ms { font-size: 21px; left: 8px; top: 7px; }
.lp-s3l .lp-flagbox b { font-size: 12.5px; }
.lp-s3l .lp-flagbox p { font-size: 13.5px; line-height: 1.4; }
.lp-lns { margin-top: 8px; display: grid; gap: 5px; }
.lp-ln { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 7px; font-size: 13px; line-height: 1.4; color: var(--text); }
.lp-ln > .ms { font-size: 17px; color: var(--hl-ink); }
.lp-ln b { font-weight: 700; color: var(--navy); }
.lp-ln a { color: #1d4f91; }
.lp-s3r .lp-h4 { margin: 0 0 8px; font-family: var(--display); font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); }
.lp-s3r .lp-h4::after { background: var(--pro); height: 2px; }
.lp-s3r .lp-amsec + .lp-amsec { margin-top: 14px; }
.lp-s3r .lp-amsub { margin: -3px 0 7px; font-size: 12px; color: var(--muted); }
.lp-s3r .lp-chips { gap: 5px; }
.lp-s3r .lp-chip { font-size: 12.5px; padding: 3px 8px 3px 6px; border-radius: 7px; gap: 4px; }
.lp-s3r .lp-chip .ms { font-size: 15px; }
.lp-s3r .lp-amsec.base .lp-chip { background: #fff; border: 1px solid var(--line); }
@media (min-width: 761px) {
  .lp-win .lp-h2c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 22px; padding: 16px 20px 14px; align-items: stretch; }
  .lp-win .lp-h2c.nogal { grid-template-columns: 1fr; padding-right: 64px; }
  .lp-win .lp-h2c .lp-hr { margin-top: 0; }
  .lp-win .lp-h2c h2 { font-size: 25px; }
  .lp-win .lp-h2c:not(.nogal) .lp-bar2 { margin-top: auto; padding-top: 12px; }
  .lp-win .lp-h2c .lp-x { top: 22px; right: 26px; }
  .lp-win .lp-jump { padding: 6px 20px; }
  .lp-win .lp-jump button { font-size: 13.5px; padding: 5px 13px; }
  .lp-win .lp-body { padding: 2px 20px 0; }
  .lp-win .lp-sec { padding-top: 14px; }
}
@container (min-width: 700px) {
  .lp-snap3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
  .lp-snap3.one { grid-template-columns: 1fr; }
  .lp-t3s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-snap3.one .lp-t3s { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lp-phonly { display: contents; }
  .lp-bar2 .lp-add { flex: 1 1 100%; height: 44px; justify-content: center; }
  .lp-bar2 .lp-ib .lbl { display: none; }
  .lp-bar2 .lp-ib { flex: 1; justify-content: center; height: 42px; }
  .lp-bar2 .lp-calldd { flex: 1; display: flex; }
  .lp-bar2 .lp-calldd .lp-ib { flex: 1; }
  .lp-h2c .lp-hl { padding-right: 40px; }
  .panel.is-full .lp-h2c { padding-top: 22px; }
  .panel.is-full .lp-h2c::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); }
  .lp-h2c { position: relative; touch-action: none; }
  .lp-h2c .lp-pvmain { height: 190px; }
}
@media (min-width: 761px) {
  /* The window is as tall as the tab it shows (up to the screen). */
  .panel.lp-win { bottom: auto; max-height: calc(100% - 36px); }
  .lp-win .lp-h2c:not(.nogal) .lp-bar2 { margin-top: 12px; padding-top: 0; }
  .lp-win .lp-h2c { align-items: start; }
  .lp-win .lp-h2c .lp-pvmain { height: 176px; }
}
@media (min-width: 761px) {
  /* Narrower window (owner 2026-11-15: too wide, too spaced out). */
  .panel.lp-win { --win-w: min(980px, calc(100% - 48px)); }
  .stage.trip-open .panel.lp-win { --win-w: min(980px, calc(100% - var(--tpane) - 48px)); }
  .lp-win .lp-h2c { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 18px; }
  .lp-win .lp-h2c .lp-pvmain { height: 242px; }
  .lp-win .lp-snap3 { gap: 18px; }
}
/* Photos fill the frame; a tall one shows whole on a soft background. */
.lp-pvimg img { object-fit: cover; }
.lp-pvimg img.tall { object-fit: contain; }
.lp-h2c .lp-pvarr { background: rgba(255, 255, 255, 0.86); }

/* ---------- App style header (owner 2026-11-15) ---------- */
.lp-h3c { display: block; padding: 0; }
.lp-h3top { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 16px 12px; align-items: start; }
.lp-h3top:not(:has(.lp-seal)) { grid-template-columns: minmax(0, 1fr); }
.lp-seal { width: 64px; height: 64px; object-fit: contain; margin-top: 2px; filter: drop-shadow(0 2px 4px rgba(10, 24, 40, 0.2)); }
.lp-h3t { min-width: 0; padding-right: 44px; }
.lp-h3t .lp-tags { margin-bottom: 5px; gap: 6px; }
.lp-h3t .lp-tag { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; }
.lp-h3t h2 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 800; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
.lp-h3sub { margin-top: 3px; font-size: 14px; color: var(--muted); font-weight: 500; }
.lp-h3t .lp-addr2 { margin-top: 1px; }
.lp-h3rate { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lp-rnum { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--navy); }
.lp-h3rate .lp-stars { color: var(--pro); font-size: 19px; letter-spacing: 1px; line-height: 1; }
.lp-norev { font-size: 13.5px; color: var(--muted); }
.lp-price { font-size: 14px; font-weight: 700; color: var(--navy); padding-left: 10px; border-left: 1px solid var(--line); }
.lp-off { font-size: 13px; color: var(--muted); }
.lp-revbtn { border: none; border-radius: 999px; background: var(--pro); color: var(--navy-deep); font: inherit; font-size: 13px; font-weight: 700; padding: 6px 14px; cursor: pointer; }
.lp-revbtn:hover { background: var(--pro-hover); }
.lp-h3r .lp-bar2 { margin-top: 12px; }
.lp-h3top > .lp-x { position: absolute; top: 10px; right: 10px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--soft); }
.lp-h3top > .lp-x:hover { background: var(--hl-wash); }
/* Photo strip under the header */
.lp-strip { position: relative; padding: 0 16px 14px; }
.lp-strack { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; border-radius: 10px; }
.lp-strack::-webkit-scrollbar { display: none; }
.lp-si { position: relative; flex: none; height: 168px; min-width: 120px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--hl-soft); cursor: pointer; scroll-snap-align: start; }
.lp-si img { display: block; height: 100%; width: auto; max-width: 420px; object-fit: cover; transition: transform 0.25s ease; }
.lp-si:hover img { transform: scale(1.03); }
.lp-si.sat img { width: 250px; }
.lp-strip.only-sat .lp-si { width: 100%; }
.lp-strip.only-sat .lp-si img { width: 100%; max-width: none; }
.lp-si .lp-gc { font-size: 10.5px; left: 6px; bottom: 6px; padding: 2px 7px; }
.lp-sarr { display: none; position: absolute; top: calc(50% - 7px); transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.95); color: var(--navy); place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(10, 24, 40, 0.2); }
.lp-sarr.prev { left: 24px; }
.lp-sarr.next { right: 24px; }
.lp-strip.can-prev .lp-sarr.prev, .lp-strip.can-next .lp-sarr.next { display: grid; }
@media (min-width: 761px) {
  .lp-win .lp-h3top { grid-template-columns: auto minmax(0, 1fr) auto; padding: 16px 20px 14px; gap: 16px; }
  .lp-win .lp-h3top:not(:has(.lp-seal)) { grid-template-columns: minmax(0, 1fr) auto; }
  .lp-win .lp-h3t { padding-right: 0; }
  .lp-win .lp-h3t h2 { font-size: 27px; }
  .lp-win .lp-h3r { padding-right: 46px; display: flex; flex-direction: column; align-items: stretch; }
  .lp-win .lp-h3r .lp-bar2 { margin-top: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 6px; justify-content: end; }
  .lp-win .lp-h3r .lp-bar2 .lp-add { grid-column: 1 / -1; height: 50px; font-size: 16.5px; padding: 0 26px; border-radius: 11px; justify-content: center; }
  .lp-win .lp-h3r .lp-bar2 .lp-add .ms { font-size: 22px; }
  .lp-win .lp-h3r .lp-bar2 .lp-add small { display: block; }
  .lp-win .lp-h3r .lp-phonly { display: none; }
  .lp-win .lp-h3top > .lp-x { top: 16px; right: 18px; }
  .lp-win .lp-strip { padding: 0 20px 16px; }
  .lp-win .lp-sarr.prev { left: 28px; }
  .lp-win .lp-sarr.next { right: 28px; }
}
@media (max-width: 760px) {
  .lp-seal { width: 48px; height: 48px; }
  .lp-si { height: 150px; }
  .lp-si img { max-width: 280px; }
  .lp-sarr { display: none !important; }
  .panel.is-full .lp-h3top { padding-top: 22px; }
  .panel.is-full .lp-h3c::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(15, 23, 42, 0.18); z-index: 2; }
  .lp-h3c { position: relative; }
  .lp-h3top { touch-action: none; }
  .lp-h3r { grid-column: 1 / -1; }
}

/* ---------- Header v4 (owner 2026-11-15): rating tab on top, details and buttons
   left, Add to trip and the single photo right ---------- */
.lp-h4c { position: relative; display: block; padding: 0 16px 14px; }
.lp-rtab { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 0 0 10px 10px; background: var(--navy); color: #fff; font: inherit; font-size: 13px; padding: 6px 14px 7px; cursor: pointer; }
.lp-rtab b { font-family: var(--display); font-size: 16px; font-weight: 800; }
.lp-rtab .lp-stars { color: var(--pro); font-size: 15px; letter-spacing: 1px; line-height: 1; }
.lp-rtab:hover { background: #13325c; }
.lp-rtab.none { background: var(--hl-soft); color: var(--navy); }
.lp-rtab.none b { font-size: 13px; text-decoration: underline; }
.lp-h4g { display: grid; gap: 14px; margin-top: 10px; }
.lp-h4id { display: flex; gap: 14px; align-items: flex-start; }
.lp-h4t { min-width: 0; }
.lp-h4t .lp-tags { margin-bottom: 5px; gap: 6px; }
.lp-h4t .lp-tag { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; }
.lp-h4t h2 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 800; line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
.lp-h4facts { margin-top: 6px; display: flex; gap: 10px; align-items: center; }
.lp-h4facts .lp-price { padding-left: 0; border-left: none; font-size: 15px; }
.lp-h4btns { margin-top: 14px; }
.lp-h4addrow { display: flex; gap: 8px; align-items: center; }
.lp-h4add { flex: 1; }
.lp-h4add .lp-add { width: 100%; height: 48px; font-size: 16px; border-radius: 11px; justify-content: center; }
.lp-h4add .lp-add .ms { font-size: 22px; }
.lp-h4addrow .lp-x { position: static; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.lp-h4addrow .lp-x:hover { background: var(--hl-wash); }
.lp-h4r .lp-pv { margin-top: 10px; }
.lp-h4c .lp-pvmain { height: 200px; border-radius: 10px; }
.lp-h4c .lp-pvthumbs { margin-top: 6px; gap: 5px; }
.lp-h4c .lp-pvthumbs .lp-gt { width: 52px; height: 38px; border-radius: 7px; }
.lp-h4c .lp-pvarr { width: 32px; height: 32px; }
.lp-h4c .lp-gn { right: 8px; bottom: 8px; }
.lp-h4c .lp-pvmain .lp-gc { left: 8px; bottom: 8px; font-size: 11px; }
@media (min-width: 761px) {
  .lp-win .lp-h4c { padding: 0 20px 14px; }
  .lp-win .lp-h4g { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 22px; align-items: start; }
  .lp-win .lp-h4g.nogal { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .lp-win .lp-h4t h2 { font-size: 27px; }
  .lp-win .lp-h4c .lp-pvmain { height: 220px; }
  .lp-win .lp-h4btns .lp-phonly { display: none; }
}
@media (max-width: 760px) {
  .lp-h4c .lp-seal { width: 48px; height: 48px; }
  .lp-h4r { order: -1; }
  .lp-h4g { display: flex; flex-direction: column; }
  .lp-h4l { order: 2; }
  .lp-h4r { order: 1; }
  .panel.is-full .lp-h4c { padding-top: 14px; }
  .lp-h4c { touch-action: none; }
}

/* Snapshot v5 (owner 2026-11-15): amenities left, Sites and hookups table right. */
.lp-s3l .lp-h4, .lp-s3r .lp-h4 { margin: 0 0 8px; font-family: var(--display); font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); }
.lp-s3l .lp-h4::after, .lp-s3r .lp-h4::after { background: var(--pro); height: 2px; }
.lp-s3l .lp-amsec + .lp-amsec { margin-top: 14px; }
.lp-s3l .lp-amsub { margin: -3px 0 7px; font-size: 12px; color: var(--muted); }
.lp-s3l .lp-chips { gap: 5px; }
.lp-s3l .lp-chip { font-size: 12.5px; padding: 3px 8px 3px 6px; border-radius: 7px; gap: 4px; }
.lp-s3l .lp-chip .ms { font-size: 15px; }
.lp-s3l .lp-amsec.base .lp-chip { background: #fff; border: 1px solid var(--line); }
.lp-s3l .lp-amsec + .lp-flagbox, .lp-s3l > .lp-flagbox { margin-top: 14px; }
.lp-s3r .lp-kv, .lp-win .lp-s3r .lp-kv { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 10px; padding: 2px 12px; background: #fff; }
.lp-s3r .lp-kv > div { padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.lp-s3r .lp-kv > div:last-child { border-bottom: none; }
.lp-s3r .lp-kv > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
.lp-s3r .lp-area { margin-top: 12px; }

/* Header v5 (owner 2026-11-15): photo moves into the Snapshot tab (RV LIFE), so the
   header is just the name block left and Add to trip right. */
@media (min-width: 761px) {
  .lp-win .lp-h4g.nogal { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .lp-win .lp-h4btns { margin-top: 10px; }
}
.lp-s3r .lp-pv { margin-bottom: 14px; }
.lp-s3r .lp-pvmain { height: 250px; border-radius: 10px; }
.lp-s3r .lp-pvthumbs { margin-top: 6px; gap: 5px; }
.lp-s3r .lp-pvthumbs .lp-gt { width: 56px; height: 40px; border-radius: 7px; }
.lp-s3r .lp-pvarr { width: 34px; height: 34px; }
.lp-s3r .lp-gn { right: 8px; bottom: 8px; }
.lp-s3r .lp-pvmain .lp-gc { left: 8px; bottom: 8px; font-size: 11px; }
@media (max-width: 760px) { .lp-s3r .lp-pvmain { height: 200px; } }

/* Header v6 (owner 2026-11-16): one column, Add to trip under the name; Call,
   Website and Save under the tab bar. */
.lp-h6 .lp-h4id { margin-top: 10px; }
.lp-h6 .lp-h4t { padding-right: 50px; }
.lp-h6 .lp-h4add { margin-top: 10px; max-width: 280px; }
.lp-h6 .lp-h4add .lp-add { height: 44px; font-size: 15.5px; }
.lp-h6 > .lp-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.lp-h6 > .lp-x:hover { background: var(--hl-wash); }
.lp-snapbtns { margin-bottom: 14px; }
.lp-snapbtns .lp-bar2 { margin-top: 0; }
@media (min-width: 761px) { .lp-snapbtns .lp-phonly { display: none; } }

/* Header v7 (owner 2026-11-16): name block left, photo top right sized to it. */
.lp-h7 .lp-h7r { margin-top: 12px; }
.lp-h7 .lp-pvmain { height: 190px; border-radius: 10px; }
.lp-h7 .lp-pvthumbs { margin-top: 5px; gap: 4px; }
.lp-h7 .lp-pvthumbs .lp-gt { width: 46px; height: 32px; border-radius: 6px; }
.lp-h7 .lp-pvarr { width: 30px; height: 30px; }
.lp-h7 .lp-pvarr .ms { font-size: 20px; }
.lp-h7 .lp-gn { right: 7px; bottom: 7px; font-size: 11px; }
.lp-h7 .lp-pvmain .lp-gc { left: 7px; bottom: 7px; font-size: 10.5px; }
@media (min-width: 761px) {
  .lp-win .lp-h7 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px) 40px; gap: 16px; padding: 0 16px 14px 20px; align-items: start; }
  .lp-win .lp-h7.nogal { grid-template-columns: minmax(0, 1fr) 40px; }
  .lp-win .lp-h7 .lp-h4t { padding-right: 0; }
  .lp-win .lp-h7 .lp-h7r { margin-top: 14px; }
  .lp-win .lp-h7 .lp-pvmain { height: 148px; }
  .lp-win .lp-h7 > .lp-x { position: static; margin-top: 14px; }
}

/* Window header, owner 2026-11-15: one line title, one meta line, the buttons
   under Add to trip, and the photo at its own 4:3 shape with the thumbnails
   under it (no thin sliver). A tall photo sits on a blurred copy of itself. */
/* Title wraps, two lines at most (owner 2026-11-15: text never crosses the middle). */
.lp-h7 h2 { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.lp-hmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; margin-top: 4px; font-size: 14px; color: var(--muted); font-weight: 500; }
.lp-hm-dot { color: #a3afbd; }
.lp-hm-rate { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; color: var(--navy); cursor: pointer; }
.lp-hm-rate b { font-weight: 800; }
.lp-hm-rate .lp-stars { color: var(--pro); letter-spacing: 1px; }
.lp-hm-rate:hover b { text-decoration: underline; }
.lp-hm-none { color: var(--muted); }
.lp-hm-add { color: var(--hl-ink); font-weight: 700; }
.lp-h7 .lp-h4add { margin-top: 12px; }
.lp-h7 .lp-h4btns { margin-top: 8px; }
.lp-h7 .lp-pvmain { height: auto; aspect-ratio: 4 / 3; background: #0f1d2e; }
.lp-h7 .lp-pvmain::before { content: ""; position: absolute; inset: -12px; background: var(--pvbg, none) center / cover no-repeat; filter: blur(14px) brightness(0.85); }
.lp-h7 .lp-pvimg { position: relative; }
@media (min-width: 761px) {
  /* Owner 2026-11-15: the photo is set first and everything works around it.
     Text keeps the left half; the photo owns the right half at a fixed 4:3
     size (440 by 330), thumbnails under it. */
  .lp-win .lp-h7 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; }
  .lp-win .lp-h7 .lp-h7r { justify-self: end; width: 100%; max-width: 440px; }
  .lp-win .lp-h7 .lp-pvmain { height: auto; }
  .lp-win .lp-h7 .lp-pvthumbs .lp-gt { width: 58px; height: 42px; }
}

/* Rating tab off the top edge (owner 2026-11-15): the window lets it overflow,
   the inner scroll area keeps the rounded corners. */
@media (min-width: 761px) {
  .panel.lp-win { overflow: visible; }
  .panel.lp-win .lp-main { border-radius: 18px; overflow-x: hidden; }
  .panel.lp-win > .lp-rtab.out { position: absolute; left: 26px; top: -18px; z-index: 6; border-radius: 6px; padding: 9px 18px 10px; gap: 10px; font-size: 14px; box-shadow: 0 6px 16px rgba(10, 24, 40, 0.28); }
  .panel.lp-win > .lp-rtab.out b { font-size: 17px; }
  .panel.lp-win > .lp-rtab.out .lp-stars { font-size: 17px; }
  .panel.lp-win > .lp-rtab.out.none { background: var(--navy); color: #fff; }
  .panel.lp-win > .lp-rtab.out.none b { color: var(--pro); }
  .panel.lp-win.has-rtab .lp-h7 { padding-top: 30px; }
}
@media (min-width: 761px) {
  .panel.lp-win > .lp-x.out { position: absolute; top: -16px; right: -16px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(10, 24, 40, 0.3); margin: 0; }
  .panel.lp-win > .lp-x.out:hover { background: #13325c; }
  .panel.lp-win > .lp-x.out .ms { font-size: 22px; }
  .lp-win .lp-h7 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-right: 20px; }
  .lp-win .lp-h7.nogal { grid-template-columns: minmax(0, 1fr); }
}
/* Photo frame is a 3:2 rectangle (owner 2026-11-15: not a square). Wide photos
   fill it; tall ones (.tall) show whole on their blurred copy. */
.lp-h7 .lp-pvmain { aspect-ratio: 3 / 2; }
.lp-h7 .lp-pvimg img { object-fit: cover; }
.lp-h7 .lp-pvimg img.tall { object-fit: contain; }
@media (min-width: 761px) {
  .lp-win .lp-h7 .lp-h7r { max-width: 470px; }
}

/* Header buttons (owner 2026-11-15): the row on top, Add to trip under it at
   the same width. */
.lp-hbtns { display: inline-flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; max-width: 100%; }
.lp-hbtns .lp-h4btns { margin-top: 0; flex-wrap: nowrap; gap: 6px; }
.lp-hbtns .lp-h4btns .lp-ib, .lp-win .lp-hbtns .lp-h4btns .lp-ib { padding: 0 11px; gap: 5px; font-size: 13.5px; }
.lp-hbtns .lp-h4btns .lp-ib[data-a="save"] { padding: 0 11px; }
@media (max-width: 1100px) { .lp-hbtns .lp-h4btns .lp-ib[data-a="photos"] .lbl, .lp-hbtns .lp-h4btns .lp-ib[title="Weather forecast"] .lbl { display: none; } }
.lp-hbtns .lp-h4add { margin-top: 0; max-width: none; }
.lp-hbtns .lp-h4add .lp-add { width: 100%; justify-content: center; }
/* Photo grid (more than 20 photos), the app's Camper photos grid. */
.lp-pgrid { position: fixed; inset: 0; z-index: 190; background: rgba(6, 14, 26, 0.72); display: grid; place-items: center; padding: 24px; }
.lp-pgrid[hidden] { display: none; }
.lp-pgbox { background: #fff; border-radius: 16px; width: min(980px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 24, 40, 0.4); }
.lp-pghead { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lp-pghead b { font-size: 17px; color: var(--navy); font-weight: 800; }
.lp-pgx { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.lp-pggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 12px; overflow-y: auto; }
.lp-pggrid button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: #e9eef4; }
.lp-pggrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Who can stay box fills the space under the buttons (owner 2026-11-15). */
.lp-hwho:empty { display: none; }
.lp-hwho .lp-flagbox { margin-top: 12px; min-height: 0; padding: 9px 12px 10px 64px; }
.lp-hwho .lp-flagbox .fb-flag { width: 48px; }
.lp-hwho .lp-flagbox b { font-size: 12.5px; }
.lp-hwho .lp-flagbox p { font-size: 13.5px; line-height: 1.4; }
/* (Split header tried and dropped 2026-11-15: the photo stays beside the title.) */

/* Page tabs (owner 2026-11-15): folder tabs. The open tab is white and joins
   the page under it; the others sit behind it in gray, each with an icon. */
@media (min-width: 761px) {
  .lp-win .lp-jump { padding: 10px 20px 0; gap: 4px; background: #e9eef5; border-top: 1px solid var(--line); border-bottom: 1px solid #d3dbe6; align-items: flex-end; }
  .lp-win .lp-jump button { position: relative; margin-bottom: -1px; padding: 10px 20px 11px; font-size: 14.5px; font-weight: 700; color: #4b5b70; background: #dfe6ef; border: 1px solid #d3dbe6; border-bottom-color: #d3dbe6; border-radius: 10px 10px 0 0; gap: 7px; }
  .lp-win .lp-jump button:hover { background: #eef2f8; color: var(--navy); }
  .lp-win .lp-jump button .ms { font-size: 18px; }
  .lp-win .lp-jump button.on { background: #fff; color: var(--navy); border-color: #d3dbe6; border-bottom-color: #fff; z-index: 1; box-shadow: inset 0 3px 0 var(--navy); }
  .lp-win .lp-jump button.pro { background: #fbf3d2; border-color: #ecd98a; border-bottom-color: #d3dbe6; color: #6b5300; }
  .lp-win .lp-jump button.pro:hover { background: #fff6d8; }
  .lp-win .lp-jump button.pro.on { background: #fff; color: var(--navy); border-color: #ecd98a; border-bottom-color: #fff; box-shadow: inset 0 3px 0 var(--pro); }
}
/* Pro tab looks like the other tabs; only its lock is gold (owner 2026-11-15). */
@media (min-width: 761px) {
  .lp-win .lp-jump button.pro { background: #dfe6ef; border-color: #d3dbe6; color: #4b5b70; }
  .lp-win .lp-jump button.pro:hover { background: #eef2f8; color: var(--navy); }
  .lp-win .lp-jump button.pro.on { background: #fff; color: var(--navy); border-color: #d3dbe6; border-bottom-color: #fff; box-shadow: inset 0 3px 0 var(--navy); }
  .lp-win .lp-jump button.pro .ms { color: var(--pro); }
}

/* Field Report (owner 2026-11-15): two per row, the app's icons and colors
   (a 10% wash of the color behind the icon), all closed on entry. */
.lp-frgrid { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; }
.lp-frgrid .lp-dr { margin-bottom: 0; }
@media (min-width: 761px) { .lp-win .lp-frgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lp-dr.fr-booking { --fr: #1565c0; --frw: rgba(21, 101, 192, 0.10); }
.lp-dr.fr-arrival { --fr: #00838f; --frw: rgba(0, 131, 143, 0.10); }
.lp-dr.fr-firearms { --fr: #d32f2f; --frw: rgba(211, 47, 47, 0.10); }
.lp-dr.fr-recreation { --fr: #2e7d32; --frw: rgba(46, 125, 50, 0.10); }
.lp-dr.fr-pets { --fr: #6a1b9a; --frw: rgba(106, 27, 154, 0.10); }
.lp-dr.fr-notes { --fr: #1565c0; --frw: rgba(21, 101, 192, 0.10); }
.lp-frgrid .lp-dr[class*="fr-"] .lp-dic { width: 32px; height: 32px; border-radius: 8px; background: var(--frw, var(--hl-dim)); }
.lp-frgrid .lp-dr[class*="fr-"] .lp-dic .ms { color: var(--fr, var(--hl-ink)); font-size: 19px; }
.lp-frgrid .lp-dr[open] { border-color: var(--fr, rgba(var(--hl-ink-rgb), 0.45)); }

/* Cell Signal drawer (owner 2026-11-16). */
.lp-dr.fr-signal { --fr: #0277bd; --frw: rgba(2, 119, 189, 0.10); }
.lp-sigrows { display: grid; gap: 6px; margin-bottom: 8px; }
.lp-sigrow { display: grid; grid-template-columns: minmax(96px, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; }
.lp-sigrow b { color: var(--navy); font-size: 14px; }
.lp-sigrow > span { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; }
.lp-sigrow > span .ms { font-size: 16px; color: #0277bd; }
.lp-sigrow small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.lp-signal .lp-muted { color: var(--muted); font-size: 12.5px; margin: 0; }

/* Gemini review, the parts the owner kept (2026-11-16). */
.lp-amgrp + .lp-amgrp { margin-top: 10px; }
.lp-amgh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.lp-amgh small { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #6b7a8d; }
.lp-chipmore { font-size: 13px; font-weight: 700; }
.lp-amgrp .lp-chip.x { display: none; }
.lp-amgrp.open .lp-chip.x { display: inline-flex; }
.lp-kvtip { font-size: 16px; color: #8a97a8; vertical-align: -3px; cursor: help; }
.lp-tabn { margin-left: 6px; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #f3e3a3; color: #6b5300; }
.lp-full { position: absolute; top: 12px; right: 30px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; text-decoration: none; box-shadow: 0 2px 6px rgba(10, 24, 40, 0.12); }
.lp-full:hover { background: #eef2f8; }
.lp-full .ms { font-size: 19px; }
@media (max-width: 760px) { .lp-full { display: none; } }
/* Button row fits beside the photo: Call keeps its word, the rest are icons
   with their name on hover; the expand icon sits beside the corner X. */
@media (min-width: 761px) {
  .lp-hbtns .lp-h4btns .lp-ib:not([data-a="calls"]) .lbl { display: none; }
  .lp-hbtns .lp-h4btns .lp-ib:not([data-a="calls"]) { padding: 0; width: 44px; justify-content: center; }
  .lp-hbtns .lp-h4btns .lp-ib:not([data-a="calls"]) .ms { font-size: 20px; }
  .panel.lp-win > .lp-full.out { position: absolute; top: -16px; right: 32px; z-index: 6; width: 40px; height: 40px; border: 2px solid #fff; background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(10, 24, 40, 0.3); }
}
/* Less space between the top section and the tabs (owner 2026-11-16). */
@media (min-width: 761px) {
  .lp-win .lp-h7 { padding-bottom: 6px; }
  .lp-win .lp-jump { padding-top: 6px; }
}
.lp-appgate { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; font-size: 13.5px; font-weight: 700; color: var(--hl-ink); text-decoration: none; }
.lp-appgate:hover { text-decoration: underline; }
.lp-appgate .ms { font-size: 18px; }
/* Web Pro lock inside a drawer (owner 2026-11-16). */
.lp-weblock { padding: 4px 0 2px; }
.lp-weblock p { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 10px; font-size: 13.5px; color: #3d4e64; }
.lp-weblock p .ms { font-size: 17px; color: var(--pro); margin-top: 1px; }
.lp-weblock-b { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-gold.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.lp-weblock .lp-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; }
.lp-weblock .lp-link .ms { font-size: 17px; }
/* Tower estimate rows in Cell Signal (owner 2026-11-16). */
.lp-sigh { margin: 2px 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7a8d; }
.lp-towrows { display: grid; gap: 6px; margin-bottom: 6px; }
.lp-towrow { display: grid; grid-template-columns: minmax(80px, 1fr) auto 104px; align-items: center; gap: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; }
.lp-towrow b { color: var(--navy); font-size: 14px; }
.lp-bars4 { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.lp-bars4 i { width: 5px; border-radius: 1.5px; background: #d5dde8; }
.lp-bars4 i:nth-child(1) { height: 6px; } .lp-bars4 i:nth-child(2) { height: 10px; } .lp-bars4 i:nth-child(3) { height: 14px; } .lp-bars4 i:nth-child(4) { height: 18px; }
.lp-bars4 i.on { background: #0277bd; }
.lp-tier { font-weight: 700; font-size: 13.5px; color: var(--navy); text-align: right; }
.lp-tier.t-no_coverage, .lp-tier.t-none { color: #9a3b3b; }
.lp-signal .lp-sigh + .lp-sigrows { margin-top: 0; }
.lp-signal .lp-muted + .lp-sigh { margin-top: 12px; }
/* The rating tab fades out when the small header takes over on scroll
   (owner 2026-11-16: it sat on top of the small header). */
@media (min-width: 761px) {
  .panel.lp-win > .lp-rtab.out { transition: opacity 0.18s ease, transform 0.18s ease; }
  .panel.lp-win.compact > .lp-rtab.out { opacity: 0; transform: translateY(8px); pointer-events: none; }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) { .panel.lp-win > .lp-rtab.out { transition: none; } }


/* ---------- Research pane (research.js, owner 2026-11-16) ---------- */
.rpane {
  position: absolute; top: 0; bottom: 0; right: 0; width: 400px; z-index: 22; background: #fff;
  border-left: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.22s ease;
}
.rpane.collapsed { transform: translateX(100%); }
.rpane .ptab { right: 100%; left: auto; border-radius: 10px 0 0 10px; border-left: 1px solid var(--line); border-right: none; box-shadow: -2px 2px 8px rgba(15, 23, 42, 0.14); }
.rpane:not(.collapsed) .ptab .ms { transform: rotate(180deg); }
.stage.research-open .pills, .stage.research-open .pnav, .stage.research-open .scout { display: none !important; }
.stage.research-open .mapboxgl-ctrl-bottom-right { margin-right: 400px; }
.mapboxgl-ctrl-bottom-right { transition: margin 0.22s ease; }
.chipbtn.research-btn.on { background: #fff; color: var(--navy-deep); }
.chipbtn.research-btn.on .ms { color: var(--navy); }
.rs-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 4px 16px; }
.rs-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
.rs-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rs-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.rs-tabb { display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border: none; background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.rs-tabb .ms { font-size: 19px; vertical-align: 0; }
.rs-tabb.on { color: var(--navy); border-bottom-color: var(--hl); }
.rs-tabb .rs-n { font-size: 12px; font-weight: 700; background: rgba(var(--hl-rgb), 0.14); color: var(--navy); border-radius: 999px; padding: 1px 7px; }
.rs-scope { margin: 12px 16px 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 10px; padding: 3px; }
.rs-scope button { border: none; background: none; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--muted); padding: 7px 6px; border-radius: 8px; cursor: pointer; }
.rs-scope button.on { background: #fff; color: var(--navy); box-shadow: var(--soft); }
.rs-scope button:disabled { opacity: 0.5; cursor: default; }
.rs-lk { color: var(--gold-ink); font-size: 15px; vertical-align: -0.15em; }
.rs-hint { margin: 8px 16px 0; font-size: 12.5px; color: var(--muted); }
.rs-line { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 9px 16px 0; font-size: 13px; color: var(--muted); }
.rs-c { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.rs-c.on { background: rgba(var(--hl-rgb), 0.14); border-color: var(--hl); color: var(--navy); }
.rs-scroll { flex: 1; min-height: 0; overflow: auto; margin-top: 10px; border-top: 1px solid var(--line); overscroll-behavior: contain; }
.rs-fbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.rs-ft { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--navy); margin-right: 4px; }
.rs-ft .ms { font-size: 18px; vertical-align: 0; }
.rs-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 5px 3px 10px; border-radius: 999px; border: 1px solid rgba(var(--hl-rgb), 0.45); background: rgba(var(--hl-rgb), 0.14); color: var(--navy); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.rs-chip .ms { font-size: 15px; vertical-align: 0; }
.rs-clear { margin-left: 2px; border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--hl-ink); cursor: pointer; }
.rs-none { font-size: 12.5px; color: var(--muted); }
.rs-grp { padding: 12px 16px 6px; border-bottom: 1px solid var(--line); }
.rs-grp h4 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink); display: flex; justify-content: space-between; align-items: baseline; }
.rs-grp h4 small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.rs-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.rs-tile { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; font-size: 13px; color: var(--text); cursor: pointer; text-align: left; min-width: 0; }
.rs-tile .ms { color: var(--navy); font-size: 19px; vertical-align: 0; flex: none; }
.rs-tile b { margin-left: auto; font-weight: 700; font-size: 12.5px; color: var(--muted); padding-left: 4px; }
.rs-tile:hover { border-color: rgba(var(--hl-rgb), 0.6); }
.rs-tile.on { background: rgba(var(--hl-rgb), 0.14); border-color: var(--hl); color: var(--navy); }
.rs-tile.on b { color: var(--navy); }
.rs-tile .rs-lk { margin-left: 1px; }
.rs-more { border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--hl-ink); padding: 0 0 6px; cursor: pointer; }
.rs-res { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 6px; }
.rs-res b { font-family: var(--display); font-size: 17px; color: var(--navy); }
.rs-sort select { font: inherit; font-size: 13px; font-weight: 600; color: var(--hl-ink); border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; background: #fff; cursor: pointer; }
.rs-sort .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 16px; border-top: 1px solid var(--line); }
.rs-row:hover { background: #f5f8fc; }
.rs-open { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; border: none; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.rs-th { width: 64px; height: 50px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: #4a699b; color: #fff; }
.rs-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-th .ms { font-size: 24px; vertical-align: 0; }
.rs-th.l-fc { background: #1A3258; } .rs-th.l-ace { background: #C41E3A; } .rs-th.l-vso { background: #0B3D91; } .rs-th.l-base { background: #627848; }
.rs-th.l-nps { background: #2E7D32; } .rs-th.l-nf { background: #558B2F; } .rs-th.l-blm { background: #E65100; } .rs-th.l-sp { background: #1565C0; }
.rs-th.l-pv { background: #00897B; } .rs-th.l-va { background: #003F72; } .rs-th.l-ts { background: #CF1C1D; } .rs-th.l-ra { background: #005EB8; }
.rs-main { display: flex; flex-direction: column; min-width: 0; }
.rs-nm { font-weight: 700; color: var(--navy); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rs-tg { font-size: 12px; color: var(--muted); margin-top: 2px; }
.rs-st .hrate { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12.5px; }
.rs-st .hrate b { font-size: 12.5px; color: var(--text); }
.rs-st .hrate .hn, .rs-st .hrate.none { color: var(--muted); font-size: 12px; }
.rs-st .hstars { font-size: 13px; }
.rs-rt { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.rs-rt .ms { font-size: 15px; color: var(--hl-ink); vertical-align: 0; }
.rs-tag { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 5px; border-radius: 50%; background: #fff35c; color: #1e7a3c; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); vertical-align: 1px; }
.rs-add { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; }
.rs-add .ms { font-size: 20px; vertical-align: 0; }
.rs-add:hover { background: rgba(var(--hl-rgb), 0.14); }
.rs-add.in { background: var(--navy); color: #fff; cursor: default; }
.rs-empty { padding: 14px 16px; color: var(--muted); font-size: 13.5px; }
.rs-showmore { display: block; margin: 8px auto 16px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.rs-ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--hl); box-shadow: 0 0 0 6px rgba(var(--hl-rgb), 0.3); pointer-events: none; }
@media (max-width: 760px) { .rpane, .research-btn { display: none !important; } }
@media print { .rpane { display: none !important; } }
.rs-ftoggle { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; border: none; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--hl-ink); cursor: pointer; padding: 2px 0; }
.rs-ftoggle .ms { font-size: 18px; vertical-align: 0; }
.rs-fbar { border-top: 1px solid var(--line); }
.rs-th.l-on { background: #4A2C8A; }
.lp-lead.lp-callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(74, 44, 138, 0.07); border: 1px solid rgba(74, 44, 138, 0.22); font-size: 14.5px; }
.lp-lead.lp-callout .ms { color: #4A2C8A; font-size: 22px; vertical-align: 0; flex: none; }
/* Legal lines matching the app (owner 2026-11-16). */
.gate-affil { margin: 10px 0 0; font-size: 11.5px; line-height: 1.45; color: #6b7a8d; text-align: center; }
.lp-affil { flex-basis: 100%; font-size: 11.5px; color: #7a889a; margin-top: 2px; }
.print-note { display: none; }
@media print { .print-note { display: block; font-size: 10px; color: #444; margin-top: 12px; } }
/* Result rows with no photo show the layer's pin. */
.rs-th.pin { background: #eef2f8; display: grid; place-items: center; }
.rs-th.pin .rs-pin { width: auto; height: 34px; object-fit: contain; }
/* Pin head icons on the Research layer tiles (owner 2026-11-16). */
.rs-tile .rs-pinhead { width: 26px; height: 26px; flex: none; display: block; padding: 0; }
/* Pin heads stay full color on every tile (owner 2026-11-16). */
/* Trip menu (the ... button). These rules were dropped with an older menu on
   2026-11-12, leaving the items unstyled; restored (owner 2026-11-16). */
.menuwrap { position: relative; }
.menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 230px; padding: 6px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(10, 24, 40, 0.18); z-index: 40; display: grid; gap: 1px; }
.menu[hidden] { display: none; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: none; background: none; border-radius: 8px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); text-align: left; white-space: nowrap; }
.menu button:hover, .menu button:focus-visible { background: #eef2f8; }
.menu button[hidden] { display: none; }
.menu .ms { color: var(--navy); font-size: 19px; flex: none; }
.menu .danger, .menu .danger .ms { color: #b3261e; }
.menu .danger { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; padding-top: 10px; }
.rtools .menu { right: 0; left: auto; }
/* One close button: the corner X stays when the small header shows, so the
   small header's own X is hidden on the desktop window (owner 2026-11-16). */
@media (min-width: 761px) { .panel.lp-win:has(> .lp-x.out) .lp-mini-x { display: none; } }
/* Along route distance slider (owner 2026-11-16). */
.rs-slide { margin: 10px 16px 2px; }
.rs-slide label { display: block; font-size: 14px; color: #4b5b70; margin-bottom: 6px; }
.rs-slide label b { color: var(--navy); font-weight: 800; }
/* Owner 2026-11-16: gold to the knob, the light chip tint after it (the browser's dark track was too heavy). */
.rs-slide input[type=range] { --p: 0.5; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.rs-slide input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--pro) 0 calc(7px + (100% - 14px) * var(--p)), #e3eaf3 0); }
.rs-slide input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--pro) 0 calc(7px + (100% - 14px) * var(--p)), #e3eaf3 0); }
/* Knob: a small shaded navy ball with a tiny white glint (owner 2026-11-16). */
.rs-slide input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -3px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0 0.9px, rgba(255,255,255,0.5) 1.5px, rgba(255,255,255,0) 2.6px), radial-gradient(circle at 38% 34%, #2b4f80 0, var(--navy) 55%, #000f22 100%); border: none; box-shadow: 0 2px 3px rgba(15, 23, 42, 0.45); }
.rs-slide input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0 0.9px, rgba(255,255,255,0.5) 1.5px, rgba(255,255,255,0) 2.6px), radial-gradient(circle at 38% 34%, #2b4f80 0, var(--navy) 55%, #000f22 100%); border: none; box-shadow: 0 2px 3px rgba(15, 23, 42, 0.45); }
.rs-slide input[type=range]:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; border-radius: 999px; }
.rs-slide-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: #8a97a8; margin-top: 2px; }
/* Fuel figures are a door to the fuel price (owner 2026-11-16): pencil on hover only. */
[data-fuelpx] { cursor: pointer; }
.fuel[data-fuelpx] { display: inline-flex; align-items: center; gap: 2px; border-radius: 5px; white-space: nowrap; flex: none; }
.tl-drive b, .tl-drive .hrs, .tl-drive .long { white-space: nowrap; }
.fuel[data-fuelpx]:hover { text-decoration: underline dotted; text-underline-offset: 3px; }
.fuel-ed { font-size: 13px !important; opacity: 0; transition: opacity 0.15s; color: inherit !important; }
[data-fuelpx]:hover .fuel-ed, [data-fuelpx]:focus-visible .fuel-ed { opacity: 0.75; }
#rigSheet .fl.flash .inp { box-shadow: 0 0 0 3px rgba(var(--hl-rgb), 0.35); transition: box-shadow 0.3s; }
/* Add your own stop: a bar pinned to the bottom of the trip list (owner 2026-11-16). */
.tl-add { position: sticky; bottom: -14px; z-index: 3; margin: 12px -14px -14px -14px; padding: 10px 14px 12px; border: none; border-top: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: 0 -6px 14px rgba(15, 23, 42, 0.06); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.tl-add .tl-addt { font-size: 13.5px; }
.tl-addb button { padding: 7px 11px; font-size: 13px; }
/* Owner 2026-12-02: Address, GPS or link removed (the search bar does that); Drop a pin and Return to start side by side. */
.tl-add .tl-addb { width: 100%; flex-wrap: nowrap; }
.tl-add .tl-addb button { flex: 1; justify-content: center; }
.search.glow { animation: focusGlowBar 1.4s ease-out 2; }
@keyframes focusGlowBar { 0% { box-shadow: 0 0 0 0 rgba(230, 184, 0, 0.85); } 100% { box-shadow: 0 0 0 12px rgba(230, 184, 0, 0); } }
.tl-add .tl-addt .ms { color: #d32f2f; } /* owner 2026-11-16: red pin on Add your own stop */
/* Along route pills use the same pin heads as the Discovery tiles (owner 2026-11-16). */
.achip .ac-head { width: 22px; height: 22px; flex: none; border-radius: 50%; margin-left: -4px; }
/* The hover card never takes the mouse from the pin under it (owner 2026-11-16). */
.mapboxgl-popup.hovpop { pointer-events: none; }
/* Cell Signal headings match the At the camp / On base headings: navy with a gold line (owner 2026-11-16). */
.lp-sigh { display: flex; align-items: center; gap: 6px; margin: 4px 0 10px; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.lp-sigh::after { content: ""; flex: 1; height: 2px; background: #e6b800; }
.lp-signal .lp-muted + .lp-sigh, .lp-signal .lp-towrows + .lp-sigh { margin-top: 18px; }

/* ---------- Pro tab, rebuilt 2026-11-16 ---------- */
.pg-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); margin-bottom: 8px; }
.pg-tabs { display: flex; gap: 4px; padding: 6px 6px 0; background: #f3f6fa; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pg-tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid transparent; border-bottom: none; border-radius: 10px 10px 0 0; background: none; color: #475569; font: 600 14.5px var(--font); cursor: pointer; white-space: nowrap; }
.pg-tab .ms { font-size: 19px; }
.pg-tab:hover { color: var(--navy); }
.pg-tab.on { background: #fff; border-color: var(--line); color: var(--navy); margin-bottom: -1px; box-shadow: inset 0 3px 0 #e6b800; }
.pg-pane { display: grid; grid-template-columns: minmax(220px, 38%) 1fr; gap: 20px; padding: 18px; }
.pg-pane[hidden] { display: none; }
.pg-pane.nosat { grid-template-columns: 1fr; }
.pg-sat { position: relative; display: block; align-self: start; border-radius: 12px; overflow: hidden; aspect-ratio: 7 / 5; background: #dfe6ee; }
.pg-sat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 38px; color: #d32f2f; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); pointer-events: none; }
.pg-satcap { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 20, 45, 0.78); color: #fff; font-size: 12.5px; font-weight: 700; }
.pg-satcap .ms { font-size: 15px; }
.pg-sat:hover .pg-satcap { background: var(--navy); }
.pg-name { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.pg-name b { font-family: var(--display); font-size: 21px; color: var(--navy); line-height: 1.2; }
.pg-name small { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #a07c00; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: #eef2f7; color: #1e293b; font-size: 13px; font-weight: 600; }
.pg-chip .ms { font-size: 17px; color: var(--navy); }
.pg-chip.hrs { background: #e7f5ec; color: #14532d; }
.pg-chip.hrs .ms { color: #15803d; }
.pg-chip.warn { background: #fff4d6; color: #7a4b00; }
.pg-chip.warn .ms { color: #b45309; }
.pg-alert, .pg-note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; }
.pg-alert { background: #fff7e0; border: 1px solid #f2d27a; }
.pg-alert .ms { color: #b45309; font-size: 21px; }
.pg-note { background: #eef4fb; border: 1px solid #d3e1f2; }
.pg-note .ms { color: var(--navy); font-size: 20px; }
.pg-alert p, .pg-note p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #1f2937; }
.pg-blk { margin: 0 0 10px; }
.pg-lbl { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #64748b; }
.pg-blk p { margin: 0; font-size: 15px; line-height: 1.55; color: #1f2937; }
.ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.ps-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ps-card.big { grid-column: 1 / -1; border-color: #f0d76a; background: linear-gradient(180deg, #fffbea, #fff 60%); box-shadow: inset 4px 0 0 #e6b800; }
.ps-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ps-h b { font-family: var(--display); font-size: 16.5px; color: var(--navy); }
.ps-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #eaf0f8; flex: none; }
.ps-ic .ms { font-size: 20px; color: var(--navy); }
.ps-card.big .ps-ic { background: #fdeaa6; }
.ps-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #1f2937; }
.pm-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-tile { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); text-decoration: none; }
.pm-tile > .ms:first-child { font-size: 22px; }
.pm-tile b { font-size: 14.5px; }
.pm-tile .pm-go { font-size: 16px; color: #94a3b8; }
.pm-tile:hover { border-color: var(--hl-ink); }
@media (max-width: 720px) {
  .pg-pane { grid-template-columns: 1fr; padding: 14px; }
  .ps-grid { grid-template-columns: 1fr; }
}

/* Photos ease in a little on hover (owner 2026-11-16, from the Gemini mock).
   A plain pointer says click opens it; no magnifying glass. */
.lp-pvimg img, .lp-gmain img, .lp-gi img, .lp-si img, .lp-pggrid button img { transition: transform 0.45s ease; }
.lp-pvimg:hover img, .lp-gmain:hover img, .lp-gi:hover img, .lp-si:hover img, .lp-pggrid button:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .lp-pvimg img, .lp-gmain img, .lp-gi img, .lp-si img, .lp-pggrid button img { transition: none; }
  .lp-pvimg:hover img, .lp-gmain:hover img, .lp-gi:hover img, .lp-si:hover img, .lp-pggrid button:hover img { transform: none; }
}

/* Quick card: the photo and the name open the full listing (owner 2026-11-16). */
.qhero.qopen { cursor: pointer; overflow: hidden; }
.qhero.qopen img { transition: transform 0.45s ease; }
.qhero.qopen:hover img, .qhero.qopen:focus-visible img { transform: scale(1.05); }
.qhero.qopen:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.qname.qopen { cursor: pointer; }
.qname.qopen:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .qhero.qopen img { transition: none; } .qhero.qopen:hover img { transform: none; } }

/* Expand: the camp window fills the map area (owner 2026-11-16). */
/* Owner 2026-11-24: expand opens the camp full screen, like its own page,
   over the map and the trip pane. The top bar (search, Trip, Pro) stays.
   The rating tab and the corner buttons move inside the edges. */
@media (min-width: 761px) {
  .panel.lp-win.lp-max,
  .stage.trip-open .panel.lp-win.lp-max {
    position: fixed; --win-w: 100vw; width: 100vw; height: calc(100vh - var(--topbar)); max-height: none;
    left: 0; right: 0; top: var(--topbar); bottom: 0; transform: none; border-radius: 0; z-index: 29; box-shadow: none;
  }
  .panel.lp-win.lp-max .lp-main { border-radius: 0; height: 100%; }
  .panel.lp-win.lp-max > .lp-rtab.out { top: 14px; left: 26px; }
  .panel.lp-win.lp-max.has-rtab .lp-h7 { padding-top: 62px; }
  .panel.lp-win.lp-max > .lp-x.out { top: 14px; right: 18px; }
  .panel.lp-win.lp-max > .lp-full.out { top: 14px; right: 70px; }
  .panel.lp-win.lp-max .lp-h7 { max-width: 1280px; margin-left: auto; margin-right: auto; }
}

/* Military rate banner and See more (owner, 2026-11-17,
   promo/web_planner_v2/military_rate_box/mock.html). Who can stay keeps the
   flag corner box; parks with a military discount get the shield banner. */
.lp-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.lp-two .lp-clamp { -webkit-line-clamp: 2; line-clamp: 2; }
.lp-clampbox.open .lp-clamp { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.lp-seemore { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; padding: 0; border: none; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--hl-ink); cursor: pointer; }
.lp-seemore[hidden] { display: none; }
.lp-seemore .ms { font-size: 18px; transition: transform .15s; }
.lp-clampbox.open .lp-seemore .ms { transform: rotate(180deg); }
.lp-seemore:hover .lbl { text-decoration: underline; }
.lp-flagbox p .lp-seemore { display: flex; }
.lp-flagbox p .lp-seemore[hidden] { display: none; }
.lp-rate { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.lp-rbar { position: relative; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px 0 56px; background: var(--navy); }
.lp-rshield { position: absolute; left: 10px; top: 5px; width: 36px; height: 42px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.lp-rbar b { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; padding-left: 12px; border-left: 2px solid rgba(255, 255, 255, 0.55); }
.lp-rstripe { flex: 1; position: relative; height: 6px; border-top: 2px solid #fff; border-bottom: 2px solid #b22234; }
.lp-rstripe::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #b22234; }
.lp-rbody { padding: 11px 14px 12px; font-size: 13.5px; line-height: 1.42; color: var(--text); }
.lp-rbody strong { color: var(--navy); font-weight: 700; }
.lp-roff { display: inline-block; margin: 0 0 6px; padding: 3px 9px; border-radius: 999px; background: #eef1f5; color: #5b6b80; font-size: 12px; font-weight: 700; line-height: 1.35; }
.lp-rate.off .lp-rbar { background: #5b6b80; }
.lp-rate.off .lp-rbar b { border-left-color: rgba(255, 255, 255, 0.4); }
.lp-rate.off .lp-rshield { filter: grayscale(1) opacity(0.85); }
.lp-two > * + * { margin-top: 8px; }
.lp-two .lp-flagbox { margin-top: 12px; }
.lp-two .lp-rate { margin-top: 8px; }

/* Free accounts: military rates in view (the app's MilitaryRateTeaserPill, 2026-11-17). */
.rate-teaser { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 13px; cursor: pointer; box-shadow: 0 2px 10px rgba(11, 31, 58, 0.16); }
.rate-teaser[hidden] { display: none; }
.rate-teaser .ms { font-size: 18px; }
.rate-teaser .rt-pro { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 11px; }

/* Field Report grid: every closed card is the same height; the preview is one
   line with an ellipsis, the full text shows when opened (owner, 2026-11-19). */
.lp-frgrid { align-items: start; }
.lp-frgrid .lp-dr:not([open]) .lp-dt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-frgrid .lp-dr > summary { min-height: 72px; }

/* Header glance box for camps without Who can stay (owner, 2026-11-19). */
.lp-glance { display: grid; gap: 8px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lp-glance .lp-ln { font-size: 14px; }
.lp-glance .lp-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Safety notices in the header (owner, 2026-11-19): HQ camp alert and the
   warning blocks from a camp's notes, same as the app. */
.lp-notice { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid #F0D9A8; border-left: 4px solid #C77700; background: #FFF8EC; }
.lp-notice > .ms { color: #A86200; font-size: 20px; }
.lp-notice b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #7A4A00; }
.lp-notice p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--text); }
.lp-notice.alert { border-color: #F2C4C4; border-left-color: #B22234; background: #FFF4F4; }
.lp-notice.alert > .ms, .lp-notice.alert b { color: #9B1C2C; }

/* Pro tab: View the campground from above (owner, 2026-11-19) */
.pm-tile.pm-above { width: 100%; margin-bottom: 14px; border: 1.5px solid #EED48A; background: #FFFBEF; cursor: pointer; font: inherit; text-align: left; }

/* FamCamps on this base (owner, 2026-11-19) */
.lp-fclist { display: grid; gap: 6px; margin-bottom: 14px; }
.lp-fcrow { display: grid; grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--text); }
.lp-fcrow:hover { border-color: var(--navy); }
.lp-fcrow > .ms { color: var(--muted); font-size: 20px; }
.lp-fcrow b { font-weight: 700; color: var(--navy); }

/* Review cards: rank, park reply, Helpful (owner, 2026-11-19) */
img.lp-av { object-fit: cover; }
.lp-rank { display: inline-block; margin-left: 6px; font: 700 10.5px var(--font); background: #1C3D6B; color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.lp-preply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid #1C3D6B; background: #F5F8FC; border-radius: 0 10px 10px 0; }
.lp-preply b { display: block; font-size: 12.5px; color: #1C3D6B; }
.lp-preply p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.5; }
.lp-helpful { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 12.5px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.lp-helpful .ms { font-size: 16px; }
.lp-helpful:hover { color: var(--navy); border-color: var(--navy); }

/* Military rate: how to get it (owner 2026-11-19, the app's tag) */
.lp-rhow { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 6px; padding: 2px 9px; border: 1px solid #B22234; border-radius: 999px; color: #9B1C2C; font-size: 12px; font-weight: 700; }
.lp-rhow .ms { font-size: 15px; }

/* Camper photos in Reviews, public (owner 2026-11-19) */
.lp-cph { margin: 4px 0 16px; }
.lp-cphh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.lp-cphh b { font-size: 15px; color: var(--navy); }
.lp-cphh > span { color: var(--muted); font-size: 13px; }
.lp-cphh .lp-link { margin-left: auto; }
.lp-cphrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.lp-cphrow button, .lp-rph button { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #EEF2F6; aspect-ratio: 1; }
.lp-cphrow img, .lp-rph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-rph { display: grid; grid-template-columns: repeat(4, 72px); gap: 6px; margin: 8px 0 4px; }
.lp-rph span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 22, 43, .55); color: #fff; font-weight: 700; }

/* Save as my default confirms on the button itself (owner, 2026-11-21) */
.defbtn.saved{background:#e8f5ee;border-color:#2e8b57;color:#1d6b42}
.defbtn.saved .ms{color:#2e8b57;font-variation-settings:'FILL' 1}

/* Review pass (owner, 2026-11-22: "fix it all") */
/* Camp window buttons carry their name under the icon (55+ audience) */
@media (min-width: 761px) {
  .lp-hbtns .lp-h4btns { gap: 5px; align-items: center; }
  .lp-hbtns .lp-h4btns .lp-ib:not([data-a="calls"]) { flex-direction: column; width: auto; min-width: 56px; height: auto; padding: 7px 6px 6px; gap: 3px; }
  .lp-hbtns .lp-h4btns .lp-ib:not([data-a="calls"]) .lbl,
  .lp-hbtns .lp-h4btns .lp-ib[data-a="save"] .lbl,
  .lp-hbtns .lp-h4btns .lp-ib[data-a="photos"] .lbl,
  .lp-hbtns .lp-h4btns .lp-ib[title="Weather forecast"] .lbl { display: block; font-size: 11px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
  .lp-hbtns .lp-h4btns .lp-ib[data-a="calls"] { height: auto; align-self: stretch; }
}
/* One or two camp amenities sit on one quiet line, no big heading */
.lp-amsec.few { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-amsec.few .lp-amfew { font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6778); }
/* Top bar: the map style button says what it does */
#styleBtn .stl { margin-left: 2px; }
@media (max-width: 1180px) { #styleBtn .stl { display: none; } }
/* Phones: the Plan a trip card no longer sits on the zoom buttons and scale */
@media (max-width: 760px) {
  .stage:has(#planCard:not([hidden])) .mapboxgl-ctrl-bottom-right,
  .stage:has(#planCard:not([hidden])) .mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-scale { display: none; }
}
/* Trip tools that need Pro say so */
.rtool.locked .prow { font: 800 10.5px/1 Inter, system-ui, sans-serif; color: var(--pro-ink, #6b5300); background: var(--pro, #f0c14b); border-radius: 999px; padding: 3px 6px; margin-left: 4px; }
.rtool.locked:not(.icon)::after { display: none; }

/* FamCamp with no picked photo: ask for one where the photo would be (owner, 2026-11-22) */
.lp-askph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; height: 100%; border: 2px dashed #b9c4d3; border-radius: 16px; background: #f7f9fc; color: #4b5a6e; text-decoration: none; text-align: center; padding: 20px; }
.lp-askph:hover { border-color: var(--navy, #0c2340); background: #f1f5fa; }
.lp-askph .ms { font-size: 34px; color: var(--navy, #0c2340); }
.lp-askph b { font-size: 17px; color: var(--navy, #0c2340); }
.lp-askph span:last-child { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .lp-askph { min-height: 110px; margin-top: 10px; } }

/* The Layers window opens in front of the filter pills, not behind them (owner, 2026-11-22) */
@media (min-width: 761px) { .drawer.layers { z-index: 30; } }

/* "Use the app" screen for phones (owner, 2026-11-22) */
#phoneGate { z-index: 95; background: #0c2340; backdrop-filter: none; }
#phoneGate .gbtn.navy { text-decoration: none; margin-top: 4px; }
.gate-link { display: block; margin: 14px auto 0; border: 0; background: none; padding: 6px 8px; font: 600 14px/1.2 Inter, system-ui, sans-serif; color: #475569; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Phone: the open sheet's header scrolls with the finger; only the grab handle drags the sheet (owner, 2026-11-22) */
@media (max-width: 760px) {
  .panel .lp-main .lp-shead, .panel .lp-main .lp-head, .panel .lp-main .lp-h2c,
  .panel .lp-main .lp-h3top, .panel .lp-main .lp-h4c, .panel .lp-main .lp-hero { touch-action: pan-y; }
  .panel .lp-grab { padding-top: 10px; padding-bottom: 10px; }
}

/* Add to desktop popup (install_prompt.js) */
.instpop { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 330px; padding: 20px 20px 14px; background: #fff; border-radius: 18px; border: 1px solid #dfe4ec; box-shadow: 0 18px 44px rgba(12,35,64,.25); text-align: center; animation: ea-lift .4s cubic-bezier(.2,.9,.3,1) both; }
.instpop img { border-radius: 13px; display: block; margin: 0 auto 10px; }
.instpop h3 { margin: 0 0 6px; font: 800 19px/1.2 var(--display); color: var(--navy); }
.instpop p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: #475569; }
.instpop-row { display: flex; gap: 8px; }
.instpop button { cursor: pointer; font: 700 14.5px var(--display); border-radius: 999px; }
.instpop-add { flex: 1.4; padding: 11px 0; background: var(--navy); color: #fff; border: 0; }
.instpop-later { flex: 1; padding: 11px 0; background: #fff; color: var(--navy); border: 1px solid #cfd6e0; }
.instpop-never { margin-top: 10px; background: none; border: 0; color: #64748b; font-weight: 600; font-size: 13.5px; text-decoration: underline; padding: 6px; }

/* See all N photos (owner, 2026-11-24): on the photo, replaces the Photos button. */
.panel .lp-pvmain .lp-seeall { position: absolute; z-index: 3; right: 10px; top: 10px; left: auto; bottom: auto; width: auto; height: auto; min-height: 0; transform: none; line-height: 1.2; box-shadow: none; display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 700; color: #fff; background: rgba(10, 24, 40, 0.66); border: 0; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.panel .lp-pvmain .lp-seeall:hover { background: rgba(10, 24, 40, 0.85); }
.panel .lp-pvmain .lp-seeall .ms { font-size: 15px; }

/* Campspot commission note under Book (2026-11-24) */
.lp-aff{margin:6px 2px 0;font-size:11.5px;line-height:1.35;color:#6b7a8c}

/* Military rates in Layers (owner, 2026-11-25): locked first row for free
   accounts, $ marks switch and 15%+ / 20%+ choice under Private parks for Pro. */
.rate-lock { list-style: none; margin: 0 0 6px; }
.rate-lock button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem; border: 1.5px solid #e9d48a; background: #fffbea; border-radius: 12px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.rate-lock button:hover { background: #fff6d6; }
.rate-lock img { display: block; height: 30px; width: auto; }
.rate-lock b { font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 6px; }
.rate-lock b i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; background: var(--gold); color: var(--navy); border-radius: 5px; padding: 1px 6px; }
.rate-lock .rl-t > span { display: block; font-size: 0.78rem; color: var(--faint); margin-top: 2px; }
.rate-lock .ms { font-size: 18px; color: var(--faint); }
.rate-pro { list-style: none; margin: 2px 0 8px 38px; padding: 0.55rem 0.65rem 0.65rem; border-radius: 12px; background: #f4f8f8; border: 1px solid #d8e6e5; }
.rate-pro .rp-sw { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.6rem; cursor: pointer; }
.rate-pro .rp-t b { font-weight: 600; font-size: 0.9rem; display: block; }
.rate-pro .rp-t > span { display: block; font-size: 0.76rem; color: var(--faint); margin-top: 2px; line-height: 1.3; }
.rate-pro input { accent-color: #00897B; width: 16px; height: 16px; }
.rate-pro .rp-seg { display: flex; margin-top: 0.55rem; border: 1.5px solid #00897B; border-radius: 9px; overflow: hidden; }
.rate-pro .rp-seg button { flex: 1; border: 0; border-left: 1.5px solid #00897B; background: #fff; color: #00897B; font: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.2rem; cursor: pointer; }
.rate-pro .rp-seg button:first-child { border-left: 0; }
.rate-pro .rp-seg button.sel { background: #00897B; color: #fff; }

/* Trip import (2026-11-28) */
.tl-note{display:flex;gap:8px;align-items:flex-start;margin:8px 12px;padding:8px 10px;border-radius:10px;background:#eef3f9;color:#24364d;font-size:13px;line-height:1.4}
.tl-note .ms{font-size:18px;color:#0c2340}
#trip.dropfile{outline:3px dashed #c9a24a;outline-offset:-6px}

/* Import a trip: the review window (2026-11-28). */
.imp-file { margin: 0 0 4px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-sum { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; }
.imp-list { list-style: none; margin: 0 0 10px; padding: 0; max-height: min(44vh, 400px); overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.imp-row { display: grid; grid-template-columns: 26px 22px 1fr; gap: 6px; align-items: start; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.3; }
.imp-row:last-child { border-bottom: none; }
.imp-row .imp-n { color: var(--muted); font-weight: 500; font-size: 12.5px; text-align: right; padding-top: 2px; }
.imp-row .ms { font-size: 19px; color: var(--muted); }
.imp-row.imp-ok .ms { color: #1f7a4d; }
.imp-t small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.35; }
.imp-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.imp-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.imp-check small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.imp-list + .lib-note, .imp-check + .lib-note { margin-top: 0; }
#impLoad { margin-top: 12px; }
.imp-cancel { display: block; width: 100%; margin-top: 8px; height: 38px; border: none; background: none; color: var(--muted); font: 600 14px var(--font); cursor: pointer; border-radius: 10px; }
.imp-cancel:hover { background: var(--hl-wash); }
body.dropfile #map { outline: 3px dashed #c9a24a; outline-offset: -6px; }

/* Harvest Hosts card while Overnight is on (owner, 2026-12-01). */
.hhcard { position: fixed; right: 20px; bottom: 24px; z-index: 25; width: 340px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(12,35,64,.28); font-size: 14px; color: #13233a; }
.hhcard[hidden] { display: none; }
.hhcard .hh-ph { display: block; height: 126px; overflow: hidden; }
/* Only the photo band of the square banner: below its 20% badge, above its own text. */
.hhcard .hh-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.hhcard .hh-x { position: absolute; right: 10px; top: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #0C2340; font-size: 20px; line-height: 1; cursor: pointer; }
.hhcard .hh-b { padding: 12px 16px 14px; }
.hhcard h3 { margin: 0 0 4px; font-size: 16.5px; line-height: 1.25; color: #0C2340; }
.hhcard .hh-deal { margin: 0 0 6px; color: #B22234; font-weight: 700; font-size: 13.5px; }
.hhcard p { margin: 0 0 10px; line-height: 1.45; font-size: 13px; }
.hhcard .hh-btn { display: block; text-align: center; background: #0C2340; color: #fff; text-decoration: none; font-weight: 700; padding: 11px; border-radius: 10px; }
.hhcard .hh-btn:hover { background: #15355E; }
.hhcard .hh-fine { margin: 8px 0 0; font-size: 10.5px; color: #7c8899; }

/* Owner 2026-12-02 (from his mockup): the start reads green, the add button is the
   big navy one, the estimate says what it is. */
.tl-day.start { color: var(--green); }
.tl-day.start::before { background: var(--green); box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(46, 158, 107, 0.35); }
.tl-card.start { background: #f2fbf6; border-color: rgba(46, 158, 107, 0.35); }
.tl-card.start.sel { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 158, 107, 0.25), var(--soft); }
.tl-add .tl-addb button.tl-addp { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.tl-add .tl-addb button.tl-addp:hover { background: var(--acc-hover); border-color: var(--acc-hover); }
.tl-add .tl-addb button.tl-addp .ms { color: #fff; }
.tl-add .tl-addb button.tl-addp .ms.pin { color: #f04444; } /* owner 2026-12-03: a little red pin */
/* A thin white edge and a white center, so the red does not go pink on the navy (owner 2026-12-04). */
.tl-add .tl-addb button.tl-addp .ms.pin { position: relative; display: inline-block; isolation: isolate; text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 0.7px 0.7px #fff, -0.7px 0.7px #fff, 0.7px -0.7px #fff, -0.7px -0.7px #fff; }
.tl-add .tl-addb button.tl-addp .ms.pin::before { content: ""; position: absolute; left: 50%; top: 39%; width: 34%; height: 34%; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); z-index: -1; }
.rsum small.estl { display: inline-flex; align-items: center; gap: 2px; text-decoration: underline dotted; text-underline-offset: 2px; }
.rsum small.estl .ms { font-size: 12px; color: var(--muted); }
/* Owner 2026-12-02, mockup B: Import, GPS and Save in the title row at one size; the
   Your trip tab on the panel edge closes it on a computer, so the X shows on phones only. */
.rtitle h2 { white-space: nowrap; }
.rtool.rimp { margin-left: auto; height: 32px; flex: none; }
.rimp:not([hidden]) + .rgps { margin-left: 0; }
.rimp:not([hidden]) ~ .rsave { margin-left: 0; }
.rtool.rimp, .rtool.rgps, .rtool.rsave { padding: 0 8px; gap: 4px; }
.rtitle { min-width: 0; }
@media (min-width: 761px) {
  .rtitle h2 { font-size: 22px; }
  .rtitle { gap: 6px; }
  .rclose { display: none; }
}
/* Stats in a box, no icons, the total in green. */
.rsum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; padding: 10px 0; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.rsum .sx { display: block; padding: 0 4px; text-align: center; border-left: 1px solid var(--line); }
.rsum .sx:first-child { padding-left: 4px; }
.rsum b { font-size: 15px; font-weight: 800; }
.rsum small { margin-top: 2px; font-size: 11.5px; }
.rsum .sx.gold b { color: var(--green); }
.rsum .sx.gold.lockd b { color: var(--navy); }
.rsum small.estl { justify-content: center; }
/* − and + for nights on every stop card. */
.tl-st { display: flex; align-items: center; gap: 2px; flex: none; background: #f1f4f8; border-radius: 10px; padding: 3px; cursor: default; }
.tl-st .pm { width: 26px; height: 30px; border: none; border-radius: 7px; background: #fff; color: var(--navy); font: 700 16px/1 Inter, system-ui, sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); cursor: pointer; padding: 0; }
.tl-st .pm:hover:not(:disabled) { background: rgba(var(--hl-rgb), 0.14); }
.tl-st .pm:disabled { background: transparent; color: #c3cad4; box-shadow: none; cursor: default; }
.tl-st .v { min-width: 40px; text-align: center; line-height: 1.05; }
.tl-st .v b { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
.tl-st .v small { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tl-st .v .by { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 0 2px; }
/* Route choice under the totals (owner, 2026-12-03): one row, roads named, No highways a choice. */
.rhead .ralts { display: flex; gap: 3px; margin-top: 8px; padding: 3px; border: none; border-radius: 10px; background: #f1f4f8; flex-wrap: nowrap; }
.rhead .ralts[hidden] { display: none; }
.rhead .ralts button { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 4px; border: none; border-radius: 7px; background: transparent; color: var(--navy); cursor: pointer; line-height: 1.15; }
.rhead .ralts button b { font-size: 12.5px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhead .ralts button small { font-size: 10.5px; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhead .ralts button:hover:not(.on) { background: rgba(255, 255, 255, 0.7); }
.rhead .ralts button.on { background: var(--navy); color: #fff; box-shadow: 0 1px 3px rgba(10, 24, 40, 0.25); }
.rhead .ralts button.on small { color: #cfd8e3; }
/* Road cautions on the route (owner, 2026-12-03). */
.rhaz { position: relative; width: 100%; margin-top: 8px; border: 1px solid #f5c26b; border-radius: 10px; background: #fff8eb; color: #7a4b00; overflow: hidden; }
.rhaz .rhaz-main { padding-right: 34px; }
.rhaz-x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a5a12; cursor: pointer; }
.rhaz-x .ms { font-size: 18px; }
.rhaz-x:hover { background: rgba(0, 0, 0, 0.07); }
.rhaz.ok .rhaz-x { color: #3d5470; }
.rhaz[hidden] { display: none; }
.rhaz-main { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 8px 7px 10px; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
button.rhaz-main { cursor: pointer; }
button.rhaz-main:hover { background: #fff1d6; }
.rhaz-main > .ms { color: #f59e0b; font-size: 20px; flex: none; }
.rhaz-main > .ms.go { color: #b7791f; margin-left: auto; font-size: 20px; }
.rhaz b { display: block; font-size: 13px; font-weight: 700; color: #6b3f00; }
.rhaz small { display: block; font-size: 11.5px; color: #8a5a12; line-height: 1.3; }
.rhaz-rig { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 7px 10px; border: 0; border-top: 1px solid #f5c26b; background: #fff1d6; color: #6b3f00; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.rhaz-rig .ms { font-size: 18px; }
.rhaz-rig:hover { background: #ffe6b8; }
.rhaz-rig.busy { cursor: default; color: #7a4b00; font-weight: 600; }
.rhaz-rig.busy:hover { background: #fff1d6; }
.rhaz-rig.busy .lp-spin { width: 15px; height: 15px; border-color: #f5c26b; border-top-color: #7a4b00; }
.rhaz.ok .rhaz-rig.busy { background: #e3eefb; border-top-color: #b9d3f0; color: var(--navy); }
.rhaz.ok .rhaz-rig.busy .lp-spin { border-color: #b9d3f0; border-top-color: var(--navy); }
.rhaz.ok { border-color: #b9d3f0; background: #f1f7fe; }
.rhaz.ok .rhaz-main > .ms { color: var(--navy); }
.rhaz.ok b { color: var(--navy); }
.rhaz.ok small { color: #3d5470; }
.tl-drive .haz { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 1px 6px 1px 3px; border-radius: 999px; background: #fff1d6; color: #7a4b00; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tl-drive .haz .ms { font-size: 14px; color: #f59e0b; }
.tl-drive .haz { cursor: pointer; }
.tl-drive .haz:hover { filter: brightness(0.96); text-decoration: underline; }
.tl-drive .haz.ok { background: #e3eefb; color: var(--navy); }
.tl-drive .haz.ok .ms { color: var(--navy); }
.hazpop .mapboxgl-popup-content { padding: 12px 14px; border-radius: 12px; font-family: var(--font); }
.hazpop .hz-l { display: block; color: #7a4b00; font-size: 14px; }
.hazpop .hz-t { font-weight: 600; color: var(--navy); margin-top: 2px; font-size: 13px; }
.hazpop p { margin: 6px 0; font-size: 12.5px; color: var(--text); line-height: 1.4; }
.hazpop small { display: block; font-size: 11.5px; color: var(--muted); }

/* Drive rows never run wider than the panel (owner 2026-12-03: no sideways
   scrollbar, ever). On a tight row the drive time gives way first, then the tags
   trim with an ellipsis; miles and fuel always stay whole. */
.tl-drive { min-width: 0; overflow: hidden; white-space: nowrap; }
.tl-drive > b, .tl-drive > .ms, .tl-drive .fuel { flex: none; }
.tl-drive .hrs { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 0 3 auto; }
.tl-drive .haz, .tl-drive .long { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.tl-drive .hz-w { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
