/* Booking app styles. One accent (set from config/club.php at start), tokens for light and dark, no external resources.
   Look of the sample site Blau Charters (rework live 20.11.2026, docs/blau-ueberarbeitung-konzept.md in the site repo):
   palette "Lagune vorn" (lagoon white, deep sea blue for text and the crew frame, lagoon turquoise for buttons and times),
   Barlow Semi Condensed for titles and times, Barlow for text, pill buttons, small radii, pennant logo. Decision B17. */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --accent: #0A7470;
  --bg: #F3F9F8;
  --surface: #FFFFFF;
  --raised: #FFFFFF;
  --sunken: #E5F1EF;
  --line: #D3E6E3;
  --line-strong: #A9C6C2;
  --ink: #0B2540;
  --ink-2: #4A6170;
  --ink-3: #50667A;
  --side-bg: #0B2540;
  --side-ink: #EEF6F5;
  --side-ink-2: #B4C6CC;
  --side-line: #21405E;
  --accent-ink: #ffffff;
  --accent-text: #08605D;
  --accent-soft: color-mix(in oklab, var(--accent) 9%, var(--surface));
  --accent-line: color-mix(in oklab, var(--accent) 34%, var(--surface));
  /* states: always shown with a word, never colour alone */
  --ok: #1D6B3F;  --ok-soft: #DFF0E6;
  --warn: #8A5A00; --warn-soft: #F7E9C4; --warn-mark: #D9A21A;
  --bad: #B0213A; --bad-soft: #F8DFE3;
  --open: #1F4F7A; --open-soft: #E1ECF6;
  /* charts: coastal turquoise, caves blue, sunset orange, the rest plum (palette validator, all checks pass, B17) */
  --s1: #009488; --s2: #3B5BC9; --s3: #D96A1A; --s4: #A9449E;
  --grid: #D3E6E3;
  --seq-1: #E1F2F0; --seq-2: #B8E0DB; --seq-3: #8BCBC4; --seq-4: #5CB2AA; --seq-5: #2E978E; --seq-6: #0A7470; --seq-7: #064E4B;
  --shadow: 0 1px 2px rgb(11 37 64 / .05), 0 8px 22px rgb(11 37 64 / .07);
  --card-shadow: 0 1px 1px rgb(11 37 64 / .03), 0 12px 30px -14px rgb(11 37 64 / .14);
  --r: 8px; --r-s: 6px; --r-m: 8px;
  --font: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --display: "Barlow Semi Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #071827; --surface: #0D2236; --raised: #12293F; --sunken: #051320; --line: #1C3852; --line-strong: #2C4D6B;
    --ink: #EEF6F5; --ink-2: #B4C6CC; --ink-3: #93A9B4;
    --side-bg: #04101C; --side-line: #17304A;
    --accent-text: #7FD6CF;
    --accent-soft: color-mix(in oklab, var(--accent) 28%, var(--surface));
    --accent-line: color-mix(in oklab, var(--accent) 60%, var(--surface));
    --ok: #6FCF97; --ok-soft: #12321F; --warn: #F1C453; --warn-soft: #362C0F; --warn-mark: #F1C453; --bad: #F08AA0; --bad-soft: #3B1B24; --open: #8FB4D9; --open-soft: #132B44;
    --s1: #0E9A8E; --s2: #6280E4; --s3: #DD7228; --s4: #BE5CB0; --grid: #1C3852;
    --seq-1: #0F3236; --seq-2: #134A4A; --seq-3: #17625F; --seq-4: #1D7B76; --seq-5: #2C958E; --seq-6: #4DB0A8; --seq-7: #7FD6CF;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 22px rgb(0 0 0 / .28);
    --card-shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071827; --surface: #0D2236; --raised: #12293F; --sunken: #051320; --line: #1C3852; --line-strong: #2C4D6B;
  --ink: #EEF6F5; --ink-2: #B4C6CC; --ink-3: #93A9B4;
  --side-bg: #04101C; --side-line: #17304A;
  --accent-text: #7FD6CF;
  --accent-soft: color-mix(in oklab, var(--accent) 28%, var(--surface));
  --accent-line: color-mix(in oklab, var(--accent) 60%, var(--surface));
  --ok: #6FCF97; --ok-soft: #12321F; --warn: #F1C453; --warn-soft: #362C0F; --warn-mark: #F1C453; --bad: #F08AA0; --bad-soft: #3B1B24; --open: #8FB4D9; --open-soft: #132B44;
  --s1: #0E9A8E; --s2: #6280E4; --s3: #DD7228; --s4: #BE5CB0; --grid: #1C3852;
  --seq-1: #0F3236; --seq-2: #134A4A; --seq-3: #17625F; --seq-4: #1D7B76; --seq-5: #2C958E; --seq-6: #4DB0A8; --seq-7: #7FD6CF;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 22px rgb(0 0 0 / .28);
  --card-shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-text); }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.boot { padding: 48px 24px; color: var(--ink-3); text-align: center; }

