/* theme.css — light / dark theme and the top-right controls (js/core/theme.js).
   Dark is the site's own look (tokens in base.css). Light: the tokens below, plus
   css/theme-light.css (generated by tools-src/make-light.py from the dark stylesheets),
   plus the hand-made fixes at the end of this file. Load order on every page:
   … page styles, theme-light.css, theme.css. */

/* ---------- Light tokens ---------- */
html[data-theme="light"] {
  --night: #F3F6FA; --panel: rgba(255, 255, 255, 0.96); --edge: rgba(20, 40, 80, 0.14);
  --text: #142235; --muted: #5A6A80; --accent: #1F6FD1; --warn: #9A6400; --bad: #C53040; --good: #14805A;
  --pop-bg: #FFFFFF; --attr-bg: rgba(255, 255, 255, 0.82);   /* map pop-ups, tips and the map credit line */
  color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }
/* The window and cockpit views are drawn over the real world: they stay dark in both themes */
html[data-theme="light"] #winview {
  --night: #0C1626; --panel: rgba(12, 22, 38, 0.88); --edge: rgba(150, 175, 210, 0.22);
  --text: #E7EDF6; --muted: #9AA8BE; --accent: #7CC7FF; --warn: #F2C14E; --bad: #FF8A94; --good: #7FE0B5;
  --pop-bg: #101C30; --attr-bg: rgba(12, 22, 38, 0.72);
  color-scheme: dark; color: var(--text);
}
/* Smooth change when you flip the switch (not on page load) */
html.theme-anim, html.theme-anim body, html.theme-anim * { transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease !important; }

