:root {
  --paper: #F2F4F1;
  --sheet: #FFFFFF;
  --sheet-2: #F8FAF7;
  --sunk: #E6EBE5;
  --rule: #DAE1D9;
  --rule-2: #BFCABE;
  --field: #7D8A81;
  --ink: #142019;
  --ink-2: #3F4D45;
  --ink-3: #59665E;
  --passport: #0F5A3D;
  --passport-press: #0A4630;
  --passport-ink: #0B4A32;
  --passport-wash: #DCEBE1;
  --passport-wash-2: #EDF5EF;
  --on-passport: #F3F8F4;
  --cover: #0C2F23;
  --cover-2: #123D2E;
  --cover-ink: #E3EEE7;
  --cover-ink-2: #A9C2B4;
  --held: #B07A0C;
  --held-ink: #7A5300;
  --held-wash: #F7EDD6;
  --late: #B3261C;
  --late-ink: #9A1F16;
  --late-wash: #F9E4E0;
  --on-late: #FFFFFF;
  --wa: #0E7A40;
  --wa-press: #0B6434;
  --on-wa: #FFFFFF;
  --focus: #0F5A3D;
  --shade: rgba(12, 31, 22, .5);

  --display: 'Anek Bangla', 'Noto Sans Bengali', 'Nirmala UI', sans-serif;
  --body: 'Noto Sans Bengali', 'Nirmala UI', 'Vrinda', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-xs: 13px;
  --t-s: 14px;
  --t-m: 15px;
  --t-l: 18px;
  --t-xl: 22.5px;
  --t-2xl: 29px;
  --t-3xl: 38px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 18px;
  --r-5: 26px;

  --e-1: 0 1px 0 rgba(20, 32, 25, .05);
  --e-2: 0 1px 2px rgba(20, 32, 25, .07), 0 8px 22px -16px rgba(20, 32, 25, .45);
  --e-3: 0 2px 6px rgba(20, 32, 25, .08), 0 24px 56px -24px rgba(20, 32, 25, .55);
  --e-bar: 0 -1px 0 var(--rule), 0 -10px 26px -22px rgba(20, 32, 25, .5);

  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --d-1: 120ms;
  --d-2: 220ms;
  --side-w: 244px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1411;
    --sheet: #131C17;
    --sheet-2: #17211C;
    --sunk: #1D2922;
    --rule: #26332B;
    --rule-2: #36463C;
    --field: #62756A;
    --ink: #E5ECE7;
    --ink-2: #B3C0B8;
    --ink-3: #91A097;
    --passport: #5FB98C;
    --passport-press: #4FA67B;
    --passport-ink: #8FD3AE;
    --passport-wash: #173326;
    --passport-wash-2: #13271E;
    --on-passport: #07160F;
    --cover: #08130E;
    --cover-2: #11231A;
    --cover-ink: #DCE8E0;
    --cover-ink-2: #93AA9C;
    --held: #E0A93A;
    --held-ink: #F0C470;
    --held-wash: #2E2412;
    --late: #EE7A6C;
    --late-ink: #F59A8E;
    --late-wash: #341A16;
    --on-late: #1F0907;
    --wa: #3DC27A;
    --wa-press: #34AD6C;
    --on-wa: #07160F;
    --focus: #8FD3AE;
    --shade: rgba(0, 0, 0, .6);
    --e-2: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 22px -16px rgba(0, 0, 0, .9);
    --e-3: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 56px -24px rgba(0, 0, 0, .95);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0D1411; --sheet: #131C17; --sheet-2: #17211C; --sunk: #1D2922; --rule: #26332B; --rule-2: #36463C; --field: #62756A;
  --ink: #E5ECE7; --ink-2: #B3C0B8; --ink-3: #91A097;
  --passport: #5FB98C; --passport-press: #4FA67B; --passport-ink: #8FD3AE; --passport-wash: #173326; --passport-wash-2: #13271E; --on-passport: #07160F;
  --cover: #08130E; --cover-2: #11231A; --cover-ink: #DCE8E0; --cover-ink-2: #93AA9C;
  --held: #E0A93A; --held-ink: #F0C470; --held-wash: #2E2412;
  --late: #EE7A6C; --late-ink: #F59A8E; --late-wash: #341A16; --on-late: #1F0907;
  --wa: #3DC27A; --wa-press: #34AD6C; --on-wa: #07160F; --focus: #8FD3AE; --shade: rgba(0, 0, 0, .6);
  --e-2: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 22px -16px rgba(0, 0, 0, .9);
  --e-3: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 56px -24px rgba(0, 0, 0, .95);
  color-scheme: dark;
}

@media (max-width: 959px) {
  :root {
    --t-xs: 16px;
    --t-s: 16px;
    --t-m: 16px;
    --t-l: 19px;
    --t-xl: 23px;
    --t-2xl: 28px;
    --t-3xl: 34px;
    --tap: 48px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-m);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: var(--r-1); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.code { font-family: var(--mono); font-size: .88em; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 24px; height: 24px; }

.skip { position: absolute; left: var(--s-3); top: -60px; z-index: 100; background: var(--passport); color: var(--on-passport); padding: var(--s-2) var(--s-4); border-radius: var(--r-2); }
.skip:focus { top: var(--s-3); }

.shell { min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.side { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.view { padding-inline: var(--s-4); padding-block: var(--s-4) var(--s-7); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-content: start; min-width: 0; }

.mtop {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; gap: var(--s-2);
  min-height: 56px; padding-inline: var(--s-2) var(--s-2);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.mtop .brand-mini { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--passport-ink); padding-inline: var(--s-2); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variation-settings: "wdth" 92; }
.icon-btn { min-width: var(--tap); min-height: var(--tap); display: inline-grid; place-items: center; border: 0; background: none; border-radius: var(--r-2); color: var(--ink-2); }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.lang-btn { font-family: var(--body); font-weight: 600; font-size: 14px; border: 1px solid var(--rule-2); border-radius: var(--r-2); min-height: 44px; min-width: 44px; padding-inline: var(--s-3); background: var(--sheet); color: var(--ink-2); }
.mtop .lang-btn { min-height: var(--tap); }

.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--sheet);
  box-shadow: var(--e-bar);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar a, .tabbar button {
  display: grid; justify-items: center; align-content: center; gap: 2px;
  min-height: 60px; padding: 6px 2px 4px;
  text-decoration: none; border: 0; background: none;
  color: var(--ink-3); font-size: 16px; font-weight: 500; line-height: 1.2;
  position: relative;
}
.tabbar [aria-current="page"] { color: var(--passport-ink); font-weight: 700; }
.tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--passport); }
.tabbar .count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--late); color: var(--on-late); font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--body); }

