/* Japan 2027 — washi paper, torii vermilion, Ghibli-blue skies and a little cartoon bounce.
   Mobile-first. Light = a clear autumn day; dark = a lantern-lit night. All colors are tokens. */

@font-face { font-family: "Rounded"; font-weight: 400; font-display: swap; src: url("fonts/m-plus-rounded-1c-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rounded"; font-weight: 700; font-display: swap; src: url("fonts/m-plus-rounded-1c-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Rounded"; font-weight: 800; font-display: swap; src: url("fonts/m-plus-rounded-1c-latin-800-normal.woff2") format("woff2"); }

:root {
  /* traditional colors: 朱 shu, 藍 ai, 抹茶 matcha, 柿 kaki, 桜 sakura, 山吹 yamabuki */
  --sky-top: #a9d8f2; --sky-mid: #d7eefa; --paper: #fbf4e6; --card: #fffaf1; --card-edge: #ecdcc0;
  --ink: #3a2f27; --muted: #85766a; --line: #eadcc4; --chip: #f5ead6;
  --shu: #d64a2f; --shu-dark: #a8341d; --shu-ink: #fff8ee;
  --ai: #2f5291; --matcha: #6c9a43; --kaki: #ec7f37; --sakura: #f2a7b8; --yamabuki: #f0b232; --wood: #c48a52; --wood-dark: #8c5a2e;
  --fuji: #7f93cf; --fuji-shade: #6c80bf; --snow: #ffffff; --hill-back: #9ccb79; --hill-front: #7cb35a; --sun: #fff1b8;
  --cloud: #ffffff; --leaf-a: #e2522f; --leaf-b: #f0a73a;
  --shadow: 0 2px 0 rgba(140, 100, 50, .10), 0 10px 26px rgba(120, 85, 40, .10);
  --pop: 0 3px 0 var(--card-edge);
  --font: "Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  --washi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .38 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 14'%3E%3Cpath d='M3 9 C35 3 70 12 137 5' stroke='%23d64a2f' stroke-width='6' stroke-linecap='round' fill='none' opacity='.9'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sky-top: #0d1630; --sky-mid: #1a2850; --paper: #10172b; --card: #182240; --card-edge: #0b1124;
    --ink: #f5ecda; --muted: #b4a991; --line: #2a385c; --chip: #212d4f;
    --shu: #ff6b4a; --shu-dark: #c94a2e; --shu-ink: #1a0e0a;
    --ai: #9db8ff; --matcha: #a5cf74; --kaki: #ffa45e; --sakura: #ff9fb6; --yamabuki: #ffc85c; --wood: #d9a06a; --wood-dark: #9b6a3c;
    --fuji: #34416d; --fuji-shade: #2b375f; --snow: #dfe7ff; --hill-back: #22412f; --hill-front: #1a3324; --sun: #fff3cf;
    --cloud: #2a3961; --leaf-a: #ff6f4a; --leaf-b: #ffb35a;
    --shadow: 0 2px 0 rgba(0,0,0,.35), 0 10px 26px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; color: var(--ink); font: 15px/1.5 var(--font); -webkit-text-size-adjust: 100%; }
body { background: var(--paper) var(--washi); }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--ai); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
svg { display: block; }

/* ===================== Lock screen: a little Ghibli valley ===================== */
.lock { position: relative; min-height: 100dvh; overflow: hidden; display: grid; place-items: center;
  padding: 24px max(16px, env(safe-area-inset-right)) 120px max(16px, env(safe-area-inset-left));
  background: linear-gradient(var(--sky-top), var(--sky-mid) 55%, var(--paper)); }
@media (prefers-color-scheme: dark) {
  .lock { background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff8 50%, transparent 51%), radial-gradient(1.5px 1.5px at 72% 12%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 30%, #fff7 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 34%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 42%, #fff6 50%, transparent 51%), radial-gradient(1px 1px at 60% 22%, #fff7 50%, transparent 51%),
    linear-gradient(var(--sky-top), var(--sky-mid) 60%, var(--paper)); }
}
.scene { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; top: 9%; right: 12%; width: 74px; height: 74px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--sun) 35%, transparent), 0 0 60px 20px color-mix(in srgb, var(--sun) 40%, transparent); }
.cloud { position: absolute; fill: var(--cloud); opacity: .95; filter: drop-shadow(0 4px 0 color-mix(in srgb, var(--sky-top) 70%, #fff0)); }
.cloud.c1 { top: 14%; left: -4%; width: 140px; height: 70px; animation: drift 38s ease-in-out infinite alternate; }
.cloud.c2 { top: 26%; right: -6%; width: 110px; height: 55px; animation: drift 46s ease-in-out infinite alternate-reverse; }
.cloud.c3 { top: 6%; left: 38%; width: 84px; height: 42px; opacity: .8; animation: drift 52s ease-in-out infinite alternate; }
.fuji { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: 190px; }
.fuji-body { fill: var(--fuji); }
.fuji-snow { fill: var(--snow); }
.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; }
.hill-back { fill: var(--hill-back); }
.hill-front { fill: var(--hill-front); }
.torii { fill: var(--shu); }
.leaves svg { position: absolute; top: -30px; width: 18px; height: 18px; fill: var(--leaf-a); opacity: .9; animation: fall 14s linear infinite; }
.leaves svg:nth-child(2n) { fill: var(--leaf-b); width: 14px; height: 14px; }
.leaves svg:nth-child(1) { left: 8%; animation-delay: -2s; }
.leaves svg:nth-child(2) { left: 22%; animation-delay: -9s; animation-duration: 17s; }
.leaves svg:nth-child(3) { left: 41%; animation-delay: -5s; }
.leaves svg:nth-child(4) { left: 57%; animation-delay: -12s; animation-duration: 19s; }
.leaves svg:nth-child(5) { left: 71%; animation-delay: -3s; animation-duration: 15s; }
.leaves svg:nth-child(6) { left: 84%; animation-delay: -7s; }
.leaves svg:nth-child(7) { left: 93%; animation-delay: -14s; animation-duration: 21s; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-30px, 55vh) rotate(260deg); } 100% { transform: translate(10px, 110vh) rotate(540deg); } }
@keyframes drift { from { transform: translateX(-18px); } to { transform: translateX(18px); } }