/* ---------- Shell ---------- */
.shell { min-height: 100dvh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.side { background: var(--side-bg); color: var(--side-ink); display: flex; flex-direction: column; padding: 20px 14px 16px; position: sticky; top: 0; height: 100dvh; }
.brand { display: grid; gap: 6px; padding: 4px 8px 22px; }
/* Logo as on the sample site: pennant + "Blau" + "Charters · Dénia". */
.logo { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink); min-width: 0; }
.logo .pennant { width: 15px; height: 21px; color: var(--accent); align-self: center; flex: none; }
.logo-word { font: 600 27px/1 var(--display); }
.logo-sub { font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.logo.on-dark { color: var(--side-ink); }
.logo.on-dark .pennant { color: #7FD6CF; }
.logo.on-dark .logo-sub { color: var(--side-ink-2); }
.brand-name { font: 600 19px/1.15 var(--display); }
.brand-sub { font-size: 12.5px; color: var(--side-ink-2); margin-top: 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-s); color: var(--side-ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--side-ink); background: rgb(255 255 255 / .05); }
.nav a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / .09); box-shadow: inset 3px 0 0 var(--accent-line); }
.nav svg, .tabbar svg { width: 19px; height: 19px; flex: none; }
.side-foot { margin-top: auto; border-top: 1px solid var(--side-line); padding-top: 14px; display: grid; gap: 10px; }
.who { display: flex; align-items: center; gap: 10px; padding: 0 6px; min-width: 0; }
.who-text { min-width: 0; }
.who-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-role { font-size: 12.5px; color: var(--side-ink-2); }
.side-actions { display: flex; gap: 8px; }
.side-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--side-line); background: transparent; color: var(--side-ink-2); font-size: 13.5px; font-weight: 500; }
.side-btn:hover { color: var(--side-ink); border-color: #3a3e46; }
.side-btn svg { width: 16px; height: 16px; }
.side-btn.icon-only { flex: none; width: 38px; padding: 0; }

.main { min-width: 0; }
.page { max-width: 1240px; margin: 0 auto; padding: 30px 32px 56px; }
.page.narrow { max-width: 760px; }

.lang { min-height: 38px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--side-line); background: var(--side-bg); color: var(--side-ink-2); font-size: 13.5px; font-weight: 500; width: 100%; }
.login-lang .lang { width: auto; background: var(--raised); color: var(--ink-2); border-color: var(--line-strong); min-height: 44px; }
.topbar { display: none; }
.tabbar { display: none; }

