@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap;
  src: url(/fonts/bricolage.woff2) format("woff2");
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/figtree.woff2) format("woff2");
}

:root {
  --paper: #F3F5FA;
  --surface: #FFFFFF;
  --surface-2: #EEF1F8;
  --ink: #15203A;
  --ink-2: #4B5674;
  --ink-3: #576180;
  --line: #E0E4EE;
  --cobalt: #2343B5;
  --cobalt-text: #2343B5;
  --cobalt-soft: #E6EBFA;
  --tram: #F5C02E;
  --tram-soft: #FFF4D1;
  --owe: #B3361E;
  --owe-soft: #FCEBE6;
  --owed: #0F6E4C;
  --owed-soft: #E2F4EC;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgb(21 32 58 / .05), 0 10px 30px -18px rgb(21 32 58 / .28);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M28 6c7 9 7 13 0 22-7-9-7-13 0-22zM28 50c-7-9-7-13 0-22 7 9 7 13 0 22zM6 28c9-7 13-7 22 0-9 7-13 7-22 0zM50 28c-9 7-13 7-22 0 9-7 13-7 22 0z'/%3E%3Ccircle cx='28' cy='28' r='3.5'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='56' cy='0' r='9'/%3E%3Ccircle cx='0' cy='56' r='9'/%3E%3Ccircle cx='56' cy='56' r='9'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0D1322; --surface: #151D31; --surface-2: #1C2540;
    --ink: #EEF1F8; --ink-2: #B3BCD3; --ink-3: #8D97B3; --line: #27314C;
    --cobalt-text: #93A7F5; --cobalt-soft: #1E2A52;
    --tram-soft: #3A3115; --owe: #FF9479; --owe-soft: #3A1E19; --owed: #5DD3A5; --owed-soft: #11342A;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -18px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cobalt-text); }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--tram); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.num { font-variant-numeric: tabular-nums; }

/* Hero */
.hero { position: relative; height: 232px; overflow: hidden; color: #fff; background: #1b2540; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 16 34 / .35) 0%, rgb(10 16 34 / 0) 30%, rgb(10 16 34 / .15) 50%, rgb(10 16 34 / .82) 100%); }
.hero__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: 14px 18px; }
.hero__from { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  padding: 6px 11px 6px 9px; border-radius: 999px; background: rgb(255 255 255 / .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__from .ic { width: 15px; height: 15px; }
.hero__title { font: 800 44px/0.95 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.hero__title .amp { font-weight: 600; color: var(--tram); }
.hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-weight: 600; font-size: 15px; }
.facepile { display: flex; }
.facepile .av { width: 28px; height: 28px; font-size: 11px; margin-left: -7px; box-shadow: 0 0 0 2px rgb(16 22 40 / .9); }

/* Avatars */
.av { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c, var(--cobalt)); color: #fff; font: 700 13px/1 var(--body); letter-spacing: .01em; }
.av--sm { width: 28px; height: 28px; font-size: 11px; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 12px; }
.glance { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; min-width: 0; }
.sync { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sync__dot { width: 8px; height: 8px; border-radius: 50%; background: #2FB67C; box-shadow: 0 0 0 4px rgb(47 182 124 / .18); }

.who__h { font: 600 14px/1.3 var(--body); color: var(--ink-2); margin-bottom: 8px; }
.who__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; }
.who__chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 40px; padding: 4px 13px 4px 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s; }
.chip .av { width: 30px; height: 30px; font-size: 12px; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* Today — the one bold surface */
.today { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 18px 18px 16px; color: #fff;
  background: var(--cobalt); isolation: isolate; }
.today::before { content: ""; position: absolute; inset: 0; background: var(--tile) 0 0 / 56px 56px; opacity: .13; z-index: -1;
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 85%); mask-image: linear-gradient(105deg, transparent 35%, #000 85%); }
.today__kicker { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgb(255 255 255 / .82); }
.today__badge { background: var(--tram); color: #3a2c00; font-weight: 700; font-size: 12.5px; padding: 3px 9px; border-radius: 999px; }
.today__big { font: 800 34px/1.02 var(--display); letter-spacing: -0.02em; margin: 8px 0 4px; text-wrap: balance; }
.today__sub { color: rgb(255 255 255 / .86); font-size: 15px; }
.today__list { margin-top: 12px; display: grid; gap: 8px; }
.today__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.today__list .ic { margin-top: 1px; color: var(--tram); }
.today__foot { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.today__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: #fff; text-decoration: none; background: rgb(255 255 255 / .14); border: 0; cursor: pointer; }
.today__btn:hover { background: rgb(255 255 255 / .22); }
.today__btn .ic { width: 15px; height: 15px; }

/* My money */
.mine { padding: 16px 18px; }
.mine__label { font-size: 14px; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mine__amt { font: 800 32px/1.05 var(--display); letter-spacing: -0.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.mine__amt.is-owe { color: var(--owe); }
.mine__amt.is-owed { color: var(--owed); }
.mine__amt.is-square { color: var(--ink); }
.mine__note { color: var(--ink-2); font-size: 14.5px; }
.mine__rows { margin-top: 12px; display: grid; gap: 8px; }
.mine__switch { background: none; border: 0; color: var(--cobalt-text); font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 4px 0; }
.pick-hint { display: flex; gap: 12px; align-items: center; }
.pick-hint .ic { width: 22px; height: 22px; color: var(--cobalt-text); }
.pick-hint strong { display: block; font-size: 16px; }
.pick-hint span { color: var(--ink-2); font-size: 14.5px; }

/* Transfer row (shared by mine + settle up) */
.xfer { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-md); background: var(--surface-2); }
.xfer__who { display: flex; align-items: center; }
.xfer__who .av + .av { margin-left: -8px; box-shadow: 0 0 0 2px var(--surface-2); }
.xfer__txt { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; }
.xfer__txt b { font-weight: 700; }
.xfer__amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn .ic { width: 16px; height: 16px; }
.btn--pay { background: var(--ink); color: var(--paper); }
.btn--pay:hover { opacity: .88; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Tabs */
.tabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; margin: 20px -16px 0; padding: 10px 16px;
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tabs a { flex: 1; text-align: center; padding: 8px 4px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* Sections */
.sec { padding-top: 16px; }
.sec + .sec { margin-top: 28px; }
.sec__h { font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; margin: 28px 0 12px; }
.sec > .sec__h:first-child { margin-top: 8px; }
.sub-h { font: 700 16px/1.3 var(--body); margin: 22px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sub-h small { font-weight: 500; color: var(--ink-3); font-size: 13.5px; }

.decided li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; font-size: 15.5px; line-height: 1.4; }
.decided li + li { border-top: 1px solid var(--line); }
.decided .ic { color: var(--cobalt-text); margin-top: 2px; }

/* Days timeline */
.days { display: grid; }
.day { display: grid; grid-template-columns: 52px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.day::before { content: ""; position: absolute; left: 25px; top: 58px; bottom: 0; width: 2px; background: var(--line); }
.day:last-child::before { display: none; }
.day__date { display: grid; justify-items: center; align-content: start; width: 52px; height: 56px; padding-top: 6px; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow); }
.day__dow { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.day__n { font: 800 24px/1 var(--display); }
.day.is-today .day__date { background: var(--tram); color: #2b2100; }
.day.is-today .day__dow { color: #4d3c00; }
.day__body { padding-top: 2px; min-width: 0; }
.day__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.day__city { font-size: 13px; font-weight: 700; color: var(--cobalt-text); }
.day__today { font-size: 12px; font-weight: 700; background: var(--tram); color: #3a2c00; border-radius: 999px; padding: 2px 8px; }
.day__title { font: 700 18px/1.25 var(--display); margin: 2px 0 6px; }
.day__items { display: grid; gap: 6px; }
.day__items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; color: var(--ink); }
.day__items .ic { color: var(--ink-3); margin-top: 1px; width: 17px; height: 17px; }
.day__items .txt { flex: 1; }
.day__empty { font-size: 14.5px; color: var(--ink-3); }
.day__photo { margin-top: 10px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface-2); }
.day__photo img { width: 100%; height: 100%; object-fit: cover; }

.tag { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tag .ic { width: 12px; height: 12px; margin: 0 !important; color: currentColor !important; }
.tag--booked { background: var(--owed-soft); color: var(--owed); }
.tag--open { background: var(--tram-soft); color: #7A5A00; }
.tag--deposit { background: var(--cobalt-soft); color: var(--cobalt-text); }
@media (prefers-color-scheme: dark) { .tag--open { color: var(--tram); } }

/* Stays */
.stays { display: grid; gap: 14px; }
.stay { overflow: hidden; }
.stay__img { aspect-ratio: 16 / 9; background: var(--surface-2); }
.stay__img img { width: 100%; height: 100%; object-fit: cover; }
.stay__body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.stay__name { font: 700 19px/1.2 var(--display); }
.stay__kind { color: var(--ink-2); font-size: 14.5px; }
.stay__row { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.stay__row .ic { color: var(--ink-3); width: 16px; height: 16px; margin-top: 2px; }
.stay__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.maplink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none;
  padding: 8px 12px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt-text); }
.maplink:hover { text-decoration: underline; }
.maplink .ic { width: 15px; height: 15px; }

/* Arrivals, people lists */
.arrivals li, .plist li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.arrivals li + li, .plist li + li { border-top: 1px solid var(--line); }
.arrivals .who-txt { flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }
.arrivals .who-txt b { display: block; color: var(--ink); font-size: 15.5px; }
li.is-me { background: color-mix(in srgb, var(--tram) 14%, transparent); }

/* Money */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px 12px 11px; }
.stat b { display: block; font: 800 22px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-2); line-height: 1.25; display: block; margin-top: 3px; }
.settle { padding: 8px; display: grid; gap: 6px; }
.settle .xfer { background: transparent; }
.settle .xfer.is-me { background: color-mix(in srgb, var(--tram) 16%, transparent); }
.settle .xfer + .xfer { border-top: 1px solid var(--line); border-radius: 0; }
.settle .xfer.is-me, .settle .xfer.is-me + .xfer { border-radius: var(--r-md); }
.done-list { margin-top: 10px; display: grid; gap: 4px; }
.done-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); padding: 6px 4px; }
.done-row .ic { color: var(--owed); }
.done-row .txt { flex: 1; }
.linkbtn { background: none; border: 0; padding: 6px 4px; color: var(--cobalt-text); font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.linkbtn .ic { width: 15px; height: 15px; }

.expenses li { padding: 13px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; }
.expenses li + li { border-top: 1px solid var(--line); }
.exp__ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt-text); grid-row: span 2; }
.exp__title { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.exp__by { font-size: 13.5px; color: var(--ink-2); }
.exp__amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.exp__each { font-size: 13px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.exp__quote { grid-column: 2 / -1; margin-top: 6px; justify-self: start; position: relative; font-size: 14px; line-height: 1.35; color: var(--ink);
  background: var(--surface-2); padding: 7px 11px; border-radius: 4px 14px 14px 14px; max-width: 100%; }
.exp__quote small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 1px; }
.exp__new { font-size: 11.5px; font-weight: 700; color: var(--cobalt-text); background: var(--cobalt-soft); padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

.shares { width: 100%; border-collapse: collapse; font-size: 15px; }
.shares th { text-align: right; font-size: 12.5px; color: var(--ink-3); font-weight: 600; padding: 12px 14px 6px; }
.shares th:first-child { text-align: left; }
.shares td { padding: 8px 14px; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.shares td:first-child { text-align: left; }
.shares tr.is-me td { background: color-mix(in srgb, var(--tram) 14%, transparent); }
.shares .nm { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; }
.shares .nm:hover span { text-decoration: underline; }
.pos { color: var(--owed); font-weight: 700; }
.neg { color: var(--owe); font-weight: 700; }

.hint { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-lg); border: 1.5px dashed color-mix(in srgb, var(--cobalt-text) 40%, transparent);
  display: grid; gap: 8px; }
.hint p { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.hint .ic { color: var(--cobalt-text); }
.bubble { justify-self: start; background: var(--cobalt); color: #fff; font-size: 15px; padding: 9px 13px; border-radius: 16px 16px 4px 16px; font-weight: 500; }

/* To do */
.todos li { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; }
.todos li + li { border-top: 1px solid var(--line); }
.todo__ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--tram-soft); color: #7A5A00; }
@media (prefers-color-scheme: dark) { .todo__ic { color: var(--tram); } }
.todo__ic.is-done { background: var(--owed-soft); color: var(--owed); }
.todo__ic.is-urgent { background: var(--owe-soft); color: var(--owe); }
.todo__body { flex: 1; min-width: 0; }
.todo__title { font-weight: 700; font-size: 15.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.todo__detail { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.todo__who { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tag--urgent { background: var(--owe-soft); color: var(--owe); }
li.is-done .todo__title { text-decoration: line-through; color: var(--ink-3); }

/* Updates */
.updates li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 11px 16px; align-items: center; }
.updates li + li { border-top: 1px solid var(--line); }
.upd__txt { font-size: 15px; line-height: 1.35; }
.upd__time { display: block; font-size: 13px; color: var(--ink-3); }
.updates .more { display: flex; justify-content: center; padding: 6px; }

.empty { padding: 18px 16px; color: var(--ink-2); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.empty .ic { color: var(--owed); }
.err { padding: 14px 16px; color: var(--owe); font-size: 15px; }

.skel { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; border-radius: var(--r-md); }
.skel--block { height: 120px; }
@media (prefers-reduced-motion: no-preference) { .skel { animation: sh 1.4s infinite linear; } @keyframes sh { to { background-position: -200% 0; } } }

.toast { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); padding: 10px 10px 10px 16px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45); font-size: 14.5px; font-weight: 600; max-width: calc(100vw - 24px); }
.toast button { background: rgb(255 255 255 / .14); color: inherit; border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
@media (prefers-color-scheme: dark) { .toast button { background: rgb(0 0 0 / .12); } }

.foot { padding-block: 40px 32px; display: grid; gap: 6px; text-align: center; font-size: 13px; color: var(--ink-3); }
.foot a { color: var(--ink-3); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Desktop */
@media (min-width: 720px) {
  .wrap { padding-inline: 28px; }
  .hero { height: 360px; }
  .hero img { object-position: 50% 58%; }
  .hero__inner { padding-block: 22px 30px; }
  .hero__title { font-size: 76px; }
  .hero__meta { justify-content: flex-start; gap: 18px; font-size: 17px; }
  .facepile .av { width: 32px; height: 32px; font-size: 12px; }
  .stays { grid-template-columns: 1fr 1fr; }
  .who__chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .tabs { margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 0; }
  .glance { grid-column: 2; grid-row: 1; position: sticky; top: 0; padding-top: 24px; max-height: 100vh; overflow-y: auto; scrollbar-width: thin; padding-bottom: 24px; }
  main { grid-column: 1; grid-row: 1; }
  .tabs { margin-top: 12px; }
  .today { padding: 22px 22px 20px; }
  .day { grid-template-columns: 60px 1fr; gap: 16px; }
  .day__date { width: 60px; height: 62px; }
  .day::before { left: 29px; top: 64px; }
  .day__photo { max-width: 520px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mine__budget { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.mine__budget .ic { color: var(--ink-3); width: 17px; height: 17px; margin-top: 1px; }
.toast[hidden] { display: none; }
.hero__inner { justify-content: space-between; }
.xfer__txt { display: grid; gap: 1px; }
.xfer__line { font-size: 14.5px; color: var(--ink-2); }
.xfer__line b { color: var(--ink); }
.xfer__amt { font: 800 18px/1.15 var(--display); color: var(--ink); }
.today__sub { line-height: 1.4; }
.who__chips { position: relative; }
.stay__img { position: relative; }
.stay__img .tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--surface); box-shadow: 0 2px 10px rgb(0 0 0 / .18); font-size: 12.5px; padding: 4px 10px; }
.stay__img img[src*="lisbon-"] { object-position: 75% 60%; }
.stack { display: flex; flex: none; width: 36px; flex-wrap: wrap; gap: 0; }
.stack .av { width: 18px; height: 18px; font-size: 9px; box-shadow: 0 0 0 1.5px var(--surface); }
.av--group { background: var(--surface-2); color: var(--ink-2); } .av--group .ic { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .hero { height: 320px; }
  .who__chips { gap: 6px; }
  .chip { min-height: 34px; font-size: 14px; padding: 3px 11px 3px 3px; gap: 6px; }
  .chip .av { width: 26px; height: 26px; font-size: 11px; }
  .glance { gap: 14px; }
}