@media (min-width: 960px) {
  .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .mtop, .tabbar { display: none; }
  .main { padding-bottom: 0; }
  .view { padding-inline: var(--s-6); padding-block: var(--s-5) var(--s-8); max-width: 1240px; width: 100%; }
  .side {
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100dvh; overflow-y: auto;
    background: var(--cover); color: var(--cover-ink);
  }
}

.brand { padding: var(--s-5) var(--s-5) var(--s-4); display: grid; gap: 2px; }
.brand .prod { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: 0; font-variation-settings: "wdth" 88; color: #fff; }
.brand .agency { font-size: 13.5px; color: var(--cover-ink-2); }
.search-side { margin: 0 var(--s-4) var(--s-3); position: relative; }
.search-side input {
  width: 100%; min-height: 40px; border-radius: var(--r-2);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07);
  color: #fff; padding: 0 var(--s-3) 0 36px; font-size: 14px;
}
.search-side input::placeholder { color: var(--cover-ink-2); }
.search-side .ic { position: absolute; left: 10px; top: 10px; color: var(--cover-ink-2); }
.nav-group { padding: var(--s-2) var(--s-3); display: grid; gap: 1px; }
.nav-group h2 { font-size: 13px; font-weight: 600; color: var(--cover-ink-2); padding: var(--s-2) var(--s-3) var(--s-1); }
.nav-group a {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 44px; padding-inline: var(--s-3);
  border-radius: var(--r-2); text-decoration: none;
  color: var(--cover-ink); font-size: 14.5px;
}
.nav-group a:hover { background: var(--cover-2); }
.nav-group a[aria-current="page"] { background: var(--paper); color: var(--passport-ink); font-weight: 700; }
.nav-group a .count { margin-left: auto; font-size: 12px; font-weight: 700; min-width: 22px; height: 20px; padding-inline: 6px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.nav-group a .count.late { background: var(--late); color: var(--on-late); }
.nav-group a[aria-current="page"] .count { background: var(--passport-wash); color: var(--passport-ink); }
.side-foot { margin-top: auto; padding: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: var(--s-3); }
.who { display: grid; gap: 2px; }
.who b { font-weight: 600; font-size: 14.5px; color: #fff; }
.who span { font-size: 13px; color: var(--cover-ink-2); }
.side-foot .row { display: flex; gap: var(--s-2); }
.side-guide { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--cover-ink-2); font-size: 13.5px; text-decoration: none; min-height: 32px; }
.side-guide:hover { color: #fff; text-decoration: underline; }
.guide-link { color: var(--passport-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.side-foot select, .side-foot .lang-btn { flex: 1; min-height: 44px; border-radius: var(--r-2); background: var(--cover-2); color: var(--cover-ink); border: 1px solid rgba(255, 255, 255, .12); padding-inline: var(--s-2); font-size: 13.5px; }

.phead { display: grid; gap: var(--s-2); }
.phead-top { display: flex; align-items: flex-end; gap: var(--s-3); flex-wrap: wrap; }
.phead-top > div:first-child { flex: 1 1 260px; min-width: 0; }
.crumb { font-size: var(--t-s); color: var(--ink-3); display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.crumb a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
.crumb { margin-block: calc((var(--tap) - 1.6em) / -2); }
.crumb a:hover { text-decoration: underline; }
h1 { font-family: var(--display); font-size: var(--t-2xl); line-height: 1.25; font-weight: 650; font-variation-settings: "wdth" 92; text-wrap: balance; }
h1:focus { outline: none; }
h2 { font-family: var(--display); font-size: var(--t-xl); line-height: 1.3; font-weight: 600; font-variation-settings: "wdth" 95; text-wrap: balance; }
h3 { font-size: var(--t-l); line-height: 1.35; font-weight: 650; }
.lede { color: var(--ink-2); font-size: var(--t-m); max-width: 64ch; }
.actions { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding-inline: var(--s-4);
  border-radius: var(--r-2); border: 1px solid transparent;
  font-weight: 600; font-size: var(--t-m); line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background var(--d-1) var(--ease), border-color var(--d-1) var(--ease), transform var(--d-1) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--passport); color: var(--on-passport); }
.btn-primary:hover { background: var(--passport-press); }
.btn-line { background: var(--sheet); border-color: var(--rule-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-quiet { background: none; color: var(--passport-ink); padding-inline: var(--s-3); }
.btn-quiet:hover { background: var(--passport-wash-2); }
.btn-wa { background: var(--sheet); border-color: var(--rule-2); color: var(--ink); }
.btn-wa .ic { color: var(--wa); }
.btn-wa:hover { border-color: var(--wa); }
.btn-danger { background: var(--sheet); border-color: var(--late); color: var(--late-ink); }
.btn-small { min-height: 36px; padding-inline: var(--s-3); font-size: var(--t-s); }
@media (max-width: 959px) { .btn-small { min-height: var(--tap); } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
@media (max-width: 959px) { .hide-m { display: none !important; } }
@media (min-width: 960px) { .hide-d { display: none !important; } }

.mark { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: var(--t-s); line-height: 1.3; white-space: nowrap; color: var(--ink); }
.mark svg { width: 12px; height: 12px; flex: none; }
.mark.ok svg { color: var(--passport); }
.mark.held svg { color: var(--held); }
.mark.late svg { color: var(--late); }
.mark.late { color: var(--late-ink); }
.mark.open svg { color: var(--ink-3); }
.mark.open { color: var(--ink-2); font-weight: 500; }
.mark.lg { font-size: var(--t-m); gap: 9px; }
.mark.lg svg { width: 14px; height: 14px; }

.tag { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-xs); font-weight: 600; padding: 1px 7px; border-radius: var(--r-1); border: 1px solid var(--rule-2); color: var(--ink-2); white-space: nowrap; }

.panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-3); min-width: 0; }
.panel-h { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.panel-h h2 { font-size: var(--t-l); flex: 1 1 auto; min-width: 0; }
.panel-b { padding: var(--s-4); display: grid; gap: var(--s-4); }
.panel-f { padding: var(--s-3) var(--s-4); border-top: 1px solid var(--rule); display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; }
.sect { display: grid; gap: var(--s-3); min-width: 0; }
.sect-h { display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.sect-h h2 { flex: 1; min-width: 0; font-size: var(--t-l); }
.sect-h h2 > .mark:first-child { margin-right: 8px; vertical-align: 2px; }
.sect-h .more { font-size: var(--t-s); font-weight: 600; color: var(--passport-ink); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.sect-h .more:hover { text-decoration: underline; }

.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-block: 1px solid var(--rule-2); }
.ledger > a, .ledger > div { display: grid; align-content: start; gap: 2px; padding: var(--s-4) var(--s-4) var(--s-4) 0; text-decoration: none; min-width: 0; }
.ledger > * + * { border-left: 1px solid var(--rule); padding-left: var(--s-4); }
.ledger .lab { font-size: var(--t-s); color: var(--ink-2); }
.ledger .fig { font-family: var(--display); font-size: var(--t-2xl); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums lining-nums; font-variation-settings: "wdth" 90; }
.ledger .sub { font-size: var(--t-xs); color: var(--ink-3); }
.ledger a:hover .lab { color: var(--passport-ink); text-decoration: underline; }
.ledger .late .fig { color: var(--late-ink); }
@media (max-width: 599px) {
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger > * { padding: var(--s-3) 0 !important; border-left: 0 !important; }
  .ledger > *:nth-child(even) { padding-left: var(--s-3) !important; border-left: 1px solid var(--rule) !important; }
  .ledger > *:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ledger .fig { font-size: 24px; }
}

.list { display: grid; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-3); overflow: hidden; min-width: 0; }
.list > li + li, .list > .li + .li { border-top: 1px solid var(--rule); }
.li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); align-items: center; padding: var(--s-3) var(--s-4); min-height: 60px; text-decoration: none; color: inherit; position: relative; }
a.li:hover, .li.click:hover { background: var(--sheet-2); }
.li .t { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.li .t > .mark:first-child { margin-right: 8px; vertical-align: 1px; }
label:has(> input.vh:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.li .s { font-size: var(--t-s); color: var(--ink-3); min-width: 0; display: flex; flex-wrap: wrap; gap: 2px var(--s-3); align-items: center; }
.li .r { text-align: right; display: grid; gap: 2px; justify-items: end; }
.li .amt { font-weight: 650; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.li .amt.late { color: var(--late-ink); }
.li .acts { grid-column: 1 / -1; display: flex; gap: var(--s-2); flex-wrap: wrap; }
.li.stripe-late { box-shadow: inset 3px 0 0 var(--late); }
.li.stripe-held { box-shadow: inset 3px 0 0 var(--held); }
@media (max-width: 959px) {
  .li.wide > :nth-child(2) { grid-column: 1 / -1; order: 3; }
  .li.wide > .r { order: 2; max-width: 46vw; }
  .li.wide > .r > * { white-space: normal; text-align: right; }
  .li.wide > .acts { order: 4; }
}
@media (min-width: 960px) {
  .li.wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto; }
  .li.wide .acts { grid-column: auto; justify-content: flex-end; }
}

.tbl-wrap { overflow-x: auto; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-3); min-width: 0; container-type: inline-size; }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-s); }
.tbl th, .tbl td { padding: var(--s-2) var(--s-3); text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.tbl thead th { position: sticky; top: 0; background: var(--sheet-2); font-weight: 600; color: var(--ink-2); white-space: nowrap; font-size: var(--t-xs); z-index: 1; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--sheet-2); }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.tbl tfoot td { font-weight: 700; background: var(--sheet-2); border-top: 1px solid var(--rule-2); border-bottom: 0; }
.tbl a { color: var(--passport-ink); font-weight: 600; text-decoration: none; }
.tbl a:hover { text-decoration: underline; }
.tbl td.wrap { white-space: normal; min-width: 160px; }
.tbl tr.neg td { color: var(--late-ink); }
@container (width < 560px) {
  table.rt, table.rt tbody, table.rt tr, table.rt td, table.rt th { display: block; }
  table.rt thead { display: none; }
  table.rt tr { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s-3); }
  table.rt tbody tr:last-child { border-bottom: 0; }
  table.rt td, table.rt th { border: 0; padding: 2px 0; text-align: left; }
  table.rt td:first-child, table.rt th:first-child { grid-column: 1 / -1; font-size: var(--t-m); }
  table.rt td[data-l]::before { content: attr(data-l); display: block; font-size: var(--t-xs); color: var(--ink-3); font-weight: 500; }
  table.rt .n { text-align: left; }
  table.rt tfoot tr { background: var(--sheet-2); }
}

.money { display: grid; gap: var(--s-3); }
.money-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.money-figs > div { display: grid; gap: 0; min-width: 0; }
.money-figs .lab { font-size: var(--t-s); color: var(--ink-3); }
.money-figs .fig { font-family: var(--display); font-weight: 600; font-size: var(--t-xl); line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; font-variation-settings: "wdth" 90; white-space: nowrap; }
.money-figs .due .fig { color: var(--passport-ink); }
.money-figs .due.late .fig { color: var(--late-ink); }
.bar { height: 10px; border-radius: 5px; background: var(--sunk); display: flex; overflow: hidden; }
.bar > i { display: block; height: 100%; }
.bar .paid { background: var(--passport); }
.bar .pend { background: repeating-linear-gradient(135deg, var(--held) 0 3px, var(--held-wash) 3px 6px); }
.bar-note { display: flex; gap: var(--s-4); flex-wrap: wrap; font-size: var(--t-s); color: var(--ink-2); }
.bar-note span { display: inline-flex; align-items: center; gap: 6px; }
.bar-note i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.seats { display: grid; gap: 6px; }
.seatstrip { display: flex; flex-wrap: wrap; gap: 3px; }
.seatstrip i { width: 9px; height: 14px; border-radius: 2px; background: var(--passport); }
.seatstrip i.h { background: repeating-linear-gradient(135deg, var(--held) 0 2px, var(--held-wash) 2px 4px); }
.seatstrip i.f { background: none; box-shadow: inset 0 0 0 1.2px var(--rule-2); }
.seat-legend { font-size: var(--t-s); color: var(--ink-2); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.seat-legend b { font-variant-numeric: tabular-nums; }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-2) var(--s-5); font-size: var(--t-m); }
.kv dt { color: var(--ink-3); }
.kv dd { min-width: 0; overflow-wrap: anywhere; }
.kv .n { font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: var(--s-2); } }