@media (max-width: 899px) {
  .shell { display: block; }
  .side { display: none; }
  .topbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20; background: var(--side-bg); color: var(--side-ink); padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .topbar .logo-word { font-size: 25px; }
  .topbar .brand-name { font-size: 16px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar .side-btn { flex: none; width: 44px; min-height: 44px; padding: 0; border-color: transparent; }
  .topbar .side-btn svg { width: 19px; height: 19px; }
  .topbar .lang { width: auto; min-height: 44px; min-width: 58px; border-color: transparent; font-weight: 650; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 9px 2px 8px; min-height: 56px; color: var(--ink-3); text-decoration: none; font-size: 12px; font-weight: 500; line-height: 1.15; text-align: center; }
  .tabbar a[aria-current="page"] { color: var(--accent-text); font-weight: 650; }
  .tabbar a[aria-current="page"] svg { background: var(--accent-soft); box-shadow: 0 0 0 6px var(--accent-soft); border-radius: 4px; }
  .page { padding: 20px 16px calc(88px + env(safe-area-inset-bottom)); }
}

.side-demo { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--side-line); border-radius: var(--r-m); }
.side-demo .eyebrow { color: var(--side-ink-2); }
.side-demo .seg { width: 100%; background: rgb(255 255 255 / .07); }
.side-demo .seg button { flex: 1; padding: 0 6px; font-size: 13px; color: var(--side-ink-2); min-height: 34px; }
.side-demo .seg button[aria-pressed="true"] { background: rgb(255 255 255 / .16); color: #fff; box-shadow: none; }
.side-demo .linkbtn { color: var(--side-ink-2); justify-self: start; min-height: 28px; }
.side-demo .linkbtn:hover { color: var(--side-ink); }
.role-switch { display: grid; gap: 8px; }

/* ---------- Page head ---------- */
.eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.page-title { font: 600 clamp(28px, 3vw, 38px)/1.06 var(--display); }
.page-sub { color: var(--ink-2); margin-top: 6px; max-width: 64ch; }
.headline { font: 600 clamp(30px, 3.8vw, 48px)/1.04 var(--display); max-width: 24ch; margin-top: 10px; text-wrap: balance; }
.headline b { font-weight: 600; color: var(--accent-text); }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: transform .12s ease, background-color .12s ease; white-space: nowrap; }
.btn:hover { background: var(--sunken); }
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in oklab, var(--accent) 88%, black); }
.btn.tonal { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.btn.tonal:hover { background: color-mix(in oklab, var(--accent) 16%, var(--surface)); }
.btn.danger { color: var(--bad); border-color: color-mix(in oklab, var(--bad) 40%, var(--surface)); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.quiet:hover { background: var(--sunken); }
.btn.small { min-height: 34px; padding: 0 11px; font-size: 13.5px; }
.btn.block { width: 100%; min-height: 48px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }
.btn.square { width: 42px; padding: 0; flex: none; }
@media (max-width: 899px) { .btn { min-height: 44px; } .btn.small { min-height: 44px; } .btn.square { width: 44px; } }

.field { display: grid; gap: 6px; }
.field > span, .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field small, .hint { font-size: 13px; color: var(--ink-3); }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: 9px 12px; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: var(--raised); }
.input:focus-visible { outline-offset: 0; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.error { color: var(--bad); font-size: 14px; font-weight: 550; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--sunken); max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: transparent; min-height: 36px; padding: 0 14px; border-radius: 7px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
@media (max-width: 899px) { .seg button { min-height: 44px; min-width: 44px; } }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-strong); background: var(--raised); min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 899px) { .chip { min-height: 44px; min-width: 44px; } }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; text-align: left; border: 0; background: none; padding: 0; min-height: 44px; }
.switch-track { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background-color .15s ease; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s ease; box-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.switch[aria-checked="true"] .switch-track { background: var(--accent); }
.switch[aria-checked="true"] .switch-track::after { transform: translateX(18px); }

/* ---------- Cards, tiles, tags ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card-title { font: 600 20px/1.2 var(--display); }
.card-sub { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.card-note { font-size: 14px; color: var(--ink-2); margin-top: 10px; display: flex; gap: 8px; }
.card-note::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); margin-top: 8px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.grid { display: grid; gap: 16px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols-3-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-2-1, .cols-3-2 { grid-template-columns: minmax(0, 1fr); } .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); } .card { padding: 16px; } }
.stack { display: grid; gap: 16px; }
.stack > *, .grid > *, .page > * { min-width: 0; }
.stack.tight { gap: 10px; }

.card, .tile, .item { box-shadow: var(--card-shadow); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.tile-label { font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.tile-value { font: 600 30px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.tile-value small { font-size: 15px; font-weight: 550; color: var(--ink-3); letter-spacing: 0; }
.tile-foot { font-size: 13px; color: var(--ink-3); }
.delta { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: 13px; padding: 1px 7px; border-radius: 999px; margin-right: 6px; }
.delta.up { color: var(--ok); background: var(--ok-soft); }
.delta.down { color: var(--bad); background: var(--bad-soft); }
.delta.flat { color: var(--ink-2); background: var(--sunken); }
@media (max-width: 640px) { .tile { padding: 13px 14px; } .tile-value { font-size: 24px; } .tile .spark { display: none; } }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--sunken); color: var(--ink-2); white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.plain::before { display: none; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.open { background: var(--open-soft); color: var(--open); }
.tag.accent { background: var(--accent-soft); color: var(--accent-text); }

.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.side .avatar { background: rgb(255 255 255 / .1); color: #fff; }
.avatar.ghost { background: transparent; border: 1.5px dashed var(--line-strong); color: var(--ink-3); }
.avatar.plain { background: var(--sunken); color: var(--ink-2); }
.avatars { display: flex; gap: 6px; flex-wrap: wrap; }

.meter { height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.meter.full > i { background: var(--ink-3); }

.empty { padding: 34px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.empty strong { display: block; color: var(--ink); font: 600 19px var(--display); margin-bottom: 4px; }
.skeleton { border-radius: var(--r); background: linear-gradient(100deg, var(--sunken) 40%, var(--surface) 50%, var(--sunken) 60%) 0 0 / 300% 100%; animation: sk 1.3s linear infinite; min-height: 96px; }
@keyframes sk { to { background-position: -150% 0; } }
.fade-in { animation: fade .22s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table th { text-align: left; font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .r, .table th.r { text-align: right; }
.table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover { background: var(--sunken); }
.table .strong { font-weight: 600; }
.table .dim { color: var(--ink-3); font-size: 13.5px; }
.rowlink { background: none; border: 0; padding: 0; font-weight: 600; text-align: left; color: var(--ink); }
.rowlink:hover { color: var(--accent-text); }
.table td.nw { white-space: nowrap; }
@media (max-width: 899px) { .table .rowlink, .table td a.strong { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; } }

/* ---------- Toolbar, legend ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.toolbar .spacer { flex: 1; }
.toolbar .day-name, .day-name { font: 600 21px var(--display); display: block; }
.day-name::first-letter, .item-when::first-letter, .day-label::first-letter, .tip .t::first-letter { text-transform: uppercase; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.legend i.line { height: 2px; border-radius: 1px; width: 16px; }
.legend i.sw { border-radius: 3px; width: 12px; height: 12px; }
@media (max-width: 899px) { .stack > .day-kpis { order: 9; } }

/* ---------- Guest: booking ---------- */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 58px; min-height: 68px; border-radius: var(--r-m); border: 1px solid var(--line-strong); background: var(--raised); display: grid; justify-items: center; align-content: center; gap: 1px; scroll-snap-align: start; position: relative; }
.day small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.day small::first-letter { text-transform: uppercase; }
.day strong { font: 600 22px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day[aria-pressed="true"] small { color: inherit; opacity: .75; }
.day .dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--open); }

