:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1f1a14;
  --ink-2: #5b5247;
  --ink-3: #8a7f71;
  --line: #e6dccb;
  --accent: #c2410c;       /* vermilion */
  --accent-ink: #ffffff;
  --accent-soft: #fbe7dc;
  --good: #3f7d4e;
  --warn: #a15c07;
  --warn-soft: #fbefd9;
  --star: #d99a0b;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 4px 14px rgba(60, 40, 20, .06);
  --radius: 14px;
  --display: 'Fraunces', Georgia, 'Hiragino Mincho ProN', serif;
  --body: 'Inter', system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16130f; --card: #211c16; --ink: #f3ece0; --ink-2: #c4b8a6; --ink-3: #8f8475;
    --line: #342c22; --accent: #f07a43; --accent-ink: #1b0f08; --accent-soft: #3a2216;
    --good: #7fbf8e; --warn: #f0b35a; --warn-soft: #33271a; --star: #f2b93b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --paper: #16130f; --card: #211c16; --ink: #f3ece0; --ink-2: #c4b8a6; --ink-3: #8f8475;
    --line: #342c22; --accent: #f07a43; --accent-ink: #1b0f08; --accent-soft: #3a2216;
    --good: #7fbf8e; --warn: #f0b35a; --warn-soft: #33271a; --star: #f2b93b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--body); -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.01em; margin: 0; }
.boot { display: grid; place-items: center; height: 100vh; font: 650 40px var(--display); color: var(--accent); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ── Shell ─────────────────────────────────────────────── */
.shell { min-height: 100vh; }
.main { max-width: 760px; margin: 0 auto; padding: 16px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; max-width: 760px; margin: 0 auto; }
.brand { font: 650 22px var(--display); color: var(--accent); letter-spacing: .02em; }
.topbar .trip { color: var(--ink-3); font-size: 13px; }
.whoami { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 14px; }

.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: var(--card); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom); }
.nav button { flex: 1; height: var(--nav-h); border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 500; color: var(--ink-3); }
.nav button svg { width: 22px; height: 22px; }
.nav button[aria-current="page"] { color: var(--accent); }

@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 220px 1fr; }
  .nav { position: sticky; top: 0; height: 100vh; flex-direction: column; justify-content: flex-start; border-top: 0; border-right: 1px solid var(--line); padding: 20px 12px; gap: 4px; }
  .nav .nav-brand { display: block; font: 650 28px var(--display); color: var(--accent); padding: 4px 12px 20px; }
  .nav button { flex: none; height: 44px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; font-size: 15px; border-radius: 10px; color: var(--ink-2); }
  .nav button[aria-current="page"] { background: var(--accent-soft); }
  .main { max-width: 1100px; padding: 24px 32px 48px; }
  .topbar { max-width: 1100px; padding: 20px 32px 0; }
  .topbar .brand { display: none; }
}
.nav-brand { display: none; }