.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--rule-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { min-height: var(--tap); display: inline-flex; align-items: center; gap: 6px; padding-inline: var(--s-3); text-decoration: none; color: var(--ink-2); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--passport-ink); border-bottom-color: var(--passport); font-weight: 700; }
.tabs a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--late); }

.form { display: grid; gap: var(--s-4); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-4); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > .lab, fieldset > legend { font-weight: 600; font-size: var(--t-s); color: var(--ink-2); }
.field .hint { font-size: var(--t-xs); color: var(--ink-3); }
.field .err { font-size: var(--t-s); color: var(--late-ink); display: flex; gap: 6px; align-items: flex-start; }
.inp, select.inp, textarea.inp {
  width: 100%; min-height: var(--tap); border-radius: var(--r-2);
  border: 1px solid var(--field); background: var(--sheet); padding: 0 var(--s-3);
  font-size: var(--t-m);
}
textarea.inp { padding-block: var(--s-2); min-height: 88px; resize: vertical; line-height: 1.5; }
.inp:focus { border-color: var(--passport); outline: 2px solid var(--passport-wash); outline-offset: 0; }
.inp[aria-invalid="true"] { border-color: var(--late); background: var(--late-wash); }
.inp.big { font-family: var(--display); font-size: 30px; font-weight: 600; min-height: 60px; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 90; }
.inp-pre { position: relative; }
.inp-pre > span { position: absolute; left: var(--s-3); top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.inp-pre .inp { padding-left: 34px; }
.inp-pre .inp.big { padding-left: 40px; }
.inp-pre .inp.big + span, .inp-pre > span.big { font-size: 24px; }
.inp.code { text-transform: uppercase; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 6px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding-inline: var(--s-3); border: 1px solid var(--rule-2); border-radius: var(--r-2); background: var(--sheet); font-weight: 500; cursor: pointer; white-space: nowrap; }
.seg input:checked + span { border-color: var(--passport); background: var(--passport-wash-2); color: var(--passport-ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--passport); }
.seg input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }

