/* ────────────────────────────────────────────────────────────
   Layover Logic — design tokens + components + motion

   The look is "foil pass": a dark ground, ivory pass cards, foil
   accents. Two rules keep it that way:
     1. A theme (.ll-t-<id>) sets the --t-* colours and nothing else.
     2. Screens read the app tokens below (--ink, --dim, --accent …).
        Those are defined once for the ground and again inside a pass
        (.ll-card, .ll-verdict …), so the same inline style is light
        ink on the ground and dark ink on the pass.
   ──────────────────────────────────────────────────────────── */

/* Fonts ship with the app (vendor/fonts): no third-party request, and
   they are there with no signal. swap = text shows at once in the
   fallback and never waits on a font. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(vendor/fonts/BodoniModa-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(vendor/fonts/BodoniModa-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(vendor/fonts/Caveat-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(vendor/fonts/Caveat-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(vendor/fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(vendor/fonts/IBMPlexMono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(vendor/fonts/IBMPlexMono-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(vendor/fonts/IBMPlexMono-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(vendor/fonts/InstrumentSans-400-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(vendor/fonts/InstrumentSans-400-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Type */
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-pen: "Caveat", "Bradley Hand", cursive;

  /* Radii */
  --r-input: 12px;
  --r-card: 22px;
  --r-btn: 18px;
  --r-modal: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Themes. Colour only. Every block sets every name in LL_theme.VARS
   (tests/theme.test.js checks that, and the contrast of each pairing). ── */
