/* Wayback UAT: Stitch "Personal Travel Journal" redesign layered over the live styles.
   Loaded after wayback-app.css on every page. Dark, teal and rose, Newsreader headlines, Inter body.
   Remove the <link> to this file (or delete it) to get the current design back. */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600&display=swap");

/* Theme palettes. Dark is the Stitch original; light is the same design on a soft warm-white base. */
:root {
  --u-scheme: dark;
  --u-bg: #111418; --u-card: #191c20; --u-card-hi: #1d2024; --u-well: #0b0e12; --u-chip-on: #272a2e;
  --u-ink: #e1e2e8; --u-ink2: #bacac5; --u-ink3: #859490; --u-ink3b: #99a8a3; --u-line2: #3c4a46;
  --u-acc: #57f1db; --u-acc2: #67f0dc; --u-acc-hover: #2dd4bf; --u-acc-ink: #003731;
  --u-rose: #ffb2b9; --u-amber: #f0c36b; --u-purple: #b7a6ff;
  --u-land: #232a2e; --u-ocean2: #080a0d; --u-grat: rgba(255, 255, 255, .05);
  --u-teal: #57f1db; --u-coral: #ffb2b9; --u-gold: #f0c36b;
  --u-card-shadow: none; --u-card-edge: transparent;
}
:root[data-theme="light"] {
  --u-scheme: light;
  --u-bg: #faf8f5; --u-card: #ffffff; --u-card-hi: #fffdfb; --u-well: #f3eee7; --u-chip-on: #e6ddd0;
  --u-ink: #1c1917; --u-ink2: #44403c; --u-ink3: #6b645e; --u-ink3b: #6b645e; --u-line2: #d6d3d1;
  --u-acc: #0f766e; --u-acc2: #0f766e; --u-acc-hover: #115e59; --u-acc-ink: #ffffff;
  --u-rose: #be123c; --u-amber: #b45309; --u-purple: #5b3fa6;
  --u-land: #efe9df; --u-ocean2: #dbe7ea; --u-grat: rgba(28, 25, 23, .06);
  --u-teal: #0f766e; --u-coral: #be123c; --u-gold: #b45309;
  --u-card-shadow: 0 4px 20px -2px rgba(217, 119, 6, .08), 0 2px 6px -1px rgba(28, 25, 23, .05);
  --u-card-edge: rgba(28, 25, 23, .06);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --u-scheme: light;
    --u-bg: #faf8f5; --u-card: #ffffff; --u-card-hi: #fffdfb; --u-well: #f3eee7; --u-chip-on: #e6ddd0;
    --u-ink: #1c1917; --u-ink2: #44403c; --u-ink3: #6b645e; --u-ink3b: #6b645e; --u-line2: #d6d3d1;
    --u-acc: #0f766e; --u-acc2: #0f766e; --u-acc-hover: #115e59; --u-acc-ink: #ffffff;
    --u-rose: #be123c; --u-amber: #b45309; --u-purple: #5b3fa6;
    --u-land: #efe9df; --u-ocean2: #dbe7ea; --u-grat: rgba(28, 25, 23, .06);
    --u-teal: #0f766e; --u-coral: #be123c; --u-gold: #b45309;
    --u-card-shadow: 0 4px 20px -2px rgba(217, 119, 6, .08), 0 2px 6px -1px rgba(28, 25, 23, .05);
    --u-card-edge: rgba(28, 25, 23, .06);
  }
}

:root, :root[data-theme="light"], :root[data-theme="dark"], :root:not([data-theme="light"]) {
  color-scheme: var(--u-scheme);
  --bg: var(--u-bg);
  --surface: var(--u-card);
  --surface-2: var(--u-well);
  --ink: var(--u-ink);
  --ink-2: var(--u-ink2);
  --ink-3: var(--u-ink3b);
  --line: var(--u-chip-on);
  --line-2: var(--u-line2);
  --brand: var(--u-ink);
  --accent: var(--u-acc);
  --accent-ink: var(--u-acc-ink);
  --accent-soft: var(--u-chip-on);
  --hot: var(--u-rose);

  --c-location: var(--u-acc);
  --c-email: var(--u-rose);
  --c-photos: var(--u-amber);
  --c-manual: var(--u-purple);

  --map-ocean: var(--u-well);
  --map-ocean-2: var(--u-ocean2);
  --map-land: var(--u-land);
  --map-border: var(--u-bg);
  --map-grat: var(--u-grat);
  --map-label: var(--u-ink);
  --map-halo: rgba(17, 20, 24, .88);
  --map-home: var(--u-acc);
  --map-select: #ffffff;

  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1280px;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;

  --vx-head: var(--u-card-hi);
  --vx-ink: var(--u-ink);
  --vx-ac: var(--u-acc);
  --vx-chip: var(--u-well);
}

body { background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.6; letter-spacing: -.006em; }
h1, h2, h3, .serif, .tb-title, .vx-name { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }

/* ---------- Header: logo, journal tag, pill navigation, account ---------- */
.nav { background: color-mix(in srgb, var(--u-bg) 90%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--u-line2) 30%, transparent); }
.nav .wrap { height: 64px; gap: 20px; max-width: var(--maxw); }
.logo-word { font-family: var(--font-ui); font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.logo-word .w1 { color: var(--accent); }
.logo-word .w2 { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--hot); }
.logo-word small { display: none; }
.nav-title { border-left-color: color-mix(in srgb, var(--u-line2) 50%, transparent); }
.nav-title h1 { font-family: var(--font-display); font-style: italic; font-size: 14px; letter-spacing: .02em; color: var(--ink-2); }
.subnav { background: color-mix(in srgb, var(--u-well) 80%, transparent); border: 1px solid color-mix(in srgb, var(--u-line2) 30%, transparent); border-radius: 999px; padding: 4px; gap: 2px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.subnav a { font-size: 13px; font-weight: 500; letter-spacing: .02em; padding: 6px 16px; color: var(--ink-2); }
.subnav a:hover { background: transparent; color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--u-chip-on); color: var(--accent); }
.avatar { background: var(--accent); color: var(--accent-ink); }

