/* Lujja design system.
   Layout: a floating glass frame over a half-sky, half-sea backdrop.
   Bootstrap 5.3 provides grid, forms and utilities; everything visual here uses ct- classes.
   Theme: <html data-bs-theme="light|dark">, chosen by Muscat sun time unless the user overrides. */

:root[data-bs-theme] {
  --ct-lime: #cdb07a;
  --ct-lime-ink: #0b141d;
  --ct-ok: #3f9b72;
  --ct-warn: #c79a48;
  --ct-bad: #c2474b;
  --ct-radius-xl: 36px;
  --ct-radius-lg: 28px;
  --ct-radius-md: 18px;
  --ct-font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ct-mono: "IBM Plex Mono", ui-monospace, monospace;
  --bs-body-font-family: var(--ct-font);
  --bs-border-radius: 14px;
}
:root[data-bs-theme="light"] {
  --ct-sea: #0a2233;
  --ct-sky: linear-gradient(180deg, #2e5873 0%, #8fa7b6 70%, #c9d5dc 100%);
  --ct-sun: radial-gradient(circle, rgba(244, 240, 222, 0.95) 0 14%, rgba(237, 228, 202, 0.35) 32%, transparent 70%);
  --ct-cloud: rgba(255, 255, 255, 0.55);
  --ct-water: linear-gradient(180deg, #3a7a96 0%, #245e7c 22%, #16405a 55%, #0a2233 100%);
  --ct-wave: #3a7a96;
  --ct-foam: rgba(255, 255, 255, 0.75);
  --ct-ray: rgba(255, 255, 255, 0.55);
  --ct-reef1: #1c3445;
  --ct-reef2: #162938;
  --ct-rim: rgba(255, 255, 255, 0.72);
  --ct-frame: #f3f1ec;
  --ct-card: #ffffff;
  --ct-chip: #efece6;
  --ct-ink: #0b141d;
  --ct-sub: #5a6670;
  --ct-line: #e6e2d9;
  --ct-btn: #111B25;
  --ct-btn-ink: #ffffff;
  --ct-ask: linear-gradient(160deg, #dce9f3 0%, #bdd3e6 55%, #a1c1d9 100%);
  --ct-coast: #3a7a96;
  --bs-body-bg: var(--ct-frame);
  --bs-body-color: var(--ct-ink);
  color-scheme: light;
}
:root[data-bs-theme="dark"] {
  --ct-sea: #05090f;
  --ct-sky: linear-gradient(180deg, #060b12 0%, #1a2435 100%);
  --ct-sun: radial-gradient(circle, rgba(216, 227, 242, 0.9) 0 16%, rgba(174, 197, 228, 0.12) 40%, transparent 70%);
  --ct-cloud: rgba(137, 152, 178, 0.12);
  --ct-water: linear-gradient(180deg, #0b1c2b 0%, #08121c 40%, #05090f 100%);
  --ct-wave: #0b1c2b;
  --ct-foam: rgba(156, 202, 210, 0.5);
  --ct-ray: rgba(156, 202, 210, 0.18);
  --ct-reef1: #070F18;
  --ct-reef2: #05090f;
  --ct-rim: rgba(156, 202, 210, 0.18);
  --ct-frame: #0c141d;
  --ct-card: #111a24;
  --ct-chip: #18222e;
  --ct-ink: #eceff2;
  --ct-sub: #8e9aa6;
  --ct-line: #1e2833;
  --ct-btn: #cdb07a;
  --ct-btn-ink: #0b141d;
  --ct-ask: linear-gradient(160deg, #1a2b3b 0%, #111d29 100%);
  --ct-coast: #9ccad2;
  --bs-body-bg: var(--ct-frame);
  --bs-body-color: var(--ct-ink);
  color-scheme: dark;
}
html[lang="ar"] { --ct-font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }

body.ct-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ct-font);
  color: var(--ct-ink);
  background: var(--ct-sea);
  transition: background 0.5s;
}
.ct-mono { font-family: var(--ct-mono); }
.ct-num { font-variant-numeric: tabular-nums; }
.ct-sub { color: var(--ct-sub); }
.ct-ltr { direction: ltr; unicode-bidi: isolate; }
.ct-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[dir="rtl"] .ct-flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--ct-lime) !important; outline-offset: 2px; }

/* ---------- Backdrop ---------- */
.ct-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ct-sky { position: absolute; inset: 0 0 auto 0; height: 300px; background: var(--ct-sky); }
.ct-sun { position: absolute; top: 40px; inset-inline-end: 12%; width: 240px; height: 240px; border-radius: 50%; background: var(--ct-sun); filter: blur(6px); }
.ct-cloud { position: absolute; border-radius: 33px; background: var(--ct-cloud); filter: blur(18px); }
.ct-water { position: absolute; top: 270px; inset-inline: 0; bottom: 0; background: var(--ct-water); }
.ct-wave { position: absolute; top: 246px; left: 0; width: 200%; height: 60px; animation: ct-wave 14s linear infinite; }
.ct-wave svg { width: 100%; height: 100%; display: block; }
.ct-ray { position: absolute; top: 270px; height: 900px; transform-origin: top center; background: linear-gradient(180deg, var(--ct-ray), transparent 85%); filter: blur(10px); animation: ct-sway 8s ease-in-out infinite; }
.ct-bubble { position: absolute; bottom: -20px; border-radius: 50%; border: 1.5px solid var(--ct-foam); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 60%); animation: ct-rise linear infinite; }
.ct-reef { position: absolute; bottom: 0; left: 0; width: 100%; height: 220px; }
.ct-star { position: absolute; border-radius: 50%; background: #fff; animation: ct-glow 3s ease-in-out infinite; }
:root[data-bs-theme="light"] .ct-star { display: none; }

/* ---------- Page frame ---------- */
.ct-page { position: relative; z-index: 1; padding-block: 36px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.ct-wrap { max-width: 1600px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.ct-chrome { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; font-size: 17px; font-weight: 500; }
.ct-frame-rim { border-radius: 24px; padding: 10px; background: var(--ct-rim); box-shadow: 0 40px 90px -30px rgba(16, 29, 43, 0.55); }
.ct-frame { border-radius: var(--ct-radius-xl); background: var(--ct-frame); padding: 28px; display: flex; flex-direction: column; gap: 22px; transition: background 0.5s; }
@media (max-width: 640px) {
  .ct-frame-rim { border-radius: 16px; padding: 6px; }
  .ct-frame { border-radius: 14px; padding: 16px; }
  .ct-page { padding-block: 16px; }
}

/* ---------- Header ---------- */
.ct-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ct-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ct-ink); text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-family: "IBM Plex Sans", sans-serif; }
.ct-logo-mark { width: 46px; height: 46px; border-radius: 14px; background: #1f2624; display: grid; place-items: center; }
.ct-pills { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: var(--ct-card); }
.ct-pill { border: 0; border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--ct-ink); text-decoration: none; background: transparent; transition: background 0.25s; white-space: nowrap; }
.ct-pill:hover { background: var(--ct-chip); color: var(--ct-ink); }
.ct-pill[aria-current="page"], .ct-pill[aria-pressed="true"] { background: var(--ct-btn); color: var(--ct-btn-ink); }
.ct-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-round { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ct-card); color: var(--ct-ink); display: grid; place-items: center; position: relative; }
.ct-searchbtn { display: flex; align-items: center; gap: 10px; height: 48px; padding-inline: 16px 8px; border: 0; border-radius: 999px; background: var(--ct-card); color: var(--ct-sub); font-size: 14px; min-width: 0; }
.ct-searchbtn span.ct-search-text { width: 150px; max-width: 40vw; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-kbd { font-size: 11px; padding: 4px 8px; border-radius: 8px; background: var(--ct-chip); color: var(--ct-sub); direction: ltr; }
.ct-seg { display: flex; align-items: center; gap: 2px; height: 48px; padding: 4px; border-radius: 999px; background: var(--ct-card); }
.ct-seg button { height: 40px; min-width: 40px; padding-inline: 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ct-ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ct-seg button[aria-pressed="true"] { background: var(--ct-btn); color: var(--ct-btn-ink); }

/* ---------- Buttons, chips, cards ---------- */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding-inline: 22px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.25s; }
.ct-btn:active { transform: scale(0.98); }
.ct-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ct-btn-dark { background: var(--ct-btn); color: var(--ct-btn-ink); }
.ct-btn-card { background: var(--ct-card); color: var(--ct-ink); }
.ct-btn-lime { background: var(--ct-lime); color: var(--ct-lime-ink); font-weight: 600; }
.ct-btn-sm { height: 42px; padding-inline: 16px; font-size: 14px; }
.ct-btn:hover { filter: brightness(1.04); }
.ct-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--ct-chip); font-size: 13px; color: var(--ct-ink); }
.ct-chip-lime { background: var(--ct-lime); color: var(--ct-lime-ink); font-weight: 600; font-size: 12px; padding: 5px 11px; }
.ct-chip-ok { background: #e3eee7; color: #2d5540; font-weight: 500; font-size: 12px; }
.ct-chip-due { background: #f3e2df; color: #93514d; font-weight: 500; font-size: 12px; }
.ct-card { border-radius: var(--ct-radius-lg); background: var(--ct-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: background 0.5s; }
.ct-card h2, .ct-card h3 { margin: 0; font-size: 20px; font-weight: 500; }
.ct-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ct-h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; letter-spacing: -0.025em; text-wrap: balance; }
.ct-h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.ct-eyebrow { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-sub); }
.ct-grid-main { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.ct-col-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ct-col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ct-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.ct-span-all { grid-column: 1 / -1; }
.ct-avatar { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ct-card); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #0c151e; direction: ltr; }
.ct-stack { display: flex; padding-inline-start: 8px; }
.ct-stack > * { margin-inline-start: -8px; }

/* ---------- Coast ribbon ---------- */
.ct-coast-scroll { overflow-x: auto; margin-inline: -8px; padding-inline: 8px; }
.ct-coast { position: relative; min-width: 900px; height: 158px; }
.ct-coast svg { position: absolute; top: 0; left: 0; width: 100%; height: 130px; }
html[dir="rtl"] .ct-coast svg { transform: scaleX(-1); }
.ct-station { position: absolute; transform: translate(-50%, -14px); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 130px; color: var(--ct-ink); text-decoration: none; }
.ct-station .dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--ct-card); border: 3px solid var(--ct-coast); transition: all 0.3s; }
.ct-station[aria-current="true"] .dot { width: 20px; height: 20px; background: var(--ct-lime); border-color: #0b141d; }
.ct-station[aria-current="true"] .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: var(--ct-lime); opacity: 0.6; animation: ct-ping 1.8s ease-out infinite; z-index: -1; }
.ct-station .name { font-size: 14px; white-space: nowrap; }
.ct-station[aria-current="true"] .name { font-weight: 600; }
.ct-station .count { font-size: 12px; color: var(--ct-sub); }

/* ---------- Hero ---------- */
.ct-hero { position: relative; overflow: hidden; border-radius: var(--ct-radius-lg); min-height: 340px; padding: 24px; color: #fff; background: radial-gradient(120% 140% at 88% 0%, #dceaf3 0%, #b4cfe1 40%, #537f9a 100%); }
.ct-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ct-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 29, 41, 0.62), rgba(16, 29, 41, 0.25) 45%, transparent 70%); pointer-events: none; }
html[dir="rtl"] .ct-hero-scrim { background: linear-gradient(270deg, rgba(16, 29, 41, 0.62), rgba(16, 29, 41, 0.25) 45%, transparent 70%); }
.ct-hero-body { position: relative; display: flex; gap: 20px; justify-content: space-between; min-height: 292px; }
.ct-hero h2 { margin: 0; font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; text-shadow: 0 2px 16px rgba(14, 29, 43, 0.45); }
.ct-hero .meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; text-shadow: 0 1px 10px rgba(14, 29, 43, 0.5); }
.ct-glass { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); color: #0c151e; font-size: 13px; font-weight: 500; text-decoration: none; }
.ct-live { position: relative; width: 9px; height: 9px; display: inline-block; }
.ct-live::before, .ct-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4fb58a; }
.ct-live::after { animation: ct-ping 1.8s ease-out infinite; }
.ct-creature { position: absolute; animation: ct-swim 22s ease-in-out infinite; filter: saturate(0.75) brightness(0.78) drop-shadow(0 18px 24px rgba(14, 29, 43, 0.35)); pointer-events: none; }
.ct-gauge { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.88); color: #0c151e; align-self: flex-start; font-size: 11px; }
.ct-gauge .track { position: relative; width: 10px; height: 150px; border-radius: 6px; background: rgba(12, 21, 30, 0.12); }
.ct-gauge .fill { position: absolute; inset-inline: 0; border-radius: 6px; background: linear-gradient(180deg, var(--ct-lime), #56aba2); transition: top 0.6s, height 0.6s; }

/* ---------- Stats & schedule ---------- */
.ct-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.ct-stat-val { display: flex; align-items: baseline; gap: 4px; }
.ct-stat-val b { font-size: 44px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ct-icon-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--ct-chip); display: grid; place-items: center; color: var(--ct-ink); }
.ct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; width: 100%; text-align: start; border-radius: 18px; padding: 14px 16px; background: var(--ct-chip); color: var(--ct-ink); text-decoration: none; transition: background 0.3s; }
.ct-row:hover { color: var(--ct-ink); filter: brightness(0.98); }
.ct-row[aria-current="true"] { background: var(--ct-lime); color: var(--ct-lime-ink); }
.ct-row .time { display: flex; flex-direction: column; gap: 2px; width: 70px; font-variant-numeric: tabular-nums; }
.ct-row .bar { width: 3px; height: 32px; border-radius: 3px; }
.ct-row .what { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-row .status { padding: 7px 13px; border-radius: 999px; background: var(--ct-card); font-size: 12px; font-weight: 500; }
.ct-row[aria-current="true"] .status { background: #fff; color: #0b141d; }

/* ---------- Lists inside side cards ---------- */
.ct-list-item { display: flex; align-items: center; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--ct-line); }
.ct-list-item:last-child { border-bottom: 0; }
.ct-check { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ct-line); background: transparent; color: #0b141d; display: grid; place-items: center; padding: 0; }
.ct-check[aria-pressed="true"] { background: var(--ct-lime); border-color: var(--ct-lime); }
.ct-ask { position: relative; overflow: hidden; border-radius: var(--ct-radius-lg); padding: 16px; background: var(--ct-ask); display: flex; flex-direction: column; gap: 14px; }
.ct-askbar { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 999px; background: var(--ct-card); }
.ct-askbar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ct-ink); font-size: 14px; }
.ct-circle { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; padding: 0; }

/* ---------- Deep band (exclusives) ---------- */
.ct-deep { position: relative; overflow: hidden; border-radius: 19px; padding: 30px; color: #eef1f3; background: radial-gradient(120% 90% at 85% 0%, #2c455c 0%, #0b1520 45%, #0f1622 100%); display: flex; flex-direction: column; gap: 22px; }
.ct-deep .ct-sub, .ct-deep .muted { color: #9aa6b2; }
.ct-glass-card { border-radius: 14px; padding: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ct-glass-card h3 { margin: 0; font-size: 18px; font-weight: 500; }
.ct-sonar { position: absolute; top: -160px; inset-inline-end: -160px; width: 520px; height: 520px; pointer-events: none; }
.ct-sonar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(156, 202, 210, 0.35); animation: ct-sonar 4s ease-out infinite; }
.ct-sonar span:nth-child(2) { animation-delay: 1.3s; }
.ct-sonar span:nth-child(3) { animation-delay: 2.6s; }
.ct-switch { position: relative; flex: none; width: 46px; height: 26px; border: 0; border-radius: 999px; padding: 0; background: rgba(255, 255, 255, 0.18); transition: background 0.25s; }
.ct-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: inset-inline-start 0.25s; }
.ct-switch[aria-checked="true"] { background: #4fb58a; }
.ct-switch[aria-checked="true"]::after { inset-inline-start: 23px; }

/* ---------- Command palette ---------- */
.ct-palette { position: fixed; inset: 0; z-index: 1060; display: flex; justify-content: center; align-items: flex-start; padding: 80px 16px 16px; }
.ct-palette-bg { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(2, 14, 28, 0.55); backdrop-filter: blur(6px); }
.ct-palette-box { position: relative; width: 640px; max-width: 100%; border-radius: 14px; background: var(--ct-card); color: var(--ct-ink); box-shadow: 0 40px 80px -20px rgba(0, 10, 25, 0.6); overflow: hidden; }
.ct-palette-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ct-ink); font-size: 17px; }
.ct-palette-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 14px; background: transparent; color: var(--ct-ink); text-align: start; text-decoration: none; }
.ct-palette-item[aria-selected="true"], .ct-palette-item:hover { background: var(--ct-chip); color: var(--ct-ink); }