.ll-t-first { --t-g1: #1F2852; --t-g2: #0C1030; --t-og: #F6F1E6; --t-od: #C3C6DE; --t-paper: #FBF7EE; --t-paper2: #F2EBDB; --t-pink: #161A3A; --t-pdim: #44475E; --t-foil-a: #C79A3A; --t-foil-b: #F6E3A3; --t-foil-ink: #2A1E00; --t-travel: #9AA0B8; --t-free: #E3A23B; --t-wind: #B9A6D9; --t-sleep: #3A4AA8; --t-up: #7FB6B0; --t-btn-a: #F3DC98; --t-btn-b: #C79A3A; --t-btn-ink: #2A1E00; --t-acc-g: #F1D689; --t-acc-p: #2F3E9E; --t-on-acc-p: #FFFFFF; }
:root, .ll-t-plantburgh { --t-g1: #0B5A1E; --t-g2: #00360C; --t-og: #F7F3E9; --t-od: #C4D8C6; --t-paper: #F7F3E9; --t-paper2: #EDE6D3; --t-pink: #0F2A14; --t-pdim: #44524A; --t-foil-a: #B8922A; --t-foil-b: #F1DC8E; --t-foil-ink: #1F1700; --t-travel: #A8B5A0; --t-free: #D4AF37; --t-wind: #9CC7A1; --t-sleep: #1F7A3F; --t-up: #7BAE9A; --t-btn-a: #F1DC8E; --t-btn-b: #D4AF37; --t-btn-ink: #0F2A14; --t-acc-g: #F1DC8E; --t-acc-p: #17602F; --t-on-acc-p: #FFFFFF; }
.ll-t-jetstream { --t-g1: #1246A8; --t-g2: #061A45; --t-og: #FFFFFF; --t-od: #D5E2F7; --t-paper: #F7FAFF; --t-paper2: #E6EEFA; --t-pink: #0A1C46; --t-pdim: #3F4D6E; --t-foil-a: #8FB6E6; --t-foil-b: #EAF4FF; --t-foil-ink: #0A1C46; --t-travel: #A9B8D8; --t-free: #5FB0F2; --t-wind: #B7C8F5; --t-sleep: #0033A0; --t-up: #7CC6D8; --t-btn-a: #2F6BDB; --t-btn-b: #0033A0; --t-btn-ink: #FFFFFF; --t-acc-g: #B9D8FA; --t-acc-p: #0033A0; --t-on-acc-p: #FFFFFF; }
.ll-t-silverwing { --t-g1: #23405F; --t-g2: #0A1626; --t-og: #F4F7FA; --t-od: #C5CFDB; --t-paper: #F8F9FA; --t-paper2: #E7EBEF; --t-pink: #101D2E; --t-pdim: #44505E; --t-foil-a: #A3ADB9; --t-foil-b: #F4F7FA; --t-foil-ink: #101D2E; --t-travel: #AEB7C2; --t-free: #D2333F; --t-wind: #E3A6AB; --t-sleep: #1F5AA6; --t-up: #8FB3D9; --t-btn-a: #C8303C; --t-btn-b: #A81422; --t-btn-ink: #FFFFFF; --t-acc-g: #E6EBF0; --t-acc-p: #1A4E92; --t-on-acc-p: #FFFFFF; }
.ll-t-redeye { --t-g1: #7A1626; --t-g2: #2B0810; --t-og: #FFF4F2; --t-od: #EBC9CE; --t-paper: #FBF6F4; --t-paper2: #F1E5E2; --t-pink: #2B0810; --t-pdim: #5A3F43; --t-foil-a: #B9BEC8; --t-foil-b: #FFFFFF; --t-foil-ink: #2B0810; --t-travel: #C2B4B6; --t-free: #D3223A; --t-wind: #E9A3AC; --t-sleep: #1C3F78; --t-up: #8BA4C9; --t-btn-a: #34579A; --t-btn-b: #1C3F78; --t-btn-ink: #FFFFFF; --t-acc-g: #F7CDD3; --t-acc-p: #1C3F78; --t-on-acc-p: #FFFFFF; }
.ll-t-sunbelt { --t-g1: #3450BE; --t-g2: #18246B; --t-og: #FFFFFF; --t-od: #D9DFF8; --t-paper: #FFFDF5; --t-paper2: #F5EFD9; --t-pink: #141C52; --t-pdim: #474E73; --t-foil-a: #F0A800; --t-foil-b: #FFE08A; --t-foil-ink: #2E2000; --t-travel: #AEB4CF; --t-free: #FFBF27; --t-wind: #E5574D; --t-sleep: #304CB2; --t-up: #8FA0E0; --t-btn-a: #FFD45E; --t-btn-b: #F0A800; --t-btn-ink: #141C52; --t-acc-g: #FFD45E; --t-acc-p: #2A3F9E; --t-on-acc-p: #FFFFFF; }
.ll-t-bluehour { --t-g1: #0D4C9C; --t-g2: #052450; --t-og: #FFFFFF; --t-od: #CFDEF2; --t-paper: #F8FBFF; --t-paper2: #E4EDF8; --t-pink: #00205B; --t-pdim: #40516F; --t-foil-a: #7FC4EE; --t-foil-b: #E3F4FF; --t-foil-ink: #00205B; --t-travel: #A8B8CC; --t-free: #F58A2A; --t-wind: #FAC08C; --t-sleep: #003876; --t-up: #6FB2DC; --t-btn-a: #FFA24A; --t-btn-b: #E46F0B; --t-btn-ink: #1E0E00; --t-acc-g: #FFB878; --t-acc-p: #003876; --t-on-acc-p: #FFFFFF; }
.ll-t-taxiway { --t-g1: #2B2B2B; --t-g2: #050505; --t-og: #FFFFFF; --t-od: #CFCFCF; --t-paper: #FFF8C2; --t-paper2: #F7EB8F; --t-pink: #141414; --t-pdim: #4A4722; --t-foil-a: #F2D600; --t-foil-b: #FFF59A; --t-foil-ink: #141414; --t-travel: #A5A07A; --t-free: #F2B600; --t-wind: #8A8A8A; --t-sleep: #1A1A1A; --t-up: #6E6A48; --t-btn-a: #FFF06A; --t-btn-b: #F2D600; --t-btn-ink: #141414; --t-acc-g: #FFE84A; --t-acc-p: #1A1A1A; --t-on-acc-p: #FFFFFF; }
.ll-t-northern { --t-g1: #065A8C; --t-g2: #00213A; --t-og: #FFFFFF; --t-od: #CFE4EE; --t-paper: #F5FBFA; --t-paper2: #E0EFEC; --t-pink: #01304D; --t-pdim: #3D5866; --t-foil-a: #6FD3CF; --t-foil-b: #E6FFFB; --t-foil-ink: #01304D; --t-travel: #A3BCC6; --t-free: #8FD44A; --t-wind: #48C2C5; --t-sleep: #0E6FA8; --t-up: #7DB7D6; --t-btn-a: #B6EC7C; --t-btn-b: #7CC233; --t-btn-ink: #01304D; --t-acc-g: #B6EC7C; --t-acc-p: #0B5C8C; --t-on-acc-p: #FFFFFF; }
.ll-t-evergreen { --t-g1: #0F6644; --t-g2: #063424; --t-og: #FFFFFF; --t-od: #D3E8DD; --t-paper: #F8FAF4; --t-paper2: #E7EEDD; --t-pink: #0A2E20; --t-pdim: #41564B; --t-foil-a: #AEB9B2; --t-foil-b: #F5F9F6; --t-foil-ink: #0A2E20; --t-travel: #A9BDB1; --t-free: #F2C14E; --t-wind: #9AD0B4; --t-sleep: #0E5A3C; --t-up: #6FAE8E; --t-btn-a: #F7D57E; --t-btn-b: #E3A92A; --t-btn-ink: #0A2E20; --t-acc-g: #F7D57E; --t-acc-p: #0E5A3C; --t-on-acc-p: #FFFFFF; }
.ll-t-plumeria { --t-g1: #5440B8; --t-g2: #1F1750; --t-og: #FFFFFF; --t-od: #DED8F5; --t-paper: #FCF8FC; --t-paper2: #F1E6F0; --t-pink: #221A58; --t-pdim: #524B78; --t-foil-a: #E7A9CF; --t-foil-b: #FFF0F8; --t-foil-ink: #221A58; --t-travel: #B6B0D0; --t-free: #E0409A; --t-wind: #F3A6CF; --t-sleep: #413691; --t-up: #9A8FD8; --t-btn-a: #CC2F88; --t-btn-b: #B81E78; --t-btn-ink: #FFFFFF; --t-acc-g: #F9B9DC; --t-acc-p: #413691; --t-on-acc-p: #FFFFFF; }
.ll-t-maple { --t-g1: #3A3A40; --t-g2: #101012; --t-og: #FFFFFF; --t-od: #D2D2D6; --t-paper: #FAFAFA; --t-paper2: #E9E9EB; --t-pink: #17171A; --t-pdim: #4A4A50; --t-foil-a: #A9ADB3; --t-foil-b: #F6F7F8; --t-foil-ink: #17171A; --t-travel: #B3B3B8; --t-free: #E1242B; --t-wind: #F0A3A6; --t-sleep: #33363F; --t-up: #8C9099; --t-btn-a: #D92B32; --t-btn-b: #B50F16; --t-btn-ink: #FFFFFF; --t-acc-g: #FF9A9E; --t-acc-p: #9C1218; --t-on-acc-p: #FFFFFF; }

/* ── App tokens on the ground. Declared on .ll-app as well as :root so a
   theme class on .ll-app is what they resolve against. ── */
:root, .ll-app {
  --bg: var(--t-g2);
  --bg-elev: var(--t-g1);
  --card: rgba(255, 255, 255, 0.07);
  --card-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.17);
  --line-2: rgba(255, 255, 255, 0.28);
  --ink: var(--t-og);
  --ink-2: var(--t-og);
  --dim: var(--t-od);
  --dim-2: var(--t-od);
  --accent: var(--t-acc-g);
  --accent-2: var(--t-foil-a);
  --on-accent: var(--t-foil-ink);
  --warn: #F6C065;
  --warn-2: #E9A53A;
  --on-warn: #2A1A00;
  --danger: #FF9B91;
  --cat-stock: #9FD8FF;
  --cat-do: #D3C6FF;
  --field: rgba(0, 0, 0, 0.28);
  /* The five parts of a layover. The ring, the trip sheet, the countdown
     and the schedule tickets all colour themselves from these. */
  --seg-travel: var(--t-travel);
  --seg-free: var(--t-free);
  --seg-wind: var(--t-wind);
  --seg-sleep: var(--t-sleep);
  --seg-up: var(--t-up);
}

/* ── The same tokens on a pass: dark ink on ivory. ── */
.ll-card, .ll-verdict, .ll-rating, .ll-cal, .ll-paper {
  --card: rgba(0, 0, 0, 0.04);
  --card-2: rgba(0, 0, 0, 0.065);
  --line: rgba(0, 0, 0, 0.13);
  --line-2: rgba(0, 0, 0, 0.26);
  --ink: var(--t-pink);
  --ink-2: var(--t-pink);
  --dim: var(--t-pdim);
  --dim-2: var(--t-pdim);
  --accent: var(--t-acc-p);
  --accent-2: var(--t-acc-p);
  --on-accent: var(--t-on-acc-p);
  --warn: #8A4B00;
  --warn-2: #8A4B00;
  --on-warn: #FFFFFF;
  --danger: #A3271B;
  --cat-stock: #0B5C8C;
  --cat-do: #5B3FA8;
  --field: #FFFFFF;
  color: var(--ink);
}

/* ────────────────────────────────────────────────────────────
   App shell that lives inside the device frame
   ──────────────────────────────────────────────────────────── */
.ll-app {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Real-device fullscreen: honour the notch + home indicator via safe-area insets */
.ll-app.fullscreen { padding-top: calc(env(safe-area-inset-top, 0px) + 14px); }
.ll-app.fullscreen .ll-tabbar { bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); }
.ll-app.fullscreen .ll-content { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.ll-app * { box-sizing: border-box; }

/* Ambient mode wash — sits behind everything, color shifts per mode */
.ll-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease-out), background 600ms var(--ease-out);
}
.ll-wash.on { opacity: 1; }
.ll-wash.sleep {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(110,231,183,0.22), transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(52,211,153,0.10), transparent 70%);
}
.ll-wash.eat {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(251,191,36,0.20), transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(245,158,11,0.10), transparent 70%);
}
.ll-wash.warn {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(248,113,113,0.20), transparent 65%);
}

/* Drifting orbit particles for the hero reveal */
.ll-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ll-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  animation: ll-drift 6s linear infinite;
}
@keyframes ll-drift {
  0%   { transform: translateY(120%) scale(0.6); opacity: 0; }
  20%  { opacity: 0.7; }
  100% { transform: translateY(-20%) scale(1); opacity: 0; }
}

/* ────────────────────────────────────────────────────────────
   Top bar (habit-loop chip)
   ──────────────────────────────────────────────────────────── */
.ll-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 8px;
  flex-shrink: 0;
}
.ll-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ll-brand .mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(110,231,183,0.25);
}
.ll-brand .mark svg { width: 14px; height: 14px; }

.ll-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ll-chip .dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.ll-chip.warn .dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); }

/* ────────────────────────────────────────────────────────────
   Content scroll area
   ──────────────────────────────────────────────────────────── */
.ll-content {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  padding: 4px 18px 110px;
}
.ll-content::-webkit-scrollbar { display: none; }
.ll-content { scrollbar-width: none; }

.ll-h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 12px 0 4px;
}
.ll-sub {
  color: var(--dim);
  font-size: 13px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.ll-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
  margin: 0 0 8px;
}

/* ────────────────────────────────────────────────────────────
   Cards
   ──────────────────────────────────────────────────────────── */
.ll-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  margin-bottom: 14px;
}
.ll-card.elev {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-elev) 100%);
}

/* ────────────────────────────────────────────────────────────
   Inputs
   ──────────────────────────────────────────────────────────── */