.note-box { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); border-radius: var(--r-2); background: var(--sheet-2); border: 1px solid var(--rule); font-size: var(--t-s); }
.note-box.held { background: var(--held-wash); border-color: transparent; color: var(--ink); }
.note-box.held .ic { color: var(--held-ink); }
.note-box.late { background: var(--late-wash); border-color: transparent; }
.note-box.late .ic { color: var(--late-ink); }
.note-box.ok { background: var(--passport-wash-2); border-color: transparent; }
.note-box.ok .ic { color: var(--passport-ink); }
.note-box > div { display: grid; gap: var(--s-2); min-width: 0; flex: 1; }
.note-box b { font-weight: 700; }

.empty { display: grid; gap: var(--s-2); justify-items: start; padding: var(--s-5) var(--s-4); color: var(--ink-2); }
.empty b { color: var(--ink); font-size: var(--t-m); }
.empty .ic { color: var(--passport); width: 28px; height: 28px; }

dialog.sheet {
  border: 0; padding: 0; margin: auto; width: min(560px, calc(100% - 32px)); max-height: min(88dvh, 860px);
  border-radius: var(--r-4); background: var(--sheet); color: var(--ink); box-shadow: var(--e-3);
  overflow: hidden;
}
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-in var(--d-2) var(--ease); }
dialog.sheet::backdrop { background: var(--shade); }
.sheet-h { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-2) var(--s-3) var(--s-5); border-bottom: 1px solid var(--rule); }
.sheet-h h2 { flex: 1; font-size: var(--t-l); min-width: 0; }
.sheet-b { padding: var(--s-4) var(--s-5); overflow-y: auto; display: grid; gap: var(--s-4); }
.sheet-f { padding: var(--s-3) var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); display: flex; gap: var(--s-2); background: var(--sheet); }
.sheet-f .btn { flex: 1; white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 599px) {
  dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--r-5) var(--r-5) 0 0; max-height: 94dvh; }
  dialog.sheet[open] { animation: sheet-up var(--d-2) var(--ease); }
  .sheet-h { padding-left: var(--s-4); }
  .sheet-h::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 2px; background: var(--rule-2); transform: translateX(-50%); }
  .sheet-b { padding: var(--s-4); }
  .sheet-f { padding-inline: var(--s-4); }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } }

.toast {
  position: fixed; z-index: 60; left: 50%; transform: translateX(-50%);
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  background: var(--cover); color: var(--cover-ink); border-radius: var(--r-3);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); display: flex; align-items: center; gap: var(--s-3);
  box-shadow: var(--e-3); width: max-content; max-width: calc(100% - 32px); min-height: 52px;
  animation: toast-in var(--d-2) var(--ease);
}
.toast .ic { color: #8FD3AE; }
.toast button { background: none; border: 0; color: #fff; font-weight: 700; min-height: 40px; padding-inline: var(--s-3); border-radius: var(--r-2); text-decoration: underline; text-underline-offset: 3px; }
body:has(.botbar) .toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { .toast, body:has(.botbar) .toast { bottom: var(--s-5); left: calc(50% + var(--side-w) / 2); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

.searchpop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--sheet); color: var(--ink); border-radius: var(--r-3); box-shadow: var(--e-3); overflow: hidden; border: 1px solid var(--rule); }
.searchpop a { display: grid; gap: 0; padding: var(--s-2) var(--s-3); text-decoration: none; border-top: 1px solid var(--rule); font-size: var(--t-s); min-height: var(--tap); }
.searchpop a:first-child { border-top: 0; }
.searchpop a:hover, .searchpop a:focus { background: var(--passport-wash-2); outline: none; }
.searchpop .s { color: var(--ink-3); font-size: var(--t-xs); }
.searchpop mark { background: var(--held-wash); color: inherit; border-radius: 2px; }
.searchpop .none { padding: var(--s-3); color: var(--ink-3); font-size: var(--t-s); }

.msearch { display: grid; gap: var(--s-3); }
.msearch .inp { font-size: 18px; }

.cols { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .cols { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); } }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); min-width: 0; align-content: start; }

.gate { display: grid; gap: 0; }
.gate li { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px dashed var(--rule); font-size: var(--t-s); }
.gate li:first-child { border-top: 0; }
.gate .ic { width: 18px; height: 18px; }
.gate .y .ic { color: var(--passport); }
.gate .n .ic { color: var(--ink-3); }
.gate .n { color: var(--ink-2); }