/* ---------- Forms ---------- */
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label { font-size: 13px; color: var(--ct-sub); }
.ct-input { height: 50px; padding-inline: 16px; border-radius: 14px; border: 1.5px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); font-size: 15px; outline: none; width: 100%; }
.ct-input:focus { border-color: var(--ct-coast); }
.ct-alert { padding: 12px 16px; border-radius: 16px; font-size: 14px; }
.ct-alert-bad { background: #f3e2df; color: #77413e; }
.ct-alert-note { background: #f6f1e3; color: #59491e; }

/* ---------- Boarding pass ---------- */
.ct-pass { border-radius: 14px; background: #f4f2ee; color: #0c151e; overflow: hidden; max-width: 520px; }
.ct-pass-head { padding: 18px 20px; background: linear-gradient(135deg, #16405a, #4c9ba6); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ct-pass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 20px; }
.ct-pass-grid small { display: block; font-size: 10px; color: #5a6670; letter-spacing: 0.06em; text-transform: uppercase; }
.ct-pass-grid b { font-size: 16px; font-variant-numeric: tabular-nums; }
.ct-pass-tear { position: relative; border-top: 2px dashed #ccc6ba; margin-inline: 16px; }
.ct-pass-tear::before, .ct-pass-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ct-frame); }
.ct-pass-tear::before { inset-inline-start: -28px; }
.ct-pass-tear::after { inset-inline-end: -28px; }

@keyframes ct-wave { to { transform: translateX(-50%); } }
@keyframes ct-sway { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.38; } }
@keyframes ct-rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 12% { opacity: 0.85; } 100% { transform: translateY(-110vh) scale(1.15); opacity: 0; } }
@keyframes ct-glow { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes ct-ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ct-swim { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(8%) translateY(-10px); } }
@keyframes ct-sonar { 0% { transform: scale(0.2); opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }
@keyframes ct-sail { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes ct-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Operator portal: captain's deck ---------- */
.ct-op-badge { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font: 600 22px "IBM Plex Sans", sans-serif; color: #0c151e; direction: ltr; box-shadow: 0 10px 30px -12px rgba(16, 29, 43, 0.5); }
.ct-op-bridge { position: relative; overflow: hidden; border-radius: var(--ct-radius-lg); padding: 26px; color: #eef1f3; background: radial-gradient(120% 120% at 80% 0%, #2c455c 0%, #0b1520 50%, #0f1622 100%); min-width: 0; }
.ct-op-bridge .muted { color: #9aa6b2; }
.ct-radar { position: relative; flex: none; width: min(300px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(86, 171, 162, 0.12) 0%, rgba(11, 21, 32, 0.4) 70%); border: 1.5px solid rgba(156, 202, 210, 0.35); overflow: hidden; }
.ct-radar .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(156, 202, 210, 0.18); }
.ct-radar .r1 { inset: 16%; } .ct-radar .r2 { inset: 32%; } .ct-radar .r3 { inset: 46%; }
.ct-radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(205, 176, 122, 0.35), rgba(205, 176, 122, 0) 60deg, transparent 360deg); animation: ct-spin 6s linear infinite; }
.ct-radar .hour { position: absolute; left: 50%; top: 50%; font: 10px var(--ct-mono); color: rgba(238, 241, 243, 0.55); transform: rotate(var(--a)) translateY(-138%) rotate(calc(-1 * var(--a))) translate(-50%, -50%); transform-origin: 0 0; }
.ct-radar .blip { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ct-lime); box-shadow: 0 0 0 0 rgba(205, 176, 122, 0.6); animation: ct-blip 2.4s ease-out infinite; }
.ct-radar .blip.off { background: #c2474b !important; animation: none; opacity: 0.6; }
.ct-radar-lg { width: min(420px, 80vw); }
.ct-op-dep { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.06); color: #eef1f3; text-align: start; font-size: 14px; }
.ct-op-dep[aria-pressed="true"] { background: rgba(205, 176, 122, 0.16); border-color: rgba(205, 176, 122, 0.5); }
.ct-op-dep .dot, .ct-tide .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; margin-inline-end: 8px; }
.ct-op-gauge { display: block; height: 6px; border-radius: 6px; background: var(--ct-chip); overflow: hidden; }
.ct-op-gauge span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #56aba2, var(--ct-lime)); }
.ct-tide { border-collapse: separate; border-spacing: 6px; min-width: 900px; width: 100%; }
.ct-tide thead th { text-align: center; font-weight: 400; color: var(--ct-sub); }
.ct-tide thead th small, .ct-tide thead th b { display: block; }
.ct-tide thead th b { color: var(--ct-ink); font-weight: 500; }
.ct-tide tbody th { font-weight: 500; font-size: 14px; white-space: nowrap; padding-inline-end: 10px; }
.ct-tide .cell { width: 100%; min-width: 44px; height: 44px; border: 0; border-radius: 12px; font: 600 13px var(--ct-mono); transition: transform 0.15s; }
.ct-tide .cell:hover { transform: translateY(-2px); }
.ct-tide .cell[aria-pressed="true"] { outline: 3px solid var(--ct-ink); outline-offset: 2px; }
.ct-tide .cell.closed { background: repeating-linear-gradient(135deg, #f3e2df 0 6px, #e5c8c6 6px 12px); color: #77413e; }
.ct-toast { position: fixed; z-index: 1070; inset-inline-end: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); max-width: min(420px, calc(100vw - 40px)); padding: 14px 18px; border-radius: 16px; background: #0c151e; color: #e1efcf; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5); animation: ct-rise-in 0.3s ease-out; }
.ct-toast.bad { background: #77413e; color: #fff; }
.ct-op-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 24px; align-items: center; }
.ct-op-login-art { position: relative; display: grid; place-items: center; min-height: 420px; border-radius: var(--ct-radius-lg); background: radial-gradient(120% 120% at 70% 10%, #2c455c, #0f1622); overflow: hidden; }
.ct-op-login-art .ct-helm { position: absolute; width: 120px; color: rgba(205, 176, 122, 0.85); animation: ct-spin 30s linear infinite; }
.ct-op-login-form { gap: 16px; padding: 30px; }
@media (max-width: 860px) { .ct-op-login { grid-template-columns: 1fr; } .ct-op-login-art { min-height: 260px; } }
@keyframes ct-spin { to { transform: rotate(360deg); } }
@keyframes ct-blip { 0% { box-shadow: 0 0 0 0 rgba(205, 176, 122, 0.6); } 100% { box-shadow: 0 0 0 16px rgba(205, 176, 122, 0); } }
@keyframes ct-rise-in { from { transform: translateY(12px); opacity: 0; } }

/* Print the passenger manifest only. */
@media print {
  .ct-backdrop, .ct-chrome, header.ct-header, footer, .d-print-none, .ct-op-bridge, .ct-toast { display: none !important; }
  body.ct-body, .ct-frame, .ct-frame-rim { background: #fff !important; box-shadow: none !important; padding: 0 !important; }
}

/* ---------- Live boat tracking ---------- */
.ct-narrow { max-width: 640px; margin-inline: auto; width: 100%; }
.ct-map { position: relative; overflow: hidden; border-radius: 22px; background: #b0c7cd; touch-action: pan-y; isolation: isolate; }
.ct-map img { max-width: none; user-select: none; pointer-events: none; }
.ct-map-layer { position: absolute; inset: 0; overflow: visible; }
.ct-map-label { font: 600 12px/1 var(--ct-font, system-ui); fill: #0c151e; paint-order: stroke; stroke: #ffffff; stroke-width: 4px; }
.ct-map-ping { animation: ct-map-ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ct-map-ping { from { transform: scale(.6); opacity: .9 } to { transform: scale(1.8); opacity: 0 } }
.ct-map-zoom { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.ct-map-zoom button { width: 40px; height: 40px; border: 0; background: #ffffff; color: #0c151e; font-size: 20px; line-height: 1; cursor: pointer; }
.ct-map-zoom button + button { border-top: 1px solid #e6e2d9; }
.ct-map-attr { position: absolute; bottom: 0; right: 0; padding: 2px 8px; font-size: 11px; background: rgba(255,255,255,.8); color: #3d4744; border-top-left-radius: 8px; }
.ct-track { display: flex; flex-direction: column; gap: 14px; }
.ct-track-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ct-track-stats > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--ct-chip); }
.ct-track-stats small { color: var(--ct-sub, #5a6670); font-size: 12px; }
.ct-track-stats b { font-size: 18px; font-weight: 500; }
.ct-track-stats i { font-style: normal; font-size: 12px; opacity: .7; }
.ct-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3f9b72; box-shadow: 0 0 0 0 rgba(63, 155, 114,.6); animation: ct-live 1.6s ease-out infinite; flex: none; }
@keyframes ct-live { to { box-shadow: 0 0 0 12px rgba(63, 155, 114,0) } }
.ct-captain { display: flex; flex-direction: column; gap: 14px; }
.ct-captain-status { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--ct-chip); font-size: 18px; }
.ct-captain-status:not(.on) .ct-live-dot { background: #9aa5a1; animation: none; }
.ct-captain-status.on { background: #e3eee7; color: #2d5540; }
[data-bs-theme="dark"] .ct-captain-status.on { background: #1f392d; color: #bcddcb; }
.ct-track-opened { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #e8efcf, #ffffff); border: 1.5px solid #abbc64; }
[data-bs-theme="dark"] .ct-track-opened { background: linear-gradient(135deg, #2C341F, #111a24); border-color: #536321; }
@media (prefers-reduced-motion: reduce) { .ct-map-ping, .ct-live-dot { animation: none; } }
.ct-skeleton { background: linear-gradient(90deg, var(--ct-chip) 0%, var(--ct-card, #fff) 50%, var(--ct-chip) 100%); background-size: 200% 100%; animation: ct-shimmer 1.4s linear infinite; }
@keyframes ct-shimmer { to { background-position: -200% 0 } }

/* ---------- Sign in / account ---------- */
.ct-link { background: none; border: 0; padding: 0; color: var(--ct-ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ct-field { font-size: 13px; color: var(--ct-sub); }
.ct-field .ct-input { color: var(--ct-ink); font-size: 15px; }
.ct-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; border-radius: 19px; overflow: hidden; background: var(--ct-card); box-shadow: 0 40px 90px -40px rgba(16, 29, 43, .55); min-height: 640px; }
.ct-auth-visual { --tx: 0; --ty: 0; position: relative; isolation: isolate; overflow: hidden; color: #f2f0eb; background: radial-gradient(90% 60% at 50% -8%, #82bdcc 0%, #3a7a96 22%, #16405a 52%, #0a2233 78%, #101C27 100%); padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.ct-auth-sonar { position: absolute; inset-inline-end: -120px; top: -120px; width: 520px; height: 520px; }
.ct-auth-sonar span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(205, 176, 122, .45); animation: ct-sonar 4.5s ease-out infinite; }
.ct-auth-sonar span:nth-child(2) { animation-delay: -1.5s; }
.ct-auth-sonar span:nth-child(3) { animation-delay: -3s; }
@keyframes ct-sonar { from { transform: scale(.15); opacity: .9 } to { transform: scale(1); opacity: 0 } }
.ct-auth-bubbles i { position: absolute; bottom: -24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: ct-rise 9s linear infinite; }
@keyframes ct-rise { 0% { transform: translateY(0); opacity: 0 } 12% { opacity: .8 } 100% { transform: translateY(-760px); opacity: 0 } }
.ct-auth-copy { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 46ch; }
.ct-auth-brand { font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.ct-auth-brand span { font-family: IBM Plex Sans, system-ui, sans-serif; font-size: 18px; font-weight: 500; opacity: .7; margin-inline-start: 6px; }
.ct-auth-copy h2 { margin: 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.ct-auth-copy p { margin: 0; opacity: .88; line-height: 1.6; font-size: 16px; }
.ct-auth-copy ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ct-auth-copy li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ct-auth-copy li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: #CDB07A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2310202a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ct-auth-card { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; justify-content: center; max-width: 520px; width: 100%; margin-inline: auto; }
.ct-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ct-chip); }
.ct-auth-tabs button { height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ct-sub); font: 500 15px/1 inherit; cursor: pointer; }
.ct-auth-tabs button[aria-selected="true"] { background: var(--ct-card); color: var(--ct-ink); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .25); }
.ct-auth-google { display: flex; align-items: center; justify-content: center; gap: 12px; height: 54px; border-radius: 999px; border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); font: 600 15px/1 inherit; cursor: pointer; transition: border-color .2s, transform .15s; }
.ct-auth-google:hover { border-color: var(--ct-ink); }
.ct-auth-google:active { transform: scale(.99); }
.ct-auth-or { display: flex; align-items: center; gap: 12px; color: var(--ct-sub); font-size: 13px; }
.ct-auth-or::before, .ct-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--ct-line); }
.ct-auth-pass { position: relative; display: block; }
/* The password box is always LTR, so the eye sits on its physical right in both languages (it used to cover the typed dots in Arabic). */
.ct-auth-pass .ct-input { width: 100%; padding-right: 58px; }
.ct-auth-pass button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ct-sub); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.ct-auth-pass button:hover, .ct-auth-pass button[aria-pressed="true"] { background: var(--ct-chip); color: var(--ct-ink); }
.ct-auth-pass button:focus-visible { outline: 2px solid var(--ct-coast); outline-offset: 1px; }
.ct-auth-meter { display: flex; align-items: center; gap: 10px; }
.ct-auth-meter span { flex: 1; height: 6px; border-radius: 6px; background: var(--ct-chip); position: relative; overflow: hidden; }
.ct-auth-meter span::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 6px; transition: width .3s, background .3s; width: 12%; background: #c2474b; }
[dir="rtl"] .ct-auth-meter span::after { inset: 0 0 0 auto; }
.ct-auth-meter span[data-s="1"]::after { width: 40%; background: #c79a48; }
.ct-auth-meter span[data-s="2"]::after { width: 72%; background: #4c9ba6; }
.ct-auth-meter span[data-s="3"]::after { width: 100%; background: #3f9b72; }
.ct-auth-meter small { min-width: 70px; color: var(--ct-sub); }
.ct-account-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: radial-gradient(120% 120% at 90% 0%, #dce4e9, var(--ct-card) 60%); }
[data-bs-theme="dark"] .ct-account-hero { background: radial-gradient(120% 120% at 90% 0%, #1a2b3b, var(--ct-card) 60%); }
.ct-account-avatar { width: 64px; height: 64px; border-radius: 22px; flex: none; display: grid; place-items: center; background: #CDB07A; color: #0c151e; font-size: 22px; font-weight: 600; object-fit: cover; }
.ct-account-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ct-account-stats span { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 18px; background: var(--ct-card); }
.ct-account-stats b { font-size: 26px; font-weight: 500; }
.ct-account-stats small { color: var(--ct-sub); }
.ct-account-trip { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--ct-chip); }
@media (max-width: 900px) {
  .ct-auth { grid-template-columns: minmax(0, 1fr); }
  .ct-auth-visual { min-height: 260px; }
  .ct-auth-copy ul { display: none; }
  .ct-account-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ct-auth-sonar span, .ct-auth-bubbles i { animation: none; } }

/* Policies page */
.ct-policy-toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ct-policy-toc a { text-decoration: none; }
.ct-policy-toc a:hover { color: var(--ct-ink); }
.ct-policy { scroll-margin-top: 16px; }
.ct-policy-table { overflow-x: auto; border: 1px solid var(--ct-line); border-radius: 14px; }
.ct-policy-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ct-policy-table th, .ct-policy-table td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--ct-line); vertical-align: top; }
.ct-policy-table tbody tr:last-child > * { border-bottom: 0; }
.ct-policy-table thead th { font-weight: 600; background: var(--ct-chip); }
.ct-policy-table tbody th { font-weight: 500; }
@media (max-width: 991px) { .ct-policy-toc { position: static; } }

/* Sea and weather */
.ct-sea-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ct-sea-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ct-sub); }
.ct-sea-live i { width: 9px; height: 9px; border-radius: 50%; background: #3f9b72; animation: ct-sea-pulse 1.8s ease-out infinite; }
@keyframes ct-sea-pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 155, 114, .55); } 100% { box-shadow: 0 0 0 10px rgba(63, 155, 114, 0); } }
.ct-sea-regions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.ct-sea-region { scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 18px; border: 1.5px solid transparent; background: var(--ct-card); color: var(--ct-ink); text-align: start; cursor: pointer; }
.ct-sea-region i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.ct-sea-region b { font-weight: 500; font-size: 14.5px; }
.ct-sea-region small { color: var(--ct-sub); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ct-sea-region[aria-pressed="true"] { border-color: var(--ct-ink); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .5); }
.ct-sea-hero { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.6fr); gap: 16px; }
.ct-sea-hero[aria-busy="true"] { opacity: .6; transition: opacity .2s; }
.ct-sea-verdict { justify-content: space-between; }
.ct-sea-verdict-word { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.ct-sea-tag { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 12.5px; font-weight: 500; }
.ct-sea-window { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .5); }
.ct-sea-sky { font-size: 44px; line-height: 1; }
.ct-sea-big { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.ct-sea-tidechip { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: var(--ct-chip); }
.ct-sea-tidechip b { font-size: 20px; font-weight: 500; }
.ct-sea-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ct-sea-metric { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: var(--ct-chip); min-width: 0; }
.ct-sea-metric b { font-size: 21px; font-weight: 500; line-height: 1.1; }
.ct-sea-metric small { line-height: 1.3; }
.ct-sea-tidechart { width: 100%; height: auto; display: block; }
.ct-sea-tidelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.ct-sea-tide { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--ct-chip); }
.ct-sea-tide.high small:first-child { color: #16405a; font-weight: 600; }
.ct-sea-tide.low small:first-child { color: #3a7a96; font-weight: 600; }
.ct-sea-tide b { font-size: 19px; font-weight: 500; }
.ct-sea-hours { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.ct-sea-hour { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 16px; background: var(--ct-chip); border: 1.5px solid transparent; }
.ct-sea-daymark { position: absolute; top: -2px; inset-inline-start: 6px; font-size: 10px; font-weight: 600; color: var(--ct-ink); }
.ct-sea-bar { width: 8px; height: 36px; border-radius: 6px; background: var(--ct-line); display: flex; align-items: flex-end; overflow: hidden; }
.ct-sea-bar i { width: 100%; display: block; border-radius: 6px; }
.ct-sea-day { display: grid; grid-template-columns: minmax(130px, 1.2fr) 90px minmax(110px, 1fr) minmax(150px, 1.2fr) minmax(120px, 1fr) 110px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ct-line); }
.ct-sea-day:first-child { border-top: 0; }
.ct-sea-daytides { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.ct-sea-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ct-sea-sun { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ct-sea-sun > span { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: var(--ct-chip); }
.ct-sea-sun b { font-size: 18px; font-weight: 500; }
@media (max-width: 1100px) { .ct-sea-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ct-sea-day { grid-template-columns: minmax(120px, 1fr) 80px minmax(100px, 1fr) minmax(120px, 1fr); } .ct-sea-day > :nth-child(5) { display: none; } }
@media (max-width: 860px) { .ct-sea-hero, .ct-sea-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ct-sea-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-sea-day { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .ct-sea-day > :nth-child(3), .ct-sea-day > :nth-child(4) { grid-column: 1 / -1; }
  .ct-sea-sun { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-sea-sun > span:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .ct-sea-live i { animation: none; } }
.ct-sea-chart-narrow { display: none; }
@media (max-width: 640px) { .ct-sea-chart-wide { display: none; } .ct-sea-chart-narrow { display: block; } }

/* Boarding pass: QR and Add-to-Wallet buttons */
.ct-walletpass { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; }
.ct-walletpass-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ct-walletpass-qr svg { width: 168px; height: 168px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #dde4e1; }
.ct-walletpass-qr span { font-size: 14px; letter-spacing: .1em; color: #0c151e; }
.ct-walletbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-walletbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid #0c151e; background: #0c151e; color: #fff; font: 600 13.5px/1.2 inherit; cursor: pointer; }
.ct-walletbtn-google { background: #fff; color: #0c151e; }
.ct-walletbtn-huawei { background: #16405a; border-color: #16405a; }
.ct-walletbtn:disabled { opacity: .6; cursor: progress; }
.ct-walletbtn:focus-visible { outline: 3px solid #3a7a96; outline-offset: 2px; }
.ct-alert-ok { background: #e3eee7; color: #2d5540; }
@media (max-width: 520px) { .ct-walletpass { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .ct-walletbtns { justify-content: center; } .ct-walletbtn { flex: 1 1 100%; justify-content: center; } }

/* Boarding pass card (same design as the demo's pass) */
.ct-bpass { position: relative; border-radius: 14px; background: #f4f2ee; color: #0c151e; overflow: hidden; max-width: 560px; width: 100%; box-shadow: 0 18px 40px -26px rgba(16, 29, 43, .55); }
.ct-bpass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: linear-gradient(135deg, #16405a, #4c9ba6); color: #fff; }
.ct-bpass-head small { font-size: 12px; opacity: .82; }
.ct-bpass-head b { font-size: 21px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ct-bpass-ref { font-family: var(--ct-mono, "IBM Plex Mono", ui-monospace, monospace); font-size: 15px; letter-spacing: .06em; direction: ltr; unicode-bidi: isolate; flex: none; }
.ct-bpass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; padding: 18px 22px; }
.ct-bpass-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-bpass-field small { font-size: 12px; color: #5a6670; letter-spacing: .06em; }
.ct-bpass-field b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: start; }
.ct-bpass-tear { position: relative; height: 0; border-top: 2px dashed #ccc6ba; margin-inline: 18px; }
.ct-bpass-tear::before, .ct-bpass-tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ct-card); }
.ct-bpass-tear::before { inset-inline-start: -31px; }
.ct-bpass-tear::after { inset-inline-end: -31px; }
.ct-bpass-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px 18px; }
.ct-bpass-foot p { font-size: 14px; line-height: 1.6; color: #3d4744; }
.ct-bpass-qr { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; line-height: 0; direction: ltr; }
.ct-bpass-qr:focus-visible { outline: 3px solid #3a7a96; outline-offset: 3px; }
.ct-bpass-noqr { font-size: 22px; letter-spacing: .12em; color: #0c151e; }
.ct-bpass-zoom { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(16, 25, 36, .78); padding: 16px; }
.ct-bpass-zoom > div { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px; border-radius: 14px; background: #f4f2ee; max-width: 100%; }
.ct-bpass-zoom svg { width: min(300px, 78vw); height: auto; direction: ltr; }
@media (max-width: 480px) {
  .ct-bpass-head { padding: 16px 18px; } .ct-bpass-grid { padding: 16px 18px; } .ct-bpass-foot { padding: 14px 18px 16px; }
  .ct-bpass-head b { font-size: 18px; } .ct-bpass-field b { font-size: 17px; }
}
@media (max-width: 480px) { .ct-bpass-noqr { font-size: 16px; letter-spacing: .08em; } }
[data-bs-theme="dark"] .ct-walletbtn-apple { border-color: rgba(255, 255, 255, .35); }

/* Brand mark (Lujja emblem) */
.ct-logo-img { background: #fff; object-fit: contain; padding: 3px; box-shadow: 0 6px 18px -8px rgba(16, 29, 43, .5); }
.ct-chrome-mark { width: 40px; height: auto; border-radius: 50%; background: #fff; padding: 2px; }

/* ---- Sign-in visual: the Lujja logo in an underwater scene ---- */
.ct-auth-rays { position: absolute; inset: -10% 0 30%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.ct-auth-rays i { position: absolute; top: -20%; width: 14%; height: 120%; background: linear-gradient(180deg, rgba(195, 229, 235, .42), rgba(195, 229, 235, 0) 80%); filter: blur(10px); transform-origin: 50% 0; animation: ct-ray 9s ease-in-out infinite alternate; }
.ct-auth-rays i:nth-child(1) { left: 8%; transform: rotate(14deg); animation-delay: -1s; }
.ct-auth-rays i:nth-child(2) { left: 28%; width: 9%; transform: rotate(6deg); animation-delay: -4s; opacity: .7; }
.ct-auth-rays i:nth-child(3) { left: 48%; width: 18%; transform: rotate(-2deg); animation-delay: -2.5s; }
.ct-auth-rays i:nth-child(4) { left: 70%; width: 10%; transform: rotate(-9deg); animation-delay: -6s; opacity: .8; }
.ct-auth-rays i:nth-child(5) { left: 86%; width: 7%; transform: rotate(-15deg); animation-delay: -3s; opacity: .6; }
@keyframes ct-ray { 0% { opacity: .35; translate: -14px 0; } 100% { opacity: 1; translate: 14px 0; } }
.ct-auth-caustics { position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: soft-light;
  background:
    radial-gradient(14% 9% at 20% 30%, #fff 0 30%, transparent 70%), radial-gradient(10% 7% at 70% 22%, #fff 0 30%, transparent 70%),
    radial-gradient(12% 8% at 46% 60%, #fff 0 30%, transparent 70%), radial-gradient(9% 6% at 82% 70%, #fff 0 30%, transparent 70%),
    radial-gradient(11% 7% at 14% 78%, #fff 0 30%, transparent 70%);
  filter: blur(6px); animation: ct-caustic 14s ease-in-out infinite alternate; }
@keyframes ct-caustic { 0% { transform: translate(-3%, -2%) scale(1); } 50% { transform: translate(2%, 3%) scale(1.08) rotate(3deg); } 100% { transform: translate(4%, -3%) scale(1.02) rotate(-2deg); } }
.ct-auth-sonar span { border-color: rgba(205, 176, 122, .32); }
.ct-auth-depth { position: absolute; inset-block: 9% 36%; inset-inline-start: 14px; width: 30px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; font: 500 10px/1 IBM Plex Sans, system-ui, sans-serif; color: rgba(242, 240, 235, .55); z-index: 0; }
.ct-auth-depth span { direction: ltr; unicode-bidi: isolate; }
.ct-auth-depth::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: -6px; width: 1px; background: linear-gradient(rgba(242, 240, 235, .05), rgba(242, 240, 235, .45), rgba(242, 240, 235, .05)); }
.ct-auth-depth b { position: absolute; inset-inline-start: -10px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: #CDB07A; box-shadow: 0 0 12px #CDB07A; animation: ct-depth 16s ease-in-out infinite alternate; }
@keyframes ct-depth { from { top: 4%; } to { top: 92%; } }
.ct-auth-stage { position: relative; z-index: 1; display: grid; place-items: center; flex: 1; perspective: 900px; padding-top: 8px; }
.ct-auth-logo { position: relative; width: min(340px, 64%); transform: rotateY(calc(var(--tx) * 14deg)) rotateX(calc(var(--ty) * -12deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); animation: ct-bob 7s ease-in-out infinite; transform-style: preserve-3d; }
.ct-auth-plate { position: relative; isolation: isolate; display: block; overflow: hidden; padding: clamp(12px, 1.5vw, 20px); border-radius: 18px; background: linear-gradient(160deg, #ffffff 0%, #f6fbfd 55%, #e1ebf0 100%); box-shadow: 0 34px 60px -20px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .1), 0 0 60px rgba(130, 189, 204, .38); }
.ct-auth-plate::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2.5px; background: linear-gradient(140deg, #e6d39e, #ffffff 30%, #97cbd9 65%, #3f688d); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.ct-auth-plate picture, .ct-auth-plate img { display: block; width: 100%; height: auto; border-radius: 22px; }
.ct-auth-gloss { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) 0 0 / 300% 100% no-repeat, radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, .55), transparent 55%); mix-blend-mode: screen; animation: ct-gloss 6s ease-in-out infinite; }
@keyframes ct-gloss { 0%, 55% { background-position: 120% 0, 0 0; } 90%, 100% { background-position: -40% 0, 0 0; } }
@keyframes ct-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.ct-auth-halo { position: absolute; inset: -6% -10% 18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 182, 127, .55), rgba(205, 162, 105, .18) 45%, transparent 70%), radial-gradient(closest-side at 50% 70%, rgba(119, 192, 210, .45), transparent 70%); filter: blur(18px); animation: ct-halo 6s ease-in-out infinite alternate; }
@keyframes ct-halo { from { opacity: .7; scale: .96; } to { opacity: 1; scale: 1.05; } }
/* the shine: a light band that sweeps across the logo only (masked by the logo itself) */
.ct-auth-spark { position: absolute; z-index: -1; width: 10px; height: 10px; pointer-events: none; animation: ct-spark 3.2s ease-in-out infinite; }
.ct-auth-spark::before, .ct-auth-spark::after { content: ""; position: absolute; inset: 0; margin: auto; background: #fff; border-radius: 2px; box-shadow: 0 0 10px #fff, 0 0 18px #e5d7b0; }
.ct-auth-spark::before { width: 2px; height: 100%; } .ct-auth-spark::after { width: 100%; height: 2px; }
@keyframes ct-spark { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; } }
.ct-auth-copy { z-index: 1; }
.ct-auth-copy h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.ct-auth-copy ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.ct-auth-copy li { padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font-size: 13.5px; }
.ct-auth-copy li::before { width: 18px; height: 18px; background-size: 12px; }
.ct-auth-waves { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 46px; z-index: 0; pointer-events: none; }
.ct-auth-waves path { fill: rgba(130, 189, 204, .1); animation: ct-wavex 9s linear infinite; }
.ct-auth-waves path + path { fill: rgba(205, 176, 122, .06); animation-duration: 13s; animation-direction: reverse; }
@keyframes ct-wavex { from { transform: translateX(0); } to { transform: translateX(-75px); } }
@media (max-width: 900px) { .ct-auth-logo { width: min(230px, 60%); } .ct-auth-plate { border-radius: 14px; } .ct-auth-plate img { border-radius: 16px; } .ct-auth-visual { min-height: 0; } .ct-auth-depth { display: none; } .ct-auth-copy h2 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) {
  .ct-auth-rays i, .ct-auth-caustics, .ct-auth-depth b, .ct-auth-logo, .ct-auth-halo, .ct-auth-spark, .ct-auth-gloss, .ct-auth-waves path { animation: none !important; }
  .ct-auth-spark { display: none; }
  .ct-auth-logo { transform: none; }
}

/* ================= Revenue observatory ================= */
.rv { --rv-s1: #557cab; --rv-s2: #bc7a60; --rv-s3: #418d72; --rv-glass: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 18px; }
[data-bs-theme="dark"] .rv { --rv-s1: #628ab9; --rv-s2: #ac6c53; --rv-s3: #3c8169; }
.rv-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--ct-radius-xl); padding: clamp(20px, 3vw, 40px); color: #e2ecf1;
  background: radial-gradient(120% 90% at 85% -20%, rgba(130, 189, 204, .45), transparent 55%), linear-gradient(180deg, #315b74 0%, #244257 45%, #1a3040 75%, #101C27 100%); }
.rv-hero::before { content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .22; mix-blend-mode: soft-light; pointer-events: none;
  background: radial-gradient(10% 6% at 20% 30%, #fff, transparent 70%), radial-gradient(8% 5% at 70% 20%, #fff, transparent 70%), radial-gradient(12% 7% at 45% 70%, #fff, transparent 70%), radial-gradient(9% 6% at 85% 65%, #fff, transparent 70%);
  filter: blur(8px); animation: rv-caustic 16s ease-in-out infinite alternate; }
@keyframes rv-caustic { from { transform: translate(-3%, -2%) rotate(0); } to { transform: translate(3%, 2%) rotate(4deg); } }
.rv-hero-copy { max-width: 70ch; display: flex; flex-direction: column; gap: 8px; }
.rv-eyebrow { font: 600 12px/1 var(--ct-font); letter-spacing: .14em; text-transform: uppercase; color: #add7e4; }
.rv-hero h1 { margin: 0; font-size: clamp(34px, 4.6vw, 58px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.rv-hero p { margin: 0; opacity: .86; line-height: 1.65; }
.rv-depths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.rv-depth { position: relative; text-align: start; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .16); color: #e2ecf1; cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; min-width: 0; }
.rv-depth.d0 { background: linear-gradient(180deg, rgba(151, 203, 217, .35), rgba(58, 122, 150, .25)); }
.rv-depth.d1 { background: linear-gradient(180deg, rgba(58, 122, 150, .45), rgba(22, 64, 90, .45)); }
.rv-depth.d2 { background: linear-gradient(180deg, rgba(22, 64, 90, .7), rgba(10, 34, 51, .8)); }
.rv-depth.d3 { background: linear-gradient(180deg, rgba(23, 38, 52, .9), rgba(2, 8, 18, .95)); }
.rv-depth:hover:not(.locked) { transform: translateY(-3px); border-color: rgba(255, 255, 255, .4); }
.rv-depth.on { border-color: var(--ct-lime); box-shadow: 0 0 0 2px var(--ct-lime), 0 14px 34px -12px rgba(205, 176, 122, .55); }
.rv-depth.locked { cursor: not-allowed; opacity: .55; }
.rv-depth:focus-visible { outline: 3px solid var(--ct-lime); outline-offset: 2px; }
.rv-depth-m { font: 500 11px/1 var(--ct-mono); color: #add7e4; }
.rv-depth b { font-size: 20px; font-weight: 600; }
.rv-depth-who { font-size: 13px; font-weight: 500; }
.rv-depth small { font-size: 12px; opacity: .75; line-height: 1.45; }
.rv-depth.on .rv-depth-who::before { content: "● "; color: var(--ct-lime); }
.rv-lock { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; font-size: 14px; }
.rv-signin { margin-top: 16px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ct-card); align-self: flex-start; border: 1px solid var(--ct-line); }
.rv-toolbar > span:first-child { padding-inline: 10px 4px; font-size: 13px; color: var(--ct-sub); }
.rv-toolbar button { border: 0; border-radius: 999px; padding: 8px 14px; background: transparent; color: var(--ct-ink); font-size: 14px; }
.rv-toolbar button.on { background: var(--ct-btn); color: var(--ct-btn-ink); }
.rv-range { padding-inline: 8px 12px; font: 500 12px/1 var(--ct-mono); color: var(--ct-sub); }
.rv-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rv-kpi { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 22px; background: var(--ct-card); border: 1px solid var(--ct-line); min-width: 0; }
.rv-kpi.hero { grid-column: span 2; grid-row: span 2; justify-content: center; color: #e2ecf1; border: 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #315b74, #0a2233 70%); box-shadow: 0 18px 40px -20px rgba(10, 34, 51, .8); }
.rv-kpi.hero::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: -10%; width: 55%; background: radial-gradient(closest-side, rgba(130, 189, 204, .28), transparent); pointer-events: none; }
.rv-kpi-label { font-size: 13px; color: var(--ct-sub); }
.rv-kpi.hero .rv-kpi-label, .rv-kpi.hero .rv-kpi-note { color: #bed9e1; }
.rv-kpi-value { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rv-kpi.hero .rv-kpi-value { font-size: clamp(30px, 3.6vw, 44px); }
.rv-kpi-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; }
.rv-kpi-note { color: var(--ct-sub); }
.rv-delta { display: inline-flex; gap: 3px; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--ct-chip); color: var(--ct-sub); font-weight: 500; }
.rv-delta.up { background: #ddece3; color: #2d5540; } .rv-delta.down { background: #f4e7e5; color: #7f3e3e; }
[data-bs-theme="dark"] .rv-delta.up { background: #1f392d; color: #bcddcb; } [data-bs-theme="dark"] .rv-delta.down { background: #452727; color: #edcaca; }
.rv-kpi.hero .rv-delta { background: rgba(255, 255, 255, .14); color: #fff; }
.rv-row { display: grid; gap: 14px; }
.rv-row.two { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rv-row.two-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rv-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-card { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 14px; padding: 18px 20px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rv-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rv-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.rv-sub { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--ct-sub); }
.rv-empty { margin: 0; color: var(--ct-sub); padding: 18px 0; text-align: center; }
.rv-note { margin: 0; font-size: 12.5px; color: var(--ct-sub); line-height: 1.55; }
/* tide chart */
.rv-tide { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-tide-plot { position: relative; padding-inline-start: 0; touch-action: pan-y; cursor: crosshair; }
.rv-tide-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rv-grid { position: absolute; inset-inline: 0; border-top: 1px dashed var(--ct-line); pointer-events: none; }
.rv-grid i { position: absolute; left: 0; top: -16px; font: 500 10.5px/1 var(--ct-mono); color: var(--ct-sub); font-style: normal; }
.rv-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ct-sub); opacity: .5; pointer-events: none; }
.rv-dot { position: absolute; width: 11px; height: 11px; margin: 0 0 -5.5px -5.5px; border-radius: 50%; background: var(--rv-s1); box-shadow: 0 0 0 2px var(--ct-card); pointer-events: none; }
.rv-tip { position: absolute; top: 6px; transform: translateX(10px); min-width: 140px; padding: 8px 10px; border-radius: 12px; background: var(--ct-btn); color: var(--ct-btn-ink); font-size: 12px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); z-index: 2; }
.rv-tip.flip { transform: translateX(calc(-100% - 10px)); }
.rv-tip b { font-size: 15px; }
.rv-tip small { opacity: .75; }
.rv-axis { position: relative; height: 16px; font: 500 10.5px/1 var(--ct-mono); color: var(--ct-sub); }
.rv-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.rv-axis span:first-child { transform: none; } .rv-axis span:last-child { transform: translateX(-100%); }
.rv-tide figcaption { font-size: 12px; color: var(--ct-sub); }
/* bars */
.rv-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rv-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13.5px; }
.rv-bars-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-bars-val { font-variant-numeric: tabular-nums; font-weight: 600; }
.rv-bars-val small { color: var(--ct-sub); font-weight: 400; margin-inline-start: 4px; }
.rv-bars-track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--ct-chip); overflow: hidden; }
.rv-bars-track i { display: block; height: 100%; border-radius: 999px; background: var(--rv-s1); transition: inline-size .6s cubic-bezier(.2, .8, .2, 1); }
.rv-bars-note { grid-column: 1 / -1; color: var(--ct-sub); }
/* week */
.rv-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 130px; }
.rv-week-col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.rv-week-bar { flex: 1; width: 100%; max-width: 30px; display: flex; align-items: flex-end; }
.rv-week-bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--rv-s1); opacity: .55; }
.rv-week-bar i.peak { opacity: 1; }
.rv-week-col small { font-size: 10.5px; color: var(--ct-sub); white-space: nowrap; }
/* flow */
.rv-flow { display: flex; flex-direction: column; gap: 14px; }
.rv-flow-bar { display: flex; gap: 2px; height: 22px; border-radius: 8px; overflow: hidden; }
.rv-flow-bar i { display: block; min-width: 3px; }
.rv-flow-bar .s1, .rv-legend .s1 { background: var(--rv-s1); } .rv-flow-bar .s2, .rv-legend .s2 { background: var(--rv-s2); } .rv-flow-bar .s3, .rv-legend .s3 { background: var(--rv-s3); }
.rv-flow-bar .none { background: var(--ct-chip); }
.rv-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.rv-legend li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 8px; align-items: center; }
.rv-legend .sw { width: 12px; height: 12px; border-radius: 4px; }
.rv-legend b { font-variant-numeric: tabular-nums; } .rv-legend small { color: var(--ct-sub); min-width: 3.5ch; text-align: end; }
.rv-occ { display: flex; align-items: center; gap: 14px; padding-top: 8px; border-top: 1px dashed var(--ct-line); font-size: 14px; }
.rv-ring { position: relative; width: 92px; height: 92px; flex: none; }
.rv-ring svg { width: 100%; height: 100%; }
.rv-ring circle { fill: none; stroke-width: 10; } .rv-ring .track { stroke: var(--ct-chip); } .rv-ring .val { stroke: var(--rv-s1); stroke-linecap: round; transition: stroke-dasharray .8s; }
.rv-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.rv-ring b small { font-size: 12px; }
/* tables */
.rv-table-wrap { overflow-x: auto; border-radius: 14px; }
.rv-table-wrap:focus-visible { outline: 2px solid var(--rv-s1); }
.rv-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rv-table th { text-align: start; font-weight: 500; color: var(--ct-sub); padding: 8px 10px; border-bottom: 1px solid var(--ct-line); white-space: nowrap; }
.rv-table td { padding: 10px; border-bottom: 1px solid var(--ct-line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rv-table tr:last-child td { border-bottom: 0; }
.rv-table code { font: 500 12px var(--ct-mono); color: var(--ct-ink); }
.rv-league .wide { min-width: 160px; }
.rv-share { display: inline-block; width: 100px; height: 6px; border-radius: 999px; background: var(--ct-chip); overflow: hidden; vertical-align: middle; margin-inline-end: 8px; }
.rv-share i { display: block; height: 100%; background: var(--rv-s1); border-radius: 999px; }
.rv-rank { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ct-chip); font-size: 11px; font-weight: 600; margin-inline-end: 6px; }
.rv-status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; background: var(--ct-chip); color: var(--ct-sub); }
.rv-status.confirmed { background: #ddece3; color: #2d5540; } .rv-status.cancelled { background: #f4e7e5; color: #7f3e3e; }
.rv-status.reserved, .rv-status.pending_payment, .rv-status.pending_approval { background: #f2ead8; color: #634a21; }
[data-bs-theme="dark"] .rv-status.confirmed { background: #1f392d; color: #bcddcb; } [data-bs-theme="dark"] .rv-status.cancelled { background: #452727; color: #edcaca; }
[data-bs-theme="dark"] .rv-status.reserved, [data-bs-theme="dark"] .rv-status.pending_payment, [data-bs-theme="dark"] .rv-status.pending_approval { background: #3a301a; color: #e5d3b0; }
.rv-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-radius: 16px; background: #f2ead8; color: #59431e; }
[data-bs-theme="dark"] .rv-filter { background: #3a301a; color: #e5d3b0; }
.rv-health dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rv-health dl > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--ct-chip); }
.rv-health dl > div.warn { background: #f2ead8; color: #59431e; }
[data-bs-theme="dark"] .rv-health dl > div.warn { background: #3a301a; color: #e5d3b0; }
.rv-health dt { font-size: 12.5px; font-weight: 500; color: inherit; opacity: .8; } .rv-health dd { margin: 0; font-weight: 600; } .rv-health dd small { font-weight: 400; opacity: .8; }
/* public */
.rv-counters { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 12px; }
.rv-counter { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 22px; background: var(--ct-card); border: 1px solid var(--ct-line); }
.rv-counter b { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rv-counter span { color: var(--ct-sub); font-size: 13.5px; }
.rv-counter.hero { color: #e2ecf1; border: 0; background: linear-gradient(135deg, #448099, #244257); }
.rv-counter.hero b { font-size: clamp(38px, 5vw, 60px); } .rv-counter.hero span { color: #c9e0e7; }
.rv-promise ul { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.rv-promise.open { background: linear-gradient(160deg, var(--ct-card), rgba(58, 122, 150, .08)); }
.rv-promise.closed { background: linear-gradient(160deg, var(--ct-card), rgba(10, 34, 51, .1)); }
@media (max-width: 1100px) { .rv-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rv-kpi.hero { grid-row: auto; } .rv-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rv-counters { grid-template-columns: repeat(3, 1fr); } .rv-counter.hero { grid-column: 1 / -1; } }
@media (max-width: 900px) { .rv-row.two, .rv-row.two-even, .rv-row.three { grid-template-columns: minmax(0, 1fr); } .rv-depths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rv-kpi.hero { grid-column: 1 / -1; } .rv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rv-counters { grid-template-columns: repeat(2, 1fr); } .rv-depth small { display: none; } .rv-toolbar { border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { .rv-hero::before { animation: none; } .rv-depth, .rv-bars-track i, .rv-ring .val { transition: none; } }
.rv-private, .rv-public { display: flex; flex-direction: column; gap: 14px; }
.rv .ct-btn-card { border: 1px solid var(--ct-line); }
.rv-settings-link { align-self: flex-start; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-size: 14px; border: 1px solid rgba(255, 255, 255, .22); }

/* ================= Admin settings ================= */
.st { display: flex; flex-direction: column; gap: 18px; --st-accent: #557cab; --st-danger: #9f5050; --st-ok: #2d5540; }
[data-bs-theme="dark"] .st { --st-accent: #7ba0c9; --st-danger: #dd9d98; --st-ok: #92c6ab; }
.st-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; border-radius: var(--ct-radius-xl); padding: clamp(20px, 3vw, 36px); color: #e2ecf1;
  background: radial-gradient(100% 120% at 100% 0%, rgba(205, 176, 122, .16), transparent 45%), radial-gradient(90% 90% at 0% 100%, rgba(130, 189, 204, .3), transparent 55%), linear-gradient(160deg, #244257 0%, #0a2233 55%, #101C27 100%); }
.st-hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02); z-index: -1; }
.st-hero > div { display: flex; flex-direction: column; gap: 6px; max-width: 70ch; }
.st-eyebrow { font: 600 12px/1 var(--ct-font); letter-spacing: .12em; color: var(--ct-lime); }
.st-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; }
.st-hero p { margin: 0; opacity: .85; line-height: 1.6; }
.st-me { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.st-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.st-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 14px; background: var(--ct-card); border: 1px solid var(--ct-line); }
.st-nav button { display: flex; gap: 12px; align-items: center; text-align: start; padding: 10px 12px; border: 0; border-radius: 16px; background: transparent; color: var(--ct-ink); cursor: pointer; transition: background .2s; }
.st-nav button:hover { background: var(--ct-chip); }
.st-nav button.on { background: var(--ct-btn); color: var(--ct-btn-ink); }
.st-nav button.on small { color: inherit; opacity: .7; }
.st-nav button:focus-visible { outline: 3px solid var(--st-accent); outline-offset: 1px; }
.st-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ct-chip); font-size: 17px; }
.st-nav button.on .st-ico { background: rgba(255, 255, 255, .14); }
.st-nav b { display: block; font-size: 14.5px; font-weight: 600; }
.st-nav small { display: block; font-size: 12px; color: var(--ct-sub); line-height: 1.35; }
.st-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.st-main-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.st-main-head p { margin: 2px 0 0; color: var(--ct-sub); font-size: 14px; }
.st-readonly { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--ct-chip); color: var(--ct-sub); font-size: 13.5px; }
.st-card { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.st-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.st-card header p { margin: 4px 0 0; font-size: 13px; color: var(--ct-sub); line-height: 1.55; max-width: 70ch; }
.st-card.warn { border-color: #c79a48; box-shadow: 0 0 0 3px rgba(199, 154, 72, .18); }
.st-card.danger { border-color: rgba(159, 80, 80, .35); }
.st-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.st-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ct-sub); min-width: 0; }
.st-field small { font-size: 12px; }
.st input:not([type=checkbox]):not([type=radio]), .st select, .st textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); font: inherit; font-size: 14.5px; }
.st textarea { resize: vertical; min-height: 64px; }
.st input:focus, .st select:focus, .st textarea:focus { outline: none; border-color: var(--st-accent); box-shadow: 0 0 0 3px rgba(85, 124, 171, .18); }
.st input:disabled, .st select:disabled, .st textarea:disabled { opacity: .65; }
.st-savebar { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; }
.st-banner-preview { padding: 10px 14px; border-radius: 12px; background: #f2ead8; color: #59431e; font-size: 14px; }
.st-switch { position: relative; width: 52px; height: 30px; flex: none; border-radius: 999px; border: 0; background: #c9d1ce; cursor: pointer; transition: background .2s; padding: 0; }
.st-switch i { position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: inset-inline-start .2s; }
.st-switch.on { background: var(--st-accent); } .st-switch.on i { inset-inline-start: 25px; }
.st-switch:disabled { opacity: .5; cursor: not-allowed; }
.st-switch:focus-visible { outline: 3px solid var(--st-accent); outline-offset: 2px; }
[data-bs-theme="dark"] .st-switch:not(.on) { background: #3a4a5e; }
.st-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.st-feature b { font-size: 15px; } .st-feature p { margin: 3px 0 0; font-size: 13px; color: var(--ct-sub); line-height: 1.5; }
.st-state { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.st-state.on { background: #ddece3; color: #2d5540; } .st-state.off { background: var(--ct-chip); color: var(--ct-sub); }
[data-bs-theme="dark"] .st-state.on { background: #1f392d; color: #bcddcb; }
.st-mt { margin-top: 10px; }
.st-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-search { flex: 1 1 220px; max-width: 360px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ct-chip); }
.st-chips button { border: 0; border-radius: 999px; padding: 7px 12px; background: transparent; color: var(--ct-ink); font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.st-chips button small { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--ct-card); color: var(--ct-sub); }
.st-chips button.on { background: var(--ct-btn); color: var(--ct-btn-ink); }
.st-table-wrap { overflow-x: auto; }
.st-table-wrap:focus-visible { outline: 2px solid var(--st-accent); border-radius: 10px; }
.st-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
/* Bookings has many columns: keep each cell on one line and scroll the table sideways instead of squeezing it. */
.st-bk td, .st-bk th { white-space: nowrap; }
.st-table th { text-align: start; font-weight: 500; color: var(--ct-sub); padding: 8px 10px; border-bottom: 1px solid var(--ct-line); white-space: nowrap; }
.st-table td { padding: 10px; border-bottom: 1px solid var(--ct-line); vertical-align: middle; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table tr.dim td { opacity: .6; }
.st-acc { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.st-acc b { display: block; font-weight: 600; } .st-acc span { display: block; font-size: 12.5px; color: var(--ct-sub); }
.st-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: #5a6670; }
.st-avatar.k-admin { background: linear-gradient(135deg, #244257, #3a7a96); } .st-avatar.k-company { background: linear-gradient(135deg, #418d72, #2a5d4b); } .st-avatar.k-guest { background: linear-gradient(135deg, #bc7a60, #905742); }
.st-avatar.big { width: 52px; height: 52px; font-size: 20px; }
.st-kind { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ct-chip); }
.st-kind.k-admin { background: #dbe4ef; color: #335072; } .st-kind.k-company { background: #dae9e3; color: #2a5d4b; } .st-kind.k-guest { background: #f1e2dc; color: #7d4836; }
.st-kind.b-full { background: #dbe4ef; color: #335072; } .st-kind.b-data { background: #dae9e3; color: #2a5d4b; } .st-kind.b-server { background: var(--ct-chip); color: var(--ct-sub); }
[data-bs-theme="dark"] .st-kind.k-admin, [data-bs-theme="dark"] .st-kind.b-full { background: #283950; color: #bfd0e6; }
[data-bs-theme="dark"] .st-kind.k-company, [data-bs-theme="dark"] .st-kind.b-data { background: #1f3930; color: #b0d7c7; }
[data-bs-theme="dark"] .st-kind.k-guest { background: #452f26; color: #e8c9bb; }
.st-pill { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 12px; border: 1px solid var(--ct-line); }
.st-sub { display: block; font-size: 12px; color: var(--ct-sub); margin-top: 2px; }
.st-sub.okc { color: var(--st-ok); } .st-sub.badc { color: var(--st-danger); }
.st-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; margin-inline-end: 8px; }
.st-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa6a1; }
.st-dot.active::before { background: #3f9b72; } .st-dot.suspended::before { background: #c2474b; } .st-dot.running::before { background: #c79a48; animation: st-pulse 1s ease-in-out infinite alternate; } .st-dot.locked::before { display: none; }
@keyframes st-pulse { from { opacity: .3; } to { opacity: 1; } }
.st-empty { text-align: center; color: var(--ct-sub); padding: 20px; margin: 0; }
.st-more { align-self: center; }
.st-matrix td.c { text-align: center; } .st-matrix th:not(:first-child) { text-align: center; }
.st-matrix tr.grp td { background: var(--ct-chip); font-weight: 600; font-size: 12.5px; padding: 6px 10px; }
.st-matrix .yes { color: var(--st-ok); font-weight: 700; } .st-matrix .no { color: var(--ct-line); }
.st-risky { font-style: normal; font-size: 10.5px; margin-inline-start: 6px; padding: 1px 6px; border-radius: 999px; background: #f4e7e5; color: #7f3e3e; vertical-align: middle; }
[data-bs-theme="dark"] .st-risky { background: #452727; color: #edcaca; }
.st-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(3, 14, 26, .55); backdrop-filter: blur(4px); animation: st-fade .2s; }
@keyframes st-fade { from { opacity: 0; } }
.st-modal-box { width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--ct-frame, #f3f1ec); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.st-modal-box > header { display: flex; justify-content: space-between; align-items: center; }
.st-modal-box h3 { margin: 0; font-size: 18px; }
.st-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ct-card); color: var(--ct-ink); font-size: 20px; cursor: pointer; }
.st-drawer { display: flex; flex-direction: column; gap: 12px; }
.st-who { display: flex; gap: 14px; align-items: center; } .st-who b { display: block; font-size: 17px; } .st-who span { display: block; color: var(--ct-sub); font-size: 13.5px; } .st-who small { color: var(--ct-sub); }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-btn-danger { background: var(--st-danger); color: #fff; }
.st-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ct-chip); }
.st-seg button { border: 0; border-radius: 999px; padding: 8px 16px; background: transparent; color: var(--ct-ink); cursor: pointer; }
.st-seg button.on { background: var(--ct-btn); color: var(--ct-btn-ink); }
.st-hint { margin: 0 0 8px; font-size: 13px; color: var(--ct-sub); line-height: 1.55; }
.st-temp { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #f2ead8; color: #59431e; }
.st-temp code { font: 600 16px var(--ct-mono); padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .7); color: #0b141d; }
.st-profile-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st-profile { text-align: start; display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); cursor: pointer; }
.st-profile b { font-size: 14px; } .st-profile small { font-size: 12px; color: var(--ct-sub); line-height: 1.4; }
.st-profile.on { border-color: var(--st-accent); background: var(--ct-card); box-shadow: 0 0 0 3px rgba(85, 124, 171, .15); }
.st-profile:disabled { cursor: not-allowed; opacity: .6; }
.st-perm-groups { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-perm-groups fieldset { margin: 0; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--ct-line); background: var(--ct-card); display: flex; flex-direction: column; gap: 6px; }
.st-perm-groups legend { font-size: 12.5px; font-weight: 600; padding: 0 6px; }
.st-vis { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.st-vis small { font-size: 12px; color: var(--ct-sub); }
.st-vis small.on { color: var(--ct-ink); font-weight: 600; }
.st-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ct-ink); cursor: pointer; }
.st-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--st-accent); flex: none; }
.st-check.wide { grid-column: 1 / -1; }
.st-form { display: flex; flex-direction: column; gap: 12px; }
.st-rules { display: flex; flex-direction: column; gap: 16px; }
.st-inline { display: inline-flex; align-items: center; gap: 8px; max-width: 160px; }
.st-inline.small { max-width: 110px; } .st-inline.small input { min-height: 36px !important; padding: 6px 8px !important; }
.st-info { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ct-chip); font-size: 14px; }
.st-status-select { min-height: 36px !important; padding: 6px 10px !important; width: auto !important; font-size: 13px !important; }
.st-status-select.verified { color: var(--st-ok); } .st-status-select.suspended { color: var(--st-danger); }
.st-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-stats.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.st-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--ct-card); border: 1px solid var(--ct-line); }
.st-stats span { font-size: 12.5px; color: var(--ct-sub); } .st-stats b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; } .st-stats small { font-size: 12px; color: var(--ct-sub); }
.st-stats > div:first-child { background: linear-gradient(135deg, #315b74, #0a2233); color: #e2ecf1; border: 0; } .st-stats > div:first-child span, .st-stats > div:first-child small { color: #bed9e1; }
.st-now { display: flex; gap: 8px; } .st-now input { flex: 1; }
.st-sched { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; transition: opacity .2s; }
.st-sched.off { opacity: .55; }
.st-row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.st-row-actions .ct-btn-sm { height: 34px; padding-inline: 12px; font-size: 13px; }
.st-del { color: var(--st-danger) !important; }
.st-restore { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px; background: #f2ead8; color: #59431e; }
.st-restore.done { background: #ddece3; color: #2d5540; } .st-restore.failed { background: #f4e7e5; color: #7f3e3e; }
.st-restore small { flex-basis: 100%; }
.st-restore-file { margin: 0; }
.st-steps { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.st-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st-dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ct-chip); font-size: 13.5px; }
.st-dl dt { font-weight: 400; color: var(--ct-sub); } .st-dl dd { margin: 0; font-weight: 600; text-align: end; }
.st-integrations { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.st-int { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--ct-card); border: 1px solid var(--ct-line); }
.st-int b { font-size: 15px; } .st-int span { font-size: 13px; color: var(--ct-sub); } .st-int small { font-size: 12px; color: var(--ct-sub); }
.st-int-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-bottom: 4px; }
.st-int.ok .st-int-dot { background: #ddece3; color: #2d5540; } .st-int.no .st-int-dot { background: var(--ct-chip); color: var(--ct-sub); }
.st-int.ok span:not(.st-int-dot) { color: var(--st-ok); font-weight: 600; }
.st-audit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-audit li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ct-line); font-size: 13.5px; }
.st-audit time { color: var(--ct-sub); font-size: 12.5px; }
.st-action { text-transform: capitalize; }
.st-audit code { display: block; margin-top: 3px; font: 12px/1.5 var(--ct-mono); color: var(--ct-sub); white-space: pre-wrap; overflow-wrap: anywhere; }
.st-denied { align-items: center; text-align: center; padding: 40px 20px; } .st-denied span { font-size: 40px; }
.st-toast { position: fixed; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 1100; padding: 12px 18px; border-radius: 999px; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: st-fade .2s; max-width: calc(100vw - 32px); }
[dir="rtl"] .st-toast { transform: translateX(50%); }
.st-toast.ok { background: #2d5540; color: #fff; } .st-toast.bad { background: #7f3e3e; color: #fff; }
@media (max-width: 1000px) { .st-layout { grid-template-columns: minmax(0, 1fr); } .st-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; } .st-nav button { flex: none; } .st-nav small { display: none; } .st-stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } .st-sched { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .st-grid2, .st-perm-groups, .st-dl { grid-template-columns: minmax(0, 1fr); } .st-profile-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-stats { grid-template-columns: minmax(0, 1fr); } .st-stats.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-feature { grid-template-columns: minmax(0, 1fr) auto; } .st-feature .st-state { display: none; } .st-audit li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .st-sched { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .st-switch, .st-switch i, .st-modal, .st-toast { transition: none; animation: none; } }
.st-backups td { white-space: nowrap; } .st-backups td:nth-child(5), .st-backups td:nth-child(6) { white-space: normal; min-width: 140px; } .st-backups .st-row-actions { flex-wrap: nowrap; }
/* PDF report dialog */
.rv-pdf { margin-inline-start: auto; border: 0; border-radius: 999px; padding: 8px 14px; background: linear-gradient(135deg, #315b74, #0a2233); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.rv-report .st-modal-box { width: min(760px, 100%); }
.rv-report-fs { margin: 0; padding: 12px 14px; border: 1px solid var(--ct-line); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ct-card); }
.rv-report-fs legend { padding: 0 6px; font-size: 13px; font-weight: 600; }
.rv-report-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-report-presets button { border: 1px solid var(--ct-line); border-radius: 999px; padding: 6px 12px; background: var(--ct-chip); color: var(--ct-ink); font-size: 13px; cursor: pointer; }
.rv-report-presets button.on { background: var(--ct-btn); color: var(--ct-btn-ink); border-color: transparent; }
.rv-report-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.rv-report-types button { text-align: start; display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); cursor: pointer; }
.rv-report-types button span { font-size: 22px; } .rv-report-types button b { font-size: 14px; } .rv-report-types button small { font-size: 12px; color: var(--ct-sub); line-height: 1.45; }
.rv-report-types button.on { border-color: #557cab; background: var(--ct-card); box-shadow: 0 0 0 3px rgba(85, 124, 171, .16); }
.rv-report-err { margin: 0; padding: 8px 12px; border-radius: 12px; background: #f4e7e5; color: #7f3e3e; font-size: 13.5px; }
.rv-report-done { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.rv-report-done > div { display: flex; flex-direction: column; gap: 6px; } .rv-report-done b { font-size: 18px; color: #2d5540; } .rv-report-done small { color: var(--ct-sub); }
.rv-report-preview { width: 100%; border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); border: 1px solid var(--ct-line); }
@media (max-width: 640px) { .rv-report-done { grid-template-columns: minmax(0, 1fr); } .rv-report-preview { max-width: 240px; } .rv-pdf { margin-inline-start: 0; } }
.sp-list li.dimli > div { opacity: .55; } .sp-quote.small { font-size: 13.5px; margin-top: 4px; } .sp-scopes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; } .sp-scopes legend { font-size: 13px; color: var(--ct-sub); margin-bottom: 4px; }

/* lists shared by admin sections */
.sp-badge { font-style: normal; margin-inline-start: 6px; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--ct-lime); color: #0b141d; vertical-align: 1px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sp-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ct-line); }
.sp-list li:last-child { border-bottom: 0; }
.sp-list li > div { flex: 1; min-width: 0; } .sp-list li b { display: block; font-size: 14.5px; } .sp-list li small { display: block; color: var(--ct-sub); font-size: 12.5px; margin-top: 2px; }
.sp-stars { color: #c79a48; letter-spacing: 2px; } .sp-stars i { color: var(--ct-line); font-style: normal; }
.sp-quote { margin: 0; font-size: 15px; line-height: 1.6; }
.sp-logicon { font-size: 20px; }

/* ---------- companies directory and company pages ---------- */
.lj-dir { display: flex; flex-direction: column; gap: 18px; }
.lj-dir-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lj-dir-stats > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--ct-chip); }
.lj-dir-stats b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.lj-dir-stats span { color: var(--ct-sub); font-size: 13px; }
.lj-dir-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lj-dir-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 46px; padding-inline: 16px; border-radius: 999px; background: var(--ct-chip); border: 1px solid var(--ct-line); }
.lj-dir-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ct-ink); font: inherit; outline: none; }
.lj-dir-search:focus-within { outline: 3px solid var(--ct-lime); outline-offset: 2px; }
.lj-dir-select { height: 46px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); font: inherit; }
.lj-dir-toggle, .lj-dir-chips button { height: 40px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--ct-line); background: transparent; color: var(--ct-ink); font: 500 14px/1 inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.lj-dir-toggle { height: 46px; }
.lj-dir-toggle[aria-pressed="true"], .lj-dir-chips button[aria-pressed="true"] { background: var(--ct-ink); color: var(--ct-card); border-color: transparent; }
.lj-dir-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lj-dir-count { margin: 0; color: var(--ct-sub); font-size: 14px; }
.lj-dir-region { display: flex; flex-direction: column; gap: 10px; }
.lj-dir-region header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--ct-line); padding-bottom: 8px; }
.lj-dir-region h2 { margin: 0; font-size: 20px; font-weight: 600; }
.lj-dir-region header span { color: var(--ct-sub); font-size: 13px; }
.lj-dir-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.lj-co-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--ct-chip); color: var(--ct-ink); text-decoration: none; border: 1px solid transparent; transition: transform .2s, border-color .2s, box-shadow .2s; }
.lj-co-card:hover { transform: translateY(-2px); border-color: var(--ct-line); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .45); color: var(--ct-ink); }
.lj-co-card.is-verified { background: linear-gradient(135deg, color-mix(in srgb, var(--ct-lime) 18%, var(--ct-chip)), var(--ct-chip)); }
.lj-co-ini { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 15px; color: #0c151e; font-weight: 700; direction: ltr; letter-spacing: .02em; }
.lj-co-ini.lg { width: 84px; height: 84px; border-radius: 14px; font-size: 28px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .5); }
.lj-co-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lj-co-main b { font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; unicode-bidi: plaintext; text-align: left; overflow-wrap: anywhere; }
[dir="rtl"] .lj-co-main b { text-align: right; }
.lj-co-main small { color: var(--ct-sub); font-size: 13px; }
.lj-star { color: #aa8a39; font-weight: 600; }
.lj-muted { color: var(--ct-sub); }
.lj-co-svc { display: flex; gap: 4px; font-size: 15px; }
.lj-co-svc i { font-style: normal; }
.lj-co-pill { flex: none; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--ct-card); color: var(--ct-sub); border: 1px solid var(--ct-line); white-space: nowrap; }
.lj-co-pill.is-verified { background: var(--ct-lime); color: var(--ct-lime-ink); border-color: transparent; }
.lj-co-pill.is-pending { background: #eee6cd; color: #635221; border-color: transparent; }
.lj-co-warn { position: absolute; top: 8px; inset-inline-start: 8px; width: 18px; height: 18px; border-radius: 50%; background: #c2474b; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lj-back { color: var(--ct-sub); text-decoration: none; font-size: 14px; }
.lj-co-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, #3a7a96 0%, #16405a 45%, #0a2233 100%); color: #fff; }
.lj-co-hero.is-verified { background: radial-gradient(120% 140% at 0% 0%, #4fa894 0%, #2d6067 45%, #0a2233 100%); }
.lj-co-hero-main { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lj-co-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.lj-co-hero p { margin: 0; color: rgba(255, 255, 255, .8); }
.lj-co-hero .lj-co-pill { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .22); }
.lj-co-hero .lj-co-pill.is-verified { background: var(--ct-lime); color: var(--ct-lime-ink); }
.lj-co-hero .lj-star { color: #d8c289; }
.lj-co-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lj-co-banner { margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--ct-chip); color: var(--ct-ink); font-size: 14px; line-height: 1.6; }
.lj-co-banner.is-verified { background: color-mix(in srgb, var(--ct-lime) 28%, var(--ct-card)); }
.lj-co-banner.is-warn { background: #f4e7e5; color: #733a3a; }
.lj-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
.lj-co-block { display: flex; flex-direction: column; gap: 12px; }
.lj-co-block h2 { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.lj-co-services { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lj-co-services li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--ct-chip); font-size: 14px; }
.lj-co-facts { margin: 0; display: flex; flex-direction: column; gap: 0; }
.lj-co-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ct-line); }
.lj-co-facts dt { color: var(--ct-sub); font-weight: 500; font-size: 14px; }
.lj-co-facts dd { margin: 0; font-size: 14px; }
[dir="rtl"] .lj-co-facts dd[dir="ltr"] { text-align: end; }
.lj-co-map { border-radius: 20px; overflow: hidden; }
.lj-co-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.lj-co-features li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 12px; border-radius: 16px; background: var(--ct-chip); border: 1px solid transparent; }
.lj-co-features li b { display: block; font-size: 14px; font-weight: 600; }
.lj-co-features li small { display: block; color: var(--ct-sub); font-size: 12.5px; line-height: 1.5; }
.lj-co-features li em { grid-column: 2; justify-self: start; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--ct-card); color: var(--ct-sub); }
.lj-co-features li.is-active { border-color: color-mix(in srgb, #3f9b72 45%, transparent); }
.lj-co-features li.is-active em { background: #e3eee7; color: #2d5540; }
.lj-co-features li.is-ready em { background: #dfe8f0; color: #385a73; }
.lj-co-features li.is-off { opacity: .55; }
.lj-co-fi { font-size: 20px; line-height: 1.2; }
.lj-co-trips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lj-co-trips li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--ct-chip); }
.lj-co-trips li > span:first-child { flex: 1 1 220px; display: flex; flex-direction: column; }
.lj-co-trips small { color: var(--ct-sub); }
.lj-co-price { font-weight: 600; }
.lj-co-claim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: 15px; background: linear-gradient(135deg, #cdb07a, #abd8c6); color: #0c151e; }
.lj-co-claim h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.lj-co-claim p { margin: 0; max-width: 60ch; line-height: 1.6; }
.lj-co-claim .ct-btn-lime { background: #0c151e; color: #fff; }
.lj-co-claim .ct-btn { min-height: 48px; padding-inline: 24px; }
@media (max-width: 900px) { .lj-co-grid { grid-template-columns: 1fr; } .lj-dir-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .lj-co-card { transition: none; } }
/* companies tab: filters, directory rows, features editor */
.st-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.st-filters input, .st-filters select { min-height: 40px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); font: inherit; font-size: 14px; }
.st-filters input { flex: 1 1 220px; }
/* Bookings filters: a tidy grid of equal fields. */
.st-bk-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); align-items: center; }
.st-bk-filters select, .st-bk-filters input { width: 100%; min-width: 0; }
.st-filters .st-date { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ct-sub); white-space: nowrap; }
.st-filters .st-date input { flex: 1; }
.st-sub-line { display: block; color: var(--ct-sub); font-size: 12px; margin-top: 2px; }
.st-warn-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-inline-start: 6px; border-radius: 50%; background: #c2474b; color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; }
.st-chip-btn { min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); font: 600 13px/1 inherit; cursor: pointer; white-space: nowrap; direction: ltr; }
.st-chip-btn:hover { border-color: var(--st-accent); }
.st-status-select.listed { color: var(--ct-sub); } .st-status-select.pending { color: #937446; }
.st-co-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.st-co-head .st-status-select { display: inline-block; border-radius: 999px; background: var(--ct-chip); font-weight: 600; }
.st-link { color: var(--st-accent); font-weight: 600; text-decoration: none; margin-inline-start: auto; }
.st-co-svc { margin: 0 0 8px; font-size: 13px; color: var(--ct-sub); }
.st-co-features { display: flex; flex-direction: column; gap: 6px; max-height: min(56vh, 520px); overflow: auto; padding-inline-end: 4px; }
.st-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ct-sub); cursor: pointer; }
.st-tag { display: inline-block; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ct-chip); color: var(--ct-sub); font-size: 11px; font-weight: 600; vertical-align: middle; }
/* ---------- admin: payments ---------- */
.pay { display: flex; flex-direction: column; gap: 14px; }
.pay-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: start; padding: 22px; border-radius: 14px; color: #fff; background: radial-gradient(120% 160% at 0% 0%, #3a7a96, #143247 55%, #172633); box-shadow: 0 20px 40px -26px rgba(21, 37, 51, .8); }
.pay-hero.is-test { background: repeating-linear-gradient(135deg, rgba(191, 162, 64, .16) 0 14px, transparent 14px 28px), radial-gradient(120% 160% at 0% 0%, #635221, #392f13 60%, #1e1600); }
.pay-hero h3 { margin: 6px 0 4px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.pay-hero p { margin: 0; opacity: .82; font-size: 13.5px; }
.pay-eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pay-hero .st-chips { background: rgba(255, 255, 255, .14); }
.pay-hero .st-chips button { color: #fff; }
.pay-hero .st-chips button.on { background: #fff; color: #0c151e; }
.pay-kpis { grid-column: 1 / -1; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pay-kpis > div { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .1); }
.pay-kpis dt { font-size: 11.5px; font-weight: 500; opacity: .75; }
.pay-kpis dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.pay-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pay-jump a { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--ct-chip); color: var(--ct-ink); text-decoration: none; font-size: 13px; font-weight: 500; }
.pay-jump a:hover { background: var(--ct-card); box-shadow: inset 0 0 0 1px var(--ct-line); }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 14px; align-items: start; }
.pay-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pay-sec { scroll-margin-top: 110px; }
.pay-sec h3 span { margin-inline-end: 4px; }
.pay-gws { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.pay-gws button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: start; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay-gws button b { font-size: 14.5px; }
.pay-gws button small { color: var(--ct-sub); font-size: 12px; line-height: 1.45; }
.pay-gws button.on { border-color: var(--st-accent, #3a7a96); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-accent, #3a7a96) 22%, transparent); }
.pay-mini { display: flex; gap: 2px; font-size: 14px; margin-top: 2px; }
.pay-mini i { font-style: normal; }
.pay-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: pm; }
.pay-methods li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--ct-chip); border: 1.5px solid transparent; transition: border-color .2s, opacity .2s; }
.pay-methods li.is-on { border-color: color-mix(in srgb, #3f9b72 45%, transparent); background: var(--ct-card); }
.pay-methods li.is-unsup { opacity: .6; }
.pay-order { display: flex; flex-direction: column; gap: 2px; }
.pay-order button { width: 26px; height: 18px; border: 0; border-radius: 6px; background: var(--ct-card); color: var(--ct-sub); font-size: 9px; cursor: pointer; padding: 0; }
.pay-order button:disabled { opacity: .35; cursor: default; }
.pay-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ct-card); font-size: 18px; }
.pay-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-txt b { font-size: 14px; }
.pay-txt small { color: var(--ct-sub); font-size: 12.5px; }
.pay-flag { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f4e7e5; color: #733a3a; margin-top: 2px; }
.pay-flag.info { background: #dfe8f0; color: #385a73; }
.pay-star { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ct-line); background: transparent; color: var(--ct-sub); font-size: 15px; cursor: pointer; }
.pay-star.on { background: #d8c289; color: #59491e; border-color: transparent; }
.pay-star:disabled { opacity: .35; cursor: default; }
.pay-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-brands button { padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-sub); font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: .02em; }
.pay-brands button.on { color: var(--ct-ink); border-color: var(--ct-ink); }
.pay-mono { font-family: var(--ct-mono, ui-monospace, monospace); letter-spacing: .03em; }
.pay-statement { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--ct-chip); font-family: var(--ct-mono, ui-monospace, monospace); font-size: 12.5px; color: var(--ct-sub); }
.pay-statement b { color: var(--ct-ink); }
.pay-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; }
.pay-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pay-preview-head .st-chips button { padding: 5px 10px; font-size: 12px; }
.pay-phone { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 16px; border-radius: 19px; background: #fff; color: #0c151e; border: 8px solid #1b2430; box-shadow: 0 30px 50px -28px rgba(18, 29, 43, .7); }
.pay-phone > small { color: #5a6670; font-size: 12px; }
.pay-ribbon { position: absolute; top: 12px; inset-inline-end: -34px; transform: rotate(45deg); background: #c79f56; color: #392f13; font-size: 10px; font-weight: 800; padding: 3px 40px; letter-spacing: .06em; }
[dir="rtl"] .pay-ribbon { transform: rotate(-45deg); }
.pay-total { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.pay-ptitle { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
.pay-empty { margin: 0; padding: 14px; border-radius: 14px; background: #f4e7e5; color: #733a3a; font-size: 13px; }
.pay-opts { display: flex; flex-direction: column; gap: 6px; }
.pay-opts button, .lj-pay-opt { display: flex; align-items: center; gap: 10px; text-align: start; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #e6e2d9; background: #fff; color: #0c151e; cursor: pointer; font: inherit; }
.pay-opts button > span:first-child, .lj-pay-opt > span:first-child { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #efece6; font-size: 16px; }
.pay-opts button b, .lj-pay-opt b { display: block; font-size: 13.5px; }
.pay-opts button small, .lj-pay-opt small { display: block; font-size: 11.5px; color: #5a6670; }
.pay-opts button.on, .lj-pay-opt.on { border-color: #0c151e; box-shadow: 0 0 0 3px rgba(12, 21, 30, .08); }
.pay-bank { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #efece6; font-size: 12px; }
.pay-bank b { font-family: ui-monospace, monospace; font-size: 12.5px; }
.pay-cta { height: 46px; border: 0; border-radius: 999px; background: #cdb07a; color: #0b141d; font-weight: 700; font-size: 15px; }
.pay-cta.is-apple { background: #000; color: #fff; }
.pay-cta.is-google { background: #fff; color: #0c151e; box-shadow: inset 0 0 0 1.5px #0c151e; }
.pay-cta:disabled { opacity: .4; }
.pay-foot { text-align: center; color: #5a6670; font-size: 11px; }
.pay-testcards { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--ct-chip); font-size: 12px; }
.pay-testcards > b { grid-column: 1 / -1; font-size: 13px; }
.pay-testcards code { font-size: 12px; color: var(--ct-ink); }
.pay-testcards small { color: var(--ct-sub); }
.pay-testcards .pay-note { grid-column: 1 / -1; font-size: 11px; }
.pay-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ct-card) 92%, transparent); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--ct-line); backdrop-filter: blur(10px); transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .2s; }
.pay-savebar.show { transform: none; opacity: 1; pointer-events: auto; }
.pay-savebar span { margin-inline-end: auto; padding-inline: 8px; font-size: 13px; font-weight: 600; }
.pay-err { color: #733a3a; }
@media (max-width: 1100px) { .pay-layout { grid-template-columns: 1fr; } .pay-side { position: static; } }
@media (max-width: 640px) { .pay-hero { grid-template-columns: 1fr; } .pay-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pay-methods li { grid-template-columns: auto minmax(0, 1fr) auto auto; } .pay-order { display: none; } }
@media (prefers-reduced-motion: reduce) { .pay-savebar { transition: none; } }
/* checkout and booking page (guests) */
.lj-pay-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.lj-pay-opt:disabled { opacity: .5; cursor: not-allowed; }
[data-bs-theme="dark"] .lj-pay-opt { background: var(--ct-card); color: var(--ct-ink); border-color: var(--ct-line); }
[data-bs-theme="dark"] .lj-pay-opt > span:first-child { background: var(--ct-chip); }
[data-bs-theme="dark"] .lj-pay-opt small { color: var(--ct-sub); }
[data-bs-theme="dark"] .lj-pay-opt.on { border-color: var(--ct-lime); }
.lj-bank { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--ct-chip); }
.lj-bank dl { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lj-bank dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.lj-bank dt { color: var(--ct-sub); font-weight: 500; }
.lj-bank dd { margin: 0; }

/* ---------- captain sign-in: night chart ---------- */
.cs-wrap { position: relative; width: 100%; height: 100%; min-height: 460px; border-radius: 15px; overflow: hidden; background: radial-gradient(130% 120% at 75% 0%, #38526a 0%, #1d2c3c 45%, #030b18 100%); isolation: isolate; container-type: inline-size; }
.cs-wrap::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 18%, #e1edf5 50%, transparent 51%), radial-gradient(1px 1px at 28% 62%, #e1edf5 50%, transparent 51%), radial-gradient(1.4px 1.4px at 8% 44%, #e1edf5 50%, transparent 51%), radial-gradient(1px 1px at 36% 30%, #e1edf5 50%, transparent 51%), radial-gradient(1.2px 1.2px at 20% 82%, #e1edf5 50%, transparent 51%), radial-gradient(1px 1px at 44% 8%, #e1edf5 50%, transparent 51%); opacity: .6; pointer-events: none; }
.cs-wrap .cs-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cs-wrap .cs-label { fill: #e1edf5; font: 600 14px "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; paint-order: stroke; stroke: #121D2A; stroke-width: 4px; }
.cs-wrap .cs-label.small { font-size: 11px; font-weight: 500; fill: #e8e1b9; }
.cs-wrap .cs-water { fill: #9ccad2; fill-opacity: .28; font: 600 13px "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif; letter-spacing: .32em; }
.cs-chips { position: absolute; left: 16px; top: 62px; width: min(220px, 34%); display: grid; grid-template-columns: 1fr; gap: 8px; z-index: 1; }
@container (max-width: 620px) { .cs-wrap .cs-svg { position: relative; inset: auto; height: auto; aspect-ratio: 600 / 660; } .cs-chips { position: relative; left: auto; top: auto; width: auto; margin: -8px 12px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-wrap .cs-chip b { white-space: normal; overflow: visible; } }
.cs-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; color: #e1edf5; background: rgba(24, 38, 52, .55); border: 1px solid rgba(156, 202, 210, .2); backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8); animation: cs-bob 6s ease-in-out infinite; }
.cs-chip:nth-child(2) { animation-delay: -1.5s; } .cs-chip:nth-child(3) { animation-delay: -3s; } .cs-chip:nth-child(4) { animation-delay: -4.5s; }
.cs-chip > span { font-size: 18px; flex: none; }
.cs-chip > div { min-width: 0; }
.cs-chip small { display: block; font-size: 11px; color: #a7bac3; }
.cs-chip b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-badge { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(24, 38, 52, .6); border: 1px solid rgba(205, 176, 122, .35); color: #CDB07A; font: 600 12px "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif; backdrop-filter: blur(8px); }
.cs-badge i { width: 8px; height: 8px; border-radius: 50%; background: #CDB07A; box-shadow: 0 0 0 0 rgba(205, 176, 122, .7); animation: cs-ping 2s ease-out infinite; }
@keyframes cs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes cs-ping { 0% { box-shadow: 0 0 0 0 rgba(205, 176, 122, .7); } 100% { box-shadow: 0 0 0 10px rgba(205, 176, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .cs-chip, .cs-badge i { animation: none; } }

/* captain sign-in art */
.ct-op-login { align-items: stretch; }
.ct-op-login-art.cs-host { display: block; padding: 0; background: #030b18; box-shadow: 0 30px 60px -34px rgba(16, 29, 43, .8); }
.ct-op-login-art.cs-host .cs-wrap { min-height: 520px; }
@media (max-width: 860px) { .ct-op-login-art.cs-host { min-height: 0; } .ct-op-login-art.cs-host .cs-wrap { min-height: 0; } }
@media (max-width: 480px) { .cs-chip:nth-child(n+3) { display: none; } }
.st-removed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.st-removed li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ct-chip); }
.st-removed li b { display: block; font-size: 14px; }
.st-removed li small { display: block; font-size: 12px; color: var(--ct-sub); }
.st-confirm { padding: 10px 12px; border-radius: 12px; background: #f4e7e5; color: #733a3a !important; font-weight: 600; }
.st-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-table button.st-del { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ct-line); background: transparent; cursor: pointer; font-size: 14px; } .st-table button.st-del:hover { background: #f4e7e5; border-color: #dfbbbb; } .st-table button.st-del:disabled { opacity: .4; cursor: not-allowed; }
/* ---------- join as a company: application wizard ---------- */
.jw { display: flex; flex-direction: column; gap: 14px; color: var(--ct-ink); }
.jw-steps { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; border-radius: 999px; background: var(--ct-card); box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .45); }
.jw-steps button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ct-sub); font: 500 14px/1 inherit; cursor: pointer; white-space: nowrap; }
.jw-steps button:disabled { cursor: default; }
.jw-steps b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ct-chip); font-size: 12.5px; }
.jw-steps li.on button { background: var(--ct-ink); color: var(--ct-card); }
.jw-steps li.on b { background: var(--ct-lime); color: var(--ct-lime-ink); }
.jw-steps li.done b { background: #3f9b72; color: #fff; }
.jw-steps li.done button { color: var(--ct-ink); }
.jw-bar { height: 4px; border-radius: 999px; background: var(--ct-chip); overflow: hidden; }
.jw-bar i { display: block; height: 100%; background: linear-gradient(90deg, #56aba2, var(--ct-lime)); border-radius: inherit; transition: inline-size .45s cubic-bezier(.22, 1, .36, 1); }
.jw-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: 16px; align-items: start; }
.jw-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jw-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: 15px; background: var(--ct-card); }
.jw-card h2 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.jw-sub { margin: -6px 0 0; color: var(--ct-sub); font-size: 14px; line-height: 1.6; }
.jw-claim { margin: 0; padding: 12px 16px; border-radius: 16px; background: linear-gradient(135deg, #cdb07a, #abd8c6); color: #0c151e; font-size: 14px; font-weight: 500; }
.jw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.jw-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ct-sub); min-width: 0; }
.jw-field.wide { grid-column: 1 / -1; }
.jw-field input, .jw-field select, .jw-field textarea { min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); font: inherit; font-size: 15px; width: 100%; }
.jw-field textarea { resize: vertical; }
.jw-field input:focus, .jw-field select:focus, .jw-field textarea:focus { outline: none; border-color: #56aba2; box-shadow: 0 0 0 3px rgba(86, 171, 162, .2); }
.jw-field small { font-size: 12px; }
.jw-svcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.jw-svcs button { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; text-align: start; padding: 12px 36px 12px 12px; border-radius: 18px; border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); cursor: pointer; font: inherit; transition: border-color .2s, background .2s, transform .15s; }
[dir="rtl"] .jw-svcs button { padding: 12px 12px 12px 36px; }
.jw-svcs button:hover { transform: translateY(-1px); }
.jw-svcs button > span { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--ct-chip); font-size: 20px; }
.jw-svcs button b { font-size: 14px; font-weight: 600; }
.jw-svcs button small { font-size: 11.5px; color: var(--ct-sub); }
.jw-svcs button i { position: absolute; top: 10px; inset-inline-end: 10px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ct-chip); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ct-sub); }
.jw-svcs button.on { border-color: #56aba2; background: color-mix(in srgb, #56aba2 10%, var(--ct-card)); }
.jw-svcs button.on i { background: #56aba2; color: #12262c; }
.jw-chips, .jw-months { display: flex; flex-wrap: wrap; gap: 6px; }
.jw-chips button, .jw-months button { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--ct-line); background: transparent; color: var(--ct-ink); font: 500 13px/1 inherit; cursor: pointer; }
.jw-months button { min-width: 52px; }
.jw-chips button.on, .jw-months button.on { background: var(--ct-ink); color: var(--ct-card); border-color: transparent; }
.jw-review { margin: 0; display: flex; flex-direction: column; }
.jw-review > div { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--ct-line); }
.jw-review dt { color: var(--ct-sub); font-size: 13px; font-weight: 500; }
.jw-review dd { margin: 0; font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.jw-review button { border: 0; background: none; color: #447f96; font: 600 13px/1 inherit; cursor: pointer; }
.jw-agree { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--ct-chip); font-size: 14px; line-height: 1.6; cursor: pointer; }
.jw-agree input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #56aba2; }
.jw-agree a { color: #447f96; font-weight: 600; }
.jw-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #f4e7e5; color: #733a3a; font-size: 13.5px; }
.jw-nav { display: flex; align-items: center; gap: 10px; }
.jw-nav > span { flex: 1; }
.jw-btn { min-height: 52px; padding-inline: 26px; border: 0; border-radius: 999px; background: var(--ct-ink); color: var(--ct-card); font: 600 15px/1 inherit; cursor: pointer; }
.jw-btn.ghost { background: var(--ct-card); color: var(--ct-ink); box-shadow: inset 0 0 0 1.5px var(--ct-line); }
.jw-btn.lime { background: var(--ct-lime); color: var(--ct-lime-ink); }
.jw-btn:disabled { opacity: .6; cursor: wait; }
.jw-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.jw-why { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; color: #e1edf5; background: radial-gradient(130% 120% at 80% 0%, #38526a, #1d2c3c 55%, #030b18); }
.jw-why > b { font-size: 16px; }
.jw-why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.jw-why li { display: flex; gap: 8px; align-items: center; }
.jw-deal { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px; border-radius: 16px; background: rgba(205, 176, 122, .12); border: 1px solid rgba(205, 176, 122, .3); }
.jw-deal strong { font-size: 28px; color: #CDB07A; font-weight: 700; }
.jw-deal span { font-size: 12.5px; line-height: 1.4; }
.jw-count { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 22px; background: var(--ct-card); }
.jw-count strong { font-size: 30px; font-weight: 700; }
.jw-count span { font-size: 13px; color: var(--ct-sub); line-height: 1.4; }
.jw-done { align-items: center; text-align: center; padding: clamp(24px, 4vw, 44px); border-radius: 16px; background: var(--ct-card); }
.jw-check { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--ct-lime); color: var(--ct-lime-ink); font-size: 36px; font-weight: 700; }
.jw-done h2 { margin: 6px 0 0; font-size: 28px; font-weight: 600; }
.jw-done p { margin: 0; color: var(--ct-sub); }
.jw-next { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 860px; text-align: start; }
.jw-next li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--ct-chip); }
.jw-next li > b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ct-ink); color: var(--ct-card); font-size: 13px; }
.jw-next strong { display: block; font-size: 14px; }
.jw-next small { display: block; color: var(--ct-sub); font-size: 12px; }
@media (max-width: 980px) { .jw-layout { grid-template-columns: 1fr; } .jw-side { position: static; } .jw-next { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jw-grid { grid-template-columns: 1fr; } .jw-steps span { display: none; } .jw-review > div { grid-template-columns: 1fr auto; } .jw-review dt { grid-column: 1 / -1; } .jw-next { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .jw-bar i, .jw-svcs button { transition: none; } }
.st-app-more { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--ct-chip); }
.st-app-svcs { display: flex; flex-wrap: wrap; gap: 6px; }
.st-app-svcs span { padding: 4px 10px; border-radius: 999px; background: var(--ct-card); font-size: 12.5px; }
.st-app-more dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 6px 14px; }
.st-app-more dt { font-size: 11.5px; color: var(--ct-sub); }
.st-app-more dd { margin: 0; font-size: 13px; }
.sp-list li:has(.st-app-more) { flex-wrap: wrap; }
.jw-hero { padding: clamp(20px, 3vw, 32px); border-radius: 15px; background: linear-gradient(135deg, #cdb07a 0%, #bbe0b8 45%, #abd8c6 100%); color: #0c151e; }
.jw-hero span { font-size: 13px; font-weight: 600; opacity: .7; }
.jw-hero h1 { margin: 4px 0 6px; font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: -.02em; }
.jw-hero p { margin: 0; max-width: 62ch; line-height: 1.6; }

/* Form error inside settings modals. */
.st-error { margin: 0; padding: 10px 14px; border-radius: 14px; background: #f3e2df; color: #77413e; font-size: 14px; }
/* Wide admin tables (bookings, trips): actions on one line, inline number fields keep their width. */
.st-bk .st-row-actions { flex-wrap: nowrap; }
.st-bk .st-inline.small { max-width: none; } .st-bk .st-inline.small input { width: 84px; flex: none; }

/* Operator deck: automatic sea closure / reopening notices. */
.ct-sea-notices { border-radius: 22px; padding: 14px 16px; background: #f4ebde; color: #4d3b1a; display: flex; flex-direction: column; gap: 10px; }
.ct-sea-notices header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ct-sea-notices ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-sea-notices li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .7); border-inline-start: 4px solid #c2474b; font-size: 14px; }
.ct-sea-notices li.sea_reopened { border-inline-start-color: #3f9b72; }
.ct-sea-notices li span { color: #6b5a3e; font-size: 13px; }
[data-bs-theme="dark"] .ct-sea-notices { background: #392f20; color: #e8d7bb; }
[data-bs-theme="dark"] .ct-sea-notices li { background: rgba(0, 0, 0, .25); }
[data-bs-theme="dark"] .ct-sea-notices li span { color: #d3c5af; }

/* Revenue toolbar: bright Report and Excel buttons. */
.rv-exports { margin-inline-start: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; }
.rv-btn-report, .rv-btn-excel { border: 0; border-radius: 999px; padding: 9px 16px; font: 600 14px/1 inherit; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s, box-shadow .2s, filter .2s; }
.rv-btn-report { background: linear-gradient(135deg, #cd816a 0%, #cd6a92 50%, #977fd4 100%); box-shadow: 0 8px 22px -8px rgba(205, 106, 146, .7); }
.rv-btn-excel { background: linear-gradient(135deg, #3d9169 0%, #358268 45%, #2e7458 100%); box-shadow: 0 8px 22px -8px rgba(61, 145, 105, .7); }
.rv-btn-report:hover, .rv-btn-excel:hover { transform: translateY(-1px); filter: brightness(1.08); }
.rv-btn-report:focus-visible, .rv-btn-excel:focus-visible { outline: 2px solid #cdb07a; outline-offset: 2px; }
.rv-btn-excel:disabled { opacity: .5; cursor: progress; transform: none; }
@media (max-width: 640px) { .rv-exports { margin-inline-start: 0; } }
@media (prefers-reduced-motion: reduce) { .rv-btn-report, .rv-btn-excel { transition: none; } }
.rv-btn-latest { background: linear-gradient(135deg, #40a1bf 0%, #6087ca 55%, #796acd 100%); box-shadow: 0 8px 22px -8px rgba(96, 135, 202, .7); }
.rv-toolbar .rv-btn-report, .rv-toolbar .rv-btn-excel { color: #fff; padding: 9px 16px; font-weight: 600; }
.rv-toolbar .rv-btn-report { background: linear-gradient(135deg, #cd816a 0%, #cd6a92 50%, #977fd4 100%); }
.rv-toolbar .rv-btn-report.rv-btn-latest { background: linear-gradient(135deg, #40a1bf 0%, #6087ca 55%, #796acd 100%); }
.rv-toolbar .rv-btn-excel { background: linear-gradient(135deg, #3d9169 0%, #358268 45%, #2e7458 100%); }

/* Icon-emoji drawn as line icons (lib/glyphs.ts) */
[data-lj-glyph]{font-size:0!important;line-height:0!important;letter-spacing:0!important}
[data-lj-glyph]::before{content:"";display:inline-block;vertical-align:middle;width:var(--lj-glyph-size,18px);height:var(--lj-glyph-size,18px);background:currentColor;-webkit-mask:var(--lj-glyph) center/contain no-repeat;mask:var(--lj-glyph) center/contain no-repeat}

/* Lujja 3.0 "Abyssal Pearl": a fine film grain, brass selection and focus */
::selection { background: rgba(205, 176, 122, .32); }
body::after { content: ""; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media print { body::after { display: none; } }

/* ---------- Header: companies menu, guide + full-screen buttons (request 63) ---------- */
.ct-co { position: relative; }
.ct-co-caret { transition: transform .2s; opacity: .6; }
.ct-co-btn[aria-expanded="true"] .ct-co-caret { transform: rotate(180deg); }
.ct-co-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; min-width: 300px; padding: 8px; border-radius: 20px; background: var(--ct-card); border: 1px solid var(--ct-line); box-shadow: 0 24px 60px -24px rgba(16, 29, 43, .45); display: flex; flex-direction: column; gap: 4px; animation: ct-co-in .18s ease-out; }
.ct-co-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ct-ink); text-decoration: none; }
.ct-co-item:hover, .ct-co-item:focus-visible { background: var(--ct-chip); color: var(--ct-ink); }
.ct-co-item b { font-weight: 600; font-size: 15px; }
.ct-co-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--ct-btn); color: var(--ct-btn-ink); }
@keyframes ct-co-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ct-round { cursor: pointer; transition: background .2s, transform .15s; }
.ct-round:hover { background: var(--ct-chip); color: var(--ct-ink); }
.ct-round[aria-current="page"], .ct-round[aria-pressed="true"] { background: var(--ct-btn); color: var(--ct-btn-ink); }
@media (max-width: 640px) { .ct-co-menu { inset-inline: 0 auto; min-width: min(300px, calc(100vw - 48px)); } }
@media (prefers-reduced-motion: reduce) { .ct-co-menu { animation: none; } }

/* ---------- Platform guide /guide (request 63) ---------- */
.gd-cover { position: relative; overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(120% 90% at 85% 0%, #4d8fae 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #0f3550 0%, transparent 60%), linear-gradient(160deg, #23597a 0%, #12364f 55%, #0a2133 100%); isolation: isolate; }
.gd-cover::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 80% 10%, rgba(255,255,255,.06) 0 1px, transparent 1px 34px); z-index: -1; }
.gd-cover-sea { position: absolute; inset-inline: 0; bottom: 0; height: 46%; z-index: -1; }
.gd-cover-sea svg { width: 100%; height: 100%; display: block; }
.gd-cover-sea path:first-child { fill: rgba(255, 255, 255, .07); }
.gd-cover-sea path:last-child { fill: rgba(5, 18, 30, .35); }
.gd-cover-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 5vw, 64px); max-width: 860px; }
.gd-cover-mark { width: 84px; height: auto; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 20px 50px -10px rgba(0,0,0,.5); }
.gd-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #cdb07a; font-weight: 600; }
.gd-title { margin: 0; font-size: clamp(40px, 6vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.gd-sub { margin: 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: rgba(255,255,255,.82); max-width: 640px; }
.gd-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-stats span { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.gd-stats b { font-size: 22px; font-weight: 600; color: #fff; }
.gd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.gd-cover .ct-btn-dark { background: #cdb07a; color: #0b141d; }

.gd-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.gd-toc { position: sticky; top: 16px; border-radius: 22px; background: var(--ct-card); padding: 18px 12px; max-height: calc(100vh - 32px); overflow: auto; }
.gd-toc h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-sub); margin: 0 10px 10px; }
.gd-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gd-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--ct-ink); text-decoration: none; font-size: 14px; }
.gd-toc a:hover { background: var(--ct-chip); }
.gd-toc-n { font: 500 11px/1 "IBM Plex Mono", monospace; color: var(--ct-sub); width: 18px; }
.gd-toc-ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: var(--hue); }

.gd-modules { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gd-mod { position: relative; overflow: hidden; border-radius: 26px; background: var(--ct-card); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.gd-mod::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--hue), color-mix(in srgb, var(--hue) 30%, #cdb07a)); }
.gd-mod-head { display: flex; align-items: center; gap: 16px; }
.gd-mod-num { position: absolute; inset-inline-end: 22px; top: 8px; font: 600 clamp(64px, 9vw, 120px)/1 "IBM Plex Sans", sans-serif; color: var(--hue); opacity: .09; letter-spacing: -0.05em; pointer-events: none; }
.gd-mod-ic { width: 62px; height: 62px; border-radius: 20px; flex: none; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--hue) 75%, #fff), var(--hue)); box-shadow: 0 14px 30px -14px var(--hue); }
.gd-mod-kicker { font-size: 12px; letter-spacing: .06em; color: var(--hue); font-weight: 600; }
:root[data-bs-theme="dark"] .gd-mod-kicker { color: color-mix(in srgb, var(--hue) 50%, #fff); }
.gd-mod h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
.gd-intro { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ct-sub); max-width: 820px; }

.gd-shots { display: grid; gap: 16px; }
.gd-shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gd-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--ct-line); background: var(--ct-frame); box-shadow: 0 30px 60px -40px rgba(16, 29, 43, .6); }
.gd-shot img { display: block; width: 100%; height: auto; }
.gd-shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--ct-sub); border-top: 1px solid var(--ct-line); }
.gd-browser { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--ct-chip); direction: ltr; }
.gd-browser i { width: 10px; height: 10px; border-radius: 50%; background: #e0796e; }
.gd-browser i:nth-child(2) { background: #e6be5a; } .gd-browser i:nth-child(3) { background: #69bb72; }
.gd-browser span { margin-inline-start: 10px; font: 12px/1 "IBM Plex Mono", monospace; color: var(--ct-sub); padding: 5px 12px; border-radius: 999px; background: var(--ct-card); }
.gd-noshot { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--hue) 40%, var(--ct-line)); color: var(--hue); background: color-mix(in srgb, var(--hue) 6%, transparent); }
.gd-noshot span { color: var(--ct-sub); }

.gd-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gd-body h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.gd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.gd-steps li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.75; font-size: 15px; }
.gd-step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 "IBM Plex Sans", sans-serif; color: #fff; background: var(--hue); margin-top: 1px; }
.gd-tips { border-radius: 18px; padding: 16px 18px; background: color-mix(in srgb, #cdb07a 16%, var(--ct-card)); border: 1px solid color-mix(in srgb, #cdb07a 40%, transparent); }
.gd-tips ul { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; }
.gd-open { align-self: flex-start; font-weight: 600; color: var(--hue); text-decoration: none; }
:root[data-bs-theme="dark"] .gd-open { color: color-mix(in srgb, var(--hue) 45%, #fff); }
.gd-end { text-align: center; margin: 0; }

@media (max-width: 1080px) { .gd-layout { grid-template-columns: minmax(0, 1fr); } .gd-toc { position: static; max-height: none; } .gd-toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 760px) { .gd-shots-2, .gd-body { grid-template-columns: minmax(0, 1fr); } .gd-mod-ic { width: 50px; height: 50px; border-radius: 16px; } }

.gd-callout { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 22px; background: linear-gradient(120deg, color-mix(in srgb, #7a4f7f 16%, var(--ct-card)), var(--ct-card)); border: 1px solid color-mix(in srgb, #7a4f7f 30%, transparent); }
.gd-callout > div { flex: 1; min-width: 240px; line-height: 1.7; }
.gd-callout b { font-size: 17px; }
.gd-callout-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #a07aa5, #7a4f7f); flex: none; }
.gd-toc-part + .gd-toc-part { margin-top: 10px; }
.gd-toc-part h3 { margin: 8px 10px 4px; font-size: 12px; letter-spacing: .08em; font-weight: 700; color: var(--hue); }
:root[data-bs-theme="dark"] .gd-toc-part h3 { color: color-mix(in srgb, var(--hue) 45%, #fff); }
.gd-part { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(22px, 3vw, 34px); color: #fff; background: linear-gradient(135deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #0b141d)); display: flex; flex-direction: column; gap: 6px; }
.gd-part::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255,255,255,.08); }
.gd-part-k { font-size: 12px; letter-spacing: .14em; color: #f1dfb7; font-weight: 600; }
.gd-part h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.gd-part p { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; }
.gd-sec h3 { font-size: 15px; color: var(--hue); margin-bottom: 10px; }
:root[data-bs-theme="dark"] .gd-sec h3 { color: color-mix(in srgb, var(--hue) 45%, #fff); }
.gd-faq { display: flex; flex-direction: column; gap: 8px; }
.gd-faq h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.gd-faq details { border-radius: 14px; background: var(--ct-chip); padding: 10px 14px; }
.gd-faq summary { font-weight: 600; cursor: pointer; }
.gd-faq p { margin: 6px 0 0; line-height: 1.7; color: var(--ct-sub); }

/* Guide as a printed / PDF booklet: cover page, contents page, one module per page. */
@media print {
  @page { size: A4; margin: 12mm; }
  .ct-page, .ct-wrap { padding: 0 !important; max-width: none !important; }
  .gd-cover, .gd-mod, .gd-toc-ic, .gd-mod-ic, .gd-step-n, .gd-tips, .gd-noshot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gd-cover { min-height: 270mm; display: flex; align-items: center; break-after: page; border-radius: 0; }
  .gd-layout { display: block; }
  .gd-toc { position: static; max-height: none; break-after: page; background: none; padding: 0; }
  .gd-toc h2 { font-size: 22px; margin: 0 0 16px; color: #0b141d; }
  .gd-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .gd-toc a { font-size: 15px; border-bottom: 1px solid #e6e2d9; border-radius: 0; }
  .gd-mod { break-before: page; border-radius: 0; padding: 7mm 3mm 0; background: none; overflow: visible; }
  .gd-cover::before { display: none; }
  .gd-cover-mark, .gd-mod-ic, .gd-shot, .gd-cover * { box-shadow: none !important; }
  .gd-cover-sea { z-index: 0; }
  .gd-cover-body { position: relative; z-index: 1; }
  .gd-mod:first-child { break-before: auto; }
  .gd-mod::before { top: 0; }
  .gd-shot { break-inside: avoid; box-shadow: none; }
  .gd-steps li, .gd-tips { break-inside: avoid; }
  .gd-body { grid-template-columns: 1.6fr 1fr; }
  .gd-shots-2 { grid-template-columns: 1fr; }
  .gd-shots-2 .gd-shot img { max-height: 95mm; object-fit: cover; object-position: top; }
  .gd-end { display: none; }
  .gd-callout { break-inside: avoid; margin-bottom: 4mm; }
  .gd-part { break-before: page; min-height: 60mm; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gd-part + .gd-mod { break-before: auto; margin-top: 8mm; }
  .gd-faq details { break-inside: avoid; }
}

/* ---------- Group trip + agent crew (request 67) ---------- */
.gt-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #b8944f; font-weight: 600; }
.gt-title { margin: 0; font-size: clamp(30px, 4vw, 52px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.gt-sub { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ct-sub); max-width: 560px; }
.gt-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 28px; background: var(--ct-card); padding: clamp(20px, 3vw, 36px); overflow: hidden; }
.gt-hero-text { display: flex; flex-direction: column; gap: 14px; }
/* Hero yacht (request 70) */
.gt-yacht { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 793 / 469; background: #0b1c2a; box-shadow: 0 40px 80px -40px rgba(11,20,29,.6); isolation: isolate; }
.gt-yacht-cam { position: absolute; inset: 0; animation: gt-push 22s ease-in-out infinite alternate; transform-origin: 62% 55%; }
.gt-yacht-cam img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.08) contrast(1.04); }
:root[data-bs-theme="dark"] .gt-yacht-cam img { filter: saturate(.85) brightness(.72) hue-rotate(-8deg); }
.gt-yacht-glow { position: absolute; left: 47%; top: 18%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,214,150,.55), rgba(255,180,110,.18) 40%, transparent 70%); mix-blend-mode: screen; animation: gt-breathe 6s ease-in-out infinite; }
.gt-yacht-sea { position: absolute; inset: 58% -30% 0 -30%; background: radial-gradient(40% 60% at 50% 40%, rgba(255,230,190,.28), transparent 70%); mix-blend-mode: screen; animation: gt-glint 9s ease-in-out infinite alternate; }
.gt-yacht-pin { position: absolute; transform: translate(-50%, -100%); opacity: 0; animation: gt-board 9s ease-out infinite; }
.gt-yacht-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 6px #fff; }
.gt-yacht-pin .gt-av { border-color: #fff; box-shadow: 0 0 0 4px rgba(205,176,122,.45), 0 8px 18px -6px rgba(0,0,0,.6); }
.gt-yacht-cap { position: absolute; inset-inline-start: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; color: #fff; background: rgba(8,22,34,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); }
[dir="rtl"] .gt-yacht-cap { padding: 8px 8px 8px 14px; }
.gt-yacht-cap b { font-size: 13px; font-weight: 600; } .gt-yacht-cap small { font-size: 11px; color: rgba(255,255,255,.75); }
.gt-yacht-cap .gt-av { border-color: rgba(8,22,34,.8); }
.gt-yacht-cap .gt-avs { flex-wrap: nowrap; }
@media (max-width: 560px) { .gt-yacht-cap { inset-inline-start: 8px; bottom: 8px; padding: 6px 12px !important; } .gt-yacht-cap .gt-avs { display: none; } .gt-yacht-cap small { display: none; } .gt-yacht-pin { scale: .72; } }
@keyframes gt-push { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes gt-breathe { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } }
@keyframes gt-glint { from { transform: translateX(-12%); opacity: .6; } to { transform: translateX(12%); opacity: 1; } }
@keyframes gt-board { 0% { opacity: 0; transform: translate(-50%, -60%) scale(.4); } 7% { opacity: 1; transform: translate(-50%, -112%) scale(1.08); } 11%, 88% { opacity: 1; transform: translate(-50%, -100%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -100%) scale(1); } }
@keyframes gt-bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(4px) rotate(1deg); } }
.gt-how { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gt-how li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--ct-chip); font-size: 14px; }
[dir="rtl"] .gt-how li { padding: 8px 8px 8px 14px; }
.gt-how li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ct-btn); color: var(--ct-btn-ink); font-size: 12px; font-weight: 600; }

.gt-start { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.gt-start-form h2 { margin: 0; }
.gt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gt-chip { border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.gt-chip:hover { border-color: var(--ct-ink); }
.gt-chip[aria-checked="true"], .gt-chip[aria-pressed="true"] { background: var(--ct-btn); color: var(--ct-btn-ink); border-color: var(--ct-btn); }
.gt-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ct-chip); }
.gt-stepper button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ct-card); color: var(--ct-ink); font-size: 18px; cursor: pointer; }
.gt-stepper button:disabled { opacity: .4; cursor: default; }
.gt-stepper output { min-width: 34px; text-align: center; font-weight: 600; font-size: 17px; }
.gt-range { width: 100%; accent-color: #b8944f; }

.gt-planner { position: relative; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; color: #eef4f8; background: radial-gradient(120% 80% at 100% 0%, #3a7a96 0%, transparent 55%), linear-gradient(160deg, #19435d 0%, #0d2738 100%); overflow: hidden; }
.gt-planner .ct-field, .gt-planner .ct-field span { color: #cfe0ea; }
.gt-planner .ct-input { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); }
.gt-planner .ct-input option { color: #0b141d; }
.gt-planner .gt-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #eef4f8; }
.gt-planner .gt-chip[aria-checked="true"], .gt-planner .gt-chip[aria-pressed="true"] { background: #cdb07a; border-color: #cdb07a; color: #0b141d; }
.gt-planner .gt-stepper { background: rgba(255,255,255,.1); }
.gt-planner .gt-stepper button { background: rgba(255,255,255,.14); color: #fff; }
.gt-planner-head { display: flex; align-items: center; gap: 12px; }
.gt-planner-head small { color: #a9c3d2; }
.gt-bubble { margin: 0; padding: 12px 16px; border-radius: 18px; border-start-start-radius: 4px; background: rgba(255,255,255,.1); line-height: 1.7; }
.gt-prefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gt-prefs > :nth-child(3), .gt-prefs > :nth-child(4) { grid-column: 1 / -1; }
.gt-picks { display: flex; flex-direction: column; gap: 10px; }
.gt-pick { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); animation: gt-in .35s ease-out both; }
.gt-pick .ct-sub { color: #a9c3d2; }
.gt-ring { --p: 50; flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #12364d 78%, transparent 80% 100%), conic-gradient(#cdb07a calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.gt-ring b { font-size: 18px; line-height: 1; color: #fff; } .gt-ring small { font-size: 9px; color: #a9c3d2; }
.gt-reasons { display: flex; flex-wrap: wrap; gap: 4px; }
.gt-reasons span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(205,176,122,.18); color: #f1dfb7; }
@keyframes gt-in { from { opacity: 0; transform: translateY(8px); } }

.gt-meet { display: flex; flex-direction: column; gap: 14px; }
.gt-meet h2 { margin: 0; font-size: 24px; }
.gt-meet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.gt-meet-card { --c: #2e6f8f; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: var(--ct-card); overflow: hidden; }
.gt-meet-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); }
.gt-meet-card b { font-size: 17px; margin-top: 6px; }
.gt-meet-role { color: var(--ct-sub); }
.gt-meet-card p { margin: 0; font-size: 14px; line-height: 1.65; flex: 1; }
.gt-meet-where { align-self: flex-start; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, var(--ct-card)); color: var(--c); font-weight: 600; }
:root[data-bs-theme="dark"] .gt-meet-where { color: color-mix(in srgb, var(--c) 45%, #fff); }
.gt-agent-badge { --c: #2e6f8f; flex: none; display: grid; place-items: center; border-radius: 30%; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 10px 22px -12px var(--c), inset 0 0 0 1px rgba(255,255,255,.25); }

/* board */
.gt-board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.gt-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #3f9b72 16%, var(--ct-card)); font-size: 13px; font-weight: 600; }
.gt-status i { width: 8px; height: 8px; border-radius: 50%; background: #3f9b72; box-shadow: 0 0 0 0 rgba(63,155,114,.6); animation: ct-blip 1.6s infinite; }
.gt-status-off { background: var(--ct-chip); } .gt-status-off i { background: #8e9aa6; animation: none; }
.gt-tag { padding: 6px 12px; border-radius: 999px; background: var(--ct-card); font-size: 13px; color: var(--ct-sub); }
.gt-tag b { color: var(--ct-ink); }
.gt-share { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px; border-radius: 22px; background: var(--ct-card); max-width: 100%; }
.gt-url { font: 12px/1 "IBM Plex Mono", monospace; color: var(--ct-sub); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: 8px; }
.gt-qr { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 180px; height: 180px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(16,29,43,.5); z-index: 20; }
.gt-crewbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 22px; background: var(--ct-card); }
.gt-avs { display: flex; flex-wrap: wrap; }
.gt-avs > * + * { margin-inline-start: -8px; }
.gt-av { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 600; border: 2px solid var(--ct-card); flex: none; }
.gt-av-wait .gt-av { opacity: .45; filter: grayscale(.6); }
.gt-me { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex-wrap: wrap; }
.gt-me .ct-input { height: 42px; width: 180px; }

.gt-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gt-regatta, .gt-crew { display: flex; flex-direction: column; gap: 12px; }
.gt-regatta h2, .gt-crew h2 { margin: 0; font-size: 22px; }
.gt-lane { border-radius: 22px; padding: 14px 16px; background: var(--ct-card); display: flex; flex-direction: column; gap: 10px; border: 1.5px solid transparent; transition: border-color .3s, transform .3s; }
.gt-lane-lead { border-color: #cdb07a; box-shadow: 0 18px 40px -28px #b8944f; }
.gt-lane-mine { border-color: color-mix(in srgb, var(--ct-coast) 60%, transparent); }
.gt-lane-top { display: flex; align-items: center; gap: 10px; }
.gt-lane-top > :first-child { flex: 1; }
.gt-flag { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #cdb07a; color: #0b141d; }
.gt-vote { flex: none; border: 1.5px solid var(--ct-line); }
.gt-track { position: relative; height: 34px; border-radius: 999px; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(58,122,150,.12) 18px 20px), linear-gradient(180deg, #d5e6ee, #b9d3e0); overflow: hidden; }
:root[data-bs-theme="dark"] .gt-track { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(156,202,210,.08) 18px 20px), linear-gradient(180deg, #13283a, #0c1c2a); }
.gt-wake { position: absolute; inset-block: 0; inset-inline-start: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .gt-wake { background: linear-gradient(270deg, rgba(255,255,255,0), rgba(255,255,255,.65)); }
:root[data-bs-theme="dark"] .gt-wake { background: linear-gradient(90deg, transparent, rgba(156,202,210,.3)); }
.gt-boat-ic { position: absolute; top: 5px; color: #12364d; transition: inset-inline-start .8s cubic-bezier(.2,.8,.2,1); animation: gt-bob 3s ease-in-out infinite; }
[dir="rtl"] .gt-boat-ic svg { transform: scaleX(-1); }
:root[data-bs-theme="dark"] .gt-boat-ic { color: #cdb07a; }
.gt-lane-lead .gt-boat-ic { color: #b8944f; }
.gt-finish { position: absolute; inset-block: 0; inset-inline-end: 0; width: 10px; background: repeating-conic-gradient(#0b141d 0 25%, #fff 0 50%) 0 0 / 10px 10px; opacity: .55; }
.gt-lane-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gt-avs-sm > * + * { margin-inline-start: -6px; }
.gt-note { margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--ct-chip); font-size: 13px; line-height: 1.6; }

.gt-group-size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 18px; background: var(--ct-card); font-weight: 500; }
.gt-agent { --c: #2e6f8f; position: relative; border-radius: 20px; padding: 14px 16px; background: var(--ct-card); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.gt-agent::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--c); }
.gt-agent header { display: flex; align-items: center; gap: 12px; }
.gt-agent header small { color: var(--ct-sub); }
.gt-pulse { margin-inline-start: auto; width: 9px; height: 9px; border-radius: 50%; background: #3f9b72; }
.gt-pulse-busy { background: var(--c); animation: ct-blip 1.2s infinite; }
.gt-agent-body { display: flex; flex-direction: column; gap: 8px; }
.gt-for { color: var(--c); font-weight: 600; }
.gt-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.65; }
.gt-lines li { position: relative; padding-inline-start: 16px; }
.gt-lines li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #3a7a96); opacity: .7; }
.gt-ask { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, #3a7a96 12%, var(--ct-card)), var(--ct-card)); }
.gt-ask .ct-input { height: 42px; flex: 1; min-width: 0; }
.gt-chat { display: flex; flex-direction: column; gap: 10px; }
.gt-msg { display: flex; flex-direction: column; gap: 6px; animation: gt-in .3s ease-out; }
.gt-msg-q { margin: 0; align-self: flex-end; padding: 8px 14px; border-radius: 16px; border-end-end-radius: 4px; background: var(--ct-btn); color: var(--ct-btn-ink); font-size: 14px; max-width: 85%; }
.gt-msg-a { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; border-start-start-radius: 4px; background: var(--ct-card); }

.gt-add h2 { font-size: 22px; }
.gt-suggest { gap: 8px; padding-inline-start: 6px; border: 1.5px solid var(--ct-line); }
.gt-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.gt-option { display: flex; flex-direction: column; gap: 2px; text-align: start; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--ct-line); background: var(--ct-card); color: var(--ct-ink); cursor: pointer; transition: border-color .2s, background .2s; }
.gt-option:hover { border-color: var(--ct-ink); }
.gt-option[aria-checked="true"] { border-color: #cdb07a; background: color-mix(in srgb, #cdb07a 14%, var(--ct-card)); }

@media (max-width: 980px) { .gt-hero, .gt-start, .gt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .gt-lane-top { flex-wrap: wrap; } .gt-lane-top > :first-child { flex-basis: 100%; } .gt-lane-top .text-truncate { white-space: normal; } .gt-prefs { grid-template-columns: minmax(0, 1fr); } .gt-me { margin-inline-start: 0; width: 100%; } .gt-me .ct-input { flex: 1; width: auto; } .gt-url { max-width: 150px; } }
@media (prefers-reduced-motion: reduce) { .gt-yacht-cam, .gt-yacht-glow, .gt-yacht-sea, .gt-yacht-pin, .gt-boat-ic, .gt-pick, .gt-msg, .gt-status i, .gt-pulse-busy { animation: none !important; } .gt-yacht-pin { opacity: 1; } }

/* ---------- Intro film before entering (request 69) ---------- */
.lj-intro { position: fixed; inset: 0; z-index: 100; background: #02070d; color: #fff; overflow: hidden; }
.lj-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lj-intro-blur { display: none; position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(28px) brightness(.55); }
@media (orientation: portrait) { .lj-intro-blur { display: block; } .lj-intro-video { object-fit: contain; } }
.lj-intro-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2,7,13,.55) 0%, transparent 18%, transparent 72%, rgba(2,7,13,.7) 100%); }
.lj-intro-top { position: absolute; inset-inline: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) clamp(16px, 3vw, 36px) 0; flex-wrap: wrap; }
.lj-intro-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; }
.lj-intro-brand img { border-radius: 50%; background: #fff; padding: 2px; }
.lj-intro-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.lj-intro-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(5,15,25,.45); backdrop-filter: blur(10px); color: #fff; font-size: 14px; text-decoration: none; cursor: pointer; }
.lj-intro-chip:hover { background: rgba(255,255,255,.16); color: #fff; }
.lj-intro-center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.lj-intro-center > * { pointer-events: auto; }
.lj-intro-play { width: 96px; height: 96px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #0b141d; background: linear-gradient(135deg, #f1d79e, #cdb07a); box-shadow: 0 0 0 14px rgba(241,215,158,.18); cursor: pointer; }
.lj-intro-tools { align-items: center; }
.lj-intro-enter { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding-inline: 20px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; color: #0b141d; background: linear-gradient(135deg, #f1d79e, #cdb07a 55%, #a7834a); box-shadow: 0 10px 28px -10px rgba(205,176,122,.8); cursor: pointer; transition: transform .15s; }
.lj-intro-enter:active { transform: scale(.97); }
/* a hairline at the very bottom edge: nothing covers the film */
.lj-intro-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.lj-intro-progress i { display: block; height: 100%; background: #f1d79e; transform-origin: left; }
[dir="rtl"] .lj-intro-progress i { transform-origin: right; }
.lj-intro-shade { background: linear-gradient(180deg, rgba(2,7,13,.55) 0%, transparent 16%) !important; }


/* Smart alerts: live line under each alert (request 74) */
.ct-alert-hint { font-size: 12px; line-height: 1.5; color: rgba(205, 176, 122, .9); margin-top: 2px; }
.ct-mini-pass { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 18px; color: #0b141d; background: linear-gradient(135deg, #f3ead6, #e6d3a8); position: relative; }
.ct-mini-pass::before, .ct-mini-pass::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #16222e; transform: translateY(-50%); }
.ct-mini-pass::before { left: -8px; } .ct-mini-pass::after { right: -8px; }
.ct-mini-pass small { font-size: 11px; letter-spacing: .08em; color: #7a5a24; font-weight: 600; }
.ct-mini-pass b { font-size: 15px; } .ct-mini-pass span { font-size: 12px; color: #4a4030; }
.ct-mini-pass svg { flex: none; border-radius: 8px; }
.ct-mini-crew { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-mini-crew li { display: grid; grid-template-columns: 30px auto 1fr; align-items: center; gap: 10px; font-size: 14px; }
.ct-mini-crew i { width: 30px; height: 30px; border-radius: 30%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.ct-mini-crew small { color: rgba(238,241,243,.65); }

/* ---------- Payments → routing + connections (request 75) ---------- */
.pay-route { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ct-line); display: flex; flex-direction: column; gap: 8px; }
.pay-route h4, .pay-events h4 { margin: 0; font-size: 15px; font-weight: 600; }
.pay-route p { margin: 0; font-size: 13px; color: var(--ct-sub); }
.pay-route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.pay-route-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.pay-route-grid small { color: var(--ct-sub); font-size: 11.5px; }
.pay-conns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.pay-conn { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--ct-line); background: var(--ct-card); }
.pay-conn.is-on { border-color: color-mix(in srgb, #3f9b72 45%, var(--ct-line)); }
.pay-conn.is-soon { opacity: .75; border-style: dashed; }
.pay-conn header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pay-badge { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pay-badge.ok { background: color-mix(in srgb, #3f9b72 18%, transparent); color: #2f7a55; }
.pay-badge.warn { background: color-mix(in srgb, #c79a48 22%, transparent); color: #8a6a2f; }
.pay-badge.off { background: var(--ct-chip); color: var(--ct-sub); }
.pay-conn-dl { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.pay-conn-dl dt { font-weight: 500; color: var(--ct-sub); } .pay-conn-dl dd { margin: 0; word-break: break-all; }
.pay-copy { display: flex; gap: 6px; align-items: center; } .pay-copy code { font-size: 11px; color: var(--ct-ink); }
.pay-copy button { flex: none; border: 1px solid var(--ct-line); background: var(--ct-chip); color: var(--ct-ink); border-radius: 999px; font-size: 11px; padding: 2px 10px; cursor: pointer; }
.pay-conn-form { display: flex; flex-direction: column; gap: 10px; }
.pay-warn { margin: 0; font-size: 12.5px; color: #8a6a2f; background: color-mix(in srgb, #c79a48 14%, transparent); padding: 8px 10px; border-radius: 10px; }
.pay-ok { margin: 0; font-size: 12.5px; color: #2f7a55; background: color-mix(in srgb, #3f9b72 12%, transparent); padding: 8px 10px; border-radius: 10px; }
.pay-events { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pay-events table { width: 100%; font-size: 12.5px; border-collapse: collapse; }
.pay-events th, .pay-events td { padding: 6px 8px; border-bottom: 1px solid var(--ct-line); text-align: start; }
/* Reviews card before the first reviews: live figures (request 76) */
.ct-rv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ct-rv-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--ct-chip); }
.ct-rv-stats b { font-size: 22px; font-weight: 600; line-height: 1.1; }
.ct-rv-stats small { font-size: 12px; color: var(--ct-sub); }
.ct-rv-seats { display: flex; flex-direction: column; gap: 6px; }
.ct-rv-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; direction: ltr; }
.ct-rv-bars i, .ct-rv-key i { display: inline-block; border-radius: 4px 4px 2px 2px; }
.ct-rv-bars i { flex: 1; min-height: 4px; }
.ct-sea-calm { background: #3f9b72; } .ct-sea-moderate { background: #c79a48; } .ct-sea-rough { background: #c2474b; } .ct-sea-off { background: var(--ct-line); }
.ct-rv-key { display: inline-flex; align-items: center; gap: 4px; } .ct-rv-key i { width: 8px; height: 8px; border-radius: 50%; margin-inline-start: 6px; }