.ll-field { margin-bottom: 14px; }
.ll-field:last-child { margin-bottom: 0; }
.ll-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--dim);
  margin: 0 0 6px;
}
.ll-input {
  width: 100%;
  background: #0c1015;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  padding: 14px 14px;
  font-size: 17px;
  font-family: inherit;
  -webkit-appearance: none; appearance: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.ll-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(110,231,183,0.12); }
.ll-input.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.ll-input::placeholder { color: var(--dim-2); }

.ll-row { display: flex; gap: 10px; }
.ll-row > .ll-field { flex: 1; min-width: 0; }

/* ────────────────────────────────────────────────────────────
   Buttons
   ──────────────────────────────────────────────────────────── */
.ll-btn {
  display: flex;
  align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--accent);
  color: #062018;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: var(--r-btn);
  padding: 16px;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease-elastic), box-shadow 280ms var(--ease-out), background 200ms var(--ease-out);
  box-shadow: 0 8px 24px -8px rgba(110,231,183,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}
.ll-btn:hover { box-shadow: 0 12px 28px -8px rgba(110,231,183,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
.ll-btn:active { transform: scale(0.97); }
.ll-btn.warn {
  background: var(--warn); color: #2a1a00;
  box-shadow: 0 8px 24px -8px rgba(251,191,36,0.45), inset 0 1px 0 rgba(255,255,255,0.22);
}
.ll-btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
}
.ll-btn.secondary:hover { background: rgba(255,255,255,0.03); }
.ll-btn.ghost {
  background: transparent; color: var(--dim);
  border: none; box-shadow: none; padding: 12px;
}

/* ────────────────────────────────────────────────────────────
   Verdict card — the answer
   ──────────────────────────────────────────────────────────── */
.ll-verdict {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 20px 18px;
  margin-bottom: 14px;
  overflow: hidden;
}
.ll-verdict::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.ll-verdict.eat::before { background: var(--warn); }
.ll-verdict.warn::before { background: var(--danger); }

/* Full-bleed style: mode color washes the whole card */
.ll-verdict.bleed {
  border-color: rgba(110,231,183,0.25);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(110,231,183,0.10), transparent 60%),
    linear-gradient(180deg, rgba(110,231,183,0.05), rgba(0,0,0,0)) ,
    var(--card);
}
.ll-verdict.bleed::before { display: none; }
.ll-verdict.eat.bleed {
  border-color: rgba(251,191,36,0.25);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(251,191,36,0.10), transparent 60%),
    linear-gradient(180deg, rgba(251,191,36,0.05), rgba(0,0,0,0)) ,
    var(--card);
}
.ll-verdict.warn.bleed {
  border-color: rgba(248,113,113,0.28);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(248,113,113,0.10), transparent 60%),
    var(--card);
}

.ll-verdict-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.ll-verdict-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.ll-verdict.eat .ll-verdict-dot { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.ll-verdict.warn .ll-verdict-dot { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.ll-verdict-status {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.ll-verdict.eat .ll-verdict-status { color: var(--warn); }
.ll-verdict.warn .ll-verdict-status { color: var(--danger); }

.ll-headline {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--ink);
}
.ll-headline.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-style: italic;
}
.ll-headline .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: ll-word-in 350ms var(--ease-out) forwards;
}

@keyframes ll-word-in {
  to { opacity: 1; transform: translateY(0); }
}

.ll-advice {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 14px;
}