.step-title { font: 600 19px/1.3 var(--display); color: var(--ink); margin-top: 6px; }
.day.tall { min-height: 76px; }
.day.tall small:last-child { font-weight: 500; }
.day.off:not([aria-pressed="true"]) { background: var(--sunken); border-color: transparent; color: var(--ink-3); }
.day.more { border-style: dashed; color: var(--accent-text); width: 74px; }
.day.more svg { width: 18px; height: 18px; }
.timebtn { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; border-radius: var(--r-m); border: 1px solid var(--accent-line); background: var(--accent-soft); text-align: left; }
.timebtn:hover { background: color-mix(in oklab, var(--accent) 16%, var(--surface)); }
.timebtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.timebtn[aria-pressed="true"] small, .timebtn[aria-pressed="true"] .slot-meta { color: inherit; opacity: .85; }
.timebtn[disabled] { background: var(--sunken); border-color: transparent; color: var(--ink-3); cursor: default; }
.slot-time { font: 600 23px/1 var(--display); font-variant-numeric: tabular-nums; }
.slot-time small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.slot-meta { font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.price { text-align: right; flex: none; }
.price strong { display: block; font: 600 24px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.price small { font-size: 12.5px; color: var(--ink-3); }
.step-card { display: grid; gap: 0; padding: 4px 16px; }
.step-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 60px; }
.step-row:last-child { border-bottom: 0; }
.step-row strong { display: block; font-weight: 600; }
.step-row small { display: block; font-size: 13px; color: var(--ink-3); }
/* R9 made visible: seats left on this departure, at the top of the persons card. */
.room-line { display: flex; align-items: center; gap: 10px; margin: 8px -6px 4px; padding: 10px 12px; border-radius: var(--r-s); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.room-line svg { color: var(--accent-text); }
.room-line svg { flex: none; width: 20px; height: 20px; }
.room-full[hidden] { display: none; }
/* R14: a shortened demo number in a table cell looks like text, not like a button. */
.phone-demo:not(.btn) { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.step-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--raised); display: grid; place-items: center; }
.step-btn svg { width: 18px; height: 18px; }
.step-btn:hover:not([disabled]) { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.step-btn[disabled] { opacity: .4; cursor: default; }
.step-n { min-width: 34px; text-align: center; font: 600 22px var(--display); font-variant-numeric: tabular-nums; }
.kv dd.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.note svg { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
a.item { color: inherit; text-decoration: none; }
a.item:hover { border-color: var(--line-strong); }
.item.dep.muted { background: color-mix(in oklab, var(--sunken) 50%, var(--surface)); }
.meter-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; gap: 10px; }
.meter-head span { color: var(--ink-3); }
.callout.open { background: var(--open-soft); color: var(--open); }
.open-item.plain { background: var(--surface); color: inherit; text-decoration: none; }
.open-item.plain:hover { border-color: var(--line-strong); }
.open-item .r { text-align: right; display: grid; justify-items: end; gap: 3px; flex: none; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wday { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-s); min-height: 64px; display: grid; justify-items: center; align-content: center; gap: 1px; padding: 6px 2px; }
.wday small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.wday small::first-letter { text-transform: uppercase; }
.wday strong { font: 650 17px/1.1 var(--font); }
.wday span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wday[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.wday[aria-pressed="true"] small, .wday[aria-pressed="true"] span { color: inherit; opacity: .8; }
@media (max-width: 520px) { .wday span { font-size: 11.5px; } .week-strip { gap: 4px; } }

/* ---------- Guest frame ---------- */
.gshell { min-height: 100dvh; display: flex; flex-direction: column; }
.gshell > main { flex: 1; }
.gbar { display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px, 4vw, 32px); padding-top: max(12px, env(safe-area-inset-top)); background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.gbrand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; min-width: 0; }
.gnav { display: flex; gap: 4px; margin-left: 12px; }
.gnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--r-s); color: var(--ink-2); text-decoration: none; font-weight: 550; }
.gnav a:hover { background: var(--sunken); color: var(--ink); }
.gnav a[aria-current="page"] { color: var(--ink); background: var(--sunken); }
.gnav svg { width: 18px; height: 18px; }
.gtools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: var(--r-s); border: 1px solid transparent; background: transparent; color: var(--ink-2); display: grid; place-items: center; }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.lang.light { width: auto; min-height: 42px; min-width: 60px; background: var(--surface); color: var(--ink-2); border-color: var(--line-strong); font-weight: 650; }
.gfoot { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; padding: 22px 16px 28px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.gfoot a { color: var(--ink-2); }
.login-box { margin: 8px auto 0; }
@media (max-width: 899px) {
  .gnav { display: none; }
  .gbar { gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .gbar .logo-word { font-size: 25px; }
  .icon-btn { width: 44px; height: 44px; }
  .lang.light { min-height: 44px; }
  .tabbar.guest { display: grid; }
  .gfoot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .gshell .page { padding-bottom: 28px; }
}

.grid.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid.tiles-3 { gap: 8px; } .grid.tiles-3 .tile { padding: 11px 12px; } .grid.tiles-3 .tile-value { font-size: 22px; } .grid.tiles-3 .tile-label, .grid.tiles-3 .tile-foot { font-size: 12.5px; } }
.manifest { display: grid; gap: 0; margin-top: 10px; }
.manifest .item-actions { justify-content: flex-start !important; }
.only-narrow { display: none !important; }
@media (max-width: 640px) { .only-wide { display: none !important; } .only-narrow { display: grid !important; } }
.manifest li { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.manifest li strong { font-weight: 650; }
.manifest .btn { justify-self: start; }
.kv { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { font-weight: 600; text-align: right; }
.kv .total dd { font: 600 24px/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--accent-text); }
.note { font-size: 13.5px; color: var(--ink-2); background: var(--sunken); border-radius: 8px; padding: 11px 13px; }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; background: var(--warn-soft); color: var(--warn); border-radius: var(--r); padding: 12px 14px; font-weight: 550; }
.callout .sub { display: block; font-weight: 450; font-size: 13.5px; margin-top: 2px; }
.callout .btn { flex: none; }
.pay-detail { font-weight: 600; color: var(--ink-2); }
.open-items { display: grid; gap: 8px; }
.open-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--warn-soft); }
.open-item span { min-width: 0; }
.open-item small { display: block; color: var(--ink-2); }