.route { display: grid; gap: 0; }
.route li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3); position: relative; padding-bottom: var(--s-4); }
.route li::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: -2px; width: 2px; background: var(--rule); }
.route li:last-child::before { display: none; }
.route .pin { width: 22px; height: 22px; display: grid; place-items: center; }
.route .pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--rule-2); }
.route .pin.on i { background: var(--passport); box-shadow: none; }
.route .pin.late i { background: var(--late); box-shadow: none; }
.route .pin.held i { background: var(--held); box-shadow: none; }
.route .what { display: grid; gap: 1px; min-width: 0; }
.route .when { font-size: var(--t-xs); color: var(--ink-3); }

.hstrip { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding-inline: var(--s-3); border-radius: 18px; border: 1px solid var(--rule-2); background: var(--sheet); text-decoration: none; font-size: var(--t-s); font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--sheet); border-color: var(--ink); font-weight: 600; }
.chip b { font-variant-numeric: tabular-nums; }
@media (max-width: 959px) { .chip { min-height: 44px; } }

.stepper { display: flex; gap: var(--s-1); counter-reset: st; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-s); color: var(--ink-3); padding-right: var(--s-3); }
.stepper li::before { counter-increment: st; content: counter(st); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.stepper li[aria-current="step"] { color: var(--ink); font-weight: 700; }
.stepper li[aria-current="step"]::before { background: var(--passport); color: var(--on-passport); box-shadow: none; }
.stepper li.done::before { background: var(--passport-wash); color: var(--passport-ink); box-shadow: none; }
@media (max-width: 599px) { .stepper li:not([aria-current="step"]) { font-size: 0; padding-right: 0; } .stepper li:not([aria-current="step"])::before { font-size: 12.5px; } }

.pick { display: grid; gap: var(--s-2); }
.pick label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border: 1px solid var(--rule-2); border-radius: var(--r-3); background: var(--sheet); cursor: pointer; min-height: 60px; }
.pick label:has(input:checked) { border-color: var(--passport); box-shadow: inset 0 0 0 1px var(--passport); background: var(--passport-wash-2); }
.pick input { width: 20px; height: 20px; accent-color: var(--passport); margin: 0; }
.pick .t { font-weight: 600; }
.pick .s { font-size: var(--t-s); color: var(--ink-3); }
.pick label.disabled { opacity: .55; cursor: not-allowed; }

.qline { display: grid; grid-template-columns: minmax(0, 2.2fr) 70px minmax(0, 1fr) minmax(0, 1fr) var(--tap); gap: var(--s-2); align-items: end; padding-block: var(--s-3); border-top: 1px solid var(--rule); }
.qline:first-child { border-top: 0; }
@media (max-width: 719px) { .qline { grid-template-columns: 1fr 1fr; } .qline .field:first-child { grid-column: 1 / -1; } .qline .rm { grid-column: 2; justify-self: end; } }
.totals { display: grid; gap: var(--s-2); justify-items: stretch; }
.totals > div { display: flex; justify-content: space-between; gap: var(--s-4); font-variant-numeric: tabular-nums; }
.totals .grand { font-family: var(--display); font-size: var(--t-xl); font-weight: 650; padding-top: var(--s-2); border-top: 1px solid var(--rule-2); font-variation-settings: "wdth" 92; }
.totals .margin { color: var(--passport-ink); font-weight: 600; }
.totals .margin.low { color: var(--late-ink); }

.botbar { position: sticky; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 15; margin-inline: calc(var(--s-4) * -1); padding: var(--s-3) var(--s-4); background: var(--paper); border-top: 1px solid var(--rule); display: flex; gap: var(--s-2); }
.botbar .btn { flex: 1; }
@media (min-width: 960px) { .botbar { display: none; } }

.receipt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-3); }

.timeline { display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--rule); font-size: var(--t-s); overflow-wrap: anywhere; }
.timeline li:first-child { border-top: 0; }
.timeline time { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: var(--t-xs); padding-top: 2px; }

.vboard { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: var(--s-3); overflow-x: auto; padding-bottom: var(--s-2); align-items: start; }
.vcol { background: var(--sunk); border-radius: var(--r-3); padding: var(--s-2); display: grid; gap: var(--s-2); }
.vcol h3 { font-size: var(--t-s); font-weight: 700; padding: var(--s-1) var(--s-2); display: flex; justify-content: space-between; }
.vcard { background: var(--sheet); border-radius: var(--r-2); padding: var(--s-3); display: grid; gap: var(--s-2); box-shadow: var(--e-1); border: 1px solid var(--rule); }
.vcard .t { font-weight: 600; }
.vcard .s { font-size: var(--t-xs); color: var(--ink-3); }
.vcard.stuck { border-color: var(--held); box-shadow: inset 3px 0 0 var(--held); }
@media (max-width: 959px) { .vboard { grid-auto-flow: row; grid-auto-columns: auto; } }

.pkgcard { display: grid; gap: var(--s-3); }
.dep-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--rule); align-items: center; text-decoration: none; }
.dep-row:hover { background: var(--sheet-2); }
.dep-row .seats { grid-column: 1 / -1; }

.status-big { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }

.role-note { font-size: var(--t-s); color: var(--ink-3); }