/* Time strip — animated fill */
.ll-strip-wrap { margin: 14px 0 6px; }
.ll-strip-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ll-strip {
  display: flex;
  height: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ll-strip-seg {
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  animation: ll-strip-fill 700ms var(--ease-out) forwards;
}
.ll-strip-seg.transit { background: rgba(255,255,255,0.08); animation-delay: 100ms; }
.ll-strip-seg.free.sleep { background: rgba(110,231,183,0.45); animation-delay: 200ms; }
.ll-strip-seg.free.eat { background: var(--warn); animation-delay: 200ms; }
.ll-strip-seg.rest { background: var(--accent); animation-delay: 300ms; box-shadow: 0 0 10px rgba(110,231,183,0.4); }
.ll-strip-seg.prep { background: rgba(255,255,255,0.20); animation-delay: 500ms; }
@keyframes ll-strip-fill {
  to { transform: scaleX(1); }
}

/* Timeline rows */
.ll-timeline {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px 14px;
  font-size: 14px;
  margin-top: 10px;
}
.ll-timeline .t {
  font-family: var(--font-mono);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.ll-timeline .e {
  color: var(--ink);
  font-size: 14px;
}

.ll-meta {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.55;
}
.ll-pill {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--dim);
  border-radius: 999px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin: 0 4px 4px 0;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────────
   City picks
   ──────────────────────────────────────────────────────────── */
.ll-picks-h {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
  font-weight: 600;
  margin: 4px 4px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ll-pick {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 150ms var(--ease-out);
}
.ll-pick:last-child { border-bottom: none; padding-bottom: 0; }
.ll-pick:hover { opacity: 0.85; }
.ll-pick:active { transform: scale(0.995); }
.ll-pick-title { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 0; }
.ll-pick-note { color: var(--dim); font-size: 13px; margin: 4px 0 0; line-height: 1.4; }
.ll-pick-meta {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.ll-pick-meta .crew-yes { color: var(--accent); font-weight: 600; }
.ll-cat {
  display: inline-block;
  background: rgba(110,231,183,0.10);
  color: var(--accent);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ll-cat.recover { background: rgba(251,191,36,0.12); color: var(--warn); }
.ll-cat.move { background: rgba(196,205,213,0.10); color: var(--dim); }
.ll-cat.stock { background: rgba(125,211,252,0.12); color: var(--cat-stock); }
.ll-cat.do { background: rgba(196,181,253,0.12); color: var(--cat-do); }
.ll-cat.coffee { background: rgba(251,191,36,0.12); color: var(--warn); }
.ll-cat.park { background: rgba(110,231,183,0.12); color: var(--accent); }
.ll-cat.culture { background: rgba(196,181,253,0.12); color: var(--cat-do); }
.ll-cat.events { background: rgba(248,113,113,0.12); color: var(--danger); }
.ll-cat.service { background: rgba(125,211,252,0.12); color: var(--cat-stock); }

/* ────────────────────────────────────────────────────────────
   Pick detail
   ──────────────────────────────────────────────────────────── */
.ll-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 13px;
  margin: 8px 0 14px;
  cursor: pointer;
  transition: color 150ms;
}
.ll-back:hover { color: var(--ink); }
.ll-detail-title { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 6px; line-height: 1.1; }
.ll-detail-stats {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.6;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.ll-detail-stats strong { color: var(--ink); font-weight: 600; }
.ll-quote {
  background: var(--card-2);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 16px 0;
  border-left: 3px solid var(--accent);
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.ll-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 14px;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.6;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1;
}
.ll-quote-attr {
  color: var(--dim);
  font-size: 13px;
  margin-top: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-style: normal;
}
.ll-crew-count {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 0;
}
.ll-crew-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ll-crew-lbl {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.35;
}

/* ────────────────────────────────────────────────────────────
   Schedule
   ──────────────────────────────────────────────────────────── */
.ll-sched {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 150ms, transform 160ms var(--ease-elastic);
  margin: 0 -6px;
  padding-left: 6px; padding-right: 6px;
  border-radius: 8px;
}
.ll-sched:hover { background: rgba(255,255,255,0.02); }
.ll-sched:active { transform: scale(0.985); background: rgba(255,255,255,0.04); }
.ll-sched:last-child { border-bottom: none; }
.ll-sched-date {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-weight: 600;
}
.ll-sched-route { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 4px; letter-spacing: -0.01em; }
.ll-sched-route .here { color: var(--accent); }
.ll-sched-meta {
  color: var(--dim);
  font-size: 13px;
  margin-top: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.ll-sched-chev { color: var(--dim); font-size: 18px; }

/* ────────────────────────────────────────────────────────────
   Replan banner
   ──────────────────────────────────────────────────────────── */
.ll-replan {
  background: linear-gradient(180deg, rgba(251,191,36,0.14), rgba(251,191,36,0.05));
  border: 1px solid rgba(251,191,36,0.35);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  animation: ll-pulse-amber 2.4s ease-in-out infinite;
}
@keyframes ll-pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.0); }
  50% { box-shadow: 0 0 0 4px rgba(251,191,36,0.10); }
}
.ll-replan-icon {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(251,191,36,0.18);
  color: var(--warn);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  margin-top: 1px;
}
.ll-replan-text { font-size: 14px; line-height: 1.45; }
.ll-replan-text strong { color: var(--warn); }
.ll-replan-text .link { color: var(--ink); text-decoration: underline; font-weight: 600; cursor: pointer; }

/* ────────────────────────────────────────────────────────────
   Rating modal
   ──────────────────────────────────────────────────────────── */
.ll-rating {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-modal);
  padding: 28px 22px 20px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ll-rating::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 120%; height: 100%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(110,231,183,0.10), transparent 65%);
  pointer-events: none;
}
.ll-rating-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ll-rating-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 22px;
}
.ll-rating-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: transform 120ms var(--ease-elastic), background 150ms;
  text-align: left;
}
.ll-rating-btn:hover { background: #252b38; }
.ll-rating-btn:active { transform: scale(0.97); }
.ll-rating-btn.up { background: var(--accent); color: #062018; border-color: transparent; box-shadow: 0 8px 24px -8px rgba(110,231,183,0.45); }
.ll-rating-btn.up:hover { background: var(--accent-2); }
.ll-rating-btn .emoji { font-size: 20px; }
.ll-rating-foot { color: var(--dim); font-size: 13px; margin-top: 14px; line-height: 1.5; }

/* ────────────────────────────────────────────────────────────
   Paywall
   ──────────────────────────────────────────────────────────── */
.ll-paywall-stat {
  background: var(--card-2);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
.ll-paywall-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.ll-paywall-lbl { color: var(--dim); font-size: 13px; margin-top: 2px; }
.ll-price {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.ll-price:hover { border-color: var(--line-2); }
.ll-price.best {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(110,231,183,0.07), rgba(110,231,183,0.02));
}
.ll-price-lbl { font-size: 15px; font-weight: 600; }
.ll-price-lbl small { color: var(--dim); font-weight: 500; display: block; font-size: 13px; margin-top: 3px; font-family: var(--font-mono); letter-spacing: 0.02em; }
.ll-price-amt { font-size: 18px; font-weight: 700; color: var(--accent); font-family: var(--font-mono); }
.ll-price-badge {
  color: #062018;
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

/* ────────────────────────────────────────────────────────────
   Prompt / calendar connect
   ──────────────────────────────────────────────────────────── */
.ll-prompt-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(110,231,183,0.16), rgba(110,231,183,0.04));
  color: var(--accent);
  display: grid; place-items: center;
  margin: 4px 0 18px;
  border: 1px solid rgba(110,231,183,0.18);
  box-shadow: 0 8px 32px -8px rgba(110,231,183,0.25);
}
.ll-prompt-icon svg { width: 28px; height: 28px; }
.ll-prompt-title { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 8px; }
.ll-prompt-body { color: var(--dim); font-size: 14px; line-height: 1.55; margin: 0 0 20px; }
.ll-prompt-foot { color: var(--dim); font-size: 13px; margin-top: 14px; text-align: center; }

/* ────────────────────────────────────────────────────────────
   Tab bar
   ──────────────────────────────────────────────────────────── */
.ll-tabbar {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 24px;
  z-index: 5;
  background: rgba(22, 26, 32, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5);
}
.ll-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 14px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: color 150ms, background 150ms;
}
.ll-tab svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.ll-tab.active { color: var(--ink); background: rgba(255,255,255,0.06); }

/* ────────────────────────────────────────────────────────────
   View transitions
   ──────────────────────────────────────────────────────────── */
/* Content is NEVER hidden by an animation. Critical containers animate
   TRANSFORM ONLY — opacity stays pinned at 1 the whole time — so even if the
   animation timeline never advances past t=0 (print/PDF, backgrounded tab,
   reduced-motion, throttled webview), every view renders fully visible. */
@keyframes ll-rise-in {
  from { transform: translateY(11px) scale(0.992); }
  to { transform: none; }
}

/* Directional page transitions — applied via JS (app2.jsx) only when motion is
   allowed. Base .ll-view stays opacity:1, so reduced-motion / print render the
   static end-state with no animation. */
@keyframes ll-screen-fwd {
  from { transform: translateX(26px); }
  to   { transform: none; }
}
@keyframes ll-screen-back {
  from { transform: translateX(-26px); }
  to   { transform: none; }
}
@keyframes ll-screen-fade {
  from { transform: translateY(10px) scale(0.994); }
  to   { transform: none; }
}
.ll-view { opacity: 1; }
/* The view wrapper sits between .ll-app (flex column, overflow hidden) and
   .ll-content (flex:1, overflow-y auto). Without min-height:0 the wrapper
   refuses to shrink below its content, so .ll-content never scrolls and
   anything below the fold is unreachable. */
.ll-app > .ll-view { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.ll-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .ll-view {
    animation: ll-rise-in 460ms var(--ease-out);
  }
  /* Reveal stagger helper — transform only, opacity stays 1 throughout */
  .ll-stagger > * {
    animation: ll-rise-in 500ms var(--ease-out) backwards;
  }
  .ll-stagger > *:nth-child(1) { animation-delay: 80ms; }
  .ll-stagger > *:nth-child(2) { animation-delay: 180ms; }
  .ll-stagger > *:nth-child(3) { animation-delay: 280ms; }
  .ll-stagger > *:nth-child(4) { animation-delay: 380ms; }
  .ll-stagger > *:nth-child(5) { animation-delay: 480ms; }
  .ll-stagger > *:nth-child(6) { animation-delay: 580ms; }
}

/* ────────────────────────────────────────────────────────────
   Hero variant moments (canvas only)
   ──────────────────────────────────────────────────────────── */
.ll-hero-cockpit .ll-headline { font-family: var(--font-sans); }
.ll-hero-editorial .ll-headline { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 40px; letter-spacing: -0.02em; line-height: 0.95; }
.ll-hero-ambient .ll-headline { font-family: var(--font-sans); font-size: 34px; }
.ll-hero-ambient .ll-verdict {
  background: linear-gradient(160deg, rgba(110,231,183,0.18), rgba(110,231,183,0.04) 60%, transparent), var(--card);
  border-color: rgba(110,231,183,0.3);
  padding: 28px 22px;
}
.ll-hero-ambient .ll-verdict::before { display: none; }

/* Density */
.ll-density-relaxed .ll-content { padding: 12px 22px 110px; }
.ll-density-relaxed .ll-h1 { font-size: 32px; margin: 18px 0 6px; }
.ll-density-relaxed .ll-headline { font-size: 36px; }
.ll-density-relaxed .ll-verdict { padding: 28px 24px 22px; }
.ll-density-relaxed .ll-card { padding: 22px; margin-bottom: 18px; }
.ll-density-relaxed .ll-advice { font-size: 16px; }

/* Logo */
.ll-logo-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ════════════════════════════════════════════════════════════
   LUXURY MOTION LAYER
   Ambient, continuous, restrained. Everything loops on transform
   / opacity / shadow only and is gated behind reduced-motion so
   print + accessibility fall back to the calm end-state.
   ════════════════════════════════════════════════════════════ */

/* Smooth, GPU-friendly hover lift on surfaces */
.ll-card,
.ll-verdict,
.ll-price,
.ll-paywall-stat {
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out);
  will-change: transform;
}
@media (hover: hover) {
  .ll-card:hover,
  .ll-verdict:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -22px rgba(0,0,0,0.7);
  }
}