/* ---------- Buttons, search and filters ---------- */
.btn { border-radius: 8px; font-weight: 500; letter-spacing: .02em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { background: var(--u-acc-hover); }
.btn-ghost { background: var(--u-well); border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--u-card-hi); color: var(--ink); }
.manage-bar { background: var(--u-card); border-radius: 12px; border: 0; padding: 16px; gap: 12px; }
.search, input[type="search"], input[type="text"], input[type="date"], select, textarea { background: var(--u-well); border: 1px solid transparent; color: var(--ink); border-radius: 8px; }
.search:focus, input:focus, select:focus, textarea:focus { background: var(--u-card-hi); border-color: color-mix(in srgb, var(--u-acc) 40%, transparent); outline: none; }
.manage-count { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.seg { background: var(--u-well); border-radius: 999px; padding: 3px; }
.seg button[aria-pressed="true"], .seg .on { background: var(--u-chip-on); color: var(--accent); }

/* ---------- Trip and visit cards ---------- */
.stay, .tb, .card, .vx, .panel { background: var(--u-card); border: 0; border-radius: 12px; box-shadow: none; }
.stay:hover, .vx:hover { background: var(--u-card-hi); }
.vx-top { background: transparent; padding: 18px 20px 6px; }
.vx-name { font-size: 26px; line-height: 1.15; font-weight: 500; }
.vx-dt { color: var(--ink-3); }
.vx-tag, .vx-src { background: var(--u-well); border-radius: 999px; color: var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.vx-chip { background: var(--u-well); border: 0; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.vx-body { padding: 8px 20px 0; }
.vx-k, .tb-meta { color: var(--ink-3); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vx-stats span { background: var(--u-well); border: 0; color: var(--ink-2); }
.vx-ft { padding: 12px 20px 18px; }
.vx-btn { background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.vx-btn .vx-i { color: var(--accent-ink); }
.tb-title { font-size: 28px; font-weight: 500; }
.tb-desc, .tb-meta b { color: var(--ink-2); }
.tb-visits .stay { background: var(--u-well); }
.ph-strip img { border-radius: 8px; }
.ph-strip a:hover img { transform: scale(1.04); transition: transform .3s; }

/* ---------- Page chrome ---------- */
.sub-main h2 { font-size: 20px; font-style: italic; letter-spacing: .02em; }
footer, .footer { background: var(--u-well); border-top: 1px solid color-mix(in srgb, var(--u-line2) 20%, transparent); color: var(--ink-3); }
a { text-decoration-color: color-mix(in srgb, var(--u-acc) 40%, transparent); }
::selection { background: color-mix(in srgb, var(--u-acc) 30%, transparent); }
:focus-visible { outline-color: var(--accent); }

/* ---------- Mobile: pills scroll sideways instead of wrapping ---------- */
@media (max-width: 760px) {
  .subnav { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .subnav::-webkit-scrollbar { display: none; }
  .vx-name, .tb-title { font-size: 22px; }
}

/* A clear marker so nobody mistakes UAT for the live site */
body::after { content: attr(data-ver); position: fixed; right: 10px; bottom: 10px; z-index: 99; padding: 3px 9px; border-radius: 999px; background: var(--u-well); color: var(--ink-3); font: 600 10px/1.4 var(--font-ui); letter-spacing: .06em; opacity: .75; pointer-events: none; }
body:not([data-ver])::after { content: none; }
body[data-env="uat"]::after { background: var(--u-rose); color: #3b0010; font-weight: 700; font-size: 11px; letter-spacing: .1em; opacity: .9; }

/* =====================================================================
   Stitch card layout (v2). Specificity is raised with "html body" because
   wayback-app.css sets per-kind colours with :root:not([data-theme]) selectors.
   ===================================================================== */
html body .vcx, html body .vcx.k-visit, html body .vcx.k-stay, html body .vcx.k-meal, html body .vcx.k-activity {
  --vx-head: transparent; --vx-ink: var(--u-ink); --vx-line: transparent; --vx-ac: var(--u-acc); --vx-chip: var(--u-well);
  position: relative; background: var(--u-card); border: 0; border-radius: 12px; overflow: hidden; padding: 0;
  transition: background .2s;
}
html body .vcx.k-stay { --vx-ac: var(--u-acc2); }
html body .vcx.k-meal { --vx-ac: var(--u-rose); }
html body .vcx.k-activity { --vx-ac: var(--u-amber); }
html body .vcx:hover { background: var(--u-card-hi); }
html body .vcx .vx-top { background: transparent; border-left: 0; padding: 22px 24px 4px; gap: 14px; flex-wrap: wrap; align-items: baseline; }
html body .vcx .vx-top img.flag { width: 32px; height: 22px; border-radius: 3px; align-self: center; }
html body .vcx .vx-name { flex: 0 1 auto; font-size: 26px; line-height: 1.15; font-weight: 500; color: var(--u-ink); }
html body .vcx .vx-dt { margin-left: 0; text-align: left; font-size: 13px; color: var(--u-ink3); display: inline-flex; gap: 6px; align-items: baseline; }
html body .vcx .vx-dt b { display: inline; font-weight: 400; font-size: 13px; color: var(--u-ink3); }
html body .vcx .vx-dt b::after { content: " \2022 "; }
html body .vcx .vx-tag { background: var(--u-well); color: var(--u-ink2); border: 0; }
html body .vcx .vx-body { padding: 10px 24px 0; display: flex; flex-direction: column; }

/* where it came from: a pill at the top right of the card */
html body .vcx .vx-src { position: absolute; top: 22px; right: 24px; margin: 0; padding: 4px 11px; background: var(--u-well); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--u-ink2); }
html body .vcx .vx-src .dot { width: 7px; height: 7px; }

/* cities as quiet chips */
html body .vcx .vx-chips { order: 1; gap: 6px; margin-bottom: 14px; }
html body .vcx .vx-chip { background: var(--u-well); border: 0; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--u-ink2); }

/* WITH / TRIP TYPE / MEALS / STAYS as one four-column panel */
html body .vcx .vx-rows { order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 24px; margin: 0 0 16px; padding: 16px 18px; background: var(--u-well); border-radius: 10px; }
html body .vcx .vx-r { flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--u-ink); }
html body .vcx .vx-r > .vx-i { display: none; }
html body .vcx .vx-k { display: block; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink3); }
html body .vcx .vx-r a { color: var(--u-ink); text-decoration-color: color-mix(in srgb, var(--u-acc) 35%, transparent); padding: 0; }
html body .vcx .vx-r a:hover { color: var(--u-acc); }
html body .vcx .vx-r em { color: var(--u-ink3); }

/* photographs: a clean four-up strip, caption link underneath on the right */
html body .vcx .cx-pp { order: 3; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; display: flex; flex-direction: column-reverse; gap: 8px; }
html body .vcx .cx-pph { justify-content: flex-end; margin: 0; padding: 0; text-transform: none; letter-spacing: 0; color: var(--u-acc); }
html body .vcx .cx-pph .vx-i { display: none; }
html body .vcx .cx-pph a { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--u-acc); text-decoration: none; }
html body .vcx .cx-pph a::after { content: " \2192"; }
html body .vcx .ph-strip, html body .vcx .cx-pp .ph-strip { margin: 0; gap: 8px; }
html body .vcx .ph-strip .pt { aspect-ratio: 4 / 3; border: 0; border-radius: 8px; background: var(--u-well); }
html body .vcx .ph-strip .pt img { transition: transform .3s; }
html body .vcx .ph-strip:hover .pt img { filter: none; transform: scale(1.04); }
html body .vcx .vp-more { background: color-mix(in srgb, var(--u-well) 60%, transparent); font-family: var(--font-display); font-weight: 500; }

/* numbers row and footer */
html body .vcx .vx-stats { order: 4; margin-top: 14px; }
html body .vcx .vx-stats span, html body .vcx .vx-stats span.pu { background: var(--u-well); border: 0; color: var(--u-ink2); }
html body .vcx .vx-stats .vx-i, html body .vcx .vx-stats span.pu .vx-i { color: var(--u-ink3); }
html body .vcx .vx-ft { padding: 14px 24px 20px; }
html body .vcx .vx-add { color: var(--u-acc); }
html body .vcx .vx-btn { background: transparent; color: var(--u-acc); border: 1px solid color-mix(in srgb, var(--u-acc) 35%, transparent); padding: 6px 14px; }
html body .vcx .vx-btn .vx-i { color: var(--u-acc); }
html body .vcx .vx-btn:hover { background: color-mix(in srgb, var(--u-acc) 10%, transparent); filter: none; }
html body .vcx .cx-detail { background: var(--u-well); }

/* ---------- Multi-visit trips ---------- */
html body .trip-block { background: var(--u-card); border: 0; border-radius: 12px; padding: 24px; }
html body .trip-block:hover { background: var(--u-card-hi); }
html body .tb-top { gap: 12px; }
html body .kind { background: var(--u-well); color: var(--u-ink2); border: 0; font-size: 10.5px; letter-spacing: .08em; }
html body .kind-trip { background: color-mix(in srgb, var(--u-acc) 14%, transparent); color: var(--u-acc); }
html body .kind-cat { background: color-mix(in srgb, var(--u-rose) 12%, transparent); color: var(--u-rose); border: 0; }
html body .tb-title { font-size: 28px; font-weight: 500; }
html body .tb-meta { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; color: var(--u-ink3); }
html body .tb-meta b { color: var(--u-ink2); font-weight: 500; }
html body .stay-cities .pchip { background: var(--u-well); border: 0; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--u-ink2); }
html body .stay-meta { color: var(--u-ink2); }
html body .tb-head .ph-strip { margin: 14px 0 6px; gap: 8px; }
html body .tb-head .ph-strip .pt { border: 0; border-radius: 8px; }
html body .tb-visits { border-left-color: color-mix(in srgb, var(--u-line2) 60%, transparent); }
html body .tb-visits .stay::before { border-top-color: color-mix(in srgb, var(--u-line2) 60%, transparent); }
html body .tb-visits .vcx { background: var(--u-well); }
html body .tb-visits .vcx .vx-rows { background: var(--u-bg); }

/* ---------- Year headings: italic serif, small caps count ---------- */
html body .manage-list .year { font: italic 400 22px/1.2 var(--font-display); letter-spacing: .03em; color: var(--u-ink); margin: 28px 0 4px 2px; padding-bottom: 6px; }
html body main.sub-main.wide .manage-list, html body .manage-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* ---------- Page title row ---------- */
html body .sub-main > .manage-bar { margin-bottom: 22px; }
html body .yrail .yr span { color: var(--u-ink3); }
html body .yrail .yr .on, html body .yrail .on { color: var(--u-acc); }

@media (max-width: 760px) {
  html body .vcx .vx-top { padding: 18px 16px 4px; }
  html body .vcx .vx-name, html body .tb-title { font-size: 22px; }
  html body .vcx .vx-src { position: static; align-self: flex-start; margin: 4px 0 10px; }
  html body .vcx .vx-body { padding: 8px 16px 0; }
  html body .vcx .vx-rows { grid-template-columns: 1fr 1fr; padding: 14px; gap: 14px; }
  html body .vcx .vx-ft { padding: 12px 16px 16px; }
  html body .trip-block { padding: 18px 16px; }
}

/* ---------- Big page heading (wayback-uat.js) ---------- */
.uat-hero { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 12px 0 22px; }
.uat-hero h1 { font: 400 clamp(2.25rem, 5vw, 3.5rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--u-ink); }
.uat-count { font-size: 15px; color: var(--u-ink3); }
.manage-bar .manage-count { display: none; }
body:has(.uat-hero) .nav-title { display: none; }

/* Buttons on stay, meal and activity cards: wayback-app.css fills them solid (.vcx.k-stay .vx-btn), so match that specificity */
html body .vcx.vcx .vx-btn, html body .vcx.vcx.k-stay .vx-btn, html body .vcx.vcx.k-meal .vx-btn, html body .vcx.vcx.k-activity .vx-btn, html body .vcx.vcx.k-visit .vx-btn {
  background: transparent; color: var(--vx-ac); border: 1px solid color-mix(in srgb, var(--vx-ac) 40%, transparent);
}
html body .vcx.vcx .vx-btn .vx-i { color: var(--vx-ac); }
html body .vcx.vcx .vx-btn:hover { background: color-mix(in srgb, var(--vx-ac) 12%, transparent); filter: none; }

/* =====================================================================
   Colour identity per card (Stitch light system, used in both themes):
   a coloured left edge, a softly tinted info panel, tinted chips and badges.
   wayback-uat.js sets data-hue to teal, coral or gold on every card.
   ===================================================================== */
html body .vcx, html body .trip-block { --hue: var(--u-teal); }
html body .vcx[data-hue="teal"], html body .trip-block[data-hue="teal"] { --hue: var(--u-teal); }
html body .vcx[data-hue="coral"], html body .trip-block[data-hue="coral"] { --hue: var(--u-coral); }
html body .vcx[data-hue="gold"], html body .trip-block[data-hue="gold"] { --hue: var(--u-gold); }

html body .vcx, html body .trip-block {
  border-left: 5px solid var(--hue); box-shadow: var(--u-card-shadow), 0 0 0 1px var(--u-card-edge);
}
html body .vcx .vx-rows { background: color-mix(in srgb, var(--hue) 8%, var(--u-well)); }
html body .vcx .vx-k { color: var(--hue); }
html body .vcx .vx-chip, html body .stay-cities .pchip { background: color-mix(in srgb, var(--hue) 12%, transparent); color: color-mix(in srgb, var(--hue) 80%, var(--u-ink)); }
html body .vcx .cx-pph a, html body .vcx .vx-add, html body .vcx.vcx .vx-btn { color: var(--hue); }
html body .vcx.vcx .vx-btn { border-color: color-mix(in srgb, var(--hue) 40%, transparent); }
html body .vcx.vcx .vx-btn .vx-i { color: var(--hue); }
html body .vcx.vcx .vx-btn:hover { background: color-mix(in srgb, var(--hue) 12%, transparent); }
html body .vcx .vx-stats span { background: color-mix(in srgb, var(--hue) 8%, var(--u-well)); }
html body .vcx .vx-stats .vx-i { color: var(--hue); }
html body .vcx .vx-r a:hover { color: var(--hue); }

/* the source badge takes its own colour: Location teal, Email coral, Manual amber, Photos violet */
html body .vcx .vx-src { background: color-mix(in srgb, var(--u-teal) 14%, transparent); color: color-mix(in srgb, var(--u-teal) 80%, var(--u-ink)); }
html body .vcx .vx-src:has(.dot.email) { background: color-mix(in srgb, var(--u-coral) 14%, transparent); color: color-mix(in srgb, var(--u-coral) 80%, var(--u-ink)); }
html body .vcx .vx-src:has(.dot.manual) { background: color-mix(in srgb, var(--u-gold) 16%, transparent); color: color-mix(in srgb, var(--u-gold) 85%, var(--u-ink)); }
html body .vcx .vx-src:has(.dot.photos) { background: color-mix(in srgb, var(--u-purple) 14%, transparent); color: color-mix(in srgb, var(--u-purple) 85%, var(--u-ink)); }

/* trip blocks: the Trip badge and title pick up the hue */
html body .kind-trip { background: color-mix(in srgb, var(--hue) 14%, transparent); color: color-mix(in srgb, var(--hue) 85%, var(--u-ink)); }
html body .tb-link:hover { color: var(--hue); }
html body .tb-visits .vcx { box-shadow: none; }

/* page: big italic year headings with a hairline, warm shadows */
html body .manage-list .year { font: italic 300 clamp(2.25rem, 4vw, 3rem)/1.1 var(--font-display); letter-spacing: -.02em; padding-bottom: 10px; margin-top: 34px; border-bottom: 1px solid var(--u-card-edge, transparent); }
html body .manage-bar { box-shadow: var(--u-card-shadow); }
html body .btn-primary { box-shadow: var(--u-card-shadow); }


/* --- fixes: win over the per-kind border:0 rule, and tint panels from a clean base --- */
:root { --u-panel-base: var(--u-well); }
:root[data-theme="light"] { --u-panel-base: #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-panel-base: #ffffff; } }
html body .vcx.vcx, html body .vcx.vcx.k-visit, html body .vcx.vcx.k-stay, html body .vcx.vcx.k-meal, html body .vcx.vcx.k-activity, html body .trip-block.trip-block {
  border-left: 5px solid var(--hue);
}
html body .vcx .vx-rows { background: color-mix(in srgb, var(--hue) 7%, var(--u-panel-base)); }
html body .vcx .vx-stats span { background: color-mix(in srgb, var(--hue) 7%, var(--u-panel-base)); }
html body .vcx .vx-top { padding-left: 20px; }
html body .tb-visits .vcx.vcx { border-left-width: 4px; }

/* every accent on a card follows its hue */
html body .vcx.vcx, html body .vcx.vcx.k-visit, html body .vcx.vcx.k-stay, html body .vcx.vcx.k-meal, html body .vcx.vcx.k-activity { --vx-ac: var(--hue); }
html body .vcx .cx-pph { color: var(--hue); }

/* source pill: pinned top-right only on visit cards (they have room); in flow on stay, meal and activity cards */
html body .vcx.k-stay .vx-src, html body .vcx.k-meal .vx-src, html body .vcx.k-activity .vx-src { position: static; align-self: flex-start; margin: 2px 0 10px; display: inline-flex; }

/* explicit dark mode: wayback-app.css colours each kind with :root[data-theme="dark"] .vcx.k-* (4 classes), so match with 5 */
html body .vcx.vcx.vcx.vcx.vcx { --vx-head: transparent; --vx-ink: var(--u-ink); --vx-line: transparent; --vx-chip: var(--u-well); --vx-ac: var(--hue); }
html body .vcx.vcx.vcx .vx-top { background: transparent; }
html body .vcx.vcx.vcx .cx-pp { background: transparent; border: 0; border-radius: 0; }
html body .vcx.vcx.vcx .cx-pph, html body .vcx.vcx.vcx .cx-pph a, html body .vcx.vcx.vcx .cx-pph .vx-i { color: var(--hue); }
html body .vcx.vcx.vcx .vx-tag { background: var(--u-well); color: var(--u-ink2); }
html body .vcx.vcx.vcx .vx-stats span, html body .vcx.vcx.vcx .vx-stats span.pu { background: color-mix(in srgb, var(--hue) 7%, var(--u-panel-base)); border: 0; color: var(--u-ink2); }
html body .vcx.vcx.vcx .vx-stats span.pu .vx-i { color: var(--hue); }

/* =====================================================================
   Phone header: row 1 = logo, page name, avatar. Row 2 = one flat, sideways-scrolling tab track
   (no pills inside pills). Not sticky on a phone, so the page keeps its room.
   ===================================================================== */
@media (max-width: 760px) {
  html body .nav { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--u-bg); border-bottom: 0; }
  html body .nav .wrap { height: auto; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px 6px; }
  html body .nav .wrap .logo { order: 1; }
  html body .nav .wrap .nav-title { order: 2; display: block; flex: 1 1 auto; min-width: 0; margin: 0; padding-left: 12px; }
  html body .nav .wrap .nav-title h1 { font-size: 15px; }
  html body .nav .wrap .userbar { order: 3; margin-left: auto; }
  html body .nav .wrap .userbar .nav-share { display: none; }
  html body .nav .wrap .subnav {
    order: 4; flex: 0 0 100%; width: 100%; margin: 4px 0 0; padding: 4px; gap: 2px;
    display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    background: color-mix(in srgb, var(--u-ink) 6%, var(--u-bg)); border: 0; border-radius: 999px; box-shadow: none;
    -webkit-mask-image: none; mask-image: none;
  }
  html body .nav .wrap .subnav::-webkit-scrollbar { display: none; }
  html body .nav .wrap .subnav a {
    flex: none; white-space: nowrap; padding: 8px 16px; font-size: 14px; font-weight: 500;
    background: transparent; border: 0; box-shadow: none; color: var(--u-ink2);
  }
  html body .nav .wrap .subnav a[aria-current="page"] { background: var(--u-card); color: var(--u-acc); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
  html body .nav .wrap .subnav .m-only { display: inline-flex; }
}

/* =====================================================================
   Year line (phone): never takes page width. Hidden at rest. While you scroll it is just one small
   pill with the current year, riding the right edge like a fast-scroll handle. Touch and drag that
   edge and the full list of years opens, with the big year bubble. It fades out about a second later.
   ===================================================================== */
@media (max-width: 760px) {
  html body:has(.yrail) main.sub-main { padding-right: 20px; }          /* the page keeps its full width */
  html body .yrail { width: 22px; right: 0; padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; transition: opacity .25s ease; }
  html body .yrail:hover, html body .yrail.show { width: 22px; }
  html body .yrail.drag { width: 64px; }

  /* scrolling: one pill with the current year, nothing else */
  html body .yrail:not(.drag) .yr span { visibility: hidden !important; }
  html body .yrail:not(.drag) .yr span.on {
    visibility: visible !important; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .01em;
    background: var(--u-card); color: var(--u-acc); text-shadow: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18), 0 0 0 1px var(--u-card-edge, transparent);
  }
  html body .yrail:not(.drag) .yr { justify-content: flex-end; padding-right: 8px; }

  /* dragging: the whole list on a soft panel, labels thinned to fit, current one highlighted */
  html body .yrail.drag { background: color-mix(in srgb, var(--u-card) 92%, transparent); border-radius: 16px 0 0 16px; box-shadow: -6px 0 22px rgba(0, 0, 0, .16); }
  html body .yrail.drag .yr span { color: var(--u-ink3); font-size: 11px; text-shadow: none; }
  html body .yrail.drag .yr span.on { color: var(--u-acc); font-size: 13px; font-weight: 800; }
  html body .ytip { background: var(--u-acc); color: var(--u-acc-ink); font-family: var(--font-display); font-size: 22px; font-weight: 500; padding: 9px 18px; }
}
@media (prefers-reduced-motion: reduce) { html body .yrail { transition: none; } }

/* year index while dragging (from the Stitch study): tabular numerals, a tinted chip on the current year, a bubble that says how much is in that year */
@media (max-width: 760px) {
  html body .yrail.drag .yr span { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
  html body .yrail.drag .yr span.on { background: color-mix(in srgb, var(--u-acc) 14%, transparent); padding: 3px 9px; border-radius: 999px; }
  html body .ytip { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
  html body .ytip[data-sub]:not([data-sub=""])::after { content: attr(data-sub); margin-top: 3px; font: 600 10px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
}

/* =====================================================================
   One design for every list page (Trips, Stays, Meals, Activities)
   - each section has its own colour (--page): Trips teal, Stays sky blue, Meals coral, Activities amber
   - buttons, active chips, checkboxes, stat numbers and card edges all follow it
   - "By year" is always the first grouping
   - on a phone the controls shrink to a few slim rows so the first card is on screen
   ===================================================================== */
:root { --u-sky: #7dd3fc; }
:root[data-theme="light"] { --u-sky: #0369a1; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-sky: #0369a1; } }

html body { --page: var(--u-acc); }
html body[data-page="teal"] { --page: var(--u-teal); }
html body[data-page="sky"] { --page: var(--u-sky); }
html body[data-page="coral"] { --page: var(--u-coral); }
html body[data-page="gold"] { --page: var(--u-gold); }

html body .vcx[data-hue="sky"], html body .trip-block[data-hue="sky"] { --hue: var(--u-sky); }

/* every checkbox and radio uses the page colour (the With-photos box was the browser's default blue) */
html body input[type="checkbox"], html body input[type="radio"], html body progress { accent-color: var(--page); }

/* primary actions, active chips and the active tab take the page colour */
html body .btn-primary { background: var(--page); color: var(--u-acc-ink); border-color: transparent; }
html body .btn-primary:hover { background: color-mix(in srgb, var(--page) 86%, var(--u-ink)); }
html body .atype[aria-pressed="true"] { background: var(--page) !important; border-color: transparent !important; color: var(--u-acc-ink) !important; }
html body .atype[aria-pressed="true"] b, html body .atype[aria-pressed="true"] span { color: var(--u-acc-ink) !important; }
html body .atype { background: var(--u-card); border-color: var(--u-card-edge, var(--line)); }
html body .seg button[aria-pressed="true"] { background: var(--u-card); color: var(--page); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
html body .subnav a[aria-current="page"] { color: var(--page); }
html body[data-page] .stat b { color: var(--page); }
html body .vcx .vx-r a:hover, html body .manage-list .year { text-decoration-color: color-mix(in srgb, var(--page) 40%, transparent); }
html body .ph-filter, html body .us-toggle { color: var(--u-ink2); }

/* "By year" is always the first grouping */
html body .seg button[data-v="year"] { order: -1; }
html body .seg { display: inline-flex; }

/* ---------------------------- phone: compact controls ---------------------------- */
@media (max-width: 760px) {
  html body main.sub-main { padding-top: 6px; }

  /* stats: one slim, sideways-scrolling strip */
  html body .rwrap { margin: 0; }
  html body[data-page] .stats, html body[data-page] #astats, html body[data-page] #rstats {
    display: flex; flex-wrap: nowrap; gap: 8px; margin: 6px 0 10px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none;
  }
  html body[data-page] .stats::-webkit-scrollbar { display: none; }
  html body[data-page] .stat { flex: 1 0 auto; min-width: 92px; padding: 7px 12px; border-radius: 10px; }
  html body[data-page] .stat b { font-size: 20px; line-height: 1.1; }
  html body[data-page] .stat span { margin: 1px 0 0; min-height: 0; font-size: 11.5px; line-height: 1.2; }
  html body[data-page] .stat .bar { display: none; }

  /* category chips (Activities): one slim row */
  html body .atypes { margin: 0 0 8px; gap: 6px; }
  html body .atype { min-height: 34px; padding: 0 12px; font-size: 13px; gap: 6px; }

  /* search card: search on top, then small toggles, then the buttons side by side */
  html body .manage-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; margin: 0 0 8px; border-radius: 12px; }
  html body .manage-bar .searchrow { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
  html body .manage-bar .search { flex: 1 1 100%; height: 40px; padding: 0 12px; font-size: 14px; }
  html body .manage-bar [data-areas], html body .manage-bar .ph-filter { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; min-height: 28px; }
  html body .manage-bar [data-areas] label, html body .manage-bar [data-areas] span { font-size: 13px; }
  html body .manage-bar input[type="checkbox"] { width: 16px; height: 16px; }
  html body .manage-bar .manage-count { display: none; }
  html body .manage-bar .btn { flex: 1 1 0; min-height: 38px; padding: 0 12px; font-size: 14px; justify-content: center; text-align: center; }

  /* grouping tabs, then the filters in a three-column grid, then fold links */
  html body .rfilters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
  html body .rfilters .seg { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  html body .rfilters .seg::-webkit-scrollbar { display: none; }
  html body .rfilters .seg button { flex: none; padding: 6px 14px; min-height: 32px; font-size: 13.5px; }
  html body .rfilters .input { width: 100%; height: 38px; padding: 0 8px; font-size: 13px; text-overflow: ellipsis; }
  html body .rfilters .rfold { grid-column: 1 / -1; margin: 0; justify-content: flex-end; gap: 4px; }
  html body .rfilters .rfold .btn { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
}


/* phone: win over the older, more specific stat and fold rules */
@media (max-width: 760px) {
  html body[data-page] .stats .stat { padding: 6px 12px; min-width: 88px; }
  html body[data-page] .stats .stat b { font-size: 20px; line-height: 1.1; }
  html body[data-page] .stats .stat span { margin: 1px 0 0 !important; min-height: 0 !important; font-size: 11.5px; line-height: 1.2; }
  html body .rfilters .rfold .btn, html body .rfilters .rfold button { flex: 0 0 auto; width: auto; }
}

html body[data-page] .stats .stat b, html body[data-page] #astats .stat b, html body[data-page] #rstats .stat b { color: var(--page); }

/* phone: search, then one row of toggles (Countries, States, With photos), then one row of buttons */
@media (max-width: 760px) {
  html body .manage-bar .searchrow { display: contents; }
  html body .manage-bar .search { flex: 1 1 100%; order: 1; }
  html body .manage-bar [data-areas] { order: 2; }
  html body .manage-bar .ph-filter { order: 3; margin-left: 4px; }
  html body .manage-bar .manage-count { order: 4; }
  html body .manage-bar .btn, html body .manage-bar button.btn { order: 5; flex: 1 1 30%; min-width: 0; white-space: nowrap; }
  html body .manage-bar #rAdd, html body .manage-bar #aAdd, html body .manage-bar .btn-primary { flex-grow: 1.4; }
}

/* ---- from Stitch's compact list proposal ---- */
/* the active section tab is filled with the section colour, on every screen size */
html body .nav .wrap .subnav a[aria-current="page"], html body .subnav a[aria-current="page"] {
  background: var(--page); color: var(--u-acc-ink); font-weight: 600; box-shadow: none;
}
/* the selected grouping tab is a soft tint of the section colour */
html body .seg button[aria-pressed="true"] { background: color-mix(in srgb, var(--page) 15%, var(--u-card)); color: var(--page); box-shadow: none; }

/* phone: stats become one slim text line: "56 Stays · 52 Places · 160 Nights" */
@media (max-width: 760px) {
  html body[data-page] .stats, html body[data-page] #astats, html body[data-page] #rstats { gap: 0; margin: 4px 2px 10px; align-items: baseline; }
  html body[data-page] .stats .stat { flex: 0 0 auto; min-width: 0; display: inline-flex; flex-direction: row; align-items: baseline; gap: 5px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  html body[data-page] .stats .stat + .stat::before { content: "\00b7"; margin: 0 9px; color: var(--u-ink3); font-weight: 700; }
  html body[data-page] .stats .stat b, html body[data-page] #astats .stat b, html body[data-page] #rstats .stat b { font-size: 16px; line-height: 1.2; }
  html body[data-page] .stats .stat span { margin: 0 !important; font-size: 13px; color: var(--u-ink3); }
}

/* phone fixes: Stays and Meals lay their search card out as a grid, so force the same flex rows everywhere */
@media (max-width: 760px) {
  html body .manage-bar.manage-bar.manage-bar { display: flex; flex-wrap: wrap; grid-template-columns: none; }

  /* stats as inline text so every number and label shares one baseline */
  html body[data-page] .stats.stats, html body[data-page] #astats.stats, html body[data-page] #rstats.stats { display: block; white-space: nowrap; overflow-x: auto; margin: 4px 2px 10px; }
  html body[data-page] .stats .stat { display: inline !important; padding: 0; }
  html body[data-page] .stats .stat b, html body[data-page] #astats .stat b, html body[data-page] #rstats .stat b { display: inline; font-size: 16px; }
  html body[data-page] .stats .stat span { display: inline !important; margin-left: 5px !important; font-size: 13px; }
  html body[data-page] .stats .stat + .stat::before { content: "\00b7"; margin: 0 8px; }
}

/* phone: buttons always start on their own row, below the toggles */
@media (max-width: 760px) {
  html body .manage-bar.manage-bar.manage-bar::before { content: ""; order: 4; flex: 0 0 100%; height: 0; }
}
@media (max-width: 760px) { html body .manage-bar.manage-bar.manage-bar::before { margin-top: -8px; } }
@media (max-width: 760px) { html body[data-page] .stats.stats, html body[data-page] #astats.stats, html body[data-page] #rstats.stats { white-space: normal; overflow: visible; } }
@media (max-width: 760px) {
  html body[data-page] .stats.stats, html body[data-page] #astats.stats, html body[data-page] #rstats.stats { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  html body[data-page] .stats .stat { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; min-width: 0 !important; }
}
html body #aAdd.btn-primary, html body #aAdd.btn.btn-primary { background: var(--page) !important; color: var(--u-acc-ink) !important; border-color: transparent !important; }

/* visit cards nested inside a trip block are narrow: keep the source pill in the flow so it never covers the date */
html body .tb-visits .vcx .vx-src { position: static; align-self: flex-start; margin: 2px 0 10px; display: inline-flex; }

/* ---- compact card (v27): label and value share a line, no tinted panel, tight gaps ---- */
html body .vcx.vcx .vx-top { padding: 12px 14px 2px; gap: 8px; align-items: center; }
html body .vcx.vcx .vx-top img.flag { width: 28px; height: 19px; }
html body .vcx.vcx .vx-name { font-size: 21px; line-height: 1.1; }
html body .vcx.vcx .vx-dt { font-size: 12px; }
html body .vcx.vcx .vx-dt b { font-size: 12px; }
html body .vcx.vcx .vx-src { position: absolute; top: 14px; right: 14px; padding: 2px 8px; font-size: 10px; margin: 0; }
html body .vcx.vcx .vx-top { padding-right: 76px; }
html body .vcx.vcx .vx-body { padding: 4px 14px 0; }
html body .vcx.vcx .vx-chips { gap: 4px; margin-bottom: 8px; }
html body .vcx.vcx .vx-chip { padding: 2px 8px; font-size: 11px; border-radius: 999px; }
html body .vcx.vcx .vx-rows { display: flex; flex-direction: column; gap: 5px; padding: 0 0 0 2px; margin: 0 0 8px; background: transparent; border-radius: 0; }
html body .vcx.vcx .vx-r { flex-direction: row; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.3; }
html body .vcx.vcx .vx-r > .vx-i { display: inline-block; flex: none; width: 15px; height: 15px; color: var(--hue); align-self: flex-start; margin-top: 2px; }
html body .vcx.vcx .vx-r > span { min-width: 0; }
html body .vcx.vcx .vx-k { display: inline; margin: 0 7px 0 0; font-size: 10px; }
html body .vcx.vcx .vx-stats { margin-top: 0; gap: 4px; }
html body .vcx.vcx .vx-stats span, html body .vcx.vcx .vx-stats span.pu { padding: 2px 8px; font-size: 11px; }
html body .vcx.vcx .vx-ft { padding: 8px 14px 12px; }
html body .vcx.vcx .vx-btn { padding: 4px 12px; font-size: 13px; }
@media (min-width: 761px) {
  html body .vcx.vcx .vx-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 5px 24px; }
}

/* ---- trip panel on the map: keep the original teal look (solid Trip pill, teal tag, light teal date box) ---- */
html body .d-badges .kind-trip { background: var(--u-teal); color: #fff; }
html body .d-badges .kind-cat { background: color-mix(in srgb, var(--u-teal) 12%, transparent); color: var(--u-teal); border: 1px solid color-mix(in srgb, var(--u-teal) 35%, var(--u-line, transparent)); }
html body .d-datecard { background: color-mix(in srgb, var(--u-teal) 14%, var(--u-card)); border-color: color-mix(in srgb, var(--u-teal) 40%, transparent); }
html body .d-badges .kind-trip { color: #fff; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body .d-badges .kind-trip { color: #04302c; } }
html[data-theme="dark"] body .d-badges .kind-trip { color: #04302c; }

/* ---- date block beside the rows (v31): the title keeps the full width ---- */
html body .vcx.vcx .vx-main { display: flex; gap: 12px; align-items: stretch; margin-bottom: 8px; }
html body .vcx.vcx .vx-main > .dblk { align-self: flex-start; min-width: 54px; padding: 6px 7px 7px; background: linear-gradient(180deg, #c2570a, #f29a4a); }
html body .vcx.vcx .vx-main > .dblk b { font-size: 22px; }
html body .vcx.vcx .vx-main > .vx-rows { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
html body .vcx.vcx.k-activity .vx-top .dblk { display: none; }
/* gold becomes orange everywhere (Activities colour, top selection) */
:root, :root[data-theme="dark"] { --u-gold: #ff9a4d; --u-amber: #ff9a4d; }
:root[data-theme="light"] { --u-gold: #c2570a; --u-amber: #c2570a; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-gold: #c2570a; --u-amber: #c2570a; } }
/* date block follows each card's own colour (teal visits, blue stays, coral meals, orange activities) */
html body .vcx.vcx .vx-main > .dblk { background: linear-gradient(180deg, color-mix(in srgb, var(--hue) 72%, #000), var(--hue)); color: #fff; }
html[data-theme="dark"] body .vcx.vcx .vx-main > .dblk { color: #1a1208; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body .vcx.vcx .vx-main > .dblk { color: #1a1208; } }

/* ---- map sheet buttons (v33): "See all visits to ..." and Back use teal instead of beige ---- */
html body .d-top .btn, html body .d-all, html body .d-bar .d-top .btn {
  background: color-mix(in srgb, var(--u-teal) 14%, var(--u-card)); color: var(--u-teal); border: 1px solid color-mix(in srgb, var(--u-teal) 40%, transparent);
  border-radius: 999px; font-weight: 600; padding: 8px 18px; }
html body .d-top .btn::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html body .sheet-backbtn { background: transparent; color: var(--u-teal); border: 1.5px solid var(--u-teal); border-radius: 999px; font-weight: 600; }
html body .d-top .btn:hover, html body .sheet-backbtn:hover { background: color-mix(in srgb, var(--u-teal) 18%, var(--u-card)); }

/* ---- orange back to the original gradient (v34): vivid orange, not brown or yellow; pill buttons ---- */
:root, :root[data-theme="dark"] { --u-gold: #f28a3a; --u-amber: #f28a3a; --u-orange-grad: linear-gradient(180deg, #c2570a, #f29a4a); }
:root[data-theme="light"] { --u-gold: #d4630c; --u-amber: #d4630c; --u-orange-grad: linear-gradient(180deg, #c2570a, #f29a4a); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-gold: #d4630c; --u-amber: #d4630c; --u-orange-grad: linear-gradient(180deg, #c2570a, #f29a4a); } }
html body[data-page="gold"] .atype[aria-pressed="true"], html body[data-page="gold"] #aAdd.btn-primary, html body[data-page="gold"] #aAdd.btn.btn-primary, html body[data-page="gold"] .btn-primary {
  background: var(--u-orange-grad) !important; color: #fff !important; border-color: transparent !important; }
html body[data-page] .btn-primary, html body #aAdd.btn-primary { border-radius: 999px !important; }
html body .vcx.vcx[data-hue="gold"] .vx-main > .dblk { background: var(--u-orange-grad); color: #fff; }
html body .vcx.vcx .vx-main > .dblk { background: linear-gradient(180deg, color-mix(in srgb, var(--hue) 80%, #000), color-mix(in srgb, var(--hue) 85%, #fff)); }
html body .vcx.vcx[data-hue="gold"] .vx-main > .dblk { background: var(--u-orange-grad); }
html[data-theme="dark"] body .vcx.vcx .vx-main > .dblk, html[data-theme="dark"] body .vcx.vcx[data-hue="gold"] .vx-main > .dblk { color: #fff; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body .vcx.vcx .vx-main > .dblk { color: #fff; } }

/* ---- buttons and selected chips: a clean vivid orange, not the tan-ending gradient (v35) ---- */
html body[data-page="gold"] .atype[aria-pressed="true"], html body[data-page="gold"] #aAdd.btn-primary, html body[data-page="gold"] #aAdd.btn.btn-primary, html body[data-page="gold"] .btn-primary {
  background: linear-gradient(180deg, #f47b20, #e5640d) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(150, 60, 0, .3) !important; }

/* hover depth on the orange button and chips (v36) */
html body[data-page="gold"] #aAdd.btn-primary, html body[data-page="gold"] .btn-primary, html body[data-page="gold"] .atype[aria-pressed="true"] { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
html body[data-page="gold"] #aAdd.btn-primary:hover, html body[data-page="gold"] .btn-primary:hover, html body[data-page="gold"] .atype[aria-pressed="true"]:hover {
  background: linear-gradient(180deg, #e86d12, #c9540a) !important; transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(194, 87, 10, .45), 0 1px 2px rgba(120, 50, 0, .35) !important; }
html body[data-page="gold"] #aAdd.btn-primary:active, html body[data-page="gold"] .btn-primary:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(120, 50, 0, .4) !important; }

/* ---- desktop: several cards per row again on Trips, Stays and Meals (v37) ---- */
@media (min-width: 761px) {
  html body main.sub-main.wide .manage-list, html body .manage-list { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; align-items: start; }
  html body .manage-list > .trip-block, html body .manage-list > details, html body .manage-list > .rgroup { grid-column: 1 / -1; }
  html body .tb-visits { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
  html body .vcx.vcx .vx-rows { grid-template-columns: 1fr; }
}

/* ---- activity type icons (Tabler Icons, MIT licence): one icon and one colour per type, used on chips, group headings and card headers (v38) ---- */
:root { color-scheme: light dark; }
.adot.t-skiing,.abadge.t-skiing,.vx-ico.ico-skiing { --tc: #2563eb; }
.adot.t-waterpark,.abadge.t-waterpark,.vx-ico.ico-waterpark { --tc: #0d9488; }
.adot.t-theme_park,.abadge.t-theme_park,.vx-ico.ico-theme_park { --tc: #9333ea; }
.adot.t-hiking,.abadge.t-hiking,.vx-ico.ico-hiking { --tc: #16a34a; }
.adot.t-biking,.abadge.t-biking,.vx-ico.ico-biking { --tc: #db2777; }
.adot.t-camping,.abadge.t-camping,.vx-ico.ico-camping { --tc: #c2570a; }
.adot.t-zoo,.abadge.t-zoo,.vx-ico.ico-zoo { --tc: #a16207; }
.adot.t-rafting,.abadge.t-rafting,.vx-ico.ico-rafting { --tc: #0284c7; }
.adot.t-boating,.abadge.t-boating,.vx-ico.ico-boating { --tc: #4f46e5; }
.adot.t-beach,.abadge.t-beach,.vx-ico.ico-beach { --tc: #d99a00; }
.adot.t-sports,.abadge.t-sports,.vx-ico.ico-sports { --tc: #dc2626; }
.adot.t-fishing,.abadge.t-fishing,.vx-ico.ico-fishing { --tc: #0e7490; }
.adot.t-surfing,.abadge.t-surfing,.vx-ico.ico-surfing { --tc: #0369a1; }
.adot.t-golf,.abadge.t-golf,.vx-ico.ico-golf { --tc: #15803d; }
.adot.t-museum,.abadge.t-museum,.vx-ico.ico-museum { --tc: #7c3aed; }
.adot.t-concert,.abadge.t-concert,.vx-ico.ico-concert { --tc: #be185d; }
.adot.t-spa,.abadge.t-spa,.vx-ico.ico-spa { --tc: #0f766e; }
.adot.t-road_trip,.abadge.t-road_trip,.vx-ico.ico-road_trip { --tc: #b45309; }
.adot.t-horseback,.abadge.t-horseback,.vx-ico.ico-horseback { --tc: #92400e; }
.adot.t-cruise,.abadge.t-cruise,.vx-ico.ico-cruise { --tc: #1e40af; }
.adot.t-sightseeing,.abadge.t-sightseeing,.vx-ico.ico-sightseeing { --tc: #9d174d; }
.adot.t-national_park,.abadge.t-national_park,.vx-ico.ico-national_park { --tc: #166534; }
.adot.t-shopping,.abadge.t-shopping,.vx-ico.ico-shopping { --tc: #c026d3; }
.adot.t-winter_sports,.abadge.t-winter_sports,.vx-ico.ico-winter_sports { --tc: #0891b2; }
.adot.t-diving,.abadge.t-diving,.vx-ico.ico-diving { --tc: #075985; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .adot.t-skiing, html:not([data-theme="light"]) .abadge.t-skiing, html:not([data-theme="light"]) .vx-ico.ico-skiing { --tc: #7aa7ff; }
  html:not([data-theme="light"]) .adot.t-waterpark, html:not([data-theme="light"]) .abadge.t-waterpark, html:not([data-theme="light"]) .vx-ico.ico-waterpark { --tc: #5eead4; }
  html:not([data-theme="light"]) .adot.t-theme_park, html:not([data-theme="light"]) .abadge.t-theme_park, html:not([data-theme="light"]) .vx-ico.ico-theme_park { --tc: #c9a0ff; }
  html:not([data-theme="light"]) .adot.t-hiking, html:not([data-theme="light"]) .abadge.t-hiking, html:not([data-theme="light"]) .vx-ico.ico-hiking { --tc: #6fdc8c; }
  html:not([data-theme="light"]) .adot.t-biking, html:not([data-theme="light"]) .abadge.t-biking, html:not([data-theme="light"]) .vx-ico.ico-biking { --tc: #ff8fc0; }
  html:not([data-theme="light"]) .adot.t-camping, html:not([data-theme="light"]) .abadge.t-camping, html:not([data-theme="light"]) .vx-ico.ico-camping { --tc: #ff9a4d; }
  html:not([data-theme="light"]) .adot.t-zoo, html:not([data-theme="light"]) .abadge.t-zoo, html:not([data-theme="light"]) .vx-ico.ico-zoo { --tc: #e0b34a; }
  html:not([data-theme="light"]) .adot.t-rafting, html:not([data-theme="light"]) .abadge.t-rafting, html:not([data-theme="light"]) .vx-ico.ico-rafting { --tc: #6cc6f2; }
  html:not([data-theme="light"]) .adot.t-boating, html:not([data-theme="light"]) .abadge.t-boating, html:not([data-theme="light"]) .vx-ico.ico-boating { --tc: #9aa0ff; }
  html:not([data-theme="light"]) .adot.t-beach, html:not([data-theme="light"]) .abadge.t-beach, html:not([data-theme="light"]) .vx-ico.ico-beach { --tc: #ffd24d; }
  html:not([data-theme="light"]) .adot.t-sports, html:not([data-theme="light"]) .abadge.t-sports, html:not([data-theme="light"]) .vx-ico.ico-sports { --tc: #ff8a8a; }
  html:not([data-theme="light"]) .adot.t-fishing, html:not([data-theme="light"]) .abadge.t-fishing, html:not([data-theme="light"]) .vx-ico.ico-fishing { --tc: #67d4e8; }
  html:not([data-theme="light"]) .adot.t-surfing, html:not([data-theme="light"]) .abadge.t-surfing, html:not([data-theme="light"]) .vx-ico.ico-surfing { --tc: #7cc4f5; }
  html:not([data-theme="light"]) .adot.t-golf, html:not([data-theme="light"]) .abadge.t-golf, html:not([data-theme="light"]) .vx-ico.ico-golf { --tc: #86e0a0; }
  html:not([data-theme="light"]) .adot.t-museum, html:not([data-theme="light"]) .abadge.t-museum, html:not([data-theme="light"]) .vx-ico.ico-museum { --tc: #b9a2ff; }
  html:not([data-theme="light"]) .adot.t-concert, html:not([data-theme="light"]) .abadge.t-concert, html:not([data-theme="light"]) .vx-ico.ico-concert { --tc: #ff9cc4; }
  html:not([data-theme="light"]) .adot.t-spa, html:not([data-theme="light"]) .abadge.t-spa, html:not([data-theme="light"]) .vx-ico.ico-spa { --tc: #6fe0d0; }
  html:not([data-theme="light"]) .adot.t-road_trip, html:not([data-theme="light"]) .abadge.t-road_trip, html:not([data-theme="light"]) .vx-ico.ico-road_trip { --tc: #f0a85c; }
  html:not([data-theme="light"]) .adot.t-horseback, html:not([data-theme="light"]) .abadge.t-horseback, html:not([data-theme="light"]) .vx-ico.ico-horseback { --tc: #d9a070; }
  html:not([data-theme="light"]) .adot.t-cruise, html:not([data-theme="light"]) .abadge.t-cruise, html:not([data-theme="light"]) .vx-ico.ico-cruise { --tc: #8fb0ff; }
  html:not([data-theme="light"]) .adot.t-sightseeing, html:not([data-theme="light"]) .abadge.t-sightseeing, html:not([data-theme="light"]) .vx-ico.ico-sightseeing { --tc: #f59ac0; }
  html:not([data-theme="light"]) .adot.t-national_park, html:not([data-theme="light"]) .abadge.t-national_park, html:not([data-theme="light"]) .vx-ico.ico-national_park { --tc: #7ad39a; }
  html:not([data-theme="light"]) .adot.t-shopping, html:not([data-theme="light"]) .abadge.t-shopping, html:not([data-theme="light"]) .vx-ico.ico-shopping { --tc: #eba0f5; }
  html:not([data-theme="light"]) .adot.t-winter_sports, html:not([data-theme="light"]) .abadge.t-winter_sports, html:not([data-theme="light"]) .vx-ico.ico-winter_sports { --tc: #8fe0f2; }
  html:not([data-theme="light"]) .adot.t-diving, html:not([data-theme="light"]) .abadge.t-diving, html:not([data-theme="light"]) .vx-ico.ico-diving { --tc: #6fbbe8; }
}
html[data-theme="dark"] .adot.t-skiing, html[data-theme="dark"] .abadge.t-skiing, html[data-theme="dark"] .vx-ico.ico-skiing { --tc: #7aa7ff; }
html[data-theme="dark"] .adot.t-waterpark, html[data-theme="dark"] .abadge.t-waterpark, html[data-theme="dark"] .vx-ico.ico-waterpark { --tc: #5eead4; }
html[data-theme="dark"] .adot.t-theme_park, html[data-theme="dark"] .abadge.t-theme_park, html[data-theme="dark"] .vx-ico.ico-theme_park { --tc: #c9a0ff; }
html[data-theme="dark"] .adot.t-hiking, html[data-theme="dark"] .abadge.t-hiking, html[data-theme="dark"] .vx-ico.ico-hiking { --tc: #6fdc8c; }
html[data-theme="dark"] .adot.t-biking, html[data-theme="dark"] .abadge.t-biking, html[data-theme="dark"] .vx-ico.ico-biking { --tc: #ff8fc0; }
html[data-theme="dark"] .adot.t-camping, html[data-theme="dark"] .abadge.t-camping, html[data-theme="dark"] .vx-ico.ico-camping { --tc: #ff9a4d; }
html[data-theme="dark"] .adot.t-zoo, html[data-theme="dark"] .abadge.t-zoo, html[data-theme="dark"] .vx-ico.ico-zoo { --tc: #e0b34a; }
html[data-theme="dark"] .adot.t-rafting, html[data-theme="dark"] .abadge.t-rafting, html[data-theme="dark"] .vx-ico.ico-rafting { --tc: #6cc6f2; }
html[data-theme="dark"] .adot.t-boating, html[data-theme="dark"] .abadge.t-boating, html[data-theme="dark"] .vx-ico.ico-boating { --tc: #9aa0ff; }
html[data-theme="dark"] .adot.t-beach, html[data-theme="dark"] .abadge.t-beach, html[data-theme="dark"] .vx-ico.ico-beach { --tc: #ffd24d; }
html[data-theme="dark"] .adot.t-sports, html[data-theme="dark"] .abadge.t-sports, html[data-theme="dark"] .vx-ico.ico-sports { --tc: #ff8a8a; }
html[data-theme="dark"] .adot.t-fishing, html[data-theme="dark"] .abadge.t-fishing, html[data-theme="dark"] .vx-ico.ico-fishing { --tc: #67d4e8; }
html[data-theme="dark"] .adot.t-surfing, html[data-theme="dark"] .abadge.t-surfing, html[data-theme="dark"] .vx-ico.ico-surfing { --tc: #7cc4f5; }
html[data-theme="dark"] .adot.t-golf, html[data-theme="dark"] .abadge.t-golf, html[data-theme="dark"] .vx-ico.ico-golf { --tc: #86e0a0; }
html[data-theme="dark"] .adot.t-museum, html[data-theme="dark"] .abadge.t-museum, html[data-theme="dark"] .vx-ico.ico-museum { --tc: #b9a2ff; }
html[data-theme="dark"] .adot.t-concert, html[data-theme="dark"] .abadge.t-concert, html[data-theme="dark"] .vx-ico.ico-concert { --tc: #ff9cc4; }
html[data-theme="dark"] .adot.t-spa, html[data-theme="dark"] .abadge.t-spa, html[data-theme="dark"] .vx-ico.ico-spa { --tc: #6fe0d0; }
html[data-theme="dark"] .adot.t-road_trip, html[data-theme="dark"] .abadge.t-road_trip, html[data-theme="dark"] .vx-ico.ico-road_trip { --tc: #f0a85c; }
html[data-theme="dark"] .adot.t-horseback, html[data-theme="dark"] .abadge.t-horseback, html[data-theme="dark"] .vx-ico.ico-horseback { --tc: #d9a070; }
html[data-theme="dark"] .adot.t-cruise, html[data-theme="dark"] .abadge.t-cruise, html[data-theme="dark"] .vx-ico.ico-cruise { --tc: #8fb0ff; }
html[data-theme="dark"] .adot.t-sightseeing, html[data-theme="dark"] .abadge.t-sightseeing, html[data-theme="dark"] .vx-ico.ico-sightseeing { --tc: #f59ac0; }
html[data-theme="dark"] .adot.t-national_park, html[data-theme="dark"] .abadge.t-national_park, html[data-theme="dark"] .vx-ico.ico-national_park { --tc: #7ad39a; }
html[data-theme="dark"] .adot.t-shopping, html[data-theme="dark"] .abadge.t-shopping, html[data-theme="dark"] .vx-ico.ico-shopping { --tc: #eba0f5; }
html[data-theme="dark"] .adot.t-winter_sports, html[data-theme="dark"] .abadge.t-winter_sports, html[data-theme="dark"] .vx-ico.ico-winter_sports { --tc: #8fe0f2; }
html[data-theme="dark"] .adot.t-diving, html[data-theme="dark"] .abadge.t-diving, html[data-theme="dark"] .vx-ico.ico-diving { --tc: #6fbbe8; }
.adot.t-skiing { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%203a1%201%200%201%200%202%200a1%201%200%200%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M7%2019l4%20-2.5l-.5%20-1.5'%20/%3E%0A%20%20%3Cpath%20d='M16%2021l-1%20-6l-4.5%20-3l3.5%20-6'%20/%3E%0A%20%20%3Cpath%20d='M7%209l1.5%20-3h5.5l2%204l3%201'%20/%3E%0A%20%20%3Cpath%20d='M3%2017c.399%201.154%20.899%201.805%201.5%201.951c6%201.464%2010.772%202.262%2013.5%202.927c1.333%20.325%202.333%200%203%20-.976'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%203a1%201%200%201%200%202%200a1%201%200%200%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M7%2019l4%20-2.5l-.5%20-1.5'%20/%3E%0A%20%20%3Cpath%20d='M16%2021l-1%20-6l-4.5%20-3l3.5%20-6'%20/%3E%0A%20%20%3Cpath%20d='M7%209l1.5%20-3h5.5l2%204l3%201'%20/%3E%0A%20%20%3Cpath%20d='M3%2017c.399%201.154%20.899%201.805%201.5%201.951c6%201.464%2010.772%202.262%2013.5%202.927c1.333%20.325%202.333%200%203%20-.976'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-waterpark { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M6%2011l4%20-2l3.5%203l-1.5%202'%20/%3E%0A%20%20%3Cpath%20d='M3%2016.75a2.4%202.4%200%200%200%201%20.25a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%201%20-.25'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M6%2011l4%20-2l3.5%203l-1.5%202'%20/%3E%0A%20%20%3Cpath%20d='M3%2016.75a2.4%202.4%200%200%200%201%20.25a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%201%20-.25'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-theme_park { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2012m-6%200a6%206%200%201%200%2012%200a6%206%200%201%200%20-12%200'%20/%3E%0A%20%20%3Cpath%20d='M5%208m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M12%204m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%208m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M5%2016m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%2016m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M8%2022l4%20-10l4%2010'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2012m-6%200a6%206%200%201%200%2012%200a6%206%200%201%200%20-12%200'%20/%3E%0A%20%20%3Cpath%20d='M5%208m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M12%204m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%208m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M5%2016m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%2016m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M8%2022l4%20-10l4%2010'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-hiking { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%204m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M7%2021l3%20-4'%20/%3E%0A%20%20%3Cpath%20d='M16%2021l-2%20-4l-3%20-3l1%20-6'%20/%3E%0A%20%20%3Cpath%20d='M6%2012l2%20-3l4%20-1l3%203l3%201'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M13%204m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M7%2021l3%20-4'%20/%3E%0A%20%20%3Cpath%20d='M16%2021l-2%20-4l-3%20-3l1%20-6'%20/%3E%0A%20%20%3Cpath%20d='M6%2012l2%20-3l4%20-1l3%203l3%201'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-biking { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2018m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M19%2018m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2019l0%20-4l-3%20-3l5%20-4l2%203l3%200'%20/%3E%0A%20%20%3Cpath%20d='M17%205m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2018m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M19%2018m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2019l0%20-4l-3%20-3l5%20-4l2%203l3%200'%20/%3E%0A%20%20%3Cpath%20d='M17%205m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-camping { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2021l16%20-4'%20/%3E%0A%20%20%3Cpath%20d='M20%2021l-16%20-4'%20/%3E%0A%20%20%3Cpath%20d='M12%2015a4%204%200%200%200%204%20-4c0%20-3%20-2%20-3%20-2%20-8c-4%202%20-6%205%20-6%208a4%204%200%200%200%204%204z'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2021l16%20-4'%20/%3E%0A%20%20%3Cpath%20d='M20%2021l-16%20-4'%20/%3E%0A%20%20%3Cpath%20d='M12%2015a4%204%200%200%200%204%20-4c0%20-3%20-2%20-3%20-2%20-8c-4%202%20-6%205%20-6%208a4%204%200%200%200%204%204z'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-zoo { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%2013.5c-1.1%20-2%20-1.441%20-2.5%20-2.7%20-2.5c-1.259%200%20-1.736%20.755%20-2.836%202.747c-.942%201.703%20-2.846%201.845%20-3.321%203.291c-.097%20.265%20-.145%20.677%20-.143%20.962c0%201.176%20.787%202%201.8%202c1.259%200%203%20-1%204.5%20-1s3.241%201%204.5%201c1.013%200%201.8%20-.823%201.8%20-2c0%20-.285%20-.049%20-.697%20-.146%20-.962c-.475%20-1.451%20-2.512%20-1.835%20-3.454%20-3.538z'%20/%3E%0A%20%20%3Cpath%20d='M20.188%208.082a1.039%201.039%200%200%200%20-.406%20-.082h-.015c-.735%20.012%20-1.56%20.75%20-1.993%201.866c-.519%201.335%20-.28%202.7%20.538%203.052c.129%20.055%20.267%20.082%20.406%20.082c.739%200%201.575%20-.742%202.011%20-1.866c.516%20-1.335%20.273%20-2.7%20-.54%20-3.052z'%20/%3E%0A%20%20%3Cpath%20d='M9.474%209c.055%200%20.109%200%20.163%20-.011c.944%20-.128%201.533%20-1.346%201.32%20-2.722c-.203%20-1.297%20-1.047%20-2.267%20-1.932%20-2.267c-.055%200%20-.109%200%20-.163%20.011c-.944%20.128%20-1.533%201.346%20-1.32%202.722c.204%201.293%201.048%202.267%201.933%202.267z'%20/%3E%0A%20%20%3Cpath%20d='M16.456%206.733c.214%20-1.376%20-.375%20-2.594%20-1.32%20-2.722a1.164%201.164%200%200%200%20-.162%20-.011c-.885%200%20-1.728%20.97%20-1.93%202.267c-.214%201.376%20.375%202.594%201.32%202.722c.054%20.007%20.108%20.011%20.162%20.011c.885%200%201.73%20-.974%201.93%20-2.267z'%20/%3E%0A%20%20%3Cpath%20d='M5.69%2012.918c.816%20-.352%201.054%20-1.719%20.536%20-3.052c-.436%20-1.124%20-1.271%20-1.866%20-2.009%20-1.866c-.14%200%20-.277%20.027%20-.407%20.082c-.816%20.352%20-1.054%201.719%20-.536%203.052c.436%201.124%201.271%201.866%202.009%201.866c.14%200%20.277%20-.027%20.407%20-.082z'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%2013.5c-1.1%20-2%20-1.441%20-2.5%20-2.7%20-2.5c-1.259%200%20-1.736%20.755%20-2.836%202.747c-.942%201.703%20-2.846%201.845%20-3.321%203.291c-.097%20.265%20-.145%20.677%20-.143%20.962c0%201.176%20.787%202%201.8%202c1.259%200%203%20-1%204.5%20-1s3.241%201%204.5%201c1.013%200%201.8%20-.823%201.8%20-2c0%20-.285%20-.049%20-.697%20-.146%20-.962c-.475%20-1.451%20-2.512%20-1.835%20-3.454%20-3.538z'%20/%3E%0A%20%20%3Cpath%20d='M20.188%208.082a1.039%201.039%200%200%200%20-.406%20-.082h-.015c-.735%20.012%20-1.56%20.75%20-1.993%201.866c-.519%201.335%20-.28%202.7%20.538%203.052c.129%20.055%20.267%20.082%20.406%20.082c.739%200%201.575%20-.742%202.011%20-1.866c.516%20-1.335%20.273%20-2.7%20-.54%20-3.052z'%20/%3E%0A%20%20%3Cpath%20d='M9.474%209c.055%200%20.109%200%20.163%20-.011c.944%20-.128%201.533%20-1.346%201.32%20-2.722c-.203%20-1.297%20-1.047%20-2.267%20-1.932%20-2.267c-.055%200%20-.109%200%20-.163%20.011c-.944%20.128%20-1.533%201.346%20-1.32%202.722c.204%201.293%201.048%202.267%201.933%202.267z'%20/%3E%0A%20%20%3Cpath%20d='M16.456%206.733c.214%20-1.376%20-.375%20-2.594%20-1.32%20-2.722a1.164%201.164%200%200%200%20-.162%20-.011c-.885%200%20-1.728%20.97%20-1.93%202.267c-.214%201.376%20.375%202.594%201.32%202.722c.054%20.007%20.108%20.011%20.162%20.011c.885%200%201.73%20-.974%201.93%20-2.267z'%20/%3E%0A%20%20%3Cpath%20d='M5.69%2012.918c.816%20-.352%201.054%20-1.719%20.536%20-3.052c-.436%20-1.124%20-1.271%20-1.866%20-2.009%20-1.866c-.14%200%20-.277%20.027%20-.407%20.082c-.816%20.352%20-1.054%201.719%20-.536%203.052c.436%201.124%201.271%201.866%202.009%201.866c.14%200%20.277%20-.027%20.407%20-.082z'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-rafting { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6.414%206.414a2%202%200%200%200%200%20-2.828l-1.414%20-1.414l-2.828%202.828l1.414%201.414a2%202%200%200%200%202.828%200z'%20/%3E%0A%20%20%3Cpath%20d='M17.586%2017.586a2%202%200%200%200%200%202.828l1.414%201.414l2.828%20-2.828l-1.414%20-1.414a2%202%200%200%200%20-2.828%200z'%20/%3E%0A%20%20%3Cpath%20d='M6.5%206.5l11%2011'%20/%3E%0A%20%20%3Cpath%20d='M22%202.5c-9.983%202.601%20-17.627%207.952%20-20%2019.5c9.983%20-2.601%2017.627%20-7.952%2020%20-19.5z'%20/%3E%0A%20%20%3Cpath%20d='M6.5%2012.5l5%205'%20/%3E%0A%20%20%3Cpath%20d='M12.5%206.5l5%205'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6.414%206.414a2%202%200%200%200%200%20-2.828l-1.414%20-1.414l-2.828%202.828l1.414%201.414a2%202%200%200%200%202.828%200z'%20/%3E%0A%20%20%3Cpath%20d='M17.586%2017.586a2%202%200%200%200%200%202.828l1.414%201.414l2.828%20-2.828l-1.414%20-1.414a2%202%200%200%200%20-2.828%200z'%20/%3E%0A%20%20%3Cpath%20d='M6.5%206.5l11%2011'%20/%3E%0A%20%20%3Cpath%20d='M22%202.5c-9.983%202.601%20-17.627%207.952%20-20%2019.5c9.983%20-2.601%2017.627%20-7.952%2020%20-19.5z'%20/%3E%0A%20%20%3Cpath%20d='M6.5%2012.5l5%205'%20/%3E%0A%20%20%3Cpath%20d='M12.5%206.5l5%205'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-boating { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2020a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1'%20/%3E%0A%20%20%3Cpath%20d='M4%2018l-1%20-3h18l-1%203'%20/%3E%0A%20%20%3Cpath%20d='M11%2012h7l-7%20-9v9'%20/%3E%0A%20%20%3Cpath%20d='M8%207l-2%205'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2020a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1'%20/%3E%0A%20%20%3Cpath%20d='M4%2018l-1%20-3h18l-1%203'%20/%3E%0A%20%20%3Cpath%20d='M11%2012h7l-7%20-9v9'%20/%3E%0A%20%20%3Cpath%20d='M8%207l-2%205'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-beach { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17.553%2016.75a7.5%207.5%200%200%200%20-10.606%200'%20/%3E%0A%20%20%3Cpath%20d='M18%203.804a6%206%200%200%200%20-8.196%202.196l10.392%206a6%206%200%200%200%20-2.196%20-8.196z'%20/%3E%0A%20%20%3Cpath%20d='M16.732%2010c1.658%20-2.87%202.225%20-5.644%201.268%20-6.196c-.957%20-.552%20-3.075%201.326%20-4.732%204.196'%20/%3E%0A%20%20%3Cpath%20d='M15%209l-3%205.196'%20/%3E%0A%20%20%3Cpath%20d='M3%2019.25a2.4%202.4%200%200%201%201%20-.25a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%201%20.25'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17.553%2016.75a7.5%207.5%200%200%200%20-10.606%200'%20/%3E%0A%20%20%3Cpath%20d='M18%203.804a6%206%200%200%200%20-8.196%202.196l10.392%206a6%206%200%200%200%20-2.196%20-8.196z'%20/%3E%0A%20%20%3Cpath%20d='M16.732%2010c1.658%20-2.87%202.225%20-5.644%201.268%20-6.196c-.957%20-.552%20-3.075%201.326%20-4.732%204.196'%20/%3E%0A%20%20%3Cpath%20d='M15%209l-3%205.196'%20/%3E%0A%20%20%3Cpath%20d='M3%2019.25a2.4%202.4%200%200%201%201%20-.25a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%201%20.25'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-sports { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%2021l8%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2017l0%204'%20/%3E%0A%20%20%3Cpath%20d='M7%204l10%200'%20/%3E%0A%20%20%3Cpath%20d='M17%204v8a5%205%200%200%201%20-10%200v-8'%20/%3E%0A%20%20%3Cpath%20d='M5%209m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%209m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M8%2021l8%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2017l0%204'%20/%3E%0A%20%20%3Cpath%20d='M7%204l10%200'%20/%3E%0A%20%20%3Cpath%20d='M17%204v8a5%205%200%200%201%20-10%200v-8'%20/%3E%0A%20%20%3Cpath%20d='M5%209m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M19%209m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-fishing { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209v6a5%205%200%200%201%20-10%200v-4l3%203'%20/%3E%0A%20%20%3Cpath%20d='M16%207m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M16%205v-2'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209v6a5%205%200%200%201%20-10%200v-4l3%203'%20/%3E%0A%20%20%3Cpath%20d='M16%207m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M16%205v-2'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-surfing { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2012h-2c-.894%200%20-1.662%20-.857%20-1.761%20-2c-.296%20-3.45%20-.749%20-6%20-2.749%20-6s-2.5%203.582%20-2.5%208s-.5%208%20-2.5%208s-2.452%20-2.547%20-2.749%20-6c-.1%20-1.147%20-.867%20-2%20-1.763%20-2h-2'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2012h-2c-.894%200%20-1.662%20-.857%20-1.761%20-2c-.296%20-3.45%20-.749%20-6%20-2.749%20-6s-2.5%203.582%20-2.5%208s-.5%208%20-2.5%208s-2.452%20-2.547%20-2.749%20-6c-.1%20-1.147%20-.867%20-2%20-1.763%20-2h-2'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-golf { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2018v-15l7%204l-7%204'%20/%3E%0A%20%20%3Cpath%20d='M9%2017.67c-.62%20.36%20-1%20.82%20-1%201.33c0%201.1%201.8%202%204%202s4%20-.9%204%20-2c0%20-.5%20-.38%20-.97%20-1%20-1.33'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%2018v-15l7%204l-7%204'%20/%3E%0A%20%20%3Cpath%20d='M9%2017.67c-.62%20.36%20-1%20.82%20-1%201.33c0%201.1%201.8%202%204%202s4%20-.9%204%20-2c0%20-.5%20-.38%20-.97%20-1%20-1.33'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-museum { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2021l18%200'%20/%3E%0A%20%20%3Cpath%20d='M3%2010l18%200'%20/%3E%0A%20%20%3Cpath%20d='M5%206l7%20-3l7%203'%20/%3E%0A%20%20%3Cpath%20d='M4%2010l0%2011'%20/%3E%0A%20%20%3Cpath%20d='M20%2010l0%2011'%20/%3E%0A%20%20%3Cpath%20d='M8%2014l0%203'%20/%3E%0A%20%20%3Cpath%20d='M12%2014l0%203'%20/%3E%0A%20%20%3Cpath%20d='M16%2014l0%203'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2021l18%200'%20/%3E%0A%20%20%3Cpath%20d='M3%2010l18%200'%20/%3E%0A%20%20%3Cpath%20d='M5%206l7%20-3l7%203'%20/%3E%0A%20%20%3Cpath%20d='M4%2010l0%2011'%20/%3E%0A%20%20%3Cpath%20d='M20%2010l0%2011'%20/%3E%0A%20%20%3Cpath%20d='M8%2014l0%203'%20/%3E%0A%20%20%3Cpath%20d='M12%2014l0%203'%20/%3E%0A%20%20%3Cpath%20d='M16%2014l0%203'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-concert { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%202m0%203a3%203%200%200%201%203%20-3h0a3%203%200%200%201%203%203v5a3%203%200%200%201%20-3%203h0a3%203%200%200%201%20-3%20-3z'%20/%3E%0A%20%20%3Cpath%20d='M5%2010a7%207%200%200%200%2014%200'%20/%3E%0A%20%20%3Cpath%20d='M8%2021l8%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2017l0%204'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%202m0%203a3%203%200%200%201%203%20-3h0a3%203%200%200%201%203%203v5a3%203%200%200%201%20-3%203h0a3%203%200%200%201%20-3%20-3z'%20/%3E%0A%20%20%3Cpath%20d='M5%2010a7%207%200%200%200%2014%200'%20/%3E%0A%20%20%3Cpath%20d='M8%2021l8%200'%20/%3E%0A%20%20%3Cpath%20d='M12%2017l0%204'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-spa { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2017m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M9%205m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M4%2022l4%20-2v-3h12'%20/%3E%0A%20%20%3Cpath%20d='M11%2020h9'%20/%3E%0A%20%20%3Cpath%20d='M8%2014l3%20-2l1%20-4c3%201%203%204%203%206'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2017m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M9%205m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M4%2022l4%20-2v-3h12'%20/%3E%0A%20%20%3Cpath%20d='M11%2020h9'%20/%3E%0A%20%20%3Cpath%20d='M8%2014l3%20-2l1%20-4c3%201%203%204%203%206'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-road_trip { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2017m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M17%2017m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M5%2017h-2v-6l2%20-5h9l4%205h1a2%202%200%200%201%202%202v4h-2m-4%200h-6m-6%20-6h15m-6%200v-5'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2017m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M17%2017m-2%200a2%202%200%201%200%204%200a2%202%200%201%200%20-4%200'%20/%3E%0A%20%20%3Cpath%20d='M5%2017h-2v-6l2%20-5h9l4%205h1a2%202%200%200%201%202%202v4h-2m-4%200h-6m-6%20-6h15m-6%200v-5'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-horseback { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2010l-.85%208.507a1.357%201.357%200%200%200%201.35%201.493h.146a2%202%200%200%200%201.857%20-1.257l.994%20-2.486a2%202%200%200%201%201.857%20-1.257h1.292a2%202%200%200%201%201.857%201.257l.994%202.486a2%202%200%200%200%201.857%201.257h.146a1.37%201.37%200%200%200%201.364%20-1.494l-.864%20-9.506h-8c0%20-3%20-3%20-5%20-6%20-5l-3%206l2%202l3%20-2z'%20/%3E%0A%20%20%3Cpath%20d='M22%2014v-2a3%203%200%200%200%20-3%20-3'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2010l-.85%208.507a1.357%201.357%200%200%200%201.35%201.493h.146a2%202%200%200%200%201.857%20-1.257l.994%20-2.486a2%202%200%200%201%201.857%20-1.257h1.292a2%202%200%200%201%201.857%201.257l.994%202.486a2%202%200%200%200%201.857%201.257h.146a1.37%201.37%200%200%200%201.364%20-1.494l-.864%20-9.506h-8c0%20-3%20-3%20-5%20-6%20-5l-3%206l2%202l3%20-2z'%20/%3E%0A%20%20%3Cpath%20d='M22%2014v-2a3%203%200%200%200%20-3%20-3'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-cruise { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2020a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1'%20/%3E%0A%20%20%3Cpath%20d='M4%2018l-1%20-5h18l-2%204'%20/%3E%0A%20%20%3Cpath%20d='M5%2013v-6h8l4%206'%20/%3E%0A%20%20%3Cpath%20d='M7%207v-4h-1'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M2%2020a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1'%20/%3E%0A%20%20%3Cpath%20d='M4%2018l-1%20-5h18l-2%204'%20/%3E%0A%20%20%3Cpath%20d='M5%2013v-6h8l4%206'%20/%3E%0A%20%20%3Cpath%20d='M7%207v-4h-1'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-sightseeing { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2016m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M17%2016m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M16.346%209.17l-.729%20-1.261c-.16%20-.248%20-1.056%20-.203%20-1.117%20.091l-.177%201.38'%20/%3E%0A%20%20%3Cpath%20d='M19.761%2014.813l-2.84%20-5.133c-.189%20-.31%20-.592%20-.68%20-1.421%20-.68c-.828%200%20-1.5%20.448%20-1.5%201v6'%20/%3E%0A%20%20%3Cpath%20d='M7.654%209.17l.729%20-1.261c.16%20-.249%201.056%20-.203%201.117%20.091l.177%201.38'%20/%3E%0A%20%20%3Cpath%20d='M4.239%2014.813l2.84%20-5.133c.189%20-.31%20.592%20-.68%201.421%20-.68c.828%200%201.5%20.448%201.5%201v6'%20/%3E%0A%20%20%3Crect%20width='4'%20height='2'%20x='10'%20y='12'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M7%2016m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M17%2016m-3%200a3%203%200%201%200%206%200a3%203%200%201%200%20-6%200'%20/%3E%0A%20%20%3Cpath%20d='M16.346%209.17l-.729%20-1.261c-.16%20-.248%20-1.056%20-.203%20-1.117%20.091l-.177%201.38'%20/%3E%0A%20%20%3Cpath%20d='M19.761%2014.813l-2.84%20-5.133c-.189%20-.31%20-.592%20-.68%20-1.421%20-.68c-.828%200%20-1.5%20.448%20-1.5%201v6'%20/%3E%0A%20%20%3Cpath%20d='M7.654%209.17l.729%20-1.261c.16%20-.249%201.056%20-.203%201.117%20.091l.177%201.38'%20/%3E%0A%20%20%3Cpath%20d='M4.239%2014.813l2.84%20-5.133c.189%20-.31%20.592%20-.68%201.421%20-.68c.828%200%201.5%20.448%201.5%201v6'%20/%3E%0A%20%20%3Crect%20width='4'%20height='2'%20x='10'%20y='12'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-national_park { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2020h18l-6.921%20-14.612a2.3%202.3%200%200%200%20-4.158%200l-6.921%2014.612z'%20/%3E%0A%20%20%3Cpath%20d='M7.5%2011l2%202.5l2.5%20-2.5l2%203l2.5%20-2'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2020h18l-6.921%20-14.612a2.3%202.3%200%200%200%20-4.158%200l-6.921%2014.612z'%20/%3E%0A%20%20%3Cpath%20d='M7.5%2011l2%202.5l2.5%20-2.5l2%203l2.5%20-2'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-shopping { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6.331%208h11.339a2%202%200%200%201%201.977%202.304l-1.255%208.152a3%203%200%200%201%20-2.966%202.544h-6.852a3%203%200%200%201%20-2.965%20-2.544l-1.255%20-8.152a2%202%200%200%201%201.977%20-2.304z'%20/%3E%0A%20%20%3Cpath%20d='M9%2011v-5a3%203%200%200%201%206%200v5'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6.331%208h11.339a2%202%200%200%201%201.977%202.304l-1.255%208.152a3%203%200%200%201%20-2.966%202.544h-6.852a3%203%200%200%201%20-2.965%20-2.544l-1.255%20-8.152a2%202%200%200%201%201.977%20-2.304z'%20/%3E%0A%20%20%3Cpath%20d='M9%2011v-5a3%203%200%200%201%206%200v5'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-winter_sports { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%204l2%201l2%20-1'%20/%3E%0A%20%20%3Cpath%20d='M12%202v6.5l3%201.72'%20/%3E%0A%20%20%3Cpath%20d='M17.928%206.268l.134%202.232l1.866%201.232'%20/%3E%0A%20%20%3Cpath%20d='M20.66%207l-5.629%203.25l.01%203.458'%20/%3E%0A%20%20%3Cpath%20d='M19.928%2014.268l-1.866%201.232l-.134%202.232'%20/%3E%0A%20%20%3Cpath%20d='M20.66%2017l-5.629%20-3.25l-2.99%201.738'%20/%3E%0A%20%20%3Cpath%20d='M14%2020l-2%20-1l-2%201'%20/%3E%0A%20%20%3Cpath%20d='M12%2022v-6.5l-3%20-1.72'%20/%3E%0A%20%20%3Cpath%20d='M6.072%2017.732l-.134%20-2.232l-1.866%20-1.232'%20/%3E%0A%20%20%3Cpath%20d='M3.34%2017l5.629%20-3.25l-.01%20-3.458'%20/%3E%0A%20%20%3Cpath%20d='M4.072%209.732l1.866%20-1.232l.134%20-2.232'%20/%3E%0A%20%20%3Cpath%20d='M3.34%207l5.629%203.25l2.99%20-1.738'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M10%204l2%201l2%20-1'%20/%3E%0A%20%20%3Cpath%20d='M12%202v6.5l3%201.72'%20/%3E%0A%20%20%3Cpath%20d='M17.928%206.268l.134%202.232l1.866%201.232'%20/%3E%0A%20%20%3Cpath%20d='M20.66%207l-5.629%203.25l.01%203.458'%20/%3E%0A%20%20%3Cpath%20d='M19.928%2014.268l-1.866%201.232l-.134%202.232'%20/%3E%0A%20%20%3Cpath%20d='M20.66%2017l-5.629%20-3.25l-2.99%201.738'%20/%3E%0A%20%20%3Cpath%20d='M14%2020l-2%20-1l-2%201'%20/%3E%0A%20%20%3Cpath%20d='M12%2022v-6.5l-3%20-1.72'%20/%3E%0A%20%20%3Cpath%20d='M6.072%2017.732l-.134%20-2.232l-1.866%20-1.232'%20/%3E%0A%20%20%3Cpath%20d='M3.34%2017l5.629%20-3.25l-.01%20-3.458'%20/%3E%0A%20%20%3Cpath%20d='M4.072%209.732l1.866%20-1.232l.134%20-2.232'%20/%3E%0A%20%20%3Cpath%20d='M3.34%207l5.629%203.25l2.99%20-1.738'%20/%3E%3C/svg%3E") center / contain no-repeat; }
.adot.t-diving { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M6%2011l4%20-2l3.5%203l-1.5%202'%20/%3E%0A%20%20%3Cpath%20d='M3%2016.75a2.4%202.4%200%200%200%201%20.25a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%201%20-.25'%20/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%209m-1%200a1%201%200%201%200%202%200a1%201%200%201%200%20-2%200'%20/%3E%0A%20%20%3Cpath%20d='M6%2011l4%20-2l3.5%203l-1.5%202'%20/%3E%0A%20%20%3Cpath%20d='M3%2016.75a2.4%202.4%200%200%200%201%20.25a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%202%20-1a2.4%202.4%200%200%201%202%20-1a2.4%202.4%200%200%201%202%201a2.4%202.4%200%200%200%202%201a2.4%202.4%200%200%200%201%20-.25'%20/%3E%3C/svg%3E") center / contain no-repeat; }
html body .adot[class*="t-"] { width: 17px; height: 17px; border-radius: 0; background: var(--tc, var(--u-ink3)); flex: none; margin-right: 3px; }
html body .rgroup > summary .adot { width: 15px; height: 15px; }
html body .atype[aria-pressed="true"] .adot { background: #fff !important; }
html body .atype { gap: 6px; }
html body .vx-ico[class*="ico-"] { background: color-mix(in srgb, var(--tc, var(--u-ink3)) 16%, transparent); width: 30px; height: 30px; border-radius: 9px; }
html body .vx-ico[class*="ico-"] .vx-i { color: var(--tc, var(--u-ink3)) !important; width: 19px; height: 19px; }
html body .abadge[class*="t-"] { color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); }

/* ---- one teal and one coral for light and dark (v39) ---- */
:root, :root[data-theme="dark"] { --u-acc: #0f766e; --u-acc2: #0f766e; --u-acc-hover: #115e59; --u-acc-ink: #ffffff; --u-teal: #0f766e; --u-coral: #cc3b55; --u-rose: #cc3b55; }
:root[data-theme="light"] { --u-coral: #cc3b55; --u-rose: #cc3b55; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-coral: #cc3b55; --u-rose: #cc3b55; } }
html[data-theme="dark"] body .d-badges .kind-trip, html:not([data-theme="light"]) body .d-badges .kind-trip { color: #fff; }
/* orange buttons and selected chips: white text in dark too */
html[data-theme="dark"] body[data-page="gold"] .atype[aria-pressed="true"], html[data-theme="dark"] body[data-page="gold"] .atype[aria-pressed="true"] span, html[data-theme="dark"] body[data-page="gold"] .atype[aria-pressed="true"] b,
html[data-theme="dark"] body[data-page="gold"] #aAdd.btn-primary { color: #fff !important; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body[data-page="gold"] .atype[aria-pressed="true"], html:not([data-theme="light"]) body[data-page="gold"] .atype[aria-pressed="true"] span, html:not([data-theme="light"]) body[data-page="gold"] .atype[aria-pressed="true"] b { color: #fff !important; } }

/* Stays blue: the light theme's blue in dark too (v40) */
:root, :root[data-theme="dark"], :root[data-theme="light"] { --u-sky: #0369a1; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-sky: #0369a1; } }

/* every filter checkbox the same size and label style: Countries, States, With photos (v41) */
html body .us-toggle, html body .ph-filter { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--u-ink2); white-space: nowrap; cursor: pointer; min-height: 28px; }
html body .us-toggle input, html body .ph-filter input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--page); }
html body .manage-bar .ph-filter { gap: 7px; font-size: 13px; }

/* top number boxes on Trips, Stays, Meals and Activities: the same neutral black/white numbers everywhere (v42) */
html body[data-page] .stat b, html body[data-page] .stats .stat b, html body[data-page] #astats .stat b, html body[data-page] #rstats .stat b, html body[data-page] .act-tiles b, html body[data-page] .tiles b { color: var(--u-ink) !important; }

/* ---- record pages (activity, stay, meal, visit): small quiet section headings, two columns on desktop (v43) ---- */
html body .vp-sec:not(.vp-hero) > .vp-bar { background: transparent !important; color: var(--u-ink3); padding: 14px 18px 8px; border-bottom: 1px solid var(--u-line2); }
html body .vp-sec:not(.vp-hero) > .vp-bar h2 { font-family: inherit; font-size: 11.5px; font-weight: 700; font-style: normal; letter-spacing: .12em; color: var(--u-ink3); }
html body .vp-sec:not(.vp-hero) > .vp-bar .vp-count { background: var(--u-well); color: var(--u-ink2); font-size: 11px; padding: 1px 8px; }
html body .vp-sec:not(.vp-hero) > .vp-bar .vp-manage { border: 1px solid var(--u-line2); background: transparent; color: var(--u-ink2); font-size: 12px; }
html body .vp-sec .vp-bar.hero { padding: 14px 16px; }
html body .vp-sec .vp-bar.hero h2 { font-size: 19px; font-weight: 700; }
html body .vp-sec .vp-bar .vp-sub { font-size: 13px; }
html body :is(.rest-stack, #vbody, #info) .vp-sec { font-size: 14px; }
html body :is(.rest-stack, #vbody, #info) .vp-sec .vp-body, html body :is(.rest-stack, #vbody, #info) .vp-sec .ameta { font-size: 14px; }
html body :is(.rest-stack, #vbody, #info) .vp-sec .ameta dt, html body :is(.rest-stack, #vbody, #info) .vp-sec .ameta dd { font-size: 14px; }
.dp-cols { display: contents; }
@media (min-width: 1000px) {
  html body :is(.rest-stack, #vbody, #info) .dp-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
  html body :is(.rest-stack, #vbody, #info) .dp-main, html body :is(.rest-stack, #vbody, #info) .dp-side { display: grid; gap: 16px; min-width: 0; }
}
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar, html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar h2, html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar.vp-bar h2 { color: var(--u-ink3) !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar .vp-count { color: var(--u-ink2) !important; background: var(--u-well) !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar .vp-manage, html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) .vp-bar .vp-manage { color: var(--u-ink2) !important; }

html body #vbody .vhead { border-top: 4px solid var(--u-teal); }
html body #vbody .vhead h1, html body #vbody .vhead h2 { font-size: 21px; }
html body #vbody .vp-sec { margin-bottom: 0; }
html body #vbody { display: block; }
@media (min-width: 1000px) { html body #vbody > .vhead { margin-bottom: 16px; } html body #vbody > .vp-sec { margin-bottom: 16px; } html body #vbody .dp-main > .vp-sec, html body #vbody .dp-side > .vp-sec { margin-bottom: 0; } }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar { background: none !important; background-image: none !important; background-color: transparent !important; }

/* ---- section bars keep the colour of their type, in a smaller size (v47): photos purple, activities orange, stays blue, meals coral ---- */
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar { background-image: linear-gradient(90deg, var(--bar1, #475569), var(--bar2, #64748b)) !important; background-color: transparent !important; border-bottom: 0; padding: 9px 16px; border-radius: 0; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar, html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar h2 { color: #fff !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar .vp-count { background: rgba(255, 255, 255, .22) !important; color: #fff !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar .vp-manage { border-color: rgba(255, 255, 255, .55) !important; background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
html body .vp-bar[data-bar="photos"] { --bar1: #5b3fa6; --bar2: #7a55d6; }
html body .vp-bar[data-bar="activities"] { --bar1: #c2570a; --bar2: #ee8a3a; }
html body .vp-bar[data-bar="stays"] { --bar1: #0369a1; --bar2: #1f8ccb; }
html body .vp-bar[data-bar="meals"] { --bar1: #bf3550; --bar2: #dc5a72; }
html body .vp-bar[data-bar="notes"] { --bar1: #0f2347; --bar2: #25427a; }
html body .vp-bar[data-bar="sources"] { --bar1: #475569; --bar2: #64748b; }
html body .vp-bar[data-bar="page"] { --bar1: var(--page, #0f766e); --bar2: color-mix(in srgb, var(--page, #0f766e) 78%, #fff); }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar.vp-bar h2, html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar.vp-bar { color: #fff !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar.vp-bar .vp-count { color: #fff !important; background: rgba(255, 255, 255, .22) !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) .vp-bar .vp-manage { color: #fff !important; }

/* aligned columns, and normal capitalisation on section titles (v49) */
html body .dp-main > .vp-sec, html body .dp-side > .vp-sec { margin: 0 !important; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar h2 { text-transform: none; letter-spacing: .01em; font-size: 14px; font-weight: 600; }
html body :is(.rest-stack, #vbody, #info) .vp-sec:not(.vp-hero) > .vp-bar { padding: 10px 16px; }

/* location inside Details (v50) */
html body .vp-loc { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--u-line2); }
html body .vp-loc .vp-loclabel { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink3); margin-bottom: 8px; }
html body .vp-loc .map-row { min-height: 0; padding: 8px 10px; }

/* sources: a footer line at the bottom of Notes (or of Details when there are no notes) (v51) */
html body .vp-srcfoot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--u-line2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body .vp-srcfoot .vp-srclabel { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink3); }

/* location: the address as selectable text, Open in Google Maps as its own button beside it (v52) */
html body .vp-locrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
html body .vp-locrow .vp-addr { font-size: 14px; color: var(--u-ink); user-select: text; -webkit-user-select: text; min-width: 0; overflow-wrap: anywhere; flex: 1 1 200px; }
html body .vp-locrow .vp-gmap { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--page, var(--u-teal)) 45%, transparent); color: var(--page, var(--u-teal)); background: color-mix(in srgb, var(--page, var(--u-teal)) 10%, transparent); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
html body .vp-locrow .vp-gmap:hover { background: color-mix(in srgb, var(--page, var(--u-teal)) 18%, transparent); }

/* hero title always starts at the left, next to the date tile or flag (v53) */
html body .vp-sec .vp-bar.hero { justify-content: flex-start; gap: 14px; text-align: left; }
html body .vp-sec .vp-bar.hero > div { flex: 1 1 auto; min-width: 0; text-align: left; }
html body .vp-sec .vp-bar.hero .rstars { margin-left: auto; }
html body .day-card.solo { padding-left: 14px; }

/* date tile on the visit page header, in the Trips teal (v55) */
html body #vbody .vh-title .dblk { background: linear-gradient(180deg, color-mix(in srgb, var(--u-teal) 78%, #000), var(--u-teal)); color: #fff; margin-right: 4px; }

/* date tile in the page title bar follows the page colour (v56) */
html body .vp-bar.hero .dblk { background: #fff; box-shadow: none; }
html body .vp-bar.activities.hero .dblk { color: #c2570a; }
html body .vp-bar.stays.hero .dblk { color: #0369a1; }
html body .vp-bar.restaurants.hero .dblk, html body .vp-bar.meals.hero .dblk { color: #bf3550; }
html body .vp-bar.hero .dblk small, html body .vp-bar.hero .dblk b { color: inherit; }
html body .vp-bar.stays.hero { background-image: linear-gradient(90deg, #0369a1, #1f8ccb) !important; }
html body .vp-bar.restaurants.hero, html body .vp-bar.meals.hero { background-image: linear-gradient(90deg, #bf3550, #dc5a72) !important; }
html body .vp-bar.activities.hero { background-image: linear-gradient(90deg, #c2570a, #ee8a3a) !important; }

/* ---- map side sheet: calmer trip box, My map teal buttons (v58) ---- */
html body .d-tripbox, html body .d-tripbox.top { background: var(--u-card) !important; border: 1px solid var(--u-line2) !important; box-shadow: none; }
html body .d-tripbox .tbx-line b { color: var(--u-ink); }
html body .d-tripbox .kind-trip { background: transparent !important; color: var(--u-ink3) !important; padding: 0; }
html body .d-tripbox small { color: var(--u-ink3); }
html body .d-top .btn::before { content: none !important; display: none !important; }
html body .d-top .btn, html body .d-all, html body .d-bar .d-top .btn, html body .sheet-backbtn {
  background: transparent !important; color: #0f766e !important; border: 1.5px solid #0f766e !important; border-radius: 999px; font-weight: 600; padding: 7px 16px; }
html body .d-top .btn:hover, html body .d-all:hover, html body .sheet-backbtn:hover { background: color-mix(in srgb, #0f766e 12%, transparent) !important; }
html[data-theme="dark"] body .d-top .btn, html[data-theme="dark"] body .d-all, html[data-theme="dark"] body .sheet-backbtn { color: var(--u-ink) !important; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body .d-top .btn, html:not([data-theme="light"]) body .d-all, html:not([data-theme="light"]) body .sheet-backbtn { color: var(--u-ink) !important; } }
html body .d-tripbox .btn { background: #0f766e !important; color: #fff !important; border: 1.5px solid #0f766e !important; border-radius: 999px; font-weight: 600; padding: 7px 16px; }
html body .d-tripbox .btn:hover { background: #115e59 !important; }

/* ---- dark theme: lighter text and icons on the cards, My map teal on the map toggles, purple Photos bar in the side sheet (v59) ---- */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) body .vcx .vx-k { color: color-mix(in srgb, var(--hue, #0f766e) 40%, #ffffff) !important; }
  html:not([data-theme="light"]) body .vcx .vx-r > .vx-i, html:not([data-theme="light"]) body .vcx .vx-stats .vx-i { color: color-mix(in srgb, var(--hue, #0f766e) 45%, #ffffff) !important; }
  html:not([data-theme="light"]) body .vcx .vx-chip, html:not([data-theme="light"]) body .stay-cities .pchip { background: color-mix(in srgb, var(--hue, #0f766e) 28%, transparent) !important; color: #e6efed !important; }
  html:not([data-theme="light"]) body .vcx .vx-stats span { background: color-mix(in srgb, var(--hue, #0f766e) 20%, transparent) !important; color: var(--u-ink2) !important; }
  html:not([data-theme="light"]) body .vcx .vx-r, html:not([data-theme="light"]) body .vcx .vx-r a { color: var(--u-ink) !important; }
  html:not([data-theme="light"]) body .vcx .vx-r em, html:not([data-theme="light"]) body .vcx .vx-dt, html:not([data-theme="light"]) body .vcx .vx-dt b { color: var(--u-ink2) !important; }
  html:not([data-theme="light"]) body .vcx .vx-btn { color: var(--u-ink) !important; border-color: color-mix(in srgb, var(--hue, #0f766e) 55%, #ffffff) !important; }
  html:not([data-theme="light"]) body .vcx .vx-btn .vx-i, html:not([data-theme="light"]) body .vcx .vx-add { color: color-mix(in srgb, var(--hue, #0f766e) 45%, #ffffff) !important; }
}

  html[data-theme="dark"] body .vcx .vx-k { color: color-mix(in srgb, var(--hue, #0f766e) 40%, #ffffff) !important; }
  html[data-theme="dark"] body .vcx .vx-r > .vx-i, html[data-theme="dark"] body .vcx .vx-stats .vx-i { color: color-mix(in srgb, var(--hue, #0f766e) 45%, #ffffff) !important; }
  html[data-theme="dark"] body .vcx .vx-chip, html[data-theme="dark"] body .stay-cities .pchip { background: color-mix(in srgb, var(--hue, #0f766e) 28%, transparent) !important; color: #e6efed !important; }
  html[data-theme="dark"] body .vcx .vx-stats span { background: color-mix(in srgb, var(--hue, #0f766e) 20%, transparent) !important; color: var(--u-ink2) !important; }
  html[data-theme="dark"] body .vcx .vx-r, html[data-theme="dark"] body .vcx .vx-r a { color: var(--u-ink) !important; }
  html[data-theme="dark"] body .vcx .vx-r em, html[data-theme="dark"] body .vcx .vx-dt, html[data-theme="dark"] body .vcx .vx-dt b { color: var(--u-ink2) !important; }
  html[data-theme="dark"] body .vcx .vx-btn { color: var(--u-ink) !important; border-color: color-mix(in srgb, var(--hue, #0f766e) 55%, #ffffff) !important; }
  html[data-theme="dark"] body .vcx .vx-btn .vx-i, html[data-theme="dark"] body .vcx .vx-add { color: color-mix(in srgb, var(--hue, #0f766e) 45%, #ffffff) !important; }


/* Globe/Flat and World/US: the selected one looks like the selected My map tab */
html body .maptools .seg button[aria-pressed="true"], html body .maptools .seg button.on { background: #0f766e !important; color: #fff !important; font-weight: 600; box-shadow: none !important; }
html body .maptools .seg button[aria-pressed="true"]:hover { background: #115e59 !important; }
/* the Photos bar in the map side sheet matches the record pages */
html body .vp-sec.pc-compact > .vp-bar { background-image: linear-gradient(90deg, #5b3fa6, #7a55d6) !important; background-color: transparent !important; color: #fff !important; padding: 9px 14px; border-radius: 10px 10px 0 0; border-bottom: 0; }
html body .vp-sec.pc-compact > .vp-bar h2 { color: #fff !important; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: .01em; }
html body .vp-sec.pc-compact > .vp-bar .vp-count { background: rgba(255, 255, 255, .22) !important; color: #fff !important; }

/* ---- maximised map sheet: the same two columns as the record pages, Photos on the left and the facts on the right (v60) ---- */
@media (min-width: 900px) {
  html body #info.on.full:has(> .vp-sec.pc-host) { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); column-gap: 18px; align-items: start; align-content: start; }
  html body #info.on.full:has(> .vp-sec.pc-host) > * { grid-column: 1 / -1; }
  html body #info.on.full:has(> .vp-sec.pc-host) > .vp-sec.pc-host { grid-column: 1; grid-row: 30 / span 2; }
  html body #info.on.full:has(> .vp-sec.pc-host) > .d-sec { grid-column: 2; grid-row: 30; }
  html body #info.on.full:has(> .vp-sec.pc-host) > .d-btns { grid-column: 2; grid-row: 31; }
  html body #info.on.full .pc-host .vp-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (min-width: 900px) {
  html body #info.on.full:has(> .vp-sec.pc-host) { overflow-x: hidden; padding-inline: 18px; }
  html body #info.on.full:has(> .vp-sec.pc-host) > * { justify-self: stretch; width: auto; max-width: none; margin-left: 0; margin-right: 0; min-width: 0; }
  html body #info.on.full:has(> .vp-sec.pc-host) > .d-tripbox.top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px; justify-items: start; }
}
@media (min-width: 900px) {
  html body #info.on.full:has(> .vp-sec.pc-host) > .d-tripbox.top { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 4px; }
  html body #info.on.full:has(> .vp-sec.pc-host) > .d-tripbox.top .btn { justify-self: start; }
}

/* map side sheet: the visit's sections stack like the record pages, and sit in two columns when maximised (v63) */
html body #info .d-cols { display: grid; gap: 14px; margin-top: 10px; }
html body #info .d-left, html body #info .d-right { display: grid; gap: 14px; min-width: 0; align-content: start; }
html body #info .d-right { order: -1; }
html body #info .d-card { margin: 0; overflow: hidden; }
html body #info .d-card .vp-body { padding: 12px 14px; }
@media (min-width: 900px) {
  html body #info.on.full .d-cols { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; }
  html body #info.on.full .d-right { order: 0; }
  html body #info.on.full .d-left { order: -1; }
  html body #info.on.full .pc-host .vp-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
html body #info .d-card .vp-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 13px; }
html body #info .d-card .vp-links a, html body #info .d-card .vp-links a.eat-link { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; color: var(--u-teal) !important; font-weight: 600; text-decoration: underline; min-height: 0; box-shadow: none !important; }
html body #info .d-card .vp-links { color: transparent; font-size: 0; }
html body #info .d-card .vp-links a { font-size: 13px; }

/* phones: use more of the screen width */
@media (max-width: 640px) {
  html body main.sub-main.wide { padding-left: 6px !important; padding-right: 6px !important; }
  html body main.sub-main.wide .vcard, html body main.sub-main.wide .card { border-radius: 14px; }
}

/* year scroller follows the page colour */
html body .yrail .yr span.on, html body .yrail .yr .on, html body .yrail .on { color: var(--page) !important; font-weight: 800; }
html body .yrail .yr span { color: color-mix(in srgb, var(--page) 55%, var(--u-ink3)); }
html body .yrail .ythumb { background: var(--page); }
html body .yrail:hover, html body .yrail.drag { border-left: 3px solid var(--page); background: color-mix(in srgb, var(--page) 10%, var(--surface)); }
html body .ytip { background: var(--page) !important; color: #fff !important; }

/* links to photo albums kept elsewhere (Immich and so on) on the Photos card */
html body .vp-albums { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
html body .vp-albums-label { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--u-ink3); }
html body .vp-albumlink { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: #fff; background: linear-gradient(135deg, #5b3fa6, #7a55d6); }
html body .vp-albumlink:hover { filter: brightness(1.08); }

/* ---- Trips page, one trip open: same header as the trip on My map (v70) ---- */
html body .trip-block.full .tb-head .d-tabs, html body .trip-block.full .tb-head .d-badges, html body .trip-block.full .tb-head .d-datecard, html body .trip-block.full .tb-head .tline, html body .trip-block.full .tb-head .tline-ax, html body .trip-block.full .tb-head .d-flights { margin-left: 0; margin-right: 0; }
html body .trip-block.full .tb-head { gap: 10px; }
html body .trip-block.full .tb-head .d-tabs { margin-top: 2px; }
html body .trip-block.full .tb-notes { margin: 4px 0 0; }
html body .trip-block.full .tb-notes .tb-desc { margin: 0; max-width: none; }
html body .trip-block.full .tb-head .stay-actions { margin-top: 2px; }
/* photos under each visit are small thumbnails */
html body .tb-visits .cx-pp .ph-strip { grid-template-columns: repeat(auto-fill, 76px); gap: 6px; }
html body .tb-visits .cx-pp .ph-strip .pt { aspect-ratio: 1 / 1; border-radius: 8px; }
/* Flights: a quiet card with a plane icon and a count, shared by the map sheet and the Trips page */
html body details.d-flights { margin: 10px 18px 0; border: 1px solid color-mix(in srgb, var(--u-teal, #0f766e) 30%, var(--u-line2, var(--line))); border-radius: 12px; background: color-mix(in srgb, var(--u-teal, #0f766e) 8%, transparent); overflow: hidden; }
html body details.d-flights > summary { display: flex; align-items: center; gap: 9px; margin: 0; padding: 10px 14px; cursor: pointer; list-style: none; color: var(--u-ink, var(--ink)); font-size: 14px; font-weight: 600; min-height: 40px; }
html body details.d-flights > summary::-webkit-details-marker { display: none; }
html body details.d-flights > summary::before { content: none; }
html body details.d-flights > summary svg { color: var(--u-teal, #0f766e); flex: none; }
html body details.d-flights > summary .fl-n { margin-left: 2px; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--u-teal, #0f766e) 22%, transparent); color: var(--u-ink, var(--ink)); }
html body details.d-flights > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .15s; }
html body details.d-flights[open] > summary::after { transform: rotate(-135deg); }
html body details.d-flights > ul { list-style: none; margin: 0; padding: 2px 14px 10px; display: grid; gap: 6px; font-size: 13.5px; color: var(--u-ink2, var(--ink-2)); }
html body details.d-flights > ul li { padding: 7px 10px; border-radius: 8px; background: color-mix(in srgb, var(--u-ink, #888) 6%, transparent); }

/* Flights: open by default but slim (v71) */
html body details.d-flights { margin-top: 8px; }
html body details.d-flights > summary { padding: 6px 12px; min-height: 32px; font-size: 13px; }
html body details.d-flights > ul { padding: 0 12px 8px; gap: 0; font-size: 12.5px; }
html body details.d-flights > ul li { padding: 3px 0; background: none; border-radius: 0; border-top: 1px solid color-mix(in srgb, var(--u-ink, #888) 10%, transparent); line-height: 1.35; }
html body details.d-flights > ul li:first-child { border-top: 0; }
html body .trip-block.full .tb-head .tline { margin-top: 2px; }
html body details.more.d-flights > summary::before, html body details.more.d-flights[open] > summary::before { content: none; }

/* visits inside a trip share the full width: two visits sit side by side, one visit spans the row (v73) */
@media (min-width: 761px) { html body .tb-visits { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } }
html body details.d-flights { overflow: visible; }
html body details.d-flights > ul li:last-child { border-bottom-left-radius: 8px; }
.vx-bts { margin-left: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.vx-bts .vx-btn { margin-left: 0; }
.vx-btn2 { background: transparent !important; color: var(--accent) !important; border: 1px solid var(--accent) !important; }
:root[data-theme="light"] { --map-halo: rgba(250, 248, 245, .88); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --map-halo: rgba(250, 248, 245, .88); } }

/* city chips in the country drawer open that city's visits */
.pchip-city { cursor: pointer; }
.pchip-city:hover, .pchip-city.on { outline: 2px solid var(--accent, #0f766e); }
.d-sel .btn { margin-left: 10px; }

/* how long a flight took, shown after each flight */
.fl-dur { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: .86em; font-weight: 600; white-space: nowrap; background: color-mix(in srgb, var(--accent, #0f766e) 12%, transparent); color: var(--accent, #0f766e); }
.fl-dur.fl-est { background: transparent; border: 1px dashed color-mix(in srgb, var(--accent, #0f766e) 55%, transparent); font-weight: 500; }

/* flights as a thin table in three groups (Departure, Internal, Arrival), each with a type card down the left like a date card. Every row has every column (a dash when a value is missing). */
html body ul.fl-list, html body details.d-flights > ul.fl-list { list-style: none; margin: 0; padding: 2px 14px 10px; display: block; font-size: 13px; container-type: inline-size; }
html body ul.fl-list > li, html body details.d-flights > ul.fl-list > li, html body ul.fl-rows > li { padding: 0; background: none; border: 0; border-radius: 0; margin: 0; display: block; }
html body ul.fl-rows { list-style: none; margin: 0; padding: 0; display: block; min-width: 0; flex: 1; }
html body ul.fl-list > li.fl-sec-li { padding: 8px 0; }
html body ul.fl-list > li.fl-sec-li + li.fl-sec-li { border-top: 1px dashed color-mix(in srgb, var(--u-ink, #1c1917) 14%, transparent); }
html body ul.fl-rows > li + li { border-top: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 9%, transparent); }
html body ul.fl-list > li.fl-head { padding: 0; }
.fl-block { display: flex; gap: 12px; align-items: stretch; }
.fl-type-sp { flex: 0 0 74px; }
.fl-type { flex: 0 0 74px; }
.fl-type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 4px; border-radius: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ft, #0f766e); background: color-mix(in srgb, var(--ft, #0f766e) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ft, #0f766e) 30%, transparent); }
.fl-type-out { --ft: #14a89c; } .fl-type-mid { --ft: #8b7be0; } .fl-type-back { --ft: #e0894f; }
.fl-type .fl-ti { display: block; flex: none; }
.fl-type { min-height: 54px; font-size: 9.5px; text-align: center; }
.fl-type.is-v { flex-basis: 46px; flex-direction: column; justify-content: flex-start; padding: 10px 4px; gap: 10px; }
.fl-type.is-v span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .16em; font-size: 10.5px; white-space: nowrap; }
.fl-head .fl-row { min-height: 0; padding: 4px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink3, var(--ink-3, #78716c)); }
.fl-row { display: grid; grid-template-columns: 44px minmax(118px, 2.2fr) 52px minmax(38px, .5fr) minmax(62px, .8fr) minmax(38px, .5fr) minmax(80px, 1fr) minmax(52px, .8fr) minmax(78px, 1fr) 56px; gap: 2px 6px; align-items: center; min-height: 30px; padding: 3px 0; }
.fl-row > * { min-width: 0; }
.fl-row .c0 { font-weight: 700; color: var(--u-teal, #0f766e); white-space: nowrap; }
.fl-row .c1 { display: flex; align-items: center; min-width: 0; }
.fl-row .c1 .an { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-row .c2 { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--u-ink2, var(--ink-2)); white-space: nowrap; }
.fl-row .c3, .fl-row .c5 { min-width: 0; }
.fl-row .c3 b, .fl-row .c5 b { font-weight: 700; letter-spacing: .04em; color: var(--u-ink, var(--ink)); cursor: help; border-bottom: 1px dotted color-mix(in srgb, var(--u-ink, #1c1917) 35%, transparent); }
.fl-row .c4, .fl-row .c6 { font-variant-numeric: tabular-nums; color: var(--u-ink2, var(--ink-2)); white-space: nowrap; }
.fl-row .c7 { font-size: 12px; color: var(--u-ink2, var(--ink-2)); display: flex; flex-direction: column; line-height: 1.2; }
.fl-row .c7 small { font-size: 10.5px; color: var(--u-ink3, var(--ink-3, #78716c)); }
.fl-row .c8 { justify-self: end; }
.fl-row .na { color: var(--u-ink3, var(--ink-3, #78716c)); opacity: .6; }
.fl-plus { font-size: 10px; font-weight: 700; padding: 1px 5px; margin-left: 4px; border-radius: 6px; background: var(--u-teal, #0f766e); color: #fff; vertical-align: baseline; }
.fl-row .fl-dur { margin: 0; font-size: 12.5px; white-space: nowrap; }
.fl-note { font-size: 12px; color: var(--u-ink3, var(--ink-3, #78716c)); padding: 4px 0 6px 68px; }
.fl-plain { font-size: 13px; padding: 8px 0; }
li.is-orig .fl-row > :not(.fl-tag) { opacity: .55; }
li.is-orig .fl-row .c1 .an, li.is-orig .fl-row .c2, li.is-orig .fl-row .c3, li.is-orig .fl-row .c4, li.is-orig .fl-row .c5, li.is-orig .fl-row .c6, li.is-orig .fl-row .c8 { text-decoration: line-through; text-decoration-thickness: 1px; }
.fl-row .rt { display: contents; }
/* a narrower list: each flight becomes two lines (date, airline, flight, stops, time on top; from and to underneath) */
@container (max-width: 690px) {
  html body ul.fl-list > li.fl-head { display: none !important; }
  .fl-type { flex-basis: 62px; } .fl-type.is-v { flex-basis: 40px; } .fl-type-sp { flex-basis: 62px; }
  .fl-row { grid-template-columns: 54px minmax(0, 1fr) auto auto auto; grid-template-areas: "d a n s t" "d r r r r"; row-gap: 3px; }
  .fl-row .c0 { grid-area: d; align-self: start; padding-top: 1px; }
  .fl-row .c1 { grid-area: a; } .fl-row .c2 { grid-area: n; } .fl-row .c7 { grid-area: s; flex-direction: row; gap: 6px; align-items: baseline; } .fl-row .c8 { grid-area: t; }
  .fl-row .rt { grid-area: r; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .fl-row .rt .c5::before { content: "\2192"; margin-right: 6px; color: var(--u-teal, #0f766e); font-weight: 700; }
  .fl-note { padding-left: 64px; }
}
/* narrower still: the card becomes a thin bar on top, and the from goes on one line and the to on the next */
@container (max-width: 470px) {
  .fl-block { flex-direction: column; gap: 4px; }
  .fl-type { flex: none; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 4px 10px; align-self: flex-start; }
  .fl-type .fl-ti { width: 16px; height: 16px; }
  .fl-type.is-v { flex-direction: row; padding: 4px 10px; gap: 8px; min-height: 0; flex: none; }
  .fl-type.is-v span { writing-mode: horizontal-tb; transform: none; letter-spacing: .08em; }
  .fl-row .rt { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 12px; }
  .fl-row .rt .c5::before { content: none; }
  .fl-note { padding-left: 0; }
}
/* a label on a flight: the booking that was not flown, or the one it moved to */
.fl-tag { grid-column: 2 / -1; justify-self: start; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); color: var(--u-ink2, var(--ink-2)); }
.fl-tag-orig { background: color-mix(in srgb, #b45309 16%, transparent); color: #b45309; }
.fl-tag-moved { background: color-mix(in srgb, var(--u-teal, #0f766e) 16%, transparent); color: var(--u-teal, #0f766e); }
.fl-row.is-orig .fl-route, .fl-row.is-orig .fl-dur { opacity: .6; text-decoration: line-through; text-decoration-thickness: 1px; }

/* an airline badge (its two-letter code in its colour) and the strip of airlines you have flown */
.fl-al { display: inline-block; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: 3px 4px; border-radius: 4px; margin-right: 5px; vertical-align: 1px; min-width: 20px; text-align: center; }
.airlines { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: 13px; color: var(--u-ink2, var(--ink-2)); }
.airlines > b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink3, var(--ink-3, #78716c)); margin-right: 4px; }
.airlines .al-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: color-mix(in srgb, var(--u-ink, #1c1917) 6%, transparent); border: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); }
.airlines .al-chip .fl-al { margin: 0; }
.airlines .al-chip small { font-size: 12px; opacity: .75; }

/* the type cards are all the same width so the column titles line up; extra height from a tall card is shared evenly between the rows */
.fl-type, .fl-type-sp, .fl-type.is-v { flex: 0 0 60px; }
.fl-type { font-size: 8.5px; letter-spacing: .04em; padding: 8px 2px; }
.fl-type.is-v { padding: 10px 2px; gap: 8px; }
.fl-type.is-v span { letter-spacing: .12em; font-size: 10px; }
html body ul.fl-rows { display: flex; flex-direction: column; }
html body ul.fl-rows > li { flex: 1 1 auto; display: flex; align-items: center; }
html body ul.fl-rows > li > .fl-row, html body ul.fl-rows > li > .fl-note, html body ul.fl-rows > li > .fl-plain { width: 100%; }
.fl-head .fl-row > span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: inherit; text-transform: uppercase; }
@container (max-width: 690px) { .fl-type, .fl-type-sp, .fl-type.is-v { flex: 0 0 52px; } }
@container (max-width: 470px) { .fl-type, .fl-type.is-v { flex: none; } }
.fl-block > .fl-rows { flex: 1 1 0; min-width: 0; }
.fl-head .fl-rows > .fl-row { width: 100%; }

/* the airlines you have flown: collapsed to one line until opened; a chip shows the trips and flights on that airline */
.airlines { display: block; margin: 10px 0 0; }
.al-box { border: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 12%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--u-ink, #1c1917) 4%, transparent); }
.al-box > summary { display: flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; list-style: none; font-size: 13px; color: var(--u-ink2, var(--ink-2)); min-height: 38px; }
.al-box > summary::-webkit-details-marker { display: none; }
.al-box > summary b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink, var(--ink)); }
.al-box > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .15s; }
.al-box[open] > summary::after { transform: rotate(-135deg); }
.al-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 2px 12px 12px; }
.airlines .al-chip { font: inherit; font-size: 13px; color: var(--u-ink2, var(--ink-2)); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px; background: color-mix(in srgb, var(--u-ink, #1c1917) 6%, transparent); border: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); }
.airlines .al-chip:hover { border-color: color-mix(in srgb, var(--u-teal, #0f766e) 60%, transparent); }
.airlines .al-chip.on { background: color-mix(in srgb, var(--u-teal, #0f766e) 22%, transparent); border-color: var(--u-teal, #0f766e); color: var(--u-ink, var(--ink)); }
.al-detail { margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--u-ink, #1c1917) 6%, transparent); }
.al-detail .al-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.al-detail .al-head span { color: var(--u-ink3, var(--ink-3, #78716c)); font-size: 12.5px; }
.al-detail ul { list-style: none; margin: 0; padding: 0; }
.al-detail li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 7px 0; border-top: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 9%, transparent); font-size: 13px; }
.al-detail li:first-child { border-top: 0; }
.al-detail li a { font-weight: 600; color: var(--u-teal, #0f766e); text-decoration: none; }
.al-detail li a:hover { text-decoration: underline; }
.al-detail li small { grid-column: 1; font-size: 11.5px; color: var(--u-ink3, var(--ink-3, #78716c)); overflow-wrap: anywhere; }
.al-detail li em { grid-row: 1; grid-column: 2; font-style: normal; font-size: 12px; color: var(--u-ink3, var(--ink-3, #78716c)); }

/* phone rows: line 1 date, airline, flight number; then the from and the to on two lines with the stops and the flight time to their right */
@container (max-width: 470px) {
  .fl-row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "d a n" "d r s" "d r t"; gap: 3px 10px; align-items: center; }
  .fl-row .c0 { grid-area: d; align-self: start; }
  .fl-row .c1 { grid-area: a; } .fl-row .c2 { grid-area: n; justify-self: end; }
  .fl-row .rt { grid-area: r; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 3px 12px; align-items: baseline; }
  .fl-row .rt .c5::before { content: none; }
  .fl-row .c7 { grid-area: s; justify-self: end; flex-direction: row; gap: 6px; text-align: right; }
  .fl-row .c8 { grid-area: t; justify-self: end; }
  .fl-tag { grid-column: 1 / -1; }
  .fl-row .c1 .an { overflow: visible; white-space: normal; }
}

/* the type of flight is a heading line above each group, at every width: the icon, the word and how many flights, underlined in the group's colour */
html body ul.fl-list .fl-block { flex-direction: column; gap: 2px; }
html body ul.fl-list .fl-type-sp { display: none; }
html body ul.fl-list .fl-type, html body ul.fl-list .fl-type.is-v { flex: none; width: auto; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 2px 0 4px; min-height: 0; background: none; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--ft) 55%, transparent); border-radius: 0; font-size: 11px; letter-spacing: .1em; text-align: left; align-self: auto; }
html body ul.fl-list .fl-type span, html body ul.fl-list .fl-type.is-v span { writing-mode: horizontal-tb; transform: none; letter-spacing: .1em; font-size: 11px; display: inline; }
html body ul.fl-list .fl-type::after { content: attr(data-n); margin-left: auto; font-weight: 500; letter-spacing: 0; text-transform: none; opacity: .8; }
html body ul.fl-list .fl-type .fl-ti { width: 18px; height: 18px; }
html body ul.fl-list .fl-note { padding-left: 0; }

/* less wasted height: rows are only as tall as their content, in the one-line table and in the two-line layout */
html body ul.fl-rows > li { flex: none; }
html body ul.fl-list > li.fl-sec-li { padding: 4px 0; }
@container (max-width: 690px) { .fl-row { min-height: 0; padding: 4px 0; } .fl-note { padding: 2px 0 4px; } }
/* other list styles on the visit page add padding to every li; the flight rows set their own spacing */
html body ul.fl-list ul.fl-rows > li { padding: 0 !important; margin: 0 !important; background: none !important; border-radius: 0 !important; }
html body ul.fl-list ul.fl-rows > li + li { border-top: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 9%, transparent) !important; }
html body ul.fl-list > li { padding: 0 !important; margin: 0 !important; }
html body ul.fl-list > li.fl-sec-li { padding: 4px 0 !important; }

.fl-row .na-txt { font-size: 12px; color: var(--u-ink2, var(--ink-2)); white-space: nowrap; }
.fl-row .c0, .fl-row .c0.fl-conn { color: var(--u-teal, #0f766e); font-weight: 700; }

/* a flight that was not taken is simply lighter (no strike-through); a short status chip in the Stops column says what happened. Notes go once on the group heading. */
li.is-orig .fl-row > :not(.c7) { opacity: .5; }
li.is-orig .fl-row .c1 .an, li.is-orig .fl-row .c2, li.is-orig .fl-row .c3, li.is-orig .fl-row .c4, li.is-orig .fl-row .c5, li.is-orig .fl-row .c6, li.is-orig .fl-row .c8 { text-decoration: none; }
.fl-chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); color: var(--u-ink2, var(--ink-2)); }
.fl-chip-orig { background: color-mix(in srgb, #b45309 16%, transparent); color: #b45309; }
.fl-chip-moved { background: color-mix(in srgb, var(--u-teal, #0f766e) 16%, transparent); color: var(--u-teal, #0f766e); }
.fl-chip-late { background: color-mix(in srgb, #b45309 16%, transparent); color: #b45309; }

/* the Status column (Not flown, Next day, Delayed by 7h) sits between Stops and Time; the whole row of a flight that was not taken is greyed */
.fl-row .c8 { display: flex; align-items: center; min-width: 0; }
.fl-row .c9 { justify-self: end; }
.fl-row .c8 .fl-chip { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
li.is-orig .fl-row > :not(.c8) { opacity: .45; filter: grayscale(1); }
li.is-orig .fl-row .c8 { opacity: 1; filter: none; }
.fl-chip-late { background: color-mix(in srgb, #dc2626 16%, transparent); color: #ef6a6a; }
/* two lines (up to 760px): date, airline, flight, stops and status on top; route and time underneath */
@container (max-width: 690px) {
  .fl-row { grid-template-columns: 52px minmax(0, 1fr) auto auto auto; grid-template-areas: "d a n s u" "d r r r t"; }
  .fl-row .c7 { grid-area: s; } .fl-row .c8 { grid-area: u; justify-self: end; } .fl-row .c9 { grid-area: t; justify-self: end; }
  .fl-row .c8 .na { display: none; }
}
/* phone: date and airline on the first line; then the from and to on two lines with the time, the stops and the status stacked on the right */
@container (max-width: 470px) {
  .fl-row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "d a n" "d r t" "d r s" "d r u"; }
  .fl-row .c7 { grid-area: s; justify-self: end; } .fl-row .c8 { grid-area: u; justify-self: end; } .fl-row .c9 { grid-area: t; justify-self: end; }
  .fl-row .c8 .na { display: none; }
}
.fl-row .c8 { justify-self: stretch; }
.fl-head .fl-row .c9 { justify-self: end; }

/* detail pages (a visit, a stay, a meal, an activity, photos) use the full page width like the lists do; they have no year rail, so no extra space on the right of a phone */
@media (max-width: 760px) { html body main.sub-main.wide.detail { padding-left: 14px; padding-right: 14px; } }

.fl-row .c6 { white-space: nowrap; }
.fl-row .c6 .fl-plus { margin-left: 5px; }

/* smaller type in the flight table, and no Status column when no flight has a status */
html body ul.fl-list { font-size: 12px; }
html body ul.fl-list .fl-row .c0 { font-size: 12px; }
html body ul.fl-list .fl-row .c1 { font-size: 12.5px; }
html body ul.fl-list .fl-row .c2 { font-size: 11px; }
html body ul.fl-list .fl-row .c3 b, html body ul.fl-list .fl-row .c5 b { font-size: 12.5px; }
html body ul.fl-list .fl-row .c4, html body ul.fl-list .fl-row .c6 { font-size: 12px; }
html body ul.fl-list .fl-row .c7 { font-size: 11.5px; }
html body ul.fl-list .fl-row .fl-dur { font-size: 11.5px; }
html body ul.fl-list .fl-head .fl-row > span { font-size: 9.5px; }
.fl-al { flex: none; white-space: nowrap; }
.fl-row.ns { grid-template-columns: 44px minmax(118px, 2.2fr) 52px minmax(38px, .5fr) minmax(62px, .8fr) minmax(38px, .5fr) minmax(80px, 1fr) minmax(52px, .8fr) 56px; }
.fl-row.ns .c8 { display: none; }
/* the same rows without a Status column must also fold to two lines / a phone layout in a narrow card, not keep the wide grid */
@container (max-width: 690px) {
  .fl-row.ns { grid-template-columns: 52px minmax(0, 1fr) auto auto; grid-template-areas: "d a n s" "d r r t"; }
}
@container (max-width: 470px) {
  .fl-row.ns { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "d a n" "d r t" "d r s"; }
}

/* "1 stop SIN": the stop's airport code sits beside the count */
html body ul.fl-list .fl-row .c7 { flex-direction: row; align-items: baseline; gap: 5px; flex-wrap: nowrap; white-space: nowrap; }
/* the airports and times sit in a wrapper with no box of its own (display: contents), so the grey has to go on them directly */
li.is-orig .fl-row .rt > * { opacity: .45; filter: grayscale(1); }
li.is-orig .fl-row > .rt { opacity: 1; filter: none; }

/* the route after the kind of flight: "Departure  New York to Seville" */
html body ul.fl-list .fl-type .fl-rt { font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--u-ink, var(--ink)); margin-left: 2px; }
html body ul.fl-list .fl-type { flex-wrap: wrap; }

/* jumping to a trip or visit from the airline list */
#mlist [data-trip], #mlist [data-visit] { scroll-margin-top: 76px; }
@keyframes flashHit { 0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--u-teal, #0f766e) 70%, transparent); } 100% { box-shadow: 0 0 0 3px transparent; } }
#mlist .flash-hit { animation: flashHit 2.2s ease-out 1; border-radius: 14px; }

/* change history page */
.au-intro { color: var(--u-ink2, var(--ink-2)); margin: 8px 0 12px; }
.au-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: 13px; color: var(--u-ink2, var(--ink-2)); }
.au-bar select { font: inherit; padding: 4px 8px; border-radius: 8px; }
.au-list { display: grid; gap: 8px; }
.au-row { border: 1px solid color-mix(in srgb, var(--u-ink, #1c1917) 12%, transparent); border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.au-row header { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-bottom: 4px; }
.au-row time { font-weight: 600; }
.au-act { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); }
.au-insert { color: #1a7f4b; } .au-delete { color: #b3261e; } .au-update { color: #946200; }
.au-tbl { font-family: ui-monospace, monospace; font-size: 12px; }
.au-who { margin-left: auto; color: var(--u-ink3, var(--ink-3, #78716c)); }
.au-ch { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 2px 0; overflow-wrap: anywhere; }
.au-ch b { min-width: 90px; }
.au-from { color: var(--u-ink3, #78716c); text-decoration: line-through; }
.au-subj { margin: 2px 0 4px; font-size: 14px; font-weight: 600; }
.au-link { color: var(--u-teal, #0f766e); text-decoration: none; }
.au-link:hover { text-decoration: underline; }
.au-gone { color: var(--u-ink3, #78716c); }
.au-row header { align-items: baseline; }
.au-row header .au-act { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.au-row header time { margin-left: auto; font-weight: 400; color: var(--u-ink3, var(--ink-3, #78716c)); font-size: 12px; }
.au-subj { font-size: 14px; font-weight: 600; margin: 0; }

/* an airline's logo in place of its two letters */
html body .fl-al.lg { background: #fff !important; padding: 1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); overflow: hidden; }
html body .fl-al.lg img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
html body .fl-al.lg { width: 22px; height: 22px; }

/* six menu links need a little less room each on mid-size screens, so the account button stays in view */
@media (min-width: 761px) and (max-width: 1100px) {
  html body .nav .wrap .subnav { gap: 2px; }
  html body .nav .wrap .subnav a { padding: 8px 10px; font-size: 13.5px; }
  html body .nav .userbar .nav-share { padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  html body .nav .userbar .nav-share { display: none; }
  html body .nav .wrap .subnav .m-only { display: inline-flex; }
  html body .nav .wrap .subnav a { padding: 8px 9px; font-size: 13px; }
}

/* Changes owns slate grey: teal is Trips, blue Stays, coral Meals, gold Activities, purple Photos */
:root { --u-violet: #a8b3c7; }
:root[data-theme="light"] { --u-violet: #475569; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --u-violet: #475569; } }
html body[data-page="violet"] { --page: var(--u-violet); }
html body[data-page="violet"] .au-link { color: var(--u-violet); }

/* add, change and remove flights; paste text and press Parse */
.fe-row { margin: 6px 0 10px; }
.fe-dlg { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--u-line2, #ddd); border-radius: 14px; background: var(--u-card, #fff); color: var(--u-ink, #1c1917); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.fe-dlg::backdrop { background: rgba(0,0,0,.5); }
.fe-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--u-line2, #ddd); position: sticky; top: 0; background: inherit; z-index: 1; }
.fe-head h2 { margin: 0; font-size: 17px; }
.fe-body { padding: 12px 18px 18px; overflow: auto; max-height: calc(100vh - 110px); }
.fe-list { list-style: none; margin: 0 0 12px; padding: 0; }
.fe-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--u-line2, #ddd); font-size: 14px; }
.fe-list li:first-child { border-top: 0; }
.fe-list b { min-width: 52px; }
.fe-main { font-weight: 600; }
.fe-times, .fe-list small { color: var(--u-ink3, #78716c); }
.fe-st { font-style: normal; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--u-ink, #1c1917) 10%, transparent); }
.fe-btns { margin-left: auto; display: inline-flex; gap: 6px; }
.fe-plain span { color: var(--u-ink2, #57534e); overflow-wrap: anywhere; flex: 1 1 60%; }
.fe-empty { color: var(--u-ink3, #78716c); margin: 4px 0 12px; }
.fe-sec { border-top: 1px solid var(--u-line2, #ddd); padding-top: 12px; margin-top: 12px; }
.fe-sec h3, .fe-sec summary { font-size: 13px; font-weight: 700; letter-spacing: .04em; margin: 0 0 6px; cursor: pointer; }
.fe-hint { font-size: 12.5px; color: var(--u-ink3, #78716c); margin: 0 0 8px; }
.fe-hint code, .fe-warn code { font-size: 12px; overflow-wrap: anywhere; }
.fe-text { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--u-line2, #ccc); background: var(--u-well, transparent); color: inherit; }
.fe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.fe-radio { font-size: 13px; display: inline-flex; gap: 5px; align-items: center; }
.fe-preview { margin-top: 10px; overflow-x: auto; }
.fe-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.fe-tbl th, .fe-tbl td { text-align: left; padding: 5px 8px; border-top: 1px solid var(--u-line2, #ddd); white-space: nowrap; }
.fe-tbl th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--u-ink3, #78716c); border-top: 0; }
.fe-warn, .fe-msg { color: #b3261e; font-size: 13px; margin: 8px 0 0; }
.fe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 10px; }
.fe-grid label { display: grid; gap: 3px; font-size: 12px; color: var(--u-ink3, #78716c); }
.fe-grid input, .fe-grid select { font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--u-line2, #ccc); background: var(--u-well, transparent); color: var(--u-ink, inherit); min-width: 0; }
.fe-grid .fe-wide { grid-column: 1 / -1; }
.fe-editing { display: block !important; }
.tm-flights { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vp-flights .vp-bar { display: flex; align-items: center; gap: 10px; }
.vp-flights .vp-bar .btn { margin-left: auto; }
.vp-flights .vp-bar .vp-count + .btn { margin-left: auto; }
details.d-flights > .fe-row { margin: 0; padding: 0 14px 10px; }