.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 15px 16px; display: grid; gap: 10px; }
.item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.item-when { font-size: 13.5px; font-weight: 650; color: var(--accent-text); }
.item-title { font: 600 20px/1.2 var(--display); margin-top: 1px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13.5px; color: var(--ink-2); align-items: center; }
.item-meta svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
button.item { text-align: left; width: 100%; }
button.item:hover { border-color: var(--line-strong); }
.day-label { font: 600 17px var(--display); margin: 8px 2px 0; color: var(--ink-2); }

/* ---------- Dialog / sheet ---------- */
dialog.sheet { border: 0; padding: 0; background: var(--surface); color: var(--ink); border-radius: 18px; width: min(520px, calc(100vw - 32px)); max-height: min(88dvh, 780px); box-shadow: 0 24px 70px rgb(0 0 0 / .35); overflow: hidden; }
dialog.sheet::backdrop { background: rgb(12 13 16 / .55); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: fade .18s ease both; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.sheet-title { font: 600 24px/1.15 var(--display); }
.sheet-sub { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.sheet-body { padding: 4px 20px 20px; overflow-y: auto; display: grid; gap: 14px; grid-auto-rows: max-content; align-content: start; }
.sheet-body > * { min-width: 0; }
.sheet-foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }
.sheet-foot.row { display: flex; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) {
  dialog.sheet { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 20px 20px 0 0; max-height: 92dvh; }
  dialog.sheet[open] { animation: rise .22s ease both; }
  @keyframes rise { from { transform: translateY(24px); opacity: 0; } }
}

.toasts { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 10px; font-weight: 550; box-shadow: var(--shadow); animation: fade .2s ease both; }
.toast.bad { background: var(--bad); color: #fff; }
@media (min-width: 900px) { .toasts { bottom: 24px; } }

/* ---------- Login ---------- */
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-side { background: var(--side-bg); color: var(--side-ink); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.login-side h1 { font: 600 clamp(34px, 4.4vw, 56px)/1.02 var(--display); max-width: 14ch; }
.login-side p { color: var(--side-ink-2); max-width: 40ch; margin-top: 14px; font-size: 16px; }
.login-main { padding: clamp(24px, 5vw, 64px); display: grid; align-content: center; justify-items: center; }
.login-box { width: min(400px, 100%); display: grid; gap: 22px; }
.login-box h2 { font: 600 28px var(--display); }
.demo-roles { display: grid; gap: 10px; }
.role-btn { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line-strong); background: var(--raised); min-height: 64px; }
.role-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.role-btn svg { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
.role-btn strong { display: block; font-weight: 650; }
.role-btn span { font-size: 13.5px; color: var(--ink-2); }
.role-btn small { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 899px) { .login { grid-template-columns: 1fr; } .login-side { padding: 28px 20px 30px; gap: 20px; } .login-side h1 { max-width: none; font-size: 28px; } .login-main { padding: 26px 20px 48px; align-content: start; } }

/* ---------- Charts ---------- */
.chart { position: relative; }
.chart svg text { font: 500 12px var(--font); fill: var(--ink-3); }
.chart svg .lbl { fill: var(--ink-2); font-weight: 600; }
.chart svg .gridline { stroke: var(--grid); stroke-width: 1; }
.chart svg .hair { stroke: var(--ink-3); stroke-width: 1; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.35; box-shadow: var(--shadow); min-width: 120px; max-width: 240px; transform: translate(-50%, calc(-100% - 10px)); }
.tip[hidden] { display: none; }
.tip b { font-weight: 700; }
.tip .t { opacity: .75; font-size: 12.5px; margin-bottom: 3px; }
.tip .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tip .row i { width: 10px; height: 2px; border-radius: 1px; flex: none; }
.tip .row span { flex: 1; opacity: .85; }
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: minmax(88px, 132px) minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: 14px; }
.bar-row .track { height: 12px; position: relative; }
.bar-row .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--s1); border-radius: 0 4px 4px 0; min-width: 2px; }
.bar-row .v { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.bar-row .l { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segbar { display: flex; gap: 2px; height: 22px; }
.segbar > div { border-radius: 4px; min-width: 3px; }
.seg-legend { display: grid; gap: 7px; margin-top: 14px; font-size: 14px; }
.seg-legend div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.seg-legend i { width: 12px; height: 12px; border-radius: 3px; }
.seg-legend b { font-weight: 650; font-variant-numeric: tabular-nums; }
.seg-legend span { color: var(--ink-2); }
.heat { display: grid; grid-template-columns: 44px repeat(var(--cols), minmax(0, 1fr)); gap: 2px; font-size: 12.5px; }
.heat .hh { color: var(--ink-3); text-align: center; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.heat .hd { color: var(--ink-2); font-weight: 600; display: flex; align-items: center; }
.heat .hc { border-radius: 4px; min-height: 30px; display: grid; place-items: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.heat .hc:hover { outline: 2px solid var(--ink); outline-offset: 1px; }
@media (max-width: 640px) { .heat { font-size: 12px; grid-template-columns: 34px repeat(var(--cols), minmax(0, 1fr)); } .heat .hh { font-size: 12px; writing-mode: vertical-rl; transform: rotate(180deg); justify-self: center; padding: 0 0 4px; } .heat .hc { min-height: 28px; font-size: 12px; } }
.heat-scale { display: flex; align-items: center; gap: 3px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.heat-scale i { width: 26px; height: 12px; border-radius: 3px; }
.heat-scale span:first-child { margin-right: 5px; }
.heat-scale > span:nth-of-type(2) { margin-left: 5px; }
.heat .hc.none { background: transparent; border: 1px dashed var(--line-strong); color: var(--ink-3); font-weight: 500; }
.heat-scale .none-key { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.heat-scale .none-key b { display: inline-grid; place-items: center; width: 26px; height: 14px; border: 1px dashed var(--line-strong); border-radius: 3px; font-weight: 500; }
.spark { width: 84px; height: 26px; flex: none; }
.chart-table { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 6px; max-height: 260px; overflow: auto; }
.chart-table table { font-size: 13.5px; }
.chart-table th, .chart-table td { padding: 5px 8px; text-align: right; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }
.chart-table th { color: var(--ink-3); font-weight: 650; font-size: 12.5px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--ink-3); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 28px; }
.linkbtn:hover { color: var(--ink); }
@media (max-width: 899px) { .linkbtn { min-height: 44px; min-width: 44px; } .table td a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; } }

/* ---------- Simulated payment ---------- */
.paybox { max-width: 440px; margin: 16px auto 0; display: grid; gap: 16px; }
.pay-amount { font: 600 54px/1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.pay-flag { display: inline-flex; align-self: start; justify-self: start; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.done-mark svg { width: 28px; height: 28px; }