/* The unlock card is an ema — a wooden wish plaque, hung on a red cord */
.ema { position: relative; z-index: 2; width: min(340px, 100%); text-align: center; color: #4a2f1a;
  padding: 58px 22px 22px; background: linear-gradient(#efcf9c, #ddb072);
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); border-radius: 0 0 18px 18px;
  filter: drop-shadow(0 6px 0 #a8743f) drop-shadow(0 18px 24px rgba(60, 35, 10, .25)); }
.ema::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(120, 72, 30, .35); border-radius: 0 0 12px 12px;
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); pointer-events: none; }
.ema-cord { position: absolute; top: 26px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: #6b4320; box-shadow: 0 0 0 3px #c43b25; }
.ema h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: .01em; color: #3b2412; }
.ema-jp { margin: 0; font-size: 16px; letter-spacing: .3em; color: #b23a22; font-weight: 700; }
.ema-sub { margin: 6px 0 0; font-size: 13px; color: #7a5232; }
.ema form { display: grid; gap: 12px; margin-top: 16px; position: relative; z-index: 1; }
.ema input[type=password] { padding: 13px 14px; border-radius: 14px; border: 2px solid #b98451; background: #fff8ec; color: #3b2412; font: inherit; font-size: 16px; outline: none; }
.ema input[type=password]:focus { border-color: #c43b25; box-shadow: 0 0 0 3px rgba(196, 59, 37, .18); }
.check { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 14px; color: #6d4728; }
.check input { accent-color: #c43b25; width: 17px; height: 17px; }
.btn-unlock { padding: 13px; border: 0; border-radius: 999px; background: #d64a2f; color: #fff8ee; font-weight: 800; font-size: 17px;
  letter-spacing: .02em; box-shadow: 0 4px 0 #9c3119; transition: transform .08s, box-shadow .08s; }
.btn-unlock:active { transform: translateY(3px); box-shadow: 0 1px 0 #9c3119; }
.lock-msg { min-height: 1.4em; margin: 0; color: #a8341d; font-weight: 700; }

/* ===================== App shell ===================== */
.app { min-height: 100dvh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 20; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: linear-gradient(var(--sky-top), var(--sky-mid)); border-bottom: 2px solid var(--card-edge); }
.sky-cloud { position: absolute; fill: var(--cloud); opacity: .75; pointer-events: none; }
.sky-cloud.k1 { width: 90px; height: 45px; right: 92px; top: calc(2px + env(safe-area-inset-top)); animation: drift 30s ease-in-out infinite alternate; }
.sky-cloud.k2 { width: 64px; height: 32px; left: 46%; bottom: -10px; opacity: .55; animation: drift 40s ease-in-out infinite alternate-reverse; }
.title { position: relative; display: flex; flex-direction: column; min-width: 0; }
.brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 18px; letter-spacing: .01em; }
.brand-torii { width: 22px; height: 22px; fill: none; stroke: var(--shu); stroke-width: 2.6; stroke-linecap: round; }
.brand-jp { font-size: 12px; font-weight: 700; color: var(--shu); letter-spacing: .2em; }
.subtitle { font-size: 12.5px; color: color-mix(in srgb, var(--ink) 75%, var(--sky-top)); }
#jst-clock { font-weight: 700; }
.today { position: relative; border: 0; border-radius: 999px; padding: 7px 16px; background: var(--shu); color: var(--shu-ink); font-weight: 800;
  box-shadow: 0 3px 0 var(--shu-dark); transition: transform .08s, box-shadow .08s; }
.today:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--shu-dark); }

/* Bottom tabs: a cream bar with little drawn icons */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card) var(--washi); border-top: 2px solid var(--card-edge); padding: 4px 4px env(safe-area-inset-bottom);
  box-shadow: 0 -6px 18px rgba(80, 55, 20, .08); }
.tabs button { border: 0; background: none; padding: 6px 0 8px; display: grid; justify-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tabs svg { width: 26px; height: 26px; padding: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  border-radius: 12px; box-sizing: content-box; padding: 3px 10px; transition: background .15s, transform .15s; }
.tabs button.active { color: var(--shu); }
.tabs button.active svg { background: color-mix(in srgb, var(--shu) 14%, transparent); transform: translateY(-1px); }

main { padding: 14px max(16px, env(safe-area-inset-right)) 28px max(16px, env(safe-area-inset-left)); max-width: 820px; margin: 0 auto; }

/* Day strip: little wooden ema tags */
.daystrip { display: flex; gap: 9px; overflow-x: auto; padding: 8px 2px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.daystrip::-webkit-scrollbar { display: none; }
.daychip { position: relative; flex: 0 0 auto; scroll-snap-align: center; min-width: 58px; padding: 12px 9px 6px; text-align: center; line-height: 1.12;
  background: var(--card); border: 2px solid var(--card-edge); border-radius: 10px 10px 14px 14px; box-shadow: var(--pop); transition: transform .12s; }
.daychip::before { content: ""; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--line); }
.daychip b { display: block; font-size: 17px; font-weight: 800; }
.daychip small { color: var(--muted); font-size: 11px; font-weight: 700; }
.daychip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 3px; vertical-align: 0; }
.daychip.active { background: var(--shu); border-color: var(--shu-dark); color: var(--shu-ink); box-shadow: 0 3px 0 var(--shu-dark); transform: translateY(-2px); }
.daychip.active small { color: color-mix(in srgb, var(--shu-ink) 85%, transparent); }
.daychip.active::before { background: var(--shu-ink); }

/* Cards: washi paper */
.card { position: relative; background: var(--card) var(--washi); border: 2px solid var(--card-edge); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); margin-bottom: 14px; }

/* Noren: the shop-curtain banner on each day */
.noren { position: relative; margin: -14px -14px 18px; padding: 12px 14px 14px; border-radius: 16px 16px 0 0; color: var(--shu-ink);
  background: var(--shu); display: flex; gap: 12px; align-items: center;
  background-image: linear-gradient(90deg, transparent calc(33.3% - 1px), rgba(255, 255, 255, .28) calc(33.3% - 1px) calc(33.3% + 1px), transparent calc(33.3% + 1px) calc(66.6% - 1px), rgba(255, 255, 255, .28) calc(66.6% - 1px) calc(66.6% + 1px), transparent calc(66.6% + 1px)); }
.noren::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 11px 0, var(--shu) 9px, transparent 9.5px) 0 0 / 22px 10px repeat-x; }
.mon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--shu-ink); color: var(--shu);
  font-weight: 800; font-size: 18px; box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px var(--shu-ink), inset 0 0 0 6px var(--shu); }