.cs-body { background: var(--paper); }
.cs { --t-m: 18px; --t-s: 16px; max-width: 560px; margin: 0 auto; padding: var(--s-4) var(--s-4) var(--s-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); font-size: 18px; line-height: 1.6; }
.cs-top { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-1); }
.cs-top .who { flex: 1; min-width: 0; }
.cs-top .who b { color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 650; line-height: 1.2; display: block; font-variation-settings: "wdth" 92; }
.cs-top .who span { color: var(--ink-3); font-size: 16px; }
.cs-top .lang-btn { min-height: 44px; }
.cs-hello { display: grid; gap: 2px; }
.cs-hello h1 { font-size: 27px; line-height: 1.3; }
.cs-hello p { color: var(--ink-2); font-size: 17px; }
.cs-due { background: var(--sheet); border-radius: var(--r-4); box-shadow: var(--e-2); border: 1px solid var(--rule); padding: var(--s-5) var(--s-4) var(--s-4); display: grid; gap: var(--s-3); }
.cs-due .lab { font-size: 16px; color: var(--ink-2); }
.cs-due .big { font-family: var(--display); font-size: 46px; line-height: 1.05; font-weight: 650; font-variation-settings: "wdth" 88; font-variant-numeric: tabular-nums; color: var(--ink); }
.cs-due .next { font-size: 17px; line-height: 1.5; }
.cs-due .next b { font-weight: 700; }
.cs-due .next.late { color: var(--late-ink); }
.cs-due .btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.cs-due .btn { min-height: 52px; font-size: 17px; white-space: normal; text-align: center; line-height: 1.25; padding-inline: var(--s-2); }
.cs-due .paidline { display: flex; justify-content: space-between; gap: var(--s-2); font-size: 16px; color: var(--ink-2); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.cs-done { text-align: left; }
.cs-sec { display: grid; gap: var(--s-3); }
.cs-sec > h2 { font-size: 22px; }
.cs-card { background: var(--sheet); border-radius: var(--r-3); border: 1px solid var(--rule); padding: var(--s-4); display: grid; gap: var(--s-3); }
.cs-steps { display: grid; gap: 0; }
.cs-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-4); position: relative; }
.cs-steps li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--rule); }
.cs-steps li:last-child { padding-bottom: 0; }
.cs-steps li:last-child::before { display: none; }
.cs-steps .pin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--rule-2); color: var(--ink-3); }
.cs-steps .done .pin { background: var(--passport); box-shadow: none; color: var(--on-passport); }
.cs-steps .now .pin { background: var(--held-wash); box-shadow: inset 0 0 0 2px var(--held); color: var(--held-ink); }
.cs-steps .pin .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.cs-steps b { display: block; font-weight: 650; font-size: 17px; line-height: 1.4; }
.cs-steps span { font-size: 16px; color: var(--ink-2); }
.cs-todo { display: grid; gap: var(--s-2); }
.cs-todo li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-3); align-items: center; padding: var(--s-3) 0; border-top: 1px solid var(--rule); }
.cs-todo li:first-child { border-top: 0; padding-top: 0; }
.cs-todo .s { font-size: 16px; color: var(--ink-3); }
.cs-pay { display: grid; gap: var(--s-2); }
.cs-pay li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-2); padding: var(--s-3) 0; border-top: 1px solid var(--rule); }
.cs-pay li:first-child { border-top: 0; padding-top: 0; }
.cs-pay .acct { font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.cs-pay .s { font-size: 16px; color: var(--ink-3); }
.cs-sched li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--s-3); align-items: center; padding: var(--s-2) 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; font-size: 17px; }
.cs-sched li:first-child { border-top: 0; }
.cs-sched.two li { grid-template-columns: minmax(0, 1fr) auto; }
.cs-sched .ic { width: 20px; height: 20px; }
.cs-sched .paid .ic { color: var(--passport); }
.cs-sched .late { color: var(--late-ink); }
.cs-sched .late .ic { color: var(--late); }
.cs-sched .s { font-size: 16px; color: var(--ink-3); display: block; }
.cs-foot { font-size: 16px; color: var(--ink-3); display: grid; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.cs .kv { font-size: 17px; }
.cs-wa { position: sticky; bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); z-index: 5; }
.cs .btn { white-space: normal; text-align: center; }
.cs-wa .btn { width: 100%; min-height: 54px; font-size: 18px; box-shadow: var(--e-3); background: var(--wa); color: var(--on-wa); border: 0; }
.cs-wa .btn .ic { color: var(--on-wa); }
.cs-wa .btn:hover { background: var(--wa-press); }
.btn-wa-solid { background: var(--wa); color: var(--on-wa); border: 0; }
.btn-wa-solid:hover { background: var(--wa-press); }
.btn-wa-solid .ic { color: var(--on-wa); }

.doc-grid { display: grid; gap: var(--s-2); }
.doc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; padding: var(--s-2) 0; border-top: 1px solid var(--rule); }
.doc-row:first-child { border-top: 0; }
.doc-row .mark { white-space: normal; }
@media (max-width: 599px) {
  .doc-row { grid-template-columns: minmax(0, 1fr); }
  .doc-row .actions:empty { display: none; }
}