@media (prefers-reduced-motion: no-preference) {

  /* — Smoother per-element entrance stagger (transform only) — */
  .ll-stagger > * {
    animation: ll-rise-in 560ms var(--ease-out) backwards;
  }

  /* — Ambient wash slowly breathes (opacity transition kept for mode fade) — */
  .ll-wash.on {
    animation: ll-wash-breathe 11s ease-in-out infinite;
    transform-origin: 50% 30%;
    will-change: transform, filter;
  }
  @keyframes ll-wash-breathe {
    0%, 100% { transform: scale(1);    filter: brightness(0.88) saturate(1); }
    50%      { transform: scale(1.08); filter: brightness(1.12) saturate(1.08); }
  }

  /* — Brand mark: soft pulsing halo — */
  .ll-brand .mark {
    animation: ll-mark-glow 4.2s ease-in-out infinite;
  }
  @keyframes ll-mark-glow {
    0%, 100% { box-shadow: 0 0 18px rgba(110,231,183,0.18); }
    50%      { box-shadow: 0 0 30px rgba(110,231,183,0.45); }
  }

  /* — Prompt / hero icons: same breathing halo — */
  .ll-prompt-icon {
    animation: ll-icon-float 5.5s ease-in-out infinite;
  }
  @keyframes ll-icon-float {
    0%, 100% { transform: translateY(0);     box-shadow: 0 8px 32px -8px rgba(110,231,183,0.22); }
    50%      { transform: translateY(-4px);  box-shadow: 0 16px 40px -8px rgba(110,231,183,0.34); }
  }

  /* — Live status dots: gentle breathing glow — */
  .ll-chip .dot {
    animation: ll-dot-breathe 2.8s ease-in-out infinite;
  }
  @keyframes ll-dot-breathe {
    0%, 100% { opacity: 0.65; box-shadow: 0 0 4px var(--accent); }
    50%      { opacity: 1;    box-shadow: 0 0 12px var(--accent); }
  }
  .ll-chip.warn .dot { animation-name: ll-dot-breathe-warn; }
  @keyframes ll-dot-breathe-warn {
    0%, 100% { opacity: 0.65; box-shadow: 0 0 4px var(--warn); }
    50%      { opacity: 1;    box-shadow: 0 0 12px var(--warn); }
  }

  /* — Verdict status dot: expanding "live" ping ring — */
  .ll-verdict-dot { position: relative; }
  .ll-verdict-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 1.5px solid var(--accent);
    animation: ll-ping 2.8s var(--ease-out) infinite;
  }
  .ll-verdict.eat  .ll-verdict-dot::after { border-color: var(--warn); }
  .ll-verdict.warn .ll-verdict-dot::after { border-color: var(--danger); }
  @keyframes ll-ping {
    0%        { transform: scale(0.6); opacity: 0.55; }
    70%, 100% { transform: scale(2.6); opacity: 0; }
  }

  /* — Verdict accent rail: slow liquid flow — */
  .ll-verdict::before {
    background: linear-gradient(180deg, var(--accent-2), var(--accent), var(--accent-2));
    background-size: 100% 220%;
    animation: ll-rail-flow 4.5s ease-in-out infinite;
  }
  @keyframes ll-rail-flow {
    0%, 100% { background-position: 0 0; }
    50%      { background-position: 0 100%; }
  }

  /* — Primary CTA: periodic sheen sweep + breathing lift — */
  .ll-btn:not(.secondary):not(.ghost)::after {
    content: '';
    position: absolute;
    top: 0; left: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    animation: ll-sheen 6s ease-in-out infinite;
  }
  @keyframes ll-sheen {
    0%        { left: -70%; opacity: 0; }
    8%        { opacity: 1; }
    26%       { left: 130%; opacity: 0; }
    100%      { left: 130%; opacity: 0; }
  }

  /* — Rest fill: traveling shimmer highlight — */
  .ll-strip-seg.rest { position: relative; overflow: hidden; }
  .ll-strip-seg.rest::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    background-size: 55% 100%;
    background-repeat: no-repeat;
    animation: ll-shimmer 3.2s linear infinite;
  }
  @keyframes ll-shimmer {
    0%   { background-position: -60% 0; }
    100% { background-position: 160% 0; }
  }

  /* — Tab bar: little bounce when a tab becomes active — */
  .ll-tab.active svg { animation: ll-tab-pop 360ms var(--ease-elastic); }
  @keyframes ll-tab-pop {
    0%   { transform: scale(0.82); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
  }

  /* — Replan banner icon: soft attention pulse — */
  .ll-replan-icon { animation: ll-icon-pulse 2.4s ease-in-out infinite; }
  @keyframes ll-icon-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
  }
}

/* ── Tactile press feedback on tappable surfaces ── */
.ll-card[onclick], .ll-card:active { transition: transform 120ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out); }
.ll-card:active { transform: scale(0.988); }
.ll-row:active { transform: scale(0.99); }
.ll-stat:active { transform: scale(0.97); }

/* Unread bell badge: gentle attention pulse */
@media (prefers-reduced-motion: no-preference) {
  .ll-bell-badge { animation: ll-badge-pop 2.6s ease-in-out infinite; }
  @keyframes ll-badge-pop {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.14); }
  }
}

/* Count-up numbers respect motion preferences automatically (JS-driven). */

/* ────────────────────────────────────────────────────────────
   Month grid — "like the calendar on my wall"
   ──────────────────────────────────────────────────────────── */
.ll-cal { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px 10px; margin-bottom: 14px; }
.ll-cal-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; }
.ll-cal-title { flex: 1; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ll-cal-arrow {
  width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); border-radius: 9px;
  color: var(--dim); cursor: pointer; transform: rotate(180deg);
}
.ll-cal-arrow.next { transform: none; }
.ll-cal-arrow:active { background: rgba(255,255,255,0.09); }
.ll-cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--dim-2); text-align: center; padding-bottom: 5px;
}
.ll-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.ll-cal-cell {
  min-height: 54px; border-radius: 8px; padding: 4px 5px 5px;
  background: rgba(255,255,255,0.022); border: 1px solid transparent;
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column; gap: 2px;
}
.ll-cal-cell:active { background: rgba(255,255,255,0.06); }
.ll-cal-cell.out { opacity: 0.34; }
.ll-cal-cell.today { border-color: var(--accent); }
.ll-cal-num { font-family: var(--font-mono); font-size: 11px; color: var(--dim); line-height: 1; }
.ll-cal-cell.today .ll-cal-num { color: var(--accent); font-weight: 700; }
.ll-cal-lay {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid; border-radius: 5px; padding: 2px 0; text-align: center; line-height: 1.15;
  background: rgba(255,255,255,0.04);
}
.ll-cal-lay.here { background: rgba(110,231,183,0.16); }
.ll-cal-bar {
  /* A block reads as one strip of tape across the week, so the days after the
     first carry no words but must keep the same height — a bar that collapses
     to a hairline stops looking like the same thing. */
  min-height: 15px; display: flex; align-items: center;
  font-size: 11px; font-weight: 700; color: #0a0d11; line-height: 1.2;
  padding: 1px 4px; overflow: hidden;
}
/* text-overflow needs a block that overflows, not the flex box around it —
   without the inner span a long title clips mid-letter with no ellipsis. */
.ll-cal-bar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ll-cal-van { font-family: var(--font-mono); font-size: 11px; color: var(--dim-2); line-height: 1.2; }
.ll-cal-legend {
  display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 11px 4px 2px;
  font-size: 11px; color: var(--dim);
}
.ll-cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ll-cal-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.ll-cal-hint { padding: 4px; font-size: 11.5px; color: var(--dim-2); line-height: 1.45; }