/* ---------- Top right: theme switch · (more icons) · you ---------- */
.tb-right { gap: 10px; }
.tb-icon {
  width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; flex: none; position: relative;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: background 0.15s, color 0.15s;
}
.tb-icon:hover, .tb-icon:focus-visible { background: rgba(124, 199, 255, 0.14); color: var(--text); }
.tb-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sun / moon switch */
.theme-sw {
  position: relative; flex: none; width: 64px; height: 32px; padding: 0 8px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between;
  border-radius: 16px; border: 1px solid var(--edge); background: #1B2A44; color: #6F82A0; cursor: pointer; transition: background 0.25s, border-color 0.25s;
}
.theme-sw > svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-sw .knob {
  position: absolute; top: 3px; left: 35px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #7CC7FF; color: #0C1626; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: left 0.25s cubic-bezier(.4, .2, .2, 1), background 0.25s, color 0.25s;
}
.theme-sw .knob svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-sw .knob .sun { display: none; }
html[data-theme="light"] .theme-sw { background: #E6ECF5; color: #93A3BA; }
html[data-theme="light"] .theme-sw .knob { left: 3px; background: #FFC24A; color: #5A3A00; box-shadow: 0 2px 6px rgba(20, 40, 80, 0.25); }
html[data-theme="light"] .theme-sw .knob .sun { display: block; }
html[data-theme="light"] .theme-sw .knob .moon { display: none; }
.theme-sw:hover { border-color: var(--accent); }
.theme-sw:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .theme-sw .knob { transition: none; } html.theme-anim * { transition: none !important; } }

/* You: initials in a rounded square with a ▾ (signed out: a person icon and "Log in") */
.topbar .tb-right .acct-btn {
  position: static; display: inline-flex; align-items: center; gap: 6px; width: auto; height: 42px; padding: 3px 8px 3px 3px; box-sizing: border-box;
  border-radius: 12px; border: 1px solid transparent; background: transparent; box-shadow: none; color: var(--text); cursor: pointer;
}
.topbar .tb-right .acct-btn:hover, .topbar .tb-right .acct-btn[aria-expanded="true"] { border-color: var(--edge); background: rgba(124, 199, 255, 0.08); }
.topbar .tb-right .acct-btn .av {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  color: #0C1626; background: linear-gradient(135deg, #7CC7FF, #C4A7FF);
}
html[data-theme="light"] .topbar .tb-right .acct-btn .av { color: #fff; background: linear-gradient(135deg, #3E8EE8, #8A6AE6); }
.topbar .tb-right .acct-btn .av svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.topbar .tb-right .acct-btn .chev { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.topbar .tb-right .acct-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.topbar .tb-right .acct-btn #acct-label { font-size: 13px; color: var(--text); }
.topbar .tb-right .acct-btn.signed-in #acct-label { display: none; }
.topbar .tb-right .acct-btn:not(.signed-in) .av { background: rgba(124, 199, 255, 0.16); color: var(--accent); }
.topbar .tb-right .acct-btn:not(.signed-in) .chev { display: none; }
.topbar .tb-right .acct-btn:not(.signed-in) { padding-right: 12px; border-color: var(--edge); }

/* The menu card */
.acct-pop.acct-menu {
  position: fixed; right: 12px; top: calc(var(--topbar-h) + 8px + env(safe-area-inset-top, 0px)); width: 280px; padding: 8px; box-sizing: border-box;
  border-radius: 14px; border: 1px solid rgba(124, 199, 255, 0.35); background: #13233B; color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); animation: menu-in 0.16s ease; z-index: 1060;
}
html[data-theme="light"] .acct-pop.acct-menu { background: #FFFFFF; border-color: rgba(20, 40, 80, 0.16); box-shadow: 0 18px 50px rgba(20, 40, 80, 0.18); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.am-who { display: flex; align-items: center; gap: 10px; padding: 8px 8px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--edge); min-width: 0; }
.am-who .av { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 700; color: #0C1626; background: linear-gradient(135deg, #7CC7FF, #C4A7FF); }
html[data-theme="light"] .am-who .av { color: #fff; background: linear-gradient(135deg, #3E8EE8, #8A6AE6); }
.am-who b { display: block; font-size: 14px; }
.am-who span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; box-sizing: border-box; border: 0; border-radius: 9px;
  background: transparent; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: default; }
button.am-row { cursor: pointer; }
a.am-row { cursor: pointer; text-decoration: none; }
a.am-row[aria-current="page"] { color: var(--accent); }
button.am-row:hover, button.am-row:focus-visible, a.am-row:hover, a.am-row:focus-visible { background: rgba(124, 199, 255, 0.1); }
.am-row svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.am-seg { margin-left: auto; display: flex; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; }
.am-seg button { padding: 4px 9px; border: 0; border-radius: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.am-seg button + button { border-left: 1px solid var(--edge); }
.am-seg button[aria-pressed="true"] { background: var(--accent); color: var(--night); font-weight: 700; }
.am-note { margin: 2px 8px 6px; font-size: 11.5px; color: var(--muted); }
.am-out { color: var(--bad) !important; }
.am-sep { height: 1px; margin: 6px 4px; background: var(--edge); }
@media (max-width: 900px) {
  .acct-pop.acct-menu { left: auto; right: 8px; width: min(300px, calc(100vw - 16px)); }
  .tb-right { gap: 6px; }
  .theme-sw { width: 56px; height: 30px; padding: 0 6px; }
  .theme-sw .knob { width: 22px; height: 22px; left: 30px; }
  html[data-theme="light"] .theme-sw .knob { left: 3px; }
  .topbar .tb-right .acct-btn { height: 40px; padding: 2px 4px 2px 2px; }
  .topbar .tb-right .acct-btn .av { width: 34px; height: 34px; }
  .topbar .tb-right .acct-btn:not(.signed-in) #acct-label { display: none; }
  .topbar .tb-right .acct-btn:not(.signed-in) { padding-right: 3px; }
}
@media (max-width: 480px) { .theme-sw > svg { display: none; } .theme-sw { width: 46px; } .theme-sw .knob { left: 20px; } }

/* ---------- Light theme: hand-made fixes on top of the generated file ---------- */
html[data-theme="light"] body { background: var(--night); }
html[data-theme="light"] .topbar { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--edge); box-shadow: 0 1px 0 rgba(20, 40, 80, 0.04); }
html[data-theme="light"] .topbar .mode-tabs { background: #EEF2F8; border-color: var(--edge); }
html[data-theme="light"] .topbar .mode-tabs a[aria-current="page"] { color: #fff; }
/* cards and the main column: white on the soft grey page */
html[data-theme="light"] .tp-main, html[data-theme="light"] .tp-card, html[data-theme="light"] .trip-card, html[data-theme="light"] .tl-strip,
html[data-theme="light"] .ac-card, html[data-theme="light"] .tp-strip, html[data-theme="light"] .lg-sec, html[data-theme="light"] .stay-form,
html[data-theme="light"] .tc-box, html[data-theme="light"] .panel { background: #FFFFFF; box-shadow: 0 1px 3px rgba(20, 40, 80, 0.06); }
html[data-theme="light"] .tp-tabbar { background: #FFFFFF; }
html[data-theme="light"] .tp-tabs button[aria-selected="true"] { background: #E8F1FF; }
html[data-theme="light"] .tp-tabs button.tab-explore[aria-selected="true"] { color: #5B3DB8; background: #F1EBFF; border-bottom-color: #8A6AE6; }
html[data-theme="light"] .tp-subtabs { background: linear-gradient(180deg, #F4EFFF, #FAF8FF); border-bottom-color: #DDD2FB; }
html[data-theme="light"] .tp-subtabs button { color: #5B3DB8; border-color: #CDBDF6; }
html[data-theme="light"] .tp-subtabs button[aria-selected="true"] { background: #7A5AE0; color: #fff; border-color: #7A5AE0; }
html[data-theme="light"] .ds-sel { background: linear-gradient(180deg, #EEF5FF, #FFFFFF); border-color: rgba(31, 111, 209, 0.3); }
html[data-theme="light"] .ds-when { background: #F1F4F9; }
html[data-theme="light"] .now-card { background: linear-gradient(90deg, #E8F1FF, #F4EEFF); border-color: rgba(31, 111, 209, 0.25); }
html[data-theme="light"] .tl-item.sel .tl-row, html[data-theme="light"] .ac-card.sel { background: #EAF2FF; }
html[data-theme="light"] .lg-hero:not(.has-photo) { background: linear-gradient(135deg, #EAF2FF, #F6F2FF); }
html[data-theme="light"] .lg-hero.has-photo, html[data-theme="light"] .lg-hero.has-photo * { color: #fff; }
html[data-theme="light"] .text-in, html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), html[data-theme="light"] select, html[data-theme="light"] textarea {
  background: #FFFFFF; color: var(--text); border-color: rgba(20, 40, 80, 0.2);
}
html[data-theme="light"] dialog, html[data-theme="light"] .dv-card, html[data-theme="light"] .dv-pop { background: #FFFFFF; color: var(--text); }
html[data-theme="light"] .dv-hour span { background: #FFFFFF; }
html[data-theme="light"] .dv-back { background: rgba(20, 34, 53, 0.35); }
html[data-theme="light"] .dv-ev { color: var(--text); }
html[data-theme="light"] .dv-ev span { color: var(--muted); }
html[data-theme="light"] .dv-ev.fl { background: #DCEBFF; }
html[data-theme="light"] .dv-ev.st { background: #DDF5EA; }
html[data-theme="light"] .dv-ev.ac { background: #ECE4FF; }
html[data-theme="light"] .cal-leg, html[data-theme="light"] button.cal-leg { background: #DCEBFF; color: #1B4F94; }
html[data-theme="light"] .cal-ev.act { background: #ECE4FF; color: #4B2FA3; }
html[data-theme="light"] .cal-cell.away { background: #F2F7FF; }
html[data-theme="light"] .trip-chip.warn { background: #FFF1D6; color: #8A5300; }
html[data-theme="light"] .trip-chip.good { background: #DDF5EA; color: #0F6B47; }
html[data-theme="light"] .trip-chip.bad { background: #FDE3E6; color: #A82434; }
html[data-theme="light"] .trip-chip.accent { background: #DCEBFF; color: #17549E; }
html[data-theme="light"] .trip-chip.bf { background: #FFEBD1; color: #8A4B00; }
html[data-theme="light"] .tp-pins-link { color: #8A6200; border-color: #E6C77A; }
/* the route map on Trips: the normal (light) map in the light theme */
html[data-theme="light"] .tp-map .map-dark .leaflet-tile-pane, html[data-theme="light"] .tp-map.map-dark .leaflet-tile-pane { filter: none; }
html[data-theme="light"] .ac-ic .brand-logo, html[data-theme="light"] .ds-top .brand-logo { box-shadow: 0 0 0 1px rgba(20, 40, 80, 0.1); }

/* Offline pack dialog: a real dimmed backdrop in light mode too */
html[data-theme="light"] .ofl-modal { background: rgba(20, 40, 80, 0.35); }
/* your profile photo instead of your initials (My profile) */
.topbar .tb-right .acct-btn .av.has-photo, .am-who .av.has-photo { padding: 0; overflow: hidden; background: none; }
.topbar .tb-right .acct-btn .av img, .am-who .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-link .am-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
/* white text on the red "Yes, discard" button in both themes (the light theme would darken it) */
html[data-theme] .tr-foot .danger-btn { color: #FFFFFF; }
/* FAA chips in light mode (core/faa.js) */
html[data-theme="light"] .faa-chip.bad { background: #FDE2E2; color: #A61B1B; }
html[data-theme="light"] .faa-chip.gdp { background: #FFEDD5; color: #9A3412; }
html[data-theme="light"] .faa-chip.warn { background: #FEF3C7; color: #854D0E; }
/* FAA Status page pills in light mode (css/faa.css) */
html[data-theme="light"] .pill.bad { background: #FDE2E2; color: #A61B1B; }
html[data-theme="light"] .pill.gdp { background: #FFEDD5; color: #9A3412; }
html[data-theme="light"] .pill.warn { background: #FEF3C7; color: #854D0E; }
html[data-theme="light"] .pill.good { background: #DCFCE7; color: #166534; }
html[data-theme="light"] .faa-item.mine { background: #EEF4FF; border-color: #BCD0F5; }
/* photo tile labels stay dark over the picture in both themes (css/trips.css) */
html[data-theme] .ph-tile .ph-pin { background: rgba(0, 0, 0, 0.55); color: #FFFFFF; }
html[data-theme] .ph-addbtn { color: #FFFFFF; }
/* Home chips in light mode (css/home.css) */
html[data-theme="light"] .chip.g { background: #DCFCE7; color: #166534; }
html[data-theme="light"] .chip.y { background: #FEF3C7; color: #854D0E; }
html[data-theme="light"] .chip.o { background: #FFEDD5; color: #9A3412; }
html[data-theme="light"] .chip.r { background: #FDE2E2; color: #A61B1B; }
html[data-theme="light"] .chip.b { background: #E7F0FF; color: #1F4FA0; }
html[data-theme] .hm-hero, html[data-theme] .hm-hero h1 { color: #FFFFFF; }
html[data-theme] .hm-hero { background: linear-gradient(120deg, #0E3A73 0%, #1F6FD1 60%, #5AA8F5 100%); }
html[data-theme] .hm-hero p, html[data-theme] .hm-hint, html[data-theme] .hm-hint a, html[data-theme] .hm-now { color: #FFFFFF; }
html[data-theme] a.hm-row { color: var(--text); }
html[data-theme] .hm-search:not(.sm) input { background: #FFFFFF; color: #142235; }

/* "👥 Shared" badge: a trip someone else shared with you (Home cards; the trips list uses .trip-chip.shared) */
.shb { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 1.5;
  vertical-align: 1px; white-space: nowrap; color: #d8ccff; background: rgba(167, 139, 250, 0.18); border: 1px solid rgba(167, 139, 250, 0.5); }
html[data-theme="light"] .shb, html[data-theme="light"] .trip-chip.shared { color: #6B3FC4; background: #F1EBFF; border: 1px solid #CDB8F5; }
h2 .shb { font-size: 11.5px; vertical-align: 3px; }
html[data-theme] .dyk-img .dyk-credit { color: #fff; }   /* white on its dark label in both themes */
html[data-theme="light"] .ph-showgal { color: #fff; }
html[data-theme="light"] .ph-seg button[aria-pressed="true"] { background: #E7F0FF; }
html[data-theme="light"] .pf-shr-note { background: #F1EBFF; border-color: #CDB8F5; color: #4A2A8C; }
html[data-theme="light"] .pf-shr-warn { background: #FFF7E0; border-color: #EDD28A; color: #6b4e00; }
html[data-theme="light"] .sh-acct-note { background: #F1EBFF; border-color: #CDB8F5; color: #4A2A8C; }
/* Home: the hero's buttons stay white on blue; feature tiles use the normal text colour (css/home.css) */
html[data-theme] .hm-hacts a, html[data-theme] .hm-hacts button { color: #FFFFFF; }
html[data-theme] a.hf, html[data-theme] a.hf-way { color: var(--text); }
html[data-theme] .hm-nextbox a { color: #FFFFFF; text-decoration: underline; }
html[data-theme="light"] .sa-st.g { background: #DCFCE7; color: #166534; }
html[data-theme="light"] .sa-st.y { background: #FEF3C7; color: #854D0E; }
html[data-theme="light"] .sa-st.r { background: #FDE2E2; color: #A61B1B; }
html[data-theme="light"] .tb-tip { background: #142235; color: #fff; box-shadow: 0 8px 24px rgba(20, 34, 53, 0.28); }
html[data-theme="light"] .tb-tip span { color: #B8C4D6; }
html[data-theme="light"] .tb-tip.one span { color: #fff; }
/* the window and cockpit views keep their dark panels in light theme (they sit over the 3D world) */
html[data-theme="light"] #winview .panel { background: var(--panel); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
html[data-theme="light"] #winview select, html[data-theme="light"] #winview input:not([type="range"]) { background-color: #101C30; color: var(--text); border-color: var(--edge); }
html[data-theme="light"] #winview select option { background: #101C30; color: #E7EDF6; }
/* Meet a flight "Join free" band: the same blue band in both themes */
html[data-theme="light"] .meet-join { color: #fff; background: linear-gradient(135deg, #1F6FD1, #5B3DB8); }
html[data-theme="light"] .meet-join .linkish { color: #fff !important; }
html[data-theme="light"] .pr-card { background: #fff; box-shadow: 0 16px 40px rgba(20, 34, 53, 0.16); }

/* "Is Leonard Perroots you?" (account/name-ask.js): Home's crew band, Buddies → From your trips, a trip's crew strip */
.na-ask { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--panel)); color: var(--text); }
.na-q { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.na-q > span { font-size: 18px; line-height: 1.1; }
.na-q small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.na-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.na-b { padding: 5px 11px; border-radius: 16px; border: 1px solid var(--edge); background: var(--panel); color: var(--text); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.na-b.main { background: var(--accent); border-color: var(--accent); color: #fff; }
.na-b:disabled { opacity: .55; cursor: default; }
.na-fam { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; }
.na-fam label { display: flex; gap: 6px; align-items: center; }
.na-fam select { min-width: 170px; padding: 5px 8px; }
.na-err { margin: 0; color: var(--bad); font-size: 12px; }
.na-ask.compact { padding: 7px 10px; gap: 6px; }
.na-ask.compact .na-b { padding: 4px 9px; font-size: 12px; }
.cr-p.cr-ask { display: block; padding: 0; border: 0; background: none; }
.pp-line.pp-ask { display: block; }
.cw-p.cw-ask, html[data-theme="light"] .cw-p.cw-ask { display: flex; align-items: flex-start; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; }
.pf-aka { margin-top: 14px; }
.pf-aka .pf-chips { margin-top: 8px; }
.pf-aka-in { min-width: 240px; flex: 1; }
.na-q b { display: inline; font-size: inherit; }
.na-q > div { font-size: 13px; }
.na-fam label { white-space: nowrap; }
.na-fam select { max-width: 100%; }

/* ⓘ info icon (core/info.js): grey outline at rest, blue while open; the bubble is dark in both themes */
.ii { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; min-width: 17px; padding: 0; margin: 0 0 0 5px; border-radius: 50%; border: 1.5px solid var(--muted); background: transparent; color: var(--muted); font: 700 11px/1 Georgia, 'Times New Roman', serif; cursor: help; vertical-align: middle; flex: none; }
.ii:hover, .ii.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.ii:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ii-tip { position: fixed; box-sizing: border-box; z-index: 10050; background: #16233a; color: #e8eef8; border-radius: 12px; padding: 11px 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 28px rgba(10, 20, 45, 0.3); text-align: left; }
.ii-tip b { color: #fff; display: block; }
.ii-tip p { margin: 0; }
.ii-tip::before { content: ''; position: absolute; width: 12px; height: 12px; background: #16233a; transform: rotate(45deg); }
.ii-tip[data-side="right"]::before { left: -6px; top: var(--ar); }
.ii-tip[data-side="below"]::before { top: -6px; left: var(--ar); }
.ii-tip[data-side="above"]::before { bottom: -6px; left: var(--ar); }
.ii-tip.touch { padding-right: 34px; }
.ii-x { position: absolute; z-index: 1; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; background: none; color: #9fb0c8; font-size: 14px; cursor: pointer; }
html[data-theme="light"] .ii-tip, html[data-theme="light"] .ii-tip::before { background: #16233a; }
html[data-theme="light"] .pf-alt { background: #fff; }
html[data-theme="light"] .pf-alt .pf-alt-in, .pf-alt .pf-alt-in { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html[data-theme="light"] .pf-bub { background: #fff; border-color: #d3d9e4; }
.pf-alt .pf-alt-in:focus, .pf-alt .pf-alt-in:focus-visible { outline: none !important; }
/* Country card tiles (trips-page.css) in the light theme */
html[data-theme="light"] .cc-tile { background: #F7F9FC; }
html[data-theme="light"] .cc-tile.warn b { color: #C2410C; }
/* Phones: the Details sheet's dimmed backdrop stays a dim (not a pale tint), and its grab line shows on white */
html[data-theme="light"] body.has-sel .tp-sheet-back { background: rgba(20, 34, 53, 0.32); }
html[data-theme="light"] body.has-sel .tp-sheet-head .tp-grab { background: #C3CCDA; }