.sub-h { font-size: var(--t-m); font-weight: 650; margin-bottom: 2px; }
.pk-cx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--tap); gap: var(--s-2); align-items: end; padding-block: var(--s-2); }
.pk-tier .field:nth-child(4) { visibility: hidden; }
.pk-cost { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) var(--tap); gap: var(--s-2); align-items: end; padding-block: var(--s-2); }
@media (max-width: 719px) { .pk-cost { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pk-cost .field:first-child { grid-column: 1 / -1; } .pk-cost .rm { justify-self: end; } }
@media (max-width: 719px) { .pk-tier .field:nth-child(4) { display: none; } .pk-tier .field:nth-child(2) { grid-column: auto; } }
.pk-en > summary { cursor: pointer; font-weight: 600; color: var(--passport-ink); padding-block: 10px; }
.pkgcard.off { opacity: .78; }
.pkg-acts { padding-top: 0; }
.cl-pick { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cl-pick label { min-height: 48px; padding: var(--s-2) var(--s-3); }
.setup .panel-h { align-items: flex-start; }
.setup-steps .li.next { background: var(--passport-wash-2); }
.setup-steps .li .t svg { flex: none; }
.setup-steps .li .t .s { display: block; font-weight: 400; }

.prog { display: inline-grid; grid-template-columns: 64px auto; gap: var(--s-2); align-items: center; font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prog .bar { height: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.cols > .stack:first-child > .panel ~ .panel,
.cols > .stack:last-child > .panel { background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
.cols > .stack:first-child > .panel ~ .panel > .panel-h,
.cols > .stack:last-child > .panel > .panel-h { padding-inline: 0; border-bottom-style: dashed; }
.cols > .stack:first-child > .panel ~ .panel > .panel-b, .cols > .stack:first-child > .panel ~ .panel > .panel-f,
.cols > .stack:last-child > .panel > .panel-b, .cols > .stack:last-child > .panel > .panel-f { padding-inline: 0; }
.cols > .stack:last-child > .panel > .list { background: none; border-inline: 0; }
.cs-rest { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.cs .btn-small { min-height: 48px; }
@media (max-width: 959px) {
  .wz-actions { position: sticky; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 15; background: var(--sheet); box-shadow: var(--e-bar); border-radius: 0 0 var(--r-3) var(--r-3); }
}
@media (max-width: 959px) {
  .wz-plan > .stack:last-child { order: -1; }
}

.plain { text-decoration: none; color: inherit; min-width: 0; }
.fw4 { font-weight: 400; }
.fw6 { font-weight: 600; }
.fs-xs { font-size: var(--t-xs); }
.fs-s { font-size: var(--t-s); }
.fs-l { font-size: var(--t-l); }
.fs-xl { font-size: var(--t-xl); }
.ta-r { text-align: right; }
.flush { border: 0; border-radius: 0; }
.mt3 { margin-top: var(--s-3); }
.mt1 { margin-top: 6px; display: block; }
.c-held { color: var(--held-ink); }
.c-late { color: var(--late-ink); }
.c-late-b { color: var(--late-ink); font-weight: 600; }
.c-late-x { color: var(--late-ink); font-weight: 700; }
.c-ink2 { color: var(--ink-2); }
.rule-top { border-top: 1px solid var(--rule); }
.self-start { justify-self: start; }
.self-end { align-self: end; }
.sum-start { justify-content: flex-start; }
.row-ic { display: flex; gap: var(--s-3); align-items: center; }
.sel-auto { width: auto; min-height: 36px; }
.pad-note { padding: 0 var(--s-4) var(--s-4); }
.w90 { width: 90px; }
.minw130 { min-width: 130px; }
.r-row { grid-auto-flow: column; align-items: center; gap: var(--s-2); }
.room-field { grid-template-columns: auto 110px; align-items: center; gap: var(--s-2); }
.maxw240 { max-width: 240px; }
.static-pop { position: static; box-shadow: none; }
.flex1 { flex: 1; min-width: 0; }
.pb2 { padding-bottom: var(--s-2); }
.gap0 { gap: 0; }
.gap2 { gap: var(--s-2); }
.disp-l { font-family: var(--display); font-size: var(--t-l); }
.bar-note i.k-paid { background: var(--passport); }
.bar-note i.k-pend { background: var(--held); }
.cs .p-ink2 { font-size: 16px; color: var(--ink-2); }
.cs .p-ink3 { font-size: 16px; color: var(--ink-3); }
.cs .p16 { font-size: 16px; }
.cs .h-24 { font-size: 24px; }
.fs22 { font-size: 22px; }
.p0 { padding: 0; }
.cs .btn-link { padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }

.boot, .loading { display: flex; align-items: center; gap: var(--s-3); color: var(--ink-3); font-size: var(--t-m); padding: var(--s-6) var(--s-4); }
.boot { min-height: 60dvh; justify-content: center; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule-2); border-top-color: var(--passport); animation: spin 800ms linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { display: grid; gap: var(--s-4); }
.skel i { display: block; height: 18px; border-radius: var(--r-1); background: var(--sunk); }
.skel i:nth-child(1) { width: 42%; height: 30px; }
.skel i:nth-child(2) { width: 68%; }
.skel i:nth-child(3) { height: 96px; border-radius: var(--r-3); }
.skel i:nth-child(4) { height: 160px; border-radius: var(--r-3); }
.view[aria-busy="true"] > :not(.skel) { opacity: .62; transition: opacity var(--d-2) var(--ease); }
.btn[aria-busy="true"] { cursor: progress; opacity: .7; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
.err-panel { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-5) var(--s-4); background: var(--late-wash); border-radius: var(--r-3); }
.err-panel b { font-size: var(--t-m); }
.err-panel .ic { color: var(--late-ink); width: 26px; height: 26px; }
.form-err { font-size: var(--t-s); color: var(--late-ink); display: flex; gap: 6px; align-items: flex-start; }
.noscript { max-width: 560px; margin: var(--s-6) auto; padding: var(--s-4); font-size: 18px; }

.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); }
.login-cover { display: none; }
.login-main { display: grid; align-content: center; justify-items: center; padding: var(--s-5) var(--s-4) var(--s-7); }
.login-box { width: min(420px, 100%); display: grid; gap: var(--s-5); }
.login-brand { display: grid; gap: 2px; }
.login-brand .prod { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.15; font-variation-settings: "wdth" 88; color: var(--passport-ink); }
.login-brand .agency { color: var(--ink-3); font-size: var(--t-s); }
.login-box .panel-b { padding: var(--s-5) var(--s-4); }
.login-box .btn-primary { width: 100%; min-height: 52px; font-size: var(--t-l); }
.login-top { display: flex; justify-content: flex-end; }
@media (min-width: 960px) {
  .login { grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr); }
  .login-cover { display: grid; align-content: space-between; padding: var(--s-7) var(--s-6); background: var(--cover); color: var(--cover-ink); }
  .login-cover .prod { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.1; font-variation-settings: "wdth" 86; color: #fff; }
  .login-cover p { color: var(--cover-ink-2); max-width: 34ch; font-size: var(--t-l); }
  .login-cover .seatstrip i { background: var(--passport); }
  .login-cover .seatstrip i.f { box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .25); background: none; }
  .login-cover .seatstrip i.h { background: repeating-linear-gradient(135deg, var(--held) 0 2px, transparent 2px 4px); }
  .login-main .login-brand { display: none; }
}
.expired-note { max-width: 420px; }
.vcol > p.muted { padding: 0 var(--s-2); }
#q-totals[aria-busy="true"] { opacity: .62; transition: opacity var(--d-2) var(--ease); }

a.lang-btn { display: inline-grid; place-items: center; text-decoration: none; }
.cs-form-f { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.bar i[data-w="0"] { width: 0%; }
.bar i[data-w="1"] { width: 1%; }
.bar i[data-w="2"] { width: 2%; }
.bar i[data-w="3"] { width: 3%; }
.bar i[data-w="4"] { width: 4%; }
.bar i[data-w="5"] { width: 5%; }
.bar i[data-w="6"] { width: 6%; }
.bar i[data-w="7"] { width: 7%; }
.bar i[data-w="8"] { width: 8%; }
.bar i[data-w="9"] { width: 9%; }
.bar i[data-w="10"] { width: 10%; }
.bar i[data-w="11"] { width: 11%; }
.bar i[data-w="12"] { width: 12%; }
.bar i[data-w="13"] { width: 13%; }
.bar i[data-w="14"] { width: 14%; }
.bar i[data-w="15"] { width: 15%; }
.bar i[data-w="16"] { width: 16%; }
.bar i[data-w="17"] { width: 17%; }
.bar i[data-w="18"] { width: 18%; }
.bar i[data-w="19"] { width: 19%; }
.bar i[data-w="20"] { width: 20%; }
.bar i[data-w="21"] { width: 21%; }
.bar i[data-w="22"] { width: 22%; }
.bar i[data-w="23"] { width: 23%; }
.bar i[data-w="24"] { width: 24%; }
.bar i[data-w="25"] { width: 25%; }
.bar i[data-w="26"] { width: 26%; }
.bar i[data-w="27"] { width: 27%; }
.bar i[data-w="28"] { width: 28%; }
.bar i[data-w="29"] { width: 29%; }
.bar i[data-w="30"] { width: 30%; }
.bar i[data-w="31"] { width: 31%; }
.bar i[data-w="32"] { width: 32%; }
.bar i[data-w="33"] { width: 33%; }
.bar i[data-w="34"] { width: 34%; }
.bar i[data-w="35"] { width: 35%; }
.bar i[data-w="36"] { width: 36%; }
.bar i[data-w="37"] { width: 37%; }
.bar i[data-w="38"] { width: 38%; }
.bar i[data-w="39"] { width: 39%; }
.bar i[data-w="40"] { width: 40%; }
.bar i[data-w="41"] { width: 41%; }
.bar i[data-w="42"] { width: 42%; }
.bar i[data-w="43"] { width: 43%; }
.bar i[data-w="44"] { width: 44%; }
.bar i[data-w="45"] { width: 45%; }
.bar i[data-w="46"] { width: 46%; }
.bar i[data-w="47"] { width: 47%; }
.bar i[data-w="48"] { width: 48%; }
.bar i[data-w="49"] { width: 49%; }
.bar i[data-w="50"] { width: 50%; }
.bar i[data-w="51"] { width: 51%; }
.bar i[data-w="52"] { width: 52%; }
.bar i[data-w="53"] { width: 53%; }
.bar i[data-w="54"] { width: 54%; }
.bar i[data-w="55"] { width: 55%; }
.bar i[data-w="56"] { width: 56%; }
.bar i[data-w="57"] { width: 57%; }
.bar i[data-w="58"] { width: 58%; }
.bar i[data-w="59"] { width: 59%; }
.bar i[data-w="60"] { width: 60%; }
.bar i[data-w="61"] { width: 61%; }
.bar i[data-w="62"] { width: 62%; }
.bar i[data-w="63"] { width: 63%; }
.bar i[data-w="64"] { width: 64%; }
.bar i[data-w="65"] { width: 65%; }
.bar i[data-w="66"] { width: 66%; }
.bar i[data-w="67"] { width: 67%; }
.bar i[data-w="68"] { width: 68%; }
.bar i[data-w="69"] { width: 69%; }
.bar i[data-w="70"] { width: 70%; }
.bar i[data-w="71"] { width: 71%; }
.bar i[data-w="72"] { width: 72%; }
.bar i[data-w="73"] { width: 73%; }
.bar i[data-w="74"] { width: 74%; }
.bar i[data-w="75"] { width: 75%; }
.bar i[data-w="76"] { width: 76%; }
.bar i[data-w="77"] { width: 77%; }
.bar i[data-w="78"] { width: 78%; }
.bar i[data-w="79"] { width: 79%; }
.bar i[data-w="80"] { width: 80%; }
.bar i[data-w="81"] { width: 81%; }
.bar i[data-w="82"] { width: 82%; }
.bar i[data-w="83"] { width: 83%; }
.bar i[data-w="84"] { width: 84%; }
.bar i[data-w="85"] { width: 85%; }
.bar i[data-w="86"] { width: 86%; }
.bar i[data-w="87"] { width: 87%; }
.bar i[data-w="88"] { width: 88%; }
.bar i[data-w="89"] { width: 89%; }
.bar i[data-w="90"] { width: 90%; }
.bar i[data-w="91"] { width: 91%; }
.bar i[data-w="92"] { width: 92%; }
.bar i[data-w="93"] { width: 93%; }
.bar i[data-w="94"] { width: 94%; }
.bar i[data-w="95"] { width: 95%; }
.bar i[data-w="96"] { width: 96%; }
.bar i[data-w="97"] { width: 97%; }
.bar i[data-w="98"] { width: 98%; }
.bar i[data-w="99"] { width: 99%; }
.bar i[data-w="100"] { width: 100%; }
.sw-bar { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 8px); display: flex; align-items: center; gap: var(--s-3); max-width: calc(100vw - 16px); padding: 8px 8px 8px 14px; border-radius: var(--r-3); box-shadow: var(--e-2); font-size: var(--t-s); font-weight: 600; line-height: 1.35; }
.sw-bar.offline { background: var(--held-wash); color: var(--held-ink); border: 1px solid var(--held); padding-right: 14px; }
.sw-bar.update { background: var(--cover); color: #F3F8F4; }
.sw-bar.update + .sw-bar.offline, .sw-bar.offline + .sw-bar.update { top: calc(env(safe-area-inset-top, 0px) + 60px); }
@media (max-width: 959px) {
  .sw-bar { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); width: max-content; }
  .sw-bar.update + .sw-bar.offline, .sw-bar.offline + .sw-bar.update { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 140px); }
}

.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px var(--s-2); padding: 7px var(--s-4); background: var(--held-wash); color: var(--held-ink); border-bottom: 1px solid color-mix(in srgb, var(--held) 28%, transparent); font-size: var(--t-xs); line-height: 1.45; text-align: center; }
.demo-bar a { color: var(--held-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.demo-bar a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.cs-body > .demo-bar { font-size: var(--t-s); }
.demo-pick { display: grid; gap: var(--s-4); }
.demo-pick-sub { color: var(--ink-3); font-size: var(--t-s); margin-top: calc(var(--s-3) * -1); }
.demo-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.demo-role { display: grid; align-content: start; justify-items: start; gap: 6px; min-height: 112px; padding: var(--s-4) var(--s-3) var(--s-3); text-align: left; font-family: var(--body); background: var(--sheet); color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r-3); box-shadow: var(--e-1); cursor: pointer; transition: border-color var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease), transform var(--d-1) var(--ease); }
.demo-role .ic { width: 26px; height: 26px; color: var(--passport); }
.demo-role b { font-weight: 700; font-size: var(--t-m); line-height: 1.3; }
.demo-role span { font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; }
.demo-role:hover { border-color: var(--passport); box-shadow: var(--e-2); }
.demo-role:active { transform: translateY(1px); }
.demo-role:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.demo-role[aria-busy="true"] { opacity: .7; border-color: var(--passport); }
.demo-role:first-child { background: var(--passport); border-color: var(--passport); color: var(--on-passport); }
.demo-role:first-child .ic, .demo-role:first-child span { color: var(--on-passport); }
.demo-role:first-child span { opacity: .85; }
.demo-role:first-child:hover { background: var(--passport-press); }
.demo-or { display: flex; align-items: center; gap: var(--s-3); color: var(--ink-3); font-size: var(--t-xs); }
.demo-or::before, .demo-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
@media (max-width: 340px) { .demo-roles { grid-template-columns: minmax(0, 1fr); } .demo-role { min-height: 0; } }