/* View toggle — agenda stays the default; the grid is a choice she makes. */
.ll-viewtoggle { display: flex; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.ll-viewtoggle button {
  flex: 1; background: transparent; border: 0; border-radius: 7px; padding: 7px 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.07em;
  color: var(--dim); cursor: pointer;
}
.ll-viewtoggle button.on { background: rgba(110,231,183,0.14); color: var(--accent); }

/* Kind chips in the entry form */
.ll-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.ll-kind {
  border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--dim);
  border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.ll-kind.on { border-color: var(--accent); color: var(--accent); background: rgba(110,231,183,0.12); }

/* ── Time wheel + presets (van time) ───────────────────────── */
.ll-input.ll-time { color-scheme: dark; min-width: 0; min-height: 52px; text-align: left; font-size: 20px; font-weight: 600; }
.ll-input.ll-time::-webkit-date-and-time-value { text-align: left; }
.ll-input.ll-time::-webkit-calendar-picker-indicator { filter: invert(0.8); opacity: 0.6; cursor: pointer; }
/* Side by side (landing | van) each field gets ~160px, and 20px type clips
   the AM/PM. One stylesheet serves the phone and the desktop web app: on a
   touch screen tapping the field opens the wheel, so the icon is dead weight
   there; with a mouse it is the only way to open the picker, so it stays. */
.ll-row .ll-input.ll-time { font-size: 17px; padding-right: 10px; }
@media (pointer: coarse) {
  .ll-row .ll-input.ll-time::-webkit-calendar-picker-indicator { display: none; }
}
.ll-presets { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ll-preset-row { display: grid; gap: 6px; }
.ll-preset {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 48px; padding: 8px 4px; border-radius: 12px; cursor: pointer;
  background: var(--card-2); color: var(--ink); border: 1px solid var(--line);
  font-family: inherit; transition: all 150ms var(--ease-out);
}
.ll-preset .t { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.ll-preset .t small { font-size: 13px; font-weight: 600; margin-left: 2px; color: var(--dim); }
.ll-preset .n { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.ll-preset.wide { flex-direction: row; justify-content: space-between; padding: 10px 14px; }
.ll-preset.wide .n { font-size: 13px; color: var(--accent); }
.ll-preset.on { background: rgba(110,231,183,0.10); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(110,231,183,0.08); }
.ll-preset.on .t small, .ll-preset.on .n { color: var(--accent); }
.ll-preset:active { transform: scale(0.97); }

/* ════════════════════════════════════════════════════════════
   FOIL PASS
   The rules above were written for the first dark look. These
   restate the surfaces for the pass look and win by coming last.
   Later phases rebuild screens on these pieces and the older
   rules above them get deleted as each screen moves.
   ════════════════════════════════════════════════════════════ */

.ll-app {
  background: radial-gradient(120% 55% at 85% 0%, var(--t-g1) 0%, var(--t-g2) 70%);
  font: 16px/1.45 var(--font-sans);
}

/* Mode wash: tinted by the theme's own segment colours, never a fixed green. */
.ll-wash.sleep { background: radial-gradient(ellipse 90% 60% at 50% -10%, color-mix(in srgb, var(--seg-sleep) 45%, transparent), transparent 65%); }
.ll-wash.eat { background: radial-gradient(ellipse 90% 60% at 50% -10%, color-mix(in srgb, var(--seg-free) 30%, transparent), transparent 65%); }
.ll-wash.warn { background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 120, 105, 0.22), transparent 65%); }

/* ── The pass ── */
.ll-card, .ll-verdict, .ll-rating, .ll-cal, .ll-paper {
  background: linear-gradient(180deg, var(--t-paper), var(--t-paper2));
  border: 0;
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(0, 0, 0, 0.35), 0 20px 40px -8px rgba(0, 0, 0, 0.55);
}
.ll-card.elev { background: linear-gradient(180deg, var(--t-paper), var(--t-paper2)); }
@media (hover: hover) {
  .ll-card:hover, .ll-verdict:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(0, 0, 0, 0.35), 0 26px 46px -8px rgba(0, 0, 0, 0.6); }
}
/* A pass inside a pass is a quiet panel, not a second floating card. */
.ll-card .ll-card, .ll-verdict .ll-card, .ll-card .ll-verdict {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* The verdict rail carries the mode in the theme's colours. */
.ll-verdict::before { width: 5px; background: var(--seg-sleep); animation: none; }
.ll-verdict.eat::before { background: var(--seg-free); }
.ll-verdict.warn::before { background: var(--danger); }
.ll-verdict.bleed, .ll-verdict.eat.bleed, .ll-verdict.warn.bleed { background: linear-gradient(180deg, var(--t-paper), var(--t-paper2)); }
.ll-verdict-dot { background: var(--seg-sleep); box-shadow: none; }
.ll-verdict.eat .ll-verdict-dot { background: var(--seg-free); box-shadow: none; }
.ll-verdict-status, .ll-verdict.eat .ll-verdict-status { color: var(--ink); letter-spacing: 0.06em; }
.ll-verdict.warn .ll-verdict-status { color: var(--danger); }

/* ── Type. The serif is for the verdict, titles and big numbers only. ── */
.ll-headline { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.01em; line-height: 1.06; }
.ll-headline.display { font-style: normal; font-weight: 700; font-size: 36px; }
.ll-h1, .ll-detail-title, .ll-prompt-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.ll-logo-wordmark { font-style: normal; font-weight: 700; }
.ll-advice { font-size: 16px; color: var(--ink); }
.ll-sub { font-family: var(--font-sans); font-size: 14.5px; letter-spacing: 0; }
.ll-eyebrow, .ll-label, .ll-picks-h, .ll-sched-date, .ll-strip-labels, .ll-rating-eyebrow {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: none;
}
.ll-quote { font-family: var(--font-sans); font-style: normal; font-size: 16px; border-left: 4px solid var(--seg-free); }
.ll-quote::before { display: none; }
.ll-pick-note, .ll-meta, .ll-crew-lbl, .ll-rating-foot, .ll-prompt-foot { font-size: 14px; }
.ll-timeline .t { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ll-timeline .e { font-size: 15.5px; }

/* ── Chips and pills: plain words, readable size. ── */
.ll-chip, .ll-pill, .ll-cat {
  font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
.ll-chip, .ll-pill { background: var(--card-2); border: 0; color: var(--ink); padding: 5px 10px; }
.ll-cat, .ll-cat.recover, .ll-cat.move, .ll-cat.stock, .ll-cat.do, .ll-cat.coffee, .ll-cat.park, .ll-cat.culture, .ll-cat.events, .ll-cat.service {
  background: var(--card-2); color: var(--ink);
}

/* ── Inputs ── */
.ll-input { background: var(--field); border: 1.5px solid var(--line-2); color: var(--ink); }
.ll-card .ll-input, .ll-verdict .ll-input, .ll-paper .ll-input { box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.08); }
.ll-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.ll-input.ll-time { color-scheme: dark; }
.ll-card .ll-input.ll-time, .ll-paper .ll-input.ll-time { color-scheme: light; }
.ll-card .ll-input.ll-time::-webkit-calendar-picker-indicator { filter: none; }

/* ── Buttons: a foil primary, glass on the ground, outlined on a pass. ── */
.ll-btn {
  background: linear-gradient(180deg, var(--t-btn-a), var(--t-btn-b));
  color: var(--t-btn-ink);
  font-size: 17px;
  min-height: 54px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 12px 24px -6px rgba(0, 0, 0, 0.45);
}
.ll-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 16px 28px -6px rgba(0, 0, 0, 0.5); }
.ll-btn.warn { background: linear-gradient(180deg, #F6C065, #E9A53A); color: #2A1A00; }
.ll-btn.secondary {
  background: rgba(255, 255, 255, 0.10);
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 14px rgba(0, 0, 0, 0.3);
}
.ll-card .ll-btn.secondary, .ll-verdict .ll-btn.secondary, .ll-paper .ll-btn.secondary {
  background: rgba(255, 255, 255, 0.5); border: 1.5px solid var(--ink); box-shadow: none;
}
.ll-btn.ghost { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; box-shadow: none; background: transparent; min-height: 44px; }
.ll-rating-btn.up, .ll-price-badge { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.ll-rating-btn:hover { background: var(--card-2); }

/* ── Brand mark and small glows: theme foil, no fixed green. ── */
.ll-brand .mark, .ll-prompt-icon {
  background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 50%, var(--t-foil-a));
  color: var(--t-foil-ink); border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 10px rgba(0, 0, 0, 0.4); animation: none;
}
.ll-chip .dot { box-shadow: none; animation: none; }

/* ── Time strip in the segment colours ── */
.ll-strip { background: var(--card-2); height: 14px; box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.2); }
.ll-strip-seg.transit { background: var(--seg-travel); }
.ll-strip-seg.free.sleep, .ll-strip-seg.free.eat { background: var(--seg-free); }
.ll-strip-seg.rest { background: var(--seg-sleep); box-shadow: none; }
.ll-strip-seg.prep { background: var(--seg-up); }

/* ── Schedule rows and the month ── */
.ll-sched-route .here { color: var(--accent); }
.ll-cal-cell { border-radius: 8px; }
.ll-cal-bar { color: var(--t-pink); }
.ll-viewtoggle button.on, .ll-kind.on, .ll-preset.on {
  background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 50%, var(--t-foil-a));
  color: var(--t-foil-ink); border-color: transparent;
}
.ll-preset.on .t small, .ll-preset.on .n { color: var(--t-foil-ink); }
.ll-kind, .ll-viewtoggle button { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; text-transform: none; }

/* ── Tab bar: a floating glass bar with a foil chip on the open tab ── */
.ll-tabbar {
  /* Mostly opaque: a light pass scrolls underneath, and the tab labels have
     to stay readable over it. */
  background: linear-gradient(180deg, color-mix(in srgb, var(--t-g1) 90%, #fff), var(--t-g2));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5);
}
.ll-tab { font-size: 13px; font-weight: 600; color: var(--t-od); border-radius: 18px; min-height: 52px; justify-content: center; }
.ll-tab.active {
  color: var(--t-foil-ink);
  background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 50%, var(--t-foil-a));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* ── Pass pieces for the screens rebuilt on this look ── */
.ll-foil {
  display: inline-block; font-family: var(--font-mono); font-weight: 600; font-size: 14px; padding: 4px 10px; border-radius: 8px;
  color: var(--t-foil-ink);
  background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 45%, var(--t-foil-a) 75%, var(--t-foil-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 5px rgba(0, 0, 0, 0.3);
}
.ll-tear { position: relative; height: 26px; margin: 0 -18px; }
.ll-tear::before, .ll-tear::after {
  content: ''; position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--t-g2); box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.65);
}
.ll-tear::before { left: -13px; }
.ll-tear::after { right: -13px; }
.ll-tear i { position: absolute; left: 22px; right: 22px; top: 12px; border-top: 2px dashed var(--line-2); }
.ll-pen { font-family: var(--font-pen); font-weight: 700; font-size: 24px; line-height: 1; color: var(--accent); }

/* ── The pass on the Now screen (pass.jsx) ── */
.ll-pass { padding: 16px 18px 16px; }
.ll-pass-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: 13px; color: var(--dim); }
.ll-pass-status, .ll-pass-gtv { white-space: nowrap; }
.ll-pass-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); background: var(--card-2); border-radius: 999px; padding: 5px 11px; }
.ll-pass-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--seg-sleep); }
.ll-pass.eat .ll-pass-status i { background: var(--seg-free); }
.ll-pass.warn .ll-pass-status { background: var(--danger); color: #fff; }
.ll-pass.warn .ll-pass-status i { background: #fff; }
.ll-pass-route { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 12px; }
.ll-pass-route .lb { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 2px; }
.ll-pass-route .mid { flex: 1; margin: 0 10px 9px; display: flex; align-items: center; gap: 8px; }
.ll-pass-route .mid b { flex: 1; border-top: 1.5px dashed var(--line-2); }
.ll-ed {
  min-height: 36px; padding: 0 8px; border: 1.5px dashed var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, 0.65);
  font: 600 14.5px var(--font-mono); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); white-space: nowrap;
}
.ll-ed.lg { font: 700 22px var(--font-display); min-height: 44px; padding: 0 10px; }
.ll-ed:active { transform: scale(0.97); }
.ll-pass-hotel {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  margin-top: 12px; padding: 9px 0; min-height: 48px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: none; color: var(--ink); font-family: inherit; cursor: pointer;
}
.ll-pass-hotel b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ll-pass-hotel small { display: block; font-size: 13.5px; color: var(--dim); }
.ll-pass-hotel em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--dim); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.ll-pass-main { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px -6px; }
.ll-pass-main .ll-headline { font-size: 27px; margin: 0; }
.ll-pass-ring { position: relative; flex: none; width: 150px; height: 150px; }
.ll-pass-arcs { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3)); }
.ll-pass-ring-mid { position: absolute; left: 0; right: 0; top: 50px; text-align: center; }
.ll-pass-ring-mid .n { font: 900 21px/1 var(--font-display); white-space: nowrap; }
.ll-pass-ring-mid .l { font-size: 13px; font-weight: 600; margin-top: 4px; }
.ll-pass-ring-mid .s { font-size: 13px; color: var(--dim); max-width: 84px; margin: 0 auto; line-height: 1.15; }
.ll-pass-sheet { margin: 0 -18px; }
.ll-pass-row {
  display: grid; grid-template-columns: 108px auto 1fr; align-items: center; gap: 0 8px; min-height: 48px; padding: 4px 18px;
  font: 500 14.5px var(--font-mono); box-shadow: inset 0 -4px 0 var(--c);
}
.ll-pass-row .nm i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.ll-pass-row .nt { font: 500 13.5px/1.3 var(--font-sans); color: var(--dim); }
.ll-pass-row .nt b { font: 600 15px var(--font-mono); color: var(--ink); }
.ll-pass-foot { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
.ll-pass-foot b { color: var(--ink); }
.ll-pass-foot .hint { font-size: 13px; }

/* The brand mark is the pass in Plantburgh colours in every theme: a theme
   recolours the app, not the logo. */
.ll-brand .mark { background: radial-gradient(120% 80% at 80% 0%, #0B5A1E, #00360C 75%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 8px rgba(0, 0, 0, 0.4); width: 26px; height: 26px; }
.ll-brand .mark svg { width: 18px; height: 18px; }

/* ── The filter panel on Around ── */
.ll-filters { padding: 14px; }
.ll-filters .lb { font-size: 13px; font-weight: 700; color: var(--dim); margin: 12px 2px 6px; }
.ll-filters .lb:first-child { margin-top: 0; }
.ll-filters .grid { display: grid; gap: 6px; }
.ll-filters .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ll-filters .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ll-filters .count { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); text-align: center; }
.ll-fchip {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; padding: 4px 6px; border-radius: 12px; cursor: pointer;
  font: 600 14px/1.15 var(--font-sans); text-align: center; color: var(--ink); background: var(--card-2); border: 1px solid transparent;
}
.ll-fchip.on { color: var(--t-foil-ink); background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 50%, var(--t-foil-a)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 5px rgba(0, 0, 0, 0.3); }

/* ── Your numbers ── */
.ll-num-n { font: 900 44px/1 var(--font-display); }
.ll-num-l { font-size: 15px; font-weight: 700; margin-top: 4px; }
.ll-num-p { font-size: 15px; line-height: 1.5; color: var(--dim); margin: 8px 0 12px; }
.ll-num-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; text-align: left; min-height: 52px; padding: 8px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font-family: inherit; cursor: pointer; }
.ll-num-row b { display: block; font-size: 15px; }
.ll-num-row small { display: block; font-size: 13.5px; color: var(--dim); }
.ll-num-row em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--dim); white-space: nowrap; }