/* ── Building blocks ──────────────────────────────────── */
.section { margin: 22px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.section h2 { font-size: 20px; }
.section .sub { color: var(--ink-3); font-size: 13px; }
.section .spacer { flex: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 14px 16px; }
.stack > * + * { margin-top: 10px; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 960px) { .grid2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 10px;
  padding: 8px 14px; font-weight: 500; text-decoration: none; color: var(--ink); min-height: 40px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.danger { color: #b42318; }
.btn.small { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .count { color: var(--ink-3); margin-left: 4px; font-weight: 400; }
.chip[aria-pressed="true"] .count { color: inherit; opacity: .7; }

.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.avatars { display: inline-flex; }
.avatars .avatar { width: 22px; height: 22px; font-size: 10px; border: 2px solid var(--card); margin-left: -6px; }
.avatars .avatar:first-child { margin-left: 0; }

.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.badge.todo { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.planned { background: transparent; color: var(--ink-3); }

.stars { color: var(--star); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--line); }

/* ── Login / who ──────────────────────────────────────── */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.gate .box { width: 100%; max-width: 380px; text-align: center; }
.gate h1 { font-size: 56px; color: var(--accent); letter-spacing: .04em; }
.gate p { color: var(--ink-2); }
.gate input { width: 100%; font-size: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: center; margin: 18px 0 10px; }
.gate .btn { width: 100%; min-height: 50px; font-size: 16px; }
.gate .err { color: #b42318; min-height: 22px; font-size: 14px; }
.people-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.people-pick button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: left; font-weight: 500; }
.people-pick .avatar { width: 34px; height: 34px; font-size: 14px; }

/* ── Ask ──────────────────────────────────────────────── */
.askbar { display: flex; gap: 8px; }
.askbar input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 16px; box-shadow: var(--shadow); }
.askbar input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.askbar .btn { min-width: 52px; border-radius: 12px; }
.answer { margin-top: 10px; }
.answer .md p { margin: 0 0 6px; }
.answer .md p:last-child { margin: 0; }
.answer .md ul { margin: 4px 0; padding-left: 20px; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble.jiro { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.jiro p { margin: 0 0 6px; } .bubble.jiro p:last-child { margin: 0; }
.bubble.jiro ul { margin: 4px 0; padding-left: 20px; }
.bubble .src { margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.thinking { color: var(--ink-3); font-style: italic; }

/* ── Today hero ───────────────────────────────────────── */
.dayhead { margin: 6px 0 14px; }
.dayhead .date { font: 650 28px/1.15 var(--display); }
.dayhead .meta { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.daynav { display: flex; gap: 6px; margin-left: auto; }
.tonight { padding: 16px; border-left: 4px solid var(--accent); }
.tonight .label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.tonight h3 { font-size: 20px; margin: 4px 0 2px; }
.tonight .addr { color: var(--ink-2); font-size: 14px; }
.tonight .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ── Item rows ────────────────────────────────────────── */
.items { overflow: hidden; }
.item { display: flex; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.item:first-child { border-top: 0; }
.item .when { width: 62px; flex: none; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-top: 2px; }
.item .icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); flex: none; }
.item .icon svg { width: 17px; height: 17px; color: var(--ink-2); }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 600; }
.item .sub { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.empty { padding: 18px 16px; color: var(--ink-3); font-size: 14px; }

/* ── Places ───────────────────────────────────────────── */
.place { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-top: 1px solid var(--line); width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; }
.place:first-child { border-top: 0; }
.place .cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); width: 44px; flex: none; padding-top: 3px; }
.place .cat.eat { color: #b45309; } .place .cat.see { color: #1d6fa5; } .place .cat.shop { color: #9d174d; } .place .cat.do { color: #3f7d4e; } .place .cat.onsen { color: #7c3aed; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .place .cat.eat { color: #f2a65a; } html:not([data-theme="light"]) .place .cat.see { color: #7cc0ec; } html:not([data-theme="light"]) .place .cat.shop { color: #f08fb8; } html:not([data-theme="light"]) .place .cat.do { color: #8fd19e; } html:not([data-theme="light"]) .place .cat.onsen { color: #c4a6ff; } }
html[data-theme="dark"] .place .cat.eat { color: #f2a65a; } html[data-theme="dark"] .place .cat.see { color: #7cc0ec; } html[data-theme="dark"] .place .cat.shop { color: #f08fb8; } html[data-theme="dark"] .place .cat.do { color: #8fd19e; } html[data-theme="dark"] .place .cat.onsen { color: #c4a6ff; } 
.place .body { flex: 1; min-width: 0; }
.place .name { font-weight: 600; }
.place .note { color: var(--ink-3); font-size: 13px; }
.area-head { font: 650 17px var(--display); margin: 18px 0 8px; display: flex; gap: 8px; align-items: baseline; }
.area-head .muted { font: 400 13px var(--body); }

/* ── Days strip ───────────────────────────────────────── */
.daystrip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.daystrip::-webkit-scrollbar { display: none; }
.daystrip button { flex: none; width: 54px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 6px 0; text-align: center; }
.daystrip button .dow { font-size: 11px; color: var(--ink-3); text-transform: uppercase; }
.daystrip button .dnum { font: 650 18px var(--display); }
.daystrip button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.daystrip button[aria-pressed="true"] .dow { color: inherit; opacity: .8; }
.daystrip button.today { box-shadow: inset 0 -3px 0 var(--accent); }

/* ── Sheet (detail / edit) ────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(20, 14, 8, .45); z-index: 40; animation: fade .15s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; z-index: 41; background: var(--card); border-radius: 18px 18px 0 0;
  padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .2s ease-out; }
.sheet .grab { width: 40px; height: 4px; background: var(--line); border-radius: 4px; margin: 4px auto 12px; }
.sheet h2 { font-size: 22px; }
.sheet .kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 14px 0; font-size: 14px; }
.sheet .kv dt { color: var(--ink-3); }
.sheet .kv dd { margin: 0; overflow-wrap: anywhere; }
.sheet .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (min-width: 700px) {
  .sheet { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 560px; max-height: 86vh; border-radius: 18px; padding: 20px 24px 24px; animation: fade .15s; }
  .sheet .grab { display: none; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.field { display: block; margin-top: 12px; }
.field > span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 16px; }
.field textarea { min-height: 90px; resize: vertical; }
.fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 13px; background: var(--paper); }

.starpick { display: flex; gap: 4px; margin-top: 6px; }
.starpick button { border: 0; background: none; font-size: 32px; line-height: 1; color: var(--line); padding: 2px; }
.starpick button.on { color: var(--star); }
.review { padding: 10px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.review .who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }

/* ── Manage tables (desktop) ──────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:hover td { background: var(--paper); cursor: pointer; }
.tablewrap { overflow: auto; max-height: 70vh; }
.mobile-only { display: initial; }
.desktop-only { display: none; }
@media (min-width: 960px) { .mobile-only { display: none; } .desktop-only { display: initial; } }
.search { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 15px; }

#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }


/* ── v0.3: plans, peek, votes, theme toggle ───────────── */
.iconbtn { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--ink-2); }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn + .whoami { margin-left: 0; }
.nav .nav-desktop { display: none; }
@media (min-width: 960px) { .nav .nav-desktop { display: flex; } }

.dayhead { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 10px; }
.dayhead .date { font: 650 26px/1.15 var(--display); }
.dayhead .meta { color: var(--ink-3); font-size: 13px; margin-top: 2px; }

.peek { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.peek-label { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.peek-label svg { width: 14px; height: 14px; }
.peek .chips { flex: 1; min-width: 0; }
.chip.face { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; }
.chip.face .avatar { width: 22px; height: 22px; font-size: 10px; }
.chip.face[aria-pressed="false"] .avatar { opacity: .55; }
.peek-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; border: 1px dashed var(--line); background: transparent; color: var(--ink-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; width: 100%; text-align: left; }
.peek-hint svg { width: 15px; height: 15px; }

.tonight.slim { padding: 10px 12px 10px 14px; display: flex; align-items: center; gap: 10px; }
.tonight.slim .t-main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tonight.slim .label { font-size: 11px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 500; text-align: left; }
.linkbtn.strong { color: var(--ink); font: 650 17px var(--display); }
.stack > .section { margin: 14px 0 0; }
.stack > .section:first-child { margin-top: 0; }
.section h2 { font-size: 19px; }

.item.past, .place.past { opacity: .5; }
.item.plan { cursor: pointer; }
.item.plan.done .title { color: var(--ink-2); }
.item.plan.skipped .title { text-decoration: line-through; color: var(--ink-3); }
.tick { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; color: transparent; padding: 0; }
.tick svg { width: 16px; height: 16px; }
.tick:hover { color: var(--ink-3); }
.tick.done { background: var(--good); border-color: var(--good); color: #fff; }
.tick.skipped { border-color: var(--ink-3); color: var(--ink-3); }

.place { cursor: pointer; }
.place .acts { display: flex; align-items: center; gap: 6px; flex: none; }
.vote { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 10px; font-size: 14px; line-height: 1.2; min-height: 32px; min-width: 44px; filter: grayscale(.9); opacity: .75; }
.vote span { font-size: 13px; font-weight: 600; }
.vote[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); filter: none; opacity: 1; color: var(--ink); }
.vote.big { font-size: 20px; padding: 6px 14px; min-height: 44px; }
.addbtn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); background: transparent; color: var(--accent); display: grid; place-items: center; padding: 0; }
.addbtn svg { width: 16px; height: 16px; }
.more { display: block; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 11px; color: var(--accent); font-weight: 500; font-size: 14px; }
.card.empty .linkbtn { margin-left: 4px; }

.transfer-line { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--warn-soft); color: var(--ink); text-align: left; }
.transfer-line > svg { width: 18px; height: 18px; color: var(--warn); flex: none; }
.transfer-line > svg:last-child { margin-left: auto; color: var(--ink-3); }

.tomorrow { margin-top: 26px; padding-top: 6px; border-top: 1px solid var(--line); }
.tomorrow .section { margin-bottom: 10px; }

.whosleeps { padding: 0 14px; }
.whosleeps summary { padding: 11px 0; cursor: pointer; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.ws-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ws-row:last-child { padding-bottom: 12px; }
.daystrip button.over { opacity: .55; }

.caps { text-transform: uppercase; letter-spacing: .06em; }
.notice { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; font-size: 14px; border-left: 1px solid var(--line); cursor: pointer; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.timein { width: auto !important; padding: 5px 8px !important; font-size: 14px !important; border-radius: 999px !important; }
.inline-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-add input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; min-height: 40px; }
.askdock { position: sticky; bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom)); margin-top: 16px; }
@media (min-width: 960px) { .askdock { bottom: 16px; } }
.item .when { width: 44px; white-space: normal; line-height: 1.2; font-size: 12px; }
.item .when:empty { width: 0; margin-right: -12px; }
@media (min-width: 960px) { .item .when { width: 62px; white-space: nowrap; font-size: 13px; } .item .when:empty { width: 62px; margin-right: 0; } }
.section h2 svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 2px; }
.checks .chip { white-space: normal; text-align: left; max-width: 100%; }
@media (min-width: 960px) { .shell { background: linear-gradient(to right, var(--card) 220px, var(--line) 220px, var(--line) 221px, transparent 221px); } }
.daystrip button.over[aria-pressed="true"] { opacity: 1; }
[data-act="lookup-map"] { white-space: nowrap; flex: none; }

/* ── v0.4: AskJIRO home, Today strip ──────────────────── */
.askhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.askhead h2 { font-size: 24px; }
.askhead .sub { color: var(--ink-3); font-size: 13px; }
.askhead .btn { margin-left: auto; }
.jiro-mark { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 108px; padding: 14px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); text-align: left; color: var(--ink); }
.tile:active { transform: scale(.98); }
.tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.tile-icon svg { width: 26px; height: 26px; }
.tile-label { font: 650 18px/1.15 var(--display); }
.tile.sky .tile-icon { background: #dbeafe; color: #1d4ed8; }
.tile.sea .tile-icon { background: #ccfbf1; color: #0f766e; }
.tile.sun .tile-icon { background: #fef3c7; color: #b45309; }
.tile.rose .tile-icon { background: #fde2e4; color: #be123c; }
:root[data-theme="dark"] .tile.sky .tile-icon { background: #1e2a44; color: #93c5fd; }
:root[data-theme="dark"] .tile.sea .tile-icon { background: #123330; color: #5eead4; }
:root[data-theme="dark"] .tile.sun .tile-icon { background: #3a2c12; color: #fcd34d; }
:root[data-theme="dark"] .tile.rose .tile-icon { background: #3b1a20; color: #fda4af; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile.sky .tile-icon { background: #1e2a44; color: #93c5fd; }
  :root:not([data-theme="light"]) .tile.sea .tile-icon { background: #123330; color: #5eead4; }
  :root:not([data-theme="light"]) .tile.sun .tile-icon { background: #3a2c12; color: #fcd34d; }
  :root:not([data-theme="light"]) .tile.rose .tile-icon { background: #3b1a20; color: #fda4af; }
}
.examples { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 700px) { .examples { display: grid; grid-template-columns: 1fr 1fr; } }
.example { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 15px; }
.example::before { content: '“'; color: var(--accent); font-weight: 700; margin-right: 2px; }
.example::after { content: '”'; color: var(--accent); font-weight: 700; margin-left: 1px; }
.daystrip { margin-top: 14px; }
.dayhead { margin-top: 8px; }
.todaybtn { margin-left: auto; }
.todaybtn svg { width: 15px; height: 15px; }
.gate-mark { width: 112px; height: 112px; border-radius: 28px; box-shadow: var(--shadow); margin-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.nav .nav-brand { display: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; }
@media (min-width: 960px) { .nav .nav-brand { display: flex; } .nav-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; } }
@media (min-width: 960px) { .nav .nav-brand { display: flex; align-items: center; gap: 10px; } }
.askdock { padding: 14px 0 6px; background: linear-gradient(to bottom, transparent, var(--paper) 35%); }
.clearbtn { border-color: var(--accent); color: var(--accent); background: var(--card); font-weight: 600; min-height: 38px; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.clearbtn svg { width: 16px; height: 16px; }
.clearbtn:hover { background: var(--accent-soft); }
.dockbar { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.tagline { font: 600 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small { font: 600 9px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; white-space: nowrap; }
.nav-brand .brand-text small { font-size: 10px; }
.topbar .trip { display: none; }
@media (min-width: 960px) { .topbar .trip { display: inline; } }
.nav-brand .brand-text small { font-size: 9px; letter-spacing: .08em; }

/* ── v0.5: graded votes, Ideas nudge ──────────────────── */
.vote { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vote .mine { letter-spacing: -3px; }
.vote.lvl0 .mine { filter: grayscale(1); opacity: .6; }
.vote .total { font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 1px 7px; letter-spacing: 0; }
.vote[aria-pressed="true"] .total { background: var(--card); }
.vote.lvl0 { filter: none; opacity: 1; }
.vote.lvlx { filter: none; opacity: 1; border-color: var(--line); background: var(--paper); }
.vote.lvl3 { box-shadow: 0 0 0 2px var(--accent-soft); }

.votepick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.votepick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.votepick .em { font-size: 18px; letter-spacing: -3px; line-height: 1.2; }
.votepick button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.whovoted { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: 14px; }
.whovoted .wv { white-space: nowrap; }
.whovoted .wv.no { color: var(--ink-3); }

.nudge { margin: 12px 0 14px; padding: 14px; border-radius: 16px; background: var(--accent-soft); border: 1px solid transparent; }
.nudge.done { background: var(--card); border-color: var(--line); }
.nudge-top { display: flex; gap: 12px; align-items: flex-start; }
.nudge-top strong { font: 650 17px var(--display); display: block; margin-bottom: 2px; }
.nudge-em { font-size: 28px; line-height: 1; }
.nudge-bar { height: 8px; border-radius: 99px; background: var(--card); margin: 12px 0 8px; overflow: hidden; }
.nudge-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.nudge-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.section .btn { white-space: nowrap; flex: none; }
.homeseg { display: flex; flex-wrap: wrap; }
.homeseg span { padding: 8px 12px; }

/* ── v0.7: Trip Feed as a compact list on phones ──────── */
.avatar.more { background: var(--paper) !important; color: var(--ink-2); border-color: var(--card); font-weight: 700; font-size: 9px; }
.feedlist { display: none; }
.feedrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; }
.feedrow:first-child { border-top: 0; }
.fr-date { width: 34px; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.fr-date b { font: 650 18px var(--display); }
.fr-date span { font-size: 11px; text-transform: uppercase; color: var(--ink-3); letter-spacing: .04em; }
.fr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fr-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.fr-sub { font-size: 12px; color: var(--ink-3); }
.fr-sub .badge { margin-left: 4px; font-size: 10px; padding: 1px 5px; }
.fr-who { flex: none; }
.fr-who .avatars .avatar { width: 22px; height: 22px; font-size: 10px; }
@media (max-width: 959px) {
  .feedlist { display: block; }
  .tablewrap { display: none; }
}
.avatars .avatar.more, .fr-who .avatars .avatar.more { width: auto; min-width: 22px; padding: 0 6px; border-radius: 999px; font-size: 10px; }

/* ── v0.8: profile photos ─────────────────────────────── */
.avatar.has-photo { background-size: cover; background-position: center; color: transparent; }
.avatar.big { width: 72px; height: 72px; font-size: 26px; }
.photopick { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.photopick-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photopick-acts .muted { flex-basis: 100%; }
.photopick label.btn { cursor: pointer; }
.seg label { position: relative; } .seg input, .field .seg input { position: absolute; inset: 0; width: 100% !important; height: 100%; margin: 0; padding: 0; opacity: 0; }

/* ── v0.9: who voted, on every idea ───────────────────── */
.voters { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.voter { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 2px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 11px; line-height: 1; white-space: nowrap; }
.voter .avatar { width: 20px; height: 20px; font-size: 9px; }
.voter b { font-weight: 700; color: var(--ink-2); }
.voter.l3 { background: var(--accent-soft); border-color: var(--accent); }
.voter.l3 b { color: var(--accent); }
.voter.no { opacity: .7; }
.voter.no .avatar { filter: grayscale(1); }
.voter.more { padding: 4px 8px; color: var(--ink-3); font-weight: 600; }
.whovoted .wv { display: inline-flex; align-items: center; gap: 5px; }
.whovoted .wv .avatar { width: 22px; height: 22px; font-size: 10px; }

/* ── v1.0: Let's Go! invites ──────────────────────────── */
.invite-banner { display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0 10px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--ink); text-align: left; font-size: 14px; }
.invite-banner .ib-em { font-size: 20px; line-height: 1; }
.invite-banner .ib-text { flex: 1; min-width: 0; }
.invite-banner .ib-more { color: var(--accent); font-weight: 600; white-space: nowrap; }
.invite-banner > svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.invite-banner[aria-expanded="true"] > svg { transform: rotate(-90deg); }
.invite-list { margin: -4px 0 12px; }
.inv-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.inv-row:first-child { border-top: 0; }
.inv-main { flex: 1; min-width: 0; border: 0; background: none; padding: 0; text-align: left; font-size: 14px; color: var(--ink); }
.inv-main span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.inv-acts { display: flex; gap: 4px; flex: none; }
.invite-tag { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }

.letsgo { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.lg-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lg-head h3 { font: 650 18px var(--display); margin: 0; }
.lg-invited { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; }
.lg-invited > span:nth-child(2) { flex: 1; min-width: 0; }
.lg-faces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lg-face { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 58px; padding: 6px 2px; border: 2px solid transparent; border-radius: 14px; background: none; font-size: 11px; color: var(--ink-2); }
.lg-face .avatar { width: 40px; height: 40px; font-size: 15px; }
.lg-face span { max-width: 54px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-face[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.lg-face[aria-pressed="true"] .avatar { box-shadow: 0 0 0 2px var(--card); }
.lg-all { flex-basis: 100%; text-align: left; border: 1px dashed var(--line); background: none; border-radius: 10px; padding: 7px 10px; font-size: 13px; color: var(--accent); font-weight: 600; }
.lg-send { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lg-send input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 15px; min-height: 40px; }
.lg-send input[name="note"] { flex: 1; min-width: 150px; }
.lg-sent { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.lg-sent span { display: flex; align-items: center; gap: 6px; }
.lg-sent .avatar { width: 20px; height: 20px; font-size: 9px; }
.st-yes { color: var(--good); } .st-no { color: var(--ink-3); } .st-pending { color: var(--warn); }
.lg-sent .avatar, .lg-invited .avatar, .inv-row .avatar { flex: none; }

/* ── v1.1: who's in, on plan items ────────────────────── */
.guests { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.guest { position: relative; display: inline-block; }
.guest .avatar { width: 24px; height: 24px; font-size: 10px; }
.guest i { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center;
  font-size: 8px; font-style: normal; font-weight: 700; color: #fff; border: 1.5px solid var(--card); }
.guest.yes i { background: var(--good); }
.guest.wait { opacity: .55; }
.guest.wait i { background: var(--warn); }
.guest.no .avatar { filter: grayscale(1); opacity: .45; }
.guest.no i { background: var(--ink-3); }
.guestlist { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.gl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.gl b { width: 100%; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.gl.yes b { color: var(--good); } .gl.wait b { color: var(--warn); } .gl.no b { color: var(--ink-3); }
.gl span { display: inline-flex; align-items: center; gap: 5px; }
.gl .avatar { width: 22px; height: 22px; font-size: 10px; flex: none; }
.gl.no span { color: var(--ink-3); }
.gl .avatar, .lg-sent .avatar { display: inline-grid; place-items: center; }

/* ── v1.2: who can join that day ──────────────────────── */
.lg-face.off { opacity: .45; cursor: not-allowed; }
.lg-face.off .avatar { filter: grayscale(1); }
.lg-face em, .lg-face.off em { font-style: normal; font-size: 9.5px; line-height: 1.15; color: var(--ink-3); text-align: center; max-width: 56px; }
.lg-face.far em { color: var(--warn); font-weight: 600; }
.lg-face.far .avatar { box-shadow: 0 0 0 2px var(--warn-soft); }
.lg-warn { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--ink); font-size: 14px; }
.lg-warn p { margin: 0 0 4px; }

/* v1.3: viral item + website on ideas */
.viral-line { font-size: 13px; color: var(--accent); font-weight: 500; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkrow { margin-top: 10px; }
.viral-box { display: flex; gap: 10px; align-items: baseline; margin: 10px 0 0; padding: 10px 12px;
  background: var(--accent-soft); border-radius: 12px; font-weight: 600; }
.viral-box .lbl { flex: none; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }

/* v1.4: Itinerary ideas — just mine / + friends */
.seg-mini { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg-mini button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-3);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.seg-mini button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fr-head { margin-top: 16px; }
.fr-line { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.fr-line > span:last-child { min-width: 0; }
.fr-line b { color: var(--good); font-weight: 600; }
.fr-line .avatars .avatar { width: 22px; height: 22px; font-size: 10px; }
.fr-line .avatars .avatar.more { width: auto; min-width: 22px; padding: 0 6px; border-radius: 999px; }
.grid2 > * { min-width: 0; }
.place .body { min-width: 0; }

/* v1.5: Tonight + who sleeps where in one bar, so Plan and Ideas line up */
.nightbar { padding: 8px 10px 8px 14px; border-left: 4px solid var(--accent); margin-bottom: 4px; }
.nightbar .nb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 36px; }
.nightbar .label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nightbar .nb-stay { font-family: var(--display); font-size: 16px; }
.nightbar .spacer { flex: 1; }
.nightbar .chev { display: inline-block; transition: transform .15s; }
.nightbar.open .chev { transform: rotate(180deg); }
.nightbar .nb-list { margin-top: 6px; }
.daygrid > .stack > .section:first-child { margin-top: 8px; min-height: 40px; align-items: center; }
@media (max-width: 520px) { .nightbar .spacer { display: none; } .nightbar .nb-toggle { margin-left: auto; } }

/* v1.6: My treat, photos in AskJIRO, activity, expenses, notes */
.lg-treat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.treat-btn { border: 1.5px dashed var(--line); background: var(--card); color: var(--ink-2); font: inherit; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.treat-btn[aria-pressed="true"] { border-style: solid; border-color: #d97706; background: #fef3c7; color: #92400e; }
.treat-chip { display: inline-block; background: #fef3c7; color: #92400e; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
:root[data-theme="dark"] .treat-btn[aria-pressed="true"], :root[data-theme="dark"] .treat-chip { background: #3a2c12; color: #fcd34d; border-color: #b45309; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .treat-btn[aria-pressed="true"], :root:not([data-theme="light"]) .treat-chip { background: #3a2c12; color: #fcd34d; border-color: #b45309; } }

.tile.mint .tile-icon { background: #d1fae5; color: #047857; }
.tile.lav .tile-icon { background: #ede9fe; color: #6d28d9; }
:root[data-theme="dark"] .tile.mint .tile-icon { background: #0f2e25; color: #6ee7b7; }
:root[data-theme="dark"] .tile.lav .tile-icon { background: #261d3d; color: #c4b5fd; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile.mint .tile-icon { background: #0f2e25; color: #6ee7b7; }
  :root:not([data-theme="light"]) .tile.lav .tile-icon { background: #261d3d; color: #c4b5fd; }
}
.photo-btn { flex: none; width: 48px; padding: 0; display: grid; place-items: center; cursor: pointer; }
.photo-hint { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; }
.photo-hint svg { width: 18px; height: 18px; flex: none; }
.ask-preview { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 6px 10px 6px 6px; margin-bottom: 8px; font-size: 13px; color: var(--ink-2); }
.ask-preview img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.ask-preview span { flex: 1; }
.bubble-img { display: block; max-width: 220px; max-height: 260px; border-radius: 10px; margin-bottom: 6px; }

.act-day { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 18px 2px 8px; }
.act-list { padding: 0; overflow: hidden; }
.act-row { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.act-row:first-child { border-top: 0; }
.act-row:hover { background: var(--paper); }
.act-row > .avatar { flex: none; margin-top: 1px; }
.act-text { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.4; }
.act-quote { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 3px; }
.act-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--ink-3); }
.act-ic { font-size: 15px; }

.money-sum { padding: 14px; }
.ms-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ms-head .label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ms-net { font-family: var(--display); font-size: 22px; }
.plus { color: var(--good); } .minus { color: var(--accent); }
.ms-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.card > .ms-row { padding: 8px 14px; }
.card > .ms-row:first-child { border-top: 0; }
.ms-others summary { cursor: pointer; font-size: 13px; color: var(--ink-2); padding: 8px 0 2px; }
.btn.armed { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.split-faces { margin-top: 6px; }
.note-body { white-space: pre-wrap; font-weight: 500; }
.clearbtn { white-space: nowrap; }
.photo-btn svg { width: 22px; height: 22px; }
/* Once a chat is going, the big tiles shrink to a scrollable row so the conversation has room. */
.tiles.compact { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.tiles.compact::-webkit-scrollbar { display: none; }
.tiles.compact .tile { flex: none; flex-direction: row; align-items: center; gap: 8px; min-height: 0; padding: 6px 12px 6px 6px; border-radius: 999px; }
.tiles.compact .tile-icon { width: 30px; height: 30px; border-radius: 999px; }
.tiles.compact .tile-icon svg { width: 16px; height: 16px; }
.tiles.compact .tile-label { font-size: 14px; font-family: var(--body); font-weight: 600; white-space: nowrap; }
.gate-more { display: block; margin-top: 14px; font-size: 14px; color: var(--ink-3); text-decoration: none; }
.gate-more:hover { color: var(--accent); }