.noren-text { min-width: 0; font-size: 13px; line-height: 1.35; }
.noren-text b { display: block; font-size: 15px; font-weight: 800; }
.dayhead h2 { margin: 2px 0 6px; font-size: 21px; line-height: 1.25; font-weight: 800; text-wrap: balance; }

/* Badges: stickers and hanko stamps */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0; }
.badge { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.badge.must { background: transparent; color: var(--shu); border: 1.8px solid var(--shu); border-radius: 6px; padding: 0 6px; transform: rotate(-3deg);
  text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; line-height: 18px; }
.badge.try { background: color-mix(in srgb, var(--matcha) 18%, var(--card)); color: var(--matcha); }
.badge.todo { background: color-mix(in srgb, var(--yamabuki) 26%, var(--card)); color: color-mix(in srgb, var(--yamabuki) 55%, var(--ink)); }
.badge.booked, .badge.done { background: color-mix(in srgb, var(--matcha) 22%, var(--card)); color: var(--matcha); }
.badge.pace { background: color-mix(in srgb, var(--ai) 14%, var(--card)); color: var(--ai); }

/* Timeline: stepping stones down a garden path */
.timeline { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 56px 32px 1fr; gap: 8px; padding: 8px 0 12px; }
.item .time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; font-weight: 700; padding-top: 5px; text-align: right; white-space: nowrap; }
.item .time small { font-size: 10.5px; }
.rail { position: relative; display: flex; justify-content: center; }
.rail::before { content: ""; position: absolute; top: 34px; bottom: -14px; left: 50%; border-left: 2.5px dotted var(--line); }
.item:last-child .rail::before { display: none; }
.bubble { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px;
  background: color-mix(in srgb, var(--k) 22%, var(--card)); border: 2px solid var(--k); box-shadow: 0 2px 0 color-mix(in srgb, var(--k) 45%, transparent); }