/* ── The hotel line on the pass: two buttons ── */
.ll-pass-hotel { cursor: default; padding: 0; gap: 0; }
.ll-pass-hotel .nm { flex: 1; min-width: 0; text-align: left; padding: 9px 8px 9px 0; min-height: 48px; border: 0; background: none; color: var(--ink); font-family: inherit; cursor: pointer; }
.ll-pass-hotel .ch { flex: none; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, 0.5); color: var(--ink); font: 600 14px var(--font-sans); cursor: pointer; }

/* Place rows: plain words at a readable size, not small mono capitals. */
.ll-pick-meta { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0; }
.ll-pick-note { font-size: 14.5px; }
.ll-pick-title { font-size: 16.5px; }

/* ── A winning moment, and the trial note ── */
.ll-win { position: relative; padding: 16px 18px; }
.ll-win .x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; }
.ll-win .t { font: 700 26px/1.1 var(--font-display); margin-top: 10px; }
.ll-win .p { font-size: 15px; line-height: 1.45; color: var(--dim); margin-top: 4px; }
.ll-win .ask { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--line-2); }
.ll-win .q { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.ll-win .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ll-win .two .ll-btn { min-height: 48px; padding: 8px; font-size: 15px; text-decoration: none; }
.ll-trialnote { display: block; width: 100%; text-align: left; margin-bottom: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-family: inherit; cursor: pointer; }
.ll-trialnote b { display: block; font-size: 15px; }
.ll-trialnote span { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; }

/* ── Why this number? ── */
.ll-why { padding: 6px 0 12px; }
.ll-why .hd { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 6px; box-shadow: inset 0 -4px 0 var(--c); margin-bottom: 4px; }
.ll-why .hd b { font-size: 17px; }
.ll-why .hd em { font: 600 15px var(--font-mono); font-style: normal; }
.ll-why-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 6px 18px; border-bottom: 1px solid var(--line); }
.ll-why-row b { display: block; font-size: 15px; font-weight: 600; }
.ll-why-row small { display: inline-block; margin-top: 3px; font-size: 13px; color: var(--dim); background: var(--card-2); border-radius: 999px; padding: 2px 8px; }
.ll-why-step { display: flex; align-items: center; gap: 6px; flex: none; }
.ll-why-step button { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--ink); background: rgba(255, 255, 255, 0.6); color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.ll-why-step button:disabled { opacity: 0.35; }
.ll-why-step strong { min-width: 66px; text-align: center; font: 600 15px var(--font-mono); }
.ll-why .note { margin: 8px 18px 0; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: 14px; line-height: 1.4; color: var(--ink); }
.ll-pass-why { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: 700 15px var(--font-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Me: sections that fold ── */
.ll-mesec { margin-bottom: 10px; }
.ll-mesec .hd { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink); font: 600 16px var(--font-sans); text-align: left; cursor: pointer; }
.ll-mesec .hd span { flex: 1; }
.ll-mesec .hd em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--dim); }
.ll-mesec .hd i { width: 9px; height: 9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); margin: 0 4px 4px 0; transition: transform 200ms ease; }
.ll-mesec .hd i.up { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.ll-mesec .bd { padding-top: 10px; }

/* ── Around: ways to get there ── */
.ll-filters .grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ll-fchip small { font: 600 13px var(--font-mono); opacity: 0.75; margin-left: 2px; }
.ll-fchip { flex-wrap: wrap; }
.ll-fchip:disabled { opacity: 0.4; cursor: default; }
.ll-modehd { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 0; padding: 0 0 6px; font: 700 15px var(--font-sans); box-shadow: inset 0 -4px 0 var(--seg-travel); }
.ll-modehd.walk { box-shadow: inset 0 -4px 0 var(--seg-free); }
.ll-modehd.transit { box-shadow: inset 0 -4px 0 var(--seg-up); }
.ll-modehd.deliver { box-shadow: inset 0 -4px 0 var(--seg-wind); }
.ll-modehd:first-child { margin-top: 0; }
.ll-modehd small { font: 600 13px var(--font-mono); color: var(--dim); }

/* ── Links under the pass, the place's night, money ── */
.ll-pass-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.ll-placenight > b { display: block; font-size: 17px; margin-bottom: 4px; }
.ll-placenight > span { display: block; font-size: 15px; color: var(--dim); }
.ll-placenight .ways { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ll-placenight .ways span { font-size: 13.5px; font-weight: 600; background: var(--card-2); border-radius: 999px; padding: 5px 10px; }

/* ── Right-to-left (Arabic) ──
   The layout mirrors by itself. Two things must not: a clock time or a code
   reads left to right in every language, and the typewriter face has no
   Arabic letters, so Arabic text set in it falls back to something spaced out. */
.ll-ed, .ll-foil, .ll-pass-row > b, .ll-pass-ring-mid .n, .ll-timeline .t, .ll-why-step strong { direction: ltr; unicode-bidi: isolate; }
.ll-app[dir="rtl"] .ll-pass-row, .ll-app[dir="rtl"] .ll-pass-route .lb, .ll-app[dir="rtl"] .ll-chip { font-family: var(--font-sans); }
.ll-app[dir="rtl"] .ll-back svg, .ll-app[dir="rtl"] .ll-btn svg { transform: scaleX(-1); }

/* ── Not flat: chips, tags and rows on paper sit a little above it ──
   Off chips are raised paper with a light top edge and a soft shadow; the
   chosen one is foil; a press sinks it. Rows lift under a finger. */
.ll-fchip, .ll-raise {
  background: linear-gradient(180deg, color-mix(in srgb, var(--t-paper) 70%, #fff), var(--card-2)) !important;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 1px rgba(0, 0, 0, 0.10), 0 4px 9px -4px rgba(0, 0, 0, 0.28);
  transition: transform 120ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.ll-fchip.on, .ll-raise.on {
  color: var(--t-foil-ink) !important;
  background: linear-gradient(135deg, var(--t-foil-a), var(--t-foil-b) 50%, var(--t-foil-a)) !important;
  border-color: color-mix(in srgb, var(--t-foil-ink) 25%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 6px 12px -5px rgba(0, 0, 0, 0.45);
}
/* A raised chip is paper wherever it sits, so its words are always paper ink. */
.ll-raise { color: var(--t-pink) !important; }
.ll-fchip:active, .ll-raise:active { transform: translateY(1px) scale(0.985); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.18); }
.ll-fchip:disabled { box-shadow: none; background: var(--card-2) !important; }
.ll-cat { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.14); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.ll-card > .ll-pick, .ll-card a.ll-pick { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 12px; transition: background 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 120ms var(--ease-out); }
.ll-card > .ll-pick:hover, .ll-card a.ll-pick:hover { opacity: 1; background: color-mix(in srgb, var(--t-paper) 60%, #fff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px -10px rgba(0, 0, 0, 0.4); }
.ll-card > .ll-pick:active, .ll-card a.ll-pick:active { transform: scale(0.99); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.12); }
.ll-modehd { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
@media (prefers-reduced-motion: reduce) { .ll-fchip, .ll-raise, .ll-card > .ll-pick { transition: none; } }

/* ── Thumb room (found on the Fold, 11-21): Back was 19px tall ── */
.ll-back { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 0; }
.ll-sub a { display: inline-block; padding: 9px 0; }

/* The hotel line on the pass, right to left: the name keeps clear of its button. */
[dir="rtl"] .ll-pass-hotel .nm { text-align: right; padding: 9px 0 9px 10px; }

/* ── Wide touch screens (an unfolded Fold, a tablet): the real app, in one
   readable column down the middle instead of stretched edge to edge. The
   scrolling area stays full width so a thumb can scroll from anywhere. ── */
@media (min-width: 700px) {
  .ll-app.fullscreen .ll-content { padding-inline: max(18px, calc((100% - 640px) / 2)); }
  .ll-app.fullscreen .ll-topbar { padding-inline: max(18px, calc((100% - 640px) / 2)); }
  .ll-app.fullscreen .ll-tabbar { left: max(14px, calc((100% - 560px) / 2)); right: max(14px, calc((100% - 560px) / 2)); }
}

/* The Terms and Privacy links inside the consent line were 18px tall. */
.ll-content label a { display: inline-block; padding: 9px 0; }