.item .what { min-width: 0; padding-top: 3px; }
.item .name { font-weight: 800; }
.item .ja { color: var(--muted); font-size: 12.5px; margin-left: 5px; font-weight: 400; }
.item.transit .name { font-weight: 700; color: color-mix(in srgb, var(--matcha) 70%, var(--ink)); }
.item.note .name { font-weight: 700; }
.item .meta { color: var(--muted); font-size: 13px; }
.item .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.item .links a, .item .links button { font-size: 12.5px; font-weight: 700; text-decoration: none; border: 2px solid var(--card-edge); border-radius: 999px;
  padding: 2px 10px; background: var(--card); color: var(--ink); box-shadow: 0 2px 0 var(--card-edge); }
.item .links a:active, .item .links button:active { transform: translateY(2px); box-shadow: none; }
.item.dim { opacity: .3; }

/* Notes: a bento slip for meals, an umbrella slip for Plan B */
.box { position: relative; border-radius: 14px; padding: 10px 12px 10px 44px; margin-top: 12px; font-size: 14px;
  background: color-mix(in srgb, var(--kaki) 12%, var(--card)); border: 2px dashed color-mix(in srgb, var(--kaki) 45%, transparent); }
.box::before { content: "🍙"; position: absolute; left: 12px; top: 9px; font-size: 20px; }
.box.planb { background: color-mix(in srgb, var(--ai) 10%, var(--card)); border-color: color-mix(in srgb, var(--ai) 40%, transparent); }
.box.planb::before { content: "☂️"; }
.box b { font-weight: 800; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.toggle { border: 2px solid var(--card-edge); background: var(--card); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 0 var(--card-edge); }
.toggle.on { background: var(--ai); color: var(--card); border-color: var(--ai); box-shadow: 0 2px 0 color-mix(in srgb, var(--ai) 60%, #000); }

/* Map */
.mapwrap { position: relative; margin: -14px calc(-1 * max(16px, env(safe-area-inset-right))) 0 calc(-1 * max(16px, env(safe-area-inset-left))); }
#map { height: calc(100dvh - 76px - 64px - env(safe-area-inset-bottom) - env(safe-area-inset-top) - 104px); min-height: 320px; border-top: 2px solid var(--card-edge); }
.mapbar { padding: 8px max(16px, env(safe-area-inset-left)) 4px; display: grid; gap: 4px; }
.maplibregl-popup-content { background: var(--card) var(--washi); color: var(--ink); border-radius: 16px; padding: 12px 14px; max-width: 270px;
  border: 2px solid var(--card-edge); box-shadow: var(--shadow); font-family: var(--font); }
.maplibregl-popup-tip { border-top-color: var(--card-edge) !important; border-bottom-color: var(--card-edge) !important; }
.maplibregl-popup-close-button { color: var(--muted); font-size: 18px; }
.popup b { display: block; font-weight: 800; }
.popup .links { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.maplibregl-ctrl-group { border-radius: 12px !important; border: 2px solid var(--card-edge); box-shadow: var(--pop) !important; }

/* Tables, sections, lists */
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1.5px dashed var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
h2.section { display: inline-block; font-size: 19px; font-weight: 800; margin: 20px 0 10px; padding-bottom: 8px;
  background: var(--brush) left bottom / 100% 12px no-repeat; }
h3 { font-size: 16px; font-weight: 800; margin: 10px 0 6px; }
.ja-big { font-size: 21px; line-height: 1.4; padding: 12px 14px; background: var(--paper) var(--washi); border: 2px solid var(--card-edge); border-radius: 14px; margin: 8px 0; user-select: all; }
details summary { cursor: pointer; padding: 4px 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1.5px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--shu); flex: 0 0 auto; }
.checklist .done { text-decoration: line-through; text-decoration-color: var(--shu); color: var(--muted); }
.btnrow { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0; }
.btn { border: 2px solid var(--card-edge); background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 800; box-shadow: 0 3px 0 var(--card-edge); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--card-edge); }
.btn.primary { background: var(--shu); color: var(--shu-ink); border-color: var(--shu-dark); box-shadow: 0 3px 0 var(--shu-dark); }
img.figure { width: 100%; border-radius: 14px; border: 2px solid var(--card-edge); }
.route .leg { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.route .dotline { display: grid; justify-items: center; }
.route .dotline i { width: 14px; height: 14px; border-radius: 50%; background: var(--shu); margin-top: 5px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--shu) 25%, transparent); }
.route .dotline s { width: 0; flex: 1; border-left: 2.5px dotted var(--line); min-height: 26px; }

@media (prefers-reduced-motion: reduce) {
  .leaves { display: none; }
  .cloud, .sky-cloud { animation: none; }
  * { transition: none !important; }
}
@media print {
  .tabs, .topbar, .daystrip, .filters, .links, .btnrow, .today, .scene { display: none !important; }
  .app { padding: 0; }
  body, .card { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; }
}
