/* ==========================================================================
   Nuahn Seasonal Hub — Design System  (app.css)
   Deep teal/pine on white and light grey-green (client design v2). Self-contained: tokens, base,
   layout shell, components, pages, motion. Bootstrap is only loaded on
   legacy pages; this file restyles its common classes there too.
   ========================================================================== */

/* ---------- 1. Font (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: "Jakarta";
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback keeps layout stable while the font loads */
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 93%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Navy (contrast, headers, nav, strong text) */
  --navy-950: #062A28;
  --navy-900: #0A3D3B;
  --navy-800: #0E4A47;
  --navy-700: #145955;
  --navy-600: #1D6B66;

  /* Blue (actions, accents) */
  --blue-700: #0B5A57;
  --blue-600: #11706D;   /* primary */
  --blue-500: #17807C;
  --blue-400: #3E9C97;
  --blue-300: #8CC7C2;
  --blue-200: #BFE0DC;
  --blue-100: #DCEFEC;
  --blue-50:  #EDF6F4;

  /* Semantic */
  --success: #2A8C42;  --success-bg: #DDF3E1;
  --warning: #C77700;  --warning-bg: #FFF4E0;
  --danger:  #C42339;  --danger-bg:  #FDECEF;
  --info:    #1A8FD0;  --info-bg:    #E5F4FC;

  /* Surfaces & text (light) */
  --bg: #F2F6F5;
  --bg-tint: #E6EFEC;
  --surface: #FFFFFF;
  --surface-2: #F3F7F6;
  --surface-glass: rgba(255,255,255,.78);
  --ink: #13201F;
  --ink-2: #36443F;
  --muted: #5D6B67;
  --line: #E1E9E6;
  --line-2: #CBD9D4;
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-ink: #FFFFFF;
  --focus: 0 0 0 4px rgba(17,112,109,.22);

  /* Type */
  --font: "Jakarta", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem;  --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-xl: 1.375rem; --fs-2xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-3xl: clamp(1.9rem, 1.2rem + 2.6vw, 2.75rem);
  --fs-display: clamp(2.35rem, 1.2rem + 4.6vw, 4.4rem);

  /* Space (4px grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;

  /* Radius */
  --r-xs: 8px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Shadow (navy-tinted) */
  --sh-xs: 0 1px 2px rgba(12,40,36,.06);
  --sh-sm: 0 1px 2px rgba(12,40,36,.05), 0 4px 12px rgba(12,40,36,.06);
  --sh-md: 0 2px 6px rgba(12,40,36,.06), 0 12px 32px rgba(12,40,36,.10);
  --sh-lg: 0 8px 20px rgba(12,40,36,.10), 0 28px 64px rgba(12,40,36,.16);
  --sh-blue: 0 8px 24px rgba(17,112,109,.32);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
  --d1: 140ms; --d2: 240ms; --d3: 420ms; --d4: 700ms;

  /* Shell */
  --nav-h: 68px;
  --tab-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --wrap: 1200px;

  color-scheme: light;
}

/* Navy dark theme */
[data-theme="dark"] {
  --bg: #0B1615;
  --bg-tint: #0F1D1C;
  --surface: #12201F;
  --surface-2: #172827;
  --surface-glass: rgba(18,32,31,.8);
  --ink: #E8F1EF;
  --ink-2: #C3D3CF;
  --muted: #8FA5A0;
  --line: #223634;
  --line-2: #2E4744;
  --primary: #3FA9A2;
  --primary-hover: #5CBDB6;
  --blue-50: #15302E;
  --blue-100: #1A3B38;
  --success-bg: rgba(42,140,66,.16);
  --warning-bg: rgba(199,119,0,.18);
  --danger-bg: rgba(220,50,72,.18);
  --info-bg: rgba(26,143,208,.18);
  --sh-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.25);
  --sh-md: 0 2px 6px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  --sh-lg: 0 8px 20px rgba(0,0,0,.35), 0 28px 64px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5, h6 { font-size: var(--fs-md); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--primary); text-decoration: none; transition: color var(--d1) var(--ease); }
a:hover { color: var(--primary-hover); }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s8) 0; }
::selection { background: var(--blue-200); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.2em; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; display: inline-block; vertical-align: -.18em; }
.ic-lg { width: 1.5em; height: 1.5em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: calc(12px + var(--safe-t)); z-index: 1000; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transform: translateY(-200%); transition: transform var(--d2) var(--ease); }
.skip-link:focus { transform: none; color: #fff; }

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, var(--safe-l)) max(20px, var(--safe-r)); }
.wrap-sm { max-width: 760px; }
.stack > * + * { margin-top: var(--s4); }
.row-flex { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.spacer { flex: 1; }
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: var(--s4); }
.grid-jobs { align-items: start; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: var(--s2); } .mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s8); }
.mb-2 { margin-bottom: var(--s2); } .mb-4 { margin-bottom: var(--s4); } .mb-6 { margin-bottom: var(--s6); }
.w-100 { width: 100%; }
.inline-form { display: inline-flex; margin: 0; }

.app-main { flex: 1 0 auto; width: 100%; }
.page-body { padding-bottom: var(--s16); position: relative; z-index: 1; }

/* ---------- 5. Top navigation (desktop) / app bar (mobile) ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  padding-top: var(--safe-t);
  background: rgba(12,40,36,.94);
  color: #fff;
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  view-transition-name: topnav;
  transition: box-shadow var(--d2) var(--ease), background var(--d2) var(--ease);
}
.topnav.is-scrolled { box-shadow: 0 10px 30px rgba(5,28,26,.28); background: rgba(8,21,52,.97); }
.topnav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 35px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform var(--d3) var(--ease-spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-size: 1.06rem; }
.brand__name span { color: var(--blue-300); font-weight: 600; }
.navlinks { display: flex; gap: 2px; margin-left: var(--s6); }
.navlink {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  color: rgba(255,255,255,.78); font-size: var(--fs-sm); font-weight: 600;
  transition: color var(--d1) var(--ease), background var(--d1) var(--ease);
}
.navlink:hover { color: #fff; background: rgba(255,255,255,.08); }
.navlink[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.navlink[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 3px; margin-left: -8px;
  border-radius: 3px; background: var(--blue-400);
}
.topnav__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #fff;
  transition: background var(--d1) var(--ease), transform var(--d1) var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.14); }
.icon-btn:active { transform: scale(.92); }
.theme-ic-dark { display: none; }
[data-theme="dark"] .theme-ic-dark { display: block; }
[data-theme="dark"] .theme-ic-light { display: none; }
.avatar {
  width: 42px; height: 42px; border-radius: var(--r-pill); display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff;
  font-weight: 750; font-size: .9rem; letter-spacing: .02em; border: 2px solid rgba(255,255,255,.22);
  transition: transform var(--d2) var(--ease-spring), box-shadow var(--d2) var(--ease);
}
button.avatar:hover { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(62,156,151,.25); }
.appbar-back, .appbar-title { display: none; }

/* Mobile app bar */
@media (max-width: 991.98px) {
  :root { --nav-h: 58px; }
  .navlinks, .nav-cta-desktop { display: none !important; }
  .brand__name { font-size: 1rem; }
  .is-subpage .brand { display: none; }
  .is-subpage .appbar-back { display: inline-grid; }
  .appbar-title { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-landing .appbar-title, .is-tabpage:not(.is-subpage) .appbar-title { display: none; }
  .icon-btn, .avatar { width: 38px; height: 38px; }
}

/* ---------- 6. Bottom tab bar (mobile) ---------- */
.tabbar { display: none; }
@media (max-width: 991.98px) {
  body.has-tabbar { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--tab-h) + var(--safe-b));
    padding: 6px max(8px, var(--safe-l)) var(--safe-b) max(8px, var(--safe-r));
    background: var(--surface-glass);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px rgba(12,40,36,.06);
    view-transition-name: tabbar;
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 48px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .01em;
    position: relative; user-select: none;
    transition: color var(--d2) var(--ease);
  }
  .tab__icon {
    width: 56px; height: 30px; display: grid; place-items: center; border-radius: var(--r-pill);
    transition: background var(--d2) var(--ease), transform var(--d2) var(--ease-spring);
  }
  .tab .ic { width: 21px; height: 21px; }
  .tab .ic-on { display: none; }
  .tab:active .tab__icon { transform: scale(.88); }
  .tab[aria-current="page"] { color: var(--primary); }
  .tab[aria-current="page"] .tab__icon { background: var(--blue-100); }
  .tab[aria-current="page"] .ic-off { display: none; }
  .tab[aria-current="page"] .ic-on { display: block; }
  .tab--primary .tab__icon {
    width: 50px; height: 50px; margin-top: -22px; border-radius: 18px;
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700)) !important;
    color: #fff; box-shadow: var(--sh-blue); border: 3px solid var(--surface);
  }
  .tab--primary .ic { width: 24px; height: 24px; }
  .tab--primary[aria-current="page"] { color: var(--primary); }
}

/* ---------- 7. Popover sheet (user menu) ---------- */
.sheet {
  margin: 0; border: 1px solid var(--line); padding: var(--s2);
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  width: 300px;
  inset: auto;
  position: fixed;
  top: calc(var(--nav-h) + var(--safe-t) + 8px);
  right: max(16px, calc((100vw - var(--wrap)) / 2 + 20px));
}
.sheet::backdrop { background: rgba(5,28,26,.28); }
@media (max-width: 991.98px) {
  .sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%;
    border-radius: var(--r-xl) var(--r-xl) 0 0; padding: var(--s3) var(--s3) calc(var(--s4) + var(--safe-b)); }
  .sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 2px auto 10px; }
  .sheet::backdrop { background: rgba(5,28,26,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet:popover-open { animation: sheet-in var(--d3) var(--ease-out); }
  @media (max-width: 991.98px) { .sheet:popover-open { animation: sheet-up var(--d3) var(--ease-out); } }
}
.sheet__head { display: flex; align-items: center; gap: var(--s3); padding: var(--s3); }
.sheet__head .avatar { border-color: var(--blue-100); }
.sheet__name { font-weight: 700; line-height: 1.2; }
.sheet__role { font-size: var(--fs-xs); color: var(--muted); text-transform: capitalize; }
.menu-item {
  display: flex; align-items: center; gap: var(--s3); width: 100%;
  padding: 12px var(--s3); border-radius: var(--r-md); border: 0; background: none;
  color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-align: left;
  transition: background var(--d1) var(--ease);
}
.menu-item:hover { background: var(--surface-2); color: var(--ink); }
.menu-item .ic { color: var(--primary); }
.menu-item--danger, .menu-item--danger .ic { color: var(--danger); }
.menu-sep { height: 1px; background: var(--line); margin: var(--s2) var(--s3); }

/* ---------- 8. Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: var(--fs-sm); line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform var(--d1) var(--ease), box-shadow var(--d2) var(--ease), background var(--d2) var(--ease), border-color var(--d2) var(--ease), color var(--d2) var(--ease);
}
.btn:hover { color: var(--btn-fg); border-color: var(--btn-bd); box-shadow: var(--sh-sm); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-primary { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: transparent;
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--primary) 100%); }
.btn-primary:hover { --btn-fg: #fff; box-shadow: var(--sh-blue); background: linear-gradient(180deg, var(--blue-500) 0%, var(--primary-hover) 100%); }
.btn-navy { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent; }
.btn-navy:hover { --btn-bg: var(--navy-800); }
[data-theme="dark"] .btn-navy { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: transparent; }
.btn-glass { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { --btn-bg: rgba(255,255,255,.16); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--primary); }
.btn-ghost:hover { --btn-bg: var(--blue-50); box-shadow: none; }
.btn-soft { --btn-bg: var(--blue-50); --btn-fg: var(--primary); --btn-bd: transparent; }
.btn-soft:hover { --btn-bg: var(--blue-100); }
.btn-outline, .btn-outline-primary, .btn-outline-secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline-primary { --btn-fg: var(--primary); --btn-bd: var(--blue-200); }
.btn-success { --btn-bg: var(--success); --btn-fg: #fff; --btn-bd: transparent; }
.btn-danger { --btn-bg: var(--danger); --btn-fg: #fff; --btn-bd: transparent; }
.btn-danger-soft { --btn-bg: var(--danger-bg); --btn-fg: var(--danger); --btn-bd: transparent; }
.btn-success-soft { --btn-bg: var(--success-bg); --btn-fg: var(--success); --btn-bd: transparent; }
.btn-warning { --btn-bg: var(--warning-bg); --btn-fg: var(--warning); --btn-bd: transparent; }
.btn-info { --btn-bg: var(--blue-50); --btn-fg: var(--primary); --btn-bd: transparent; }
.btn-secondary { --btn-bg: var(--surface-2); --btn-fg: var(--ink-2); --btn-bd: var(--line); }
.btn-outline-success { --btn-bg: transparent; --btn-fg: var(--success); --btn-bd: currentColor; }
.btn-outline-danger { --btn-bg: transparent; --btn-fg: var(--danger); --btn-bd: currentColor; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: var(--fs-xs); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: var(--fs-md); }
.btn-block, .d-grid > .btn { width: 100%; }
.btn-icon { width: 40px; min-height: 40px; padding: 0; }

/* ---------- 9. Cards & surfaces ---------- */
.card {
  position: relative; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease), border-color var(--d2) var(--ease);
}
.card-pad, .card-body { padding: var(--s6); }
.card-header { padding: var(--s4) var(--s6); border-bottom: 1px solid var(--line); font-weight: 700; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card-title { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--s2); }
.card-text { color: var(--ink-2); }
.card-img-top { width: 100%; border-radius: var(--r-md); object-fit: cover; }
.card-hover:hover, a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--blue-200); }
.card-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.card-head h2, .card-head h3 { margin: 0; font-size: var(--fs-lg); }

/* Chips & badges */
.chip, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; letter-spacing: .01em;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap; text-transform: capitalize;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip--plain::before { display: none; }
.chip--blue, .badge.bg-primary { background: var(--blue-50); color: var(--primary); border-color: var(--blue-100); }
.chip--success, .badge.bg-success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.chip--warning, .badge.bg-warning { background: var(--warning-bg); color: var(--warning) !important; border-color: transparent; }
.chip--danger, .badge.bg-danger { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.chip--navy { background: var(--navy-900); color: #fff; border-color: transparent; }
.badge.bg-secondary { background: var(--surface-2); color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 750;
  text-transform: uppercase; letter-spacing: .12em; color: var(--primary);
}

/* ---------- 10. Forms ---------- */
.field { display: block; margin-bottom: var(--s5); }
.label, .form-label { padding: 0; display: block; margin-bottom: 7px; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-2); }
.input, .form-control, .form-select {
  display: block; width: 100%; min-height: 50px; padding: 12px 16px;
  font-size: 16px; /* prevents iOS zoom */
  line-height: 1.4; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  appearance: none; -webkit-appearance: none;
  transition: border-color var(--d1) var(--ease), box-shadow var(--d2) var(--ease), background var(--d1) var(--ease);
}
.input::placeholder, .form-control::placeholder { color: #93A39F; }
.input:hover, .form-control:hover, .form-select:hover { border-color: var(--blue-300); }
.input:focus, .form-control:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); background: var(--surface); color: var(--ink); }
.input[readonly], .form-control[readonly] { background: var(--surface-2); }
textarea.input, textarea.form-control { min-height: 120px; resize: vertical; }
select.input, .form-select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364738F'%3E%3Cpath d='M1.6 5.1a.6.6 0 0 1 .9 0L8 10.6l5.5-5.5a.6.6 0 1 1 .9.9l-6 6a.6.6 0 0 1-.9 0l-6-6a.6.6 0 0 1 0-.9Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.input-sm, .form-select-sm { min-height: 38px; padding: 6px 36px 6px 12px; font-size: var(--fs-sm); border-radius: var(--r-sm); background-position: right 12px center; }
input[type="file"].input, input[type="file"].form-control { padding: 10px; }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--primary); font-weight: 650; cursor: pointer;
}
.input-icon { position: relative; }
.input-icon > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color var(--d1) var(--ease); }
.input-icon > .input { padding-left: 46px; }
.input-icon:focus-within > .ic { color: var(--primary); }
.input-icon > .reveal-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); border-radius: var(--r-sm); display: grid; place-items: center; }
.input-icon > .reveal-btn:hover { color: var(--primary); background: var(--blue-50); }
.input-icon.has-reveal > .input { padding-right: 52px; }
.hint { margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.form-check-input { width: 20px; height: 20px; accent-color: var(--primary); }
.meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 10px; }
.meter > span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--danger); transition: width var(--d3) var(--ease), background var(--d3) var(--ease); }
.reqs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.reqs li { font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); transition: all var(--d2) var(--ease); }
.reqs li.ok { background: var(--success-bg); color: var(--success); }

/* Segmented role picker (radio cards) */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.role-opt { position: relative; }
.role-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-opt span {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 52px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: var(--surface);
  font-weight: 650; font-size: var(--fs-sm); color: var(--ink-2);
  transition: all var(--d2) var(--ease);
}
.role-opt span .ic { color: var(--muted); transition: color var(--d2) var(--ease); }
.role-opt input:checked + span { border-color: var(--primary); background: var(--blue-50); color: var(--ink); box-shadow: 0 0 0 3px rgba(17,112,109,.12); }
.role-opt input:checked + span .ic { color: var(--primary); }
.role-opt input:focus-visible + span { box-shadow: var(--focus); }
.roles--sm .role-opt span { min-height: 42px; padding: 8px 12px; justify-content: center; }
.roles--3 { grid-template-columns: repeat(3, 1fr); }
details.more { margin-top: var(--s3); }
details.more > summary { list-style: none; cursor: pointer; font-size: var(--fs-sm); font-weight: 650; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary .ic { transition: transform var(--d2) var(--ease); }
details.more[open] > summary .ic { transform: rotate(90deg); }
details.more[open] > .roles { margin-top: var(--s3); animation: fade-up var(--d3) var(--ease-out); }

/* ---------- 11. Alerts, toasts, empty states ---------- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; margin-bottom: var(--s5);
  border-radius: var(--r-md); border: 1px solid transparent;
  font-size: var(--fs-sm); font-weight: 550;
  background: var(--info-bg); color: var(--info);
  animation: fade-up var(--d3) var(--ease-out);
}
.alert ul { margin: 6px 0 0; }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-danger { background: var(--danger-bg); color: var(--danger); }
.alert-warning { background: var(--warning-bg); color: var(--warning); }
.alert-info { background: var(--info-bg); color: var(--info); }
.alert.text-center { justify-content: center; }

.toasts {
  position: fixed; z-index: 90; left: 50%; transform: translateX(-50%);
  top: calc(var(--nav-h) + var(--safe-t) + 12px);
  display: grid; gap: 10px; width: min(92vw, 420px); pointer-events: none;
}
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--navy-900); color: #fff; box-shadow: var(--sh-lg);
  font-size: var(--fs-sm); font-weight: 600;
  animation: toast-in var(--d3) var(--ease-spring) both;
}
.toast .ic { width: 20px; height: 20px; }
.toast--success .ic { color: #4ADE9F; }
.toast--danger .ic { color: #FF7A8C; }
.toast--warning .ic { color: #FFC266; }
.toast--info .ic { color: var(--blue-300); }
.toast.is-leaving { animation: toast-out var(--d2) var(--ease) forwards; }

.empty {
  text-align: center; padding: var(--s12) var(--s6);
  background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg);
}
.empty__icon {
  width: 64px; height: 64px; margin: 0 auto var(--s4); border-radius: 20px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--primary);
}
.empty__icon .ic { width: 28px; height: 28px; }
.empty h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 380px; margin: 0 auto var(--s5); }

/* ---------- 12. Page band (navy header area) ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(23,128,124,.45), transparent 60%),
              radial-gradient(800px 300px at -10% 120%, rgba(62,156,151,.25), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: var(--s10) 0 calc(var(--s16) + var(--s6));
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.band h1 { color: #fff; margin-bottom: 6px; font-size: var(--fs-3xl); }
.band p { color: rgba(255,255,255,.74); margin: 0; max-width: 620px; }
.band .eyebrow { color: var(--blue-300); margin-bottom: 10px; }
.band__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.band + .page-body, .band + .wrap.page-body { margin-top: calc(-1 * var(--s16)); }
.band--sm { padding-bottom: calc(var(--s16) + var(--s2)); }
@media (max-width: 767.98px) {
  .band { padding: var(--s6) 0 calc(var(--s16) + var(--s2)); }
  .band h1 { font-size: 1.75rem; }
  .band p { font-size: var(--fs-sm); }
}

/* ---------- 13. Stats & tiles ---------- */
.stat {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.stat__icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--primary); }
.stat__icon .ic { width: 22px; height: 22px; }
.stat__icon--navy { background: var(--navy-900); color: #fff; }
.stat__icon--success { background: var(--success-bg); color: var(--success); }
.stat__icon--warning { background: var(--warning-bg); color: var(--warning); }
.stat__icon--danger { background: var(--danger-bg); color: var(--danger); }
.stat__label { font-size: var(--fs-xs); font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat__value { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
  .grid-stats { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .grid-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .grid-stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .grid-stats:has(> :nth-child(3):last-child) > :last-child { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .grid-stats:has(> :nth-child(3):last-child) .stat__label { font-size: 10px; letter-spacing: .04em; }
  .stat { flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s4); }
  .stat__icon { width: 40px; height: 40px; border-radius: 13px; }
  .stat__value { font-size: 1.5rem; }
}

.tile {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); color: var(--ink);
  transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease), border-color var(--d2) var(--ease);
}
.tile:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--blue-200); }
.tile:active { transform: scale(.98); }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); box-shadow: 0 6px 16px rgba(17,112,109,.28); }
.tile__icon .ic { width: 24px; height: 24px; }
.tile__icon--navy { background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); box-shadow: 0 6px 16px rgba(12,40,36,.25); }
.tile__icon--soft { background: var(--blue-50); color: var(--primary); box-shadow: none; }
.tile__title { font-weight: 700; margin: 0 0 2px; font-size: var(--fs-md); }
.tile__text { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.tile__chev { margin-left: auto; color: var(--line-2); transition: transform var(--d2) var(--ease), color var(--d2) var(--ease); }
.tile:hover .tile__chev { color: var(--primary); transform: translateX(3px); }

/* Welcome card */
.welcome { display: flex; align-items: center; gap: var(--s4); }
.welcome .avatar { width: 56px; height: 56px; font-size: 1.1rem; border-width: 3px; }
.welcome__hi { color: rgba(255,255,255,.7); font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s10) 0 var(--s4); }
.section-title h2 { font-size: var(--fs-xl); margin: 0; }

/* ---------- 14. Job cards ---------- */
.job-card { display: flex; flex-direction: column; overflow: hidden; }
.job-card:hover { box-shadow: var(--sh-md); border-color: var(--blue-200); }
.job-card__media { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--blue-100), var(--blue-50)); overflow: hidden; }
.job-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d4) var(--ease); }
.job-card:hover .job-card__media img { transform: scale(1.04); }
.job-card__media > .ic { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; color: var(--blue-300); }
.job-card__media img { position: relative; z-index: 1; }
.job-card__media.is-broken img { display: none; }
.job-card__media .chip { position: absolute; z-index: 2; top: 12px; left: 12px; box-shadow: var(--sh-sm); }
.job-card__body { padding: var(--s5) var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.job-card__top { display: flex; align-items: flex-start; gap: var(--s3); }
.job-card__logo { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-weight: 750; font-size: .95rem; }
.job-card__title { font-size: 1.08rem; font-weight: 750; margin: 0 0 2px; line-height: 1.3; }
.job-card__by { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.job-card__pay { margin-left: auto; text-align: right; font-weight: 800; font-size: 1.1rem; color: var(--ink); white-space: nowrap; letter-spacing: -.02em; }
.job-card__pay small { display: block; font-size: 11px; font-weight: 650; color: var(--muted); letter-spacing: .02em; }
.job-card__desc { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.job-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta .ic { color: var(--blue-400); }
.job-card__foot { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; padding: var(--s4) var(--s5); border-top: 1px solid var(--line); background: var(--surface-2); }
.job-card__foot .spacer { min-width: 4px; }
.map-frame { height: 0; overflow: hidden; border-radius: var(--r-md); transition: height var(--d3) var(--ease); background: var(--surface-2); }
.map-frame.is-open { height: 180px; border: 1px solid var(--line); }
.map-frame > div { height: 180px; }
.map-toggle[aria-expanded="true"] { background: var(--blue-100); }
.leaflet-container { font-family: var(--font) !important; border-radius: var(--r-md); }
.leaflet-popup-content-wrapper { border-radius: var(--r-md) !important; box-shadow: var(--sh-md) !important; }
.leaflet-popup-content a.btn { color: #fff; }

/* List rows (applications etc.) */
.list { display: grid; gap: var(--s3); }
.list-row {
  display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  transition: box-shadow var(--d2) var(--ease), border-color var(--d2) var(--ease), transform var(--d2) var(--ease);
}
.list-row:hover { box-shadow: var(--sh-md); border-color: var(--blue-200); }
.list-row__icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--primary); font-weight: 750; }
.list-row__main { min-width: 0; flex: 1; }
.list-row__title { font-weight: 700; margin: 0; line-height: 1.35; }
.list-row__sub { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.list-row__side { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 575.98px) {
  .list-row { flex-wrap: wrap; padding: var(--s4); }
  .list-row__side { width: 100%; justify-content: flex-start; padding-left: 62px; }
}

/* Search / filter bar */
.searchbar {
  display: flex; gap: var(--s2); align-items: center; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md);
}
.searchbar .input-icon { flex: 1; }
.searchbar .input { border-color: transparent; background: var(--surface-2); min-height: 48px; border-radius: var(--r-lg); }
.searchbar .input:focus { background: var(--surface); }
@media (max-width: 767.98px) {
  .searchbar { flex-wrap: wrap; border-radius: var(--r-lg); }
  .searchbar .input-icon { flex: 1 1 100%; }
  .searchbar .btn { flex: 1; }
}
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s6) 0 var(--s4); }
.result-meta h2 { margin: 0; font-size: var(--fs-lg); }

/* Collapsible post-job panel */
.panel { overflow: hidden; }
.panel > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s4); padding: var(--s5) var(--s6); }
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary .tile__chev { transition: transform var(--d3) var(--ease); }
.panel[open] > summary .tile__chev { transform: rotate(90deg); color: var(--primary); }
.panel__body { padding: 0 var(--s6) var(--s6); border-top: 1px solid var(--line); padding-top: var(--s6); }
.panel[open] .panel__body { animation: fade-up var(--d3) var(--ease-out); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s5); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .form-grid { grid-template-columns: 1fr; } .panel > summary { padding: var(--s4); } .panel__body { padding: var(--s4); } }
.picker-map { height: 320px; border-radius: var(--r-md); border: 1.5px solid var(--line-2); overflow: hidden; }
.preview-img { max-height: 200px; border-radius: var(--r-md); margin-top: var(--s3); }
.is-hidden, .d-none { display: none !important; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); color: var(--ink); margin: 0; }
.table th { text-align: left; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-hover tbody tr:hover, .table tbody tr:hover { background: var(--blue-50); }

@media (max-width: 767.98px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack td { padding: 0; border: 0; text-align: left !important; }
  .table--stack td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .table--stack td:first-child { grid-column: 1 / -1; font-size: var(--fs-md); }
  .table--stack td:first-child::before, .table--stack td:last-child::before { display: none; }
  .table--stack td:last-child { grid-column: 1 / -1; }
  .table--stack td:last-child .inline-form { width: 100%; }
  .table--stack td:last-child .btn { flex: 1; }
}

/* Chart cards */
.chart-card { padding: var(--s5) var(--s6) var(--s6); }
.chart-card h3 { font-size: var(--fs-md); margin: 0 0 var(--s4); display: flex; align-items: center; gap: 8px; }
.chart-card h3 .ic { color: var(--primary); }
.chart-box { position: relative; height: 260px; }

/* ---------- 15. Landing ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
}
.hero__aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
.hero__aurora span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero__aurora span:nth-child(1) { width: 520px; height: 520px; left: 55%; top: 0; background: #11706D; }
.hero__aurora span:nth-child(2) { width: 380px; height: 380px; left: 75%; top: 35%; background: #3E9C97; opacity: .35; }
.hero__aurora span:nth-child(3) { width: 420px; height: 420px; left: -8%; top: 45%; background: #0E4A47; opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .hero__aurora span:nth-child(1) { animation: drift 16s var(--ease) infinite alternate; }
  .hero__aurora span:nth-child(2) { animation: drift 20s var(--ease) infinite alternate-reverse; }
  .hero__aurora span:nth-child(3) { animation: drift 24s var(--ease) infinite alternate; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; font-size: var(--fs-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: var(--s5) 0; }
.grad-text { background: linear-gradient(92deg, #9FD3CD 0%, #FFFFFF 55%, #BFE0DC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: rgba(255,255,255,.76); max-width: 540px; margin-bottom: var(--s8); }
.hero__ctas { display: flex; gap: var(--s3); flex-wrap: wrap; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.88); }
.pill-badge b { background: var(--blue-600); color: #fff; padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 750; }
.trust { display: flex; gap: clamp(20px, 4vw, 44px); margin-top: var(--s10); flex-wrap: wrap; }
.trust__num { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.trust__label { font-size: var(--fs-xs); color: rgba(255,255,255,.6); font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

.hero__visual { position: relative; min-height: 520px; }
.float-card {
  position: absolute; width: min(100%, 360px); padding: var(--s5);
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.4);
}
[data-theme="dark"] .float-card { background: rgba(18,32,31,.96); box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
.float-card:nth-child(1) { top: 0; right: 0; z-index: 3; }
.float-card:nth-child(2) { top: 165px; left: 0; z-index: 2; transform: rotate(-3deg); }
.float-card:nth-child(3) { top: 350px; right: 16px; z-index: 1; transform: rotate(2deg); }
@media (prefers-reduced-motion: no-preference) {
  .float-card:nth-child(1) { animation: float 7s ease-in-out infinite; }
  .float-card:nth-child(2) { animation: float2 8s ease-in-out infinite .6s; }
  .float-card:nth-child(3) { animation: float3 9s ease-in-out infinite 1.2s; }
}
.float-card .job-card__top { margin-bottom: 12px; }
.float-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ping { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--success); }
.ping::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(42,140,66,.5); animation: ping 2s infinite; }

@media (max-width: 991.98px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 8px 20px 20px; scrollbar-width: none; }
  .hero__visual::-webkit-scrollbar { display: none; }
  .float-card { position: relative; inset: auto !important; transform: none !important; animation: none !important; flex: 0 0 82%; scroll-snap-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .trust { margin-top: var(--s8); }
}
@media (max-width: 575.98px) { .hero__ctas .btn { flex: 1 1 100%; } }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-3xl); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin: 0; }

.seg-tabs { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); position: relative; margin: 0 auto var(--s8); }
.seg-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.seg-tabs label { position: relative; z-index: 1; padding: 10px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; transition: color var(--d2) var(--ease); }
.seg-tabs__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--navy-900); box-shadow: var(--sh-sm); transition: transform var(--d3) var(--ease-spring); }
[data-theme="dark"] .seg-tabs__thumb { background: var(--primary); }
#how-p:checked ~ .seg-tabs__thumb { transform: translateX(100%); }
#how-c:checked + label, #how-p:checked + label { color: #fff; }
.how { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); text-align: left; }
.steps--p { display: none; }
.how:has(#how-p:checked) .steps--c { display: none; }
.how:has(#how-p:checked) .steps--p { display: grid; animation: fade-up var(--d3) var(--ease-out); }
.how:has(#how-c:checked) .steps--c { animation: fade-up var(--d3) var(--ease-out); }
.step { padding: var(--s6); }
.step__n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: var(--s4);
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); box-shadow: 0 6px 16px rgba(17,112,109,.3); }
.step h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.bento > * { grid-column: span 2; }
.bento > .bento--wide { grid-column: span 4; }
.feature { padding: var(--s8) var(--s6); overflow: hidden; }
.feature .tile__icon { margin-bottom: var(--s5); }
.feature h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.feature--navy { background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: #fff; }
.feature--navy h3 { color: #fff; }
.feature--navy p { color: rgba(255,255,255,.7); }
.feature__art { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); }
.feature__art::before, .feature__art::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); inset: 30px; }
.feature__art::after { inset: 70px; background: radial-gradient(circle, rgba(23,128,124,.6), transparent 70%); border: 0; }
.feature__pin { position: absolute; right: 64px; bottom: 50px; color: #fff; width: 34px; height: 34px; }
@media (prefers-reduced-motion: no-preference) { .feature__pin { animation: bob 2.4s ease-in-out infinite; } }
@media (max-width: 991.98px) { .bento > *, .bento > .bento--wide { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .bento--wide { grid-column: auto; } }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) var(--s6);
  background: radial-gradient(600px 240px at 50% 0%, rgba(23,128,124,.55), transparent 70%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--sh-lg);
}
.cta-band h2 { color: #fff; font-size: var(--fs-3xl); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 560px; margin: 0 auto var(--s8); font-size: var(--fs-lg); }
.cta-band .hero__ctas { justify-content: center; }

/* ---------- 16. Auth ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100dvh - var(--nav-h) - var(--safe-t)); }
.auth__aside {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(40px, 6vw, 80px);
  background: radial-gradient(700px 400px at 100% 0%, rgba(23,128,124,.5), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(62,156,151,.3), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-950));
  display: flex; flex-direction: column; justify-content: center;
}
.auth__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.auth__aside h2 { color: #fff; font-size: var(--fs-3xl); letter-spacing: -.03em; margin: var(--s5) 0 var(--s4); max-width: 480px; }
.auth__aside p { color: rgba(255,255,255,.72); max-width: 440px; }
.auth__list { list-style: none; padding: 0; margin: var(--s8) 0 0; display: grid; gap: var(--s4); }
.auth__list li { display: flex; align-items: center; gap: var(--s3); font-weight: 600; color: rgba(255,255,255,.9); }
.auth__list .ic { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: rgba(255,255,255,.1); color: var(--blue-300); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) var(--s5); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card__head { margin-bottom: var(--s6); }
.auth-card__head h1 { font-size: 2rem; margin: var(--s3) 0 6px; }
.auth-card__head p { color: var(--muted); margin: 0; }
.auth-card__mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); box-shadow: var(--sh-blue); }
.auth-card__mark .ic { width: 24px; height: 24px; }
.auth-card__mark--navy { background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); box-shadow: 0 8px 24px rgba(12,40,36,.3); }
.auth-alt { margin-top: var(--s6); text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.auth-alt a { font-weight: 700; }
.divider { display: flex; align-items: center; gap: var(--s3); margin: var(--s6) 0; color: var(--muted); font-size: var(--fs-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.role-links { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: center; }
@media (max-width: 991.98px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth__aside { padding: var(--s8) var(--s5) calc(var(--s12) + var(--s4)); text-align: left; }
  .auth__aside h2 { font-size: 1.6rem; margin: var(--s3) 0 var(--s2); }
  .auth__aside p, .auth__list { display: none; }
  .auth__main { margin-top: calc(-1 * var(--s10)); padding: 0; align-items: stretch; position: relative; z-index: 1; }
  .auth-card { max-width: none; background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: var(--s8) var(--s5) var(--s10); box-shadow: 0 -10px 30px rgba(5,28,26,.12); min-height: 60vh; }
  .auth-card__head h1 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 991.98px) { .auth-card { animation: sheet-up var(--d4) var(--ease-out) both; } }

/* Role chooser (auth.php) */
.role-card { display: flex; flex-direction: column; padding: var(--s8) var(--s6); }
.role-card .tile__icon { margin-bottom: var(--s5); }
.role-card h3 { margin-bottom: 6px; }
.role-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.role-card .btn + .btn { margin-top: var(--s2); }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.66); padding: var(--s12) 0 calc(var(--s8) + var(--safe-b)); margin-top: auto; font-size: var(--fs-sm); }
.site-footer .brand { margin-bottom: var(--s3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s8); }
.footer-grid h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.7); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: var(--s10); padding-top: var(--s6); font-size: var(--fs-xs); }
@media (max-width: 767.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 991.98px) { body.is-app .site-footer { display: none; } }

/* ---------- 18. Legacy pages (inherit the shell cleanly) ---------- */
.ui-legacy .app-main { max-width: var(--wrap); margin-inline: auto; padding: var(--s6) max(20px, var(--safe-l)) var(--s16); }
.ui-legacy .app-main > main.container, .ui-legacy .app-main > .container { padding-top: var(--s4) !important; max-width: 100%; }
.ui-legacy .app-main h2:first-child, .ui-legacy main > h2:first-child { font-size: var(--fs-2xl); }
.ui-legacy .shadow, .ui-legacy .shadow-sm, .ui-legacy .shadow-lg { box-shadow: var(--sh-sm) !important; }
.ui-legacy .text-bg-primary { background: linear-gradient(145deg, var(--blue-500), var(--blue-700)) !important; color: #fff !important; }
.ui-legacy .bg-primary { background-color: var(--primary) !important; }
.ui-legacy .card-header.bg-primary { background: var(--navy-900) !important; }
.ui-legacy .display-6 { font-weight: 800; letter-spacing: -.03em; }
.ui-legacy .modal-content { border-radius: var(--r-lg); border: 0; box-shadow: var(--sh-lg); }

/* ---------- 19. Motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 180ms var(--ease) both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out) both; }
::view-transition-group(topnav), ::view-transition-group(tabbar) { animation-duration: 0s; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--d4) var(--ease-out), transform var(--d4) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.enter { animation: fade-up var(--d4) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }

@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-in { from { transform: translateY(-8px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-60px,40px,0) scale(1.12); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes float3 { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-14px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(42,140,66,.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(42,140,66,0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (hover: none) { .card-hover:hover, .tile:hover, .btn:hover { transform: none; } }
@media print { .topnav, .tabbar, .site-footer, .toasts { display: none !important; } }
[data-theme="dark"] .job-card__logo { background: var(--navy-600); }
[data-theme="dark"] .band { background: radial-gradient(1200px 400px at 85% -10%, rgba(23,128,124,.35), transparent 60%), linear-gradient(160deg, #0A3D3B 0%, #082C2A 100%); }

/* Native dialogs (admin drill-down) */
dialog { color: var(--ink); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg, 0 30px 80px rgba(5,28,26,.35)); padding: 0; }
dialog.card-pad { padding: 24px; }
dialog::backdrop { background: rgba(4, 13, 38, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open] { animation: nu-pop .24s var(--ease-out, ease-out); }
@keyframes nu-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }

/* ==========================================================================
   v2 — Client proposed design (teal/pine, serif headlines, photo cards)
   ========================================================================== */
@font-face {
  font-family: "Nuahn Serif";
  src: url("fonts/dmserif-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face { font-family: "Nuahn Serif Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 98%; descent-override: 26%; }
:root { --font-display: "Nuahn Serif", "Nuahn Serif Fallback", Georgia, "Times New Roman", serif; --pine: #0A4D4A; --teal: #11706D; --tint: #E4F4F2; --tint-2: #E0ECE8; --r-card: 18px; }
[data-theme="dark"] { --pine: #5CBDB6; --tint: #15302E; --tint-2: #182B29; }
.serif, h1, .band h1, .section-head h2, .auth-card__head h1, .auth__aside h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; }
h1 { line-height: 1.12; }

/* Top nav: white, ink text */
.topnav { background: rgba(255,255,255,.94); color: var(--ink); border-bottom: 1px solid var(--line); }
.topnav.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 6px 24px rgba(12,40,36,.08); }
[data-theme="dark"] .topnav { background: rgba(18,32,31,.94); }
.brand, .brand:hover { color: var(--pine); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); }
.logo-mark { flex: none; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 1.62rem; letter-spacing: .01em; color: var(--ink); }
.logo__sub { font-size: .58rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--pine); margin-top: 3px; }
.site-footer .logo, .site-footer .logo__name, .auth__aside .logo, .auth__aside .logo__name { color: #fff; }
.site-footer .logo__sub, .auth__aside .logo__sub { color: #9FD3CD; }
.navlinks { margin-left: auto; gap: 4px; }
.navlink { color: var(--ink-2); font-size: .92rem; background: none; border: 0; }
.navlink:hover { color: var(--teal); background: var(--blue-50); }
.navlink[aria-current="page"] { color: var(--teal); background: var(--blue-50); }
.navlink[aria-current="page"]::after { background: var(--teal); }
.navlink .ic { width: .85em; height: .85em; }
.navlink .dot, .tab__dot { width: 8px; height: 8px; border-radius: 50%; background: #E0483E; box-shadow: 0 0 0 2px var(--surface); }
.navlink .dot { position: absolute; top: 7px; right: 6px; }
.tab__dot { position: absolute; top: 4px; left: calc(50% + 8px); }
.topnav__actions { margin-left: var(--s4); }
.icon-btn { color: var(--ink-2); border-color: var(--line); background: var(--surface); }
.icon-btn:hover { background: var(--blue-50); color: var(--teal); }
.avatar { background: var(--teal); border-color: var(--blue-100); }
.account-btn { display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px 3px 3px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 650; font-size: .92rem; }
.account-btn:hover { border-color: var(--blue-200); background: var(--blue-50); }
.account-btn .avatar { width: 34px; height: 34px; font-size: .78rem; border-width: 0; }
.sheet--services { width: 360px; right: auto; left: max(16px, calc((100vw - var(--wrap)) / 2 + 300px)); }
.sheet--services .menu-item { align-items: flex-start; }
.sheet--services .menu-item small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.35; }
.sheet--services .menu-item .ic { margin-top: 2px; }
@media (max-width: 991.98px) {
  .account-btn { padding: 0; border: 0; background: none; }
  .account-btn__label { display: none; }
  .logo__name { font-size: 1.4rem; }
  .sheet--services { left: 0; width: 100%; }
}

/* Buttons: flat teal, softer radius */
.btn { border-radius: 12px; }
.btn-primary { background: var(--teal); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 8px 20px rgba(17,112,109,.28); }
[data-theme="dark"] .btn-primary { background: #1C8A85; }
.btn-outline { --btn-fg: var(--teal); --btn-bd: var(--blue-200); background: var(--surface); }
.card, .tile, .stat, .list-row { border-radius: var(--r-card); }
.tab[aria-current="page"] { color: var(--teal); }
.tab--primary .tab__icon { background: var(--teal) !important; box-shadow: 0 8px 20px rgba(17,112,109,.35); }
.band { background: radial-gradient(900px 340px at 85% -20%, rgba(62,156,151,.45), transparent 60%), linear-gradient(160deg, #0B4643 0%, #07302E 100%); }
.band::after { opacity: .25; }
.site-footer { background: #072E2C; }

.sample-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #8A5A00; background: #FFF4DA; border: 1px dashed #E8C27A; white-space: nowrap; }
.sample-tag .ic { width: 12px; height: 12px; }
[data-theme="dark"] .sample-tag { background: rgba(255,196,80,.12); color: #F2C46D; border-color: rgba(242,196,109,.4); }

/* ---------- Landing v2 ---------- */
.lhero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(380px, 44vw, 560px); display: flex; align-items: center; }
.lhero__img, .lhero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; z-index: -2; }
.lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,250,249,.96) 0%, rgba(246,250,249,.86) 36%, rgba(246,250,249,.25) 64%, rgba(246,250,249,0) 80%); }
[data-theme="dark"] .lhero::before { background: linear-gradient(90deg, rgba(11,22,21,.95) 0%, rgba(11,22,21,.82) 40%, rgba(11,22,21,.2) 75%); }
.lhero__in { padding-block: clamp(40px, 6vw, 80px); }
.lhero__title { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); line-height: 1.06; max-width: 640px; color: var(--ink); margin: 0 0 var(--s4); }
.lhero__title em { font-style: normal; color: var(--teal); }
.lhero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); max-width: 520px; margin-bottom: var(--s6); }
.addr { display: flex; gap: 8px; padding: 8px; max-width: 620px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 34px rgba(12,40,36,.14); }
.addr__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-width: 0; }
.addr__field .ic { color: var(--teal); width: 20px; height: 20px; }
.addr__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; min-height: 48px; color: var(--ink); }
.addr .btn { border-radius: 11px; }
@media (max-width: 640px) {
  .lhero { min-height: 0; align-items: flex-end; }
  .lhero__img img { object-position: 70% 50%; }
  .lhero::before { background: linear-gradient(180deg, rgba(246,250,249,.2) 0%, rgba(246,250,249,.88) 45%, rgba(246,250,249,.98) 100%); }
  .lhero__in { padding-top: 140px; padding-bottom: 28px; }
  .addr { flex-direction: column; }
  .addr .btn { width: 100%; }
}

.lmain { padding-top: clamp(28px, 4vw, 48px); padding-bottom: var(--s16); }
.lmain__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s6); align-items: start; }
.lsec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.lsec-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); margin: 0; }
.lsec-head--center { flex-direction: column; align-items: center; text-align: center; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.svc { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 1px 2px rgba(12,40,36,.04), 0 6px 18px rgba(12,40,36,.06); transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(12,40,36,.12); }
.svc__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d4) var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc__body h3 { font-size: 1rem; font-weight: 750; margin: 0; letter-spacing: -.01em; font-family: var(--font); }
.svc__body p { font-size: .82rem; color: var(--muted); margin: 0 0 4px; line-height: 1.4; flex: 1; }
.svc--other .svc__media img { filter: saturate(.85); }
.lside { display: grid; gap: var(--s4); position: sticky; top: calc(var(--nav-h) + 16px); }
.lside__h { font-family: var(--font); font-size: 1rem; font-weight: 750; margin: 0; letter-spacing: -.01em; }
.wx, .nb { padding: var(--s5); }
.wx { background: linear-gradient(180deg, #EAF1F3, var(--surface)); }
[data-theme="dark"] .wx { background: var(--surface); }
.wx__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: var(--s3); }
.wx__now { display: flex; align-items: center; gap: var(--s3); }
.wx__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--surface); color: #3A7CA5; box-shadow: var(--sh-xs); }
.wx__icon .ic { width: 30px; height: 30px; }
.wx__temp { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.wx__text { font-weight: 650; color: var(--ink-2); font-size: .92rem; }
.wx__city { margin: var(--s3) 0; color: var(--muted); font-size: .88rem; display: flex; gap: 6px; align-items: center; }
.nb__row { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s4); }
.nb__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--teal); flex: none; }
.nb__icon .ic { width: 22px; height: 22px; }
.nb__title { font-weight: 750; }
.nb__when { font-size: .9rem; color: var(--ink-2); }
.nb__team { font-size: .82rem; color: var(--muted); }
.nb__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nb__actions .btn { flex: 1; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--s10); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-xs); }
.step4 { display: flex; gap: var(--s3); padding: var(--s5); position: relative; }
.step4 + .step4 { border-left: 1px solid var(--line); }
.step4 + .step4::before { content: ""; position: absolute; left: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 8px var(--teal); }
.step4__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--teal); }
.step4__t { font-weight: 750; display: flex; gap: 8px; align-items: center; }
.step4__n { width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.step4 p { margin: 2px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.plans { margin-top: var(--s16); }
.plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); max-width: 880px; margin: 0 auto; }
.plan { padding: var(--s6); display: flex; flex-direction: column; }
.plan--premium { border: 2px solid var(--teal); background: linear-gradient(180deg, var(--tint), var(--surface) 55%); }
.plan__tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.plan h3 { font-size: 2rem; margin: 4px 0 2px; }
.plan__price { font-weight: 750; color: var(--ink-2); margin-bottom: var(--s4); }
.plan__list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.plan__list .ic { color: var(--success); margin-top: 3px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .lmain__grid { grid-template-columns: 1fr; }
  .lside { position: static; grid-template-columns: 1fr 1fr; order: -1; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .step4:nth-child(3) { border-left: 0; }
  .step4:nth-child(n+3) { border-top: 1px solid var(--line); }
  .step4:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lside { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; }
  .step4 + .step4 { border-left: 0; border-top: 1px solid var(--line); }
  .step4 + .step4::before { display: none; }
  .plans__grid { grid-template-columns: 1fr; }
}

/* ---------- App screens (book, track, lists, chat, calendar, route) ---------- */
.screen { max-width: 560px; margin: 0 auto; padding: var(--s5) max(16px, var(--safe-l)) var(--s16); }
.screen--wide { max-width: 980px; }
.screen__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.screen__head h1 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin: 0; }
.screen__head p { margin: 2px 0 0; color: var(--muted); }
.panel2 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(12,40,36,.04), 0 6px 18px rgba(12,40,36,.05); padding: var(--s5); }
.panel2 + .panel2 { margin-top: var(--s4); }
.panel2__h { font-size: .98rem; font-weight: 750; margin: 0 0 var(--s3); display: flex; align-items: center; gap: 8px; font-family: var(--font); letter-spacing: -.01em; }
.panel2__h .ic { color: var(--teal); }
@media (max-width: 991.98px) { .page-book .appbar-title, .page-track .appbar-title { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; } }

/* Book */
.bk-hero { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: var(--s4); background: var(--tint-2); }
.bk-hero img { width: 100%; height: 100%; object-fit: cover; }
.bk-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5,28,26,.78)); }
.bk-hero__cap h1 { color: #fff; font-size: 1.8rem; margin: 0; }
.bk-hero__cap p { margin: 0; color: rgba(255,255,255,.88); font-size: .92rem; }
.svc-switch { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px var(--s4); padding: 0 16px 2px; }
.svc-switch::-webkit-scrollbar { display: none; }
.svc-switch a { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .82rem; font-weight: 650; }
.svc-switch a[aria-current="page"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.fld { margin-bottom: var(--s4); }
.fld:last-child { margin-bottom: 0; }
.fld > .label { margin-bottom: 8px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--surface-2); font-size: 1.3rem; color: var(--teal); font-weight: 700; }
.stepper input { width: 56px; height: 46px; border: 0; text-align: center; font-size: 1.1rem; font-weight: 750; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipopt { position: relative; }
.chipopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chipopt span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 650; font-size: .88rem; color: var(--ink-2); transition: all var(--d1) var(--ease); }
.chipopt input:checked + span { border-color: var(--teal); background: var(--tint); color: var(--pine); }
.chipopt input:focus-visible + span { box-shadow: var(--focus); }
.chipopt input:disabled + span { opacity: .45; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 10px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.seg span small { display: block; font-weight: 600; font-size: 11px; }
.seg input:checked + span { background: var(--surface); color: var(--pine); box-shadow: var(--sh-sm); }
.freq-premium { margin-top: 10px; }
.bk-form:has(#plan-basic:checked) .freq-premium { display: none; }
.bk-form:has(#plan-premium:checked) .freq-basic { display: none; }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.windows .chipopt span { width: 100%; justify-content: center; border-radius: 12px; padding: 10px 6px; text-align: center; font-size: .82rem; }
.price { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r-card); background: var(--tint-2); margin-top: var(--s4); }
.price__l { font-size: .85rem; color: var(--ink-2); font-weight: 650; }
.price__v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--pine); line-height: 1; }
.price__v small { font-size: .85rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.price__note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.sticky-cta { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); margin-top: var(--s4); z-index: 5; }
.sticky-cta .btn { box-shadow: 0 10px 26px rgba(17,112,109,.35); }
@media (min-width: 992px) { .sticky-cta { bottom: 16px; } }
.ok-card { text-align: center; padding: var(--s8) var(--s5); }
.ok-card__ic { width: 64px; height: 64px; margin: 0 auto var(--s4); border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }
.ok-card__ic .ic { width: 30px; height: 30px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; font-size: .92rem; margin: var(--s4) 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 650; }

/* Track */
.trk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: var(--s3); }
.trk-top h1 { font-size: 1.7rem; margin: 0; }
.pill-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--success-bg); color: var(--success); font-weight: 750; font-size: .84rem; white-space: nowrap; }
.pill-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ping 2s infinite; }
.pill-status--arrived { background: var(--tint); color: var(--pine); }
.eta { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border-radius: var(--r-card); background: var(--tint); margin-bottom: var(--s3); }
.eta__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--teal); flex: none; }
.eta__l { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.eta__v { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--pine); line-height: 1.1; }
.eta__min { margin-left: auto; text-align: right; font-weight: 750; color: var(--teal); }
.trk-map { height: 260px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #E6EDEA; margin-bottom: var(--s3); position: relative; }
.trk-map > div { height: 100%; }
.veh-marker { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(17,112,109,.25), 0 6px 14px rgba(0,0,0,.25); }
.veh-marker svg { width: 20px; height: 20px; fill: #fff; }
.home-marker { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pine); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.home-marker svg { width: 15px; height: 15px; fill: #fff; transform: rotate(45deg); }
.team { display: flex; align-items: center; gap: var(--s3); }
.team .avatar { width: 46px; height: 46px; }
.team__name { font-weight: 750; }
.team__sub { font-size: .82rem; color: var(--muted); }
.team .btn { margin-left: auto; }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { position: relative; display: flex; gap: var(--s3); padding: 0 0 18px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.is-done::before { background: var(--success); }
.tl__dot { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); z-index: 1; }
.tl__dot .ic { width: 13px; height: 13px; color: #fff; }
.tl li.is-done .tl__dot { background: var(--success); border-color: var(--success); }
.tl li.is-current .tl__dot { background: var(--pine); border-color: var(--pine); box-shadow: 0 0 0 5px rgba(10,77,74,.15); }
.tl__t { font-weight: 700; line-height: 24px; }
.tl li:not(.is-done) .tl__t { color: var(--muted); font-weight: 600; }
.tl__time { margin-left: auto; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 24px; }
.tl__note { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; line-height: 1.2; }
.arrive { display: none; align-items: center; gap: var(--s3); padding: var(--s4); border-radius: var(--r-card); background: var(--pine); color: #fff; margin-bottom: var(--s3); box-shadow: 0 12px 30px rgba(10,77,74,.3); }
.arrive.is-on { display: flex; animation: toast-in var(--d3) var(--ease-spring) both; }
.arrive .ic { width: 26px; height: 26px; color: #9FE0B0; }
.arrive b { display: block; }
.arrive span { font-size: .86rem; opacity: .85; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint-2); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba figcaption { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(5,28,26,.72); color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.ba figcaption small { text-transform: none; font-weight: 600; opacity: .8; letter-spacing: 0; }
.escrow { margin-top: var(--s4); }
.escrow__row { display: flex; justify-content: space-between; font-size: .9rem; padding: 4px 0; color: var(--ink-2); }
.escrow__row b { color: var(--ink); }
.escrow__lock { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: var(--s3) 0; }
.escrow__lock .ic { color: var(--teal); margin-top: 2px; }
.trk-grid { display: grid; gap: var(--s4); }
@media (min-width: 992px) {
  .screen--track { max-width: 1100px; }
  .trk-grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .trk-map { height: 420px; }
}

/* Lists: bookings & messages */
.blist { display: grid; gap: var(--s3); }
.brow { display: flex; gap: var(--s3); align-items: center; padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); box-shadow: 0 1px 2px rgba(12,40,36,.04); transition: box-shadow var(--d2) var(--ease), transform var(--d2) var(--ease); }
.brow:hover { color: var(--ink); box-shadow: var(--sh-md); transform: translateY(-1px); }
.brow__img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; background: var(--tint-2); }
.brow__img img { width: 100%; height: 100%; object-fit: cover; }
.brow__main { flex: 1; min-width: 0; }
.brow__t { font-weight: 750; margin: 0; }
.brow__s { font-size: .85rem; color: var(--muted); margin: 1px 0 0; }
.brow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.brow__side .ic { color: var(--line-2); }
.filters { display: flex; gap: 8px; margin-bottom: var(--s4); overflow-x: auto; scrollbar-width: none; }
.filters a { flex: none; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 650; font-size: .85rem; }
.filters a[aria-current="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.thread { display: flex; gap: var(--s3); align-items: center; padding: 14px var(--s4); color: var(--ink); border-bottom: 1px solid var(--line); }
.thread:last-child { border-bottom: 0; }
.thread:hover { background: var(--surface-2); color: var(--ink); }
.thread .avatar { width: 48px; height: 48px; flex: none; }
.thread__main { flex: 1; min-width: 0; }
.thread__top { display: flex; gap: 8px; align-items: baseline; }
.thread__name { font-weight: 750; }
.thread__time { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.thread__about { font-size: .78rem; color: var(--teal); font-weight: 650; }
.thread__last { font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.is-unread .thread__last { color: var(--ink); font-weight: 650; }
.badge-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.list-card { padding: 0; overflow: hidden; }

/* Chat */
.chat { display: flex; flex-direction: column; min-height: calc(100dvh - var(--nav-h) - var(--tab-h) - 40px); }
.chat__head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.chat__head .avatar { width: 44px; height: 44px; }
.chat__ctx { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--tint); margin: var(--s3) 0; font-size: .86rem; color: var(--pine); font-weight: 650; }
.chat__ctx .btn { margin-left: auto; }
.chat__log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: var(--s3) 0; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; line-height: 1.45; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.bub--me { align-self: flex-end; background: var(--teal); color: #fff; border-color: transparent; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.bub__time { display: block; font-size: 11px; opacity: .65; margin-top: 3px; }
.bub--prop { border: 1.5px solid var(--teal); background: var(--tint); }
.bub--prop b { display: flex; gap: 6px; align-items: center; color: var(--pine); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: var(--s2) 0 var(--s3); }
.quick button { padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--teal); background: var(--surface); color: var(--teal); font-weight: 700; font-size: .86rem; }
.quick button:first-child { background: var(--teal); color: #fff; }
.composer { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); box-shadow: var(--sh-md); }
.composer input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; padding: 0 8px; min-width: 0; }
@media (min-width: 992px) { .composer { bottom: 16px; } }

/* Calendar */
.wxstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wxday { text-align: center; padding: 10px 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; }
.wxday .ic { width: 22px; height: 22px; margin: 4px auto; color: #3A7CA5; }
.wxday b { display: block; font-size: .8rem; }
.wxday.is-snow { background: #E7F0F6; border-color: #C9DDEA; }
[data-theme="dark"] .wxday.is-snow { background: #15283A; border-color: #23405A; }
.wxday.is-today { outline: 2px solid var(--teal); outline-offset: -2px; }
.wxday__t { font-weight: 750; color: var(--ink); }
.wxday__lo { color: var(--muted); }
.agenda { display: grid; gap: 10px; }
.agenda__item { display: flex; gap: var(--s3); align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.agenda__item:hover { color: var(--ink); border-color: var(--blue-200); }
.agenda__date { width: 52px; text-align: center; flex: none; border-radius: 12px; background: var(--tint); color: var(--pine); padding: 6px 0; line-height: 1.1; }
.agenda__date b { display: block; font-size: 1.25rem; }
.agenda__date small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.notif { display: flex; gap: var(--s3); padding: 14px 0; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; padding-bottom: 0; }
.notif:first-child { padding-top: 0; }
.notif__ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--tint); color: var(--teal); }
.notif--snow .notif__ic { background: #E7F0F6; color: #3A7CA5; }
.notif--queue .notif__ic { background: var(--pine); color: #fff; }
.notif--due .notif__ic { background: var(--success-bg); color: var(--success); }
.notif__t { font-weight: 750; margin: 0; }
.notif__x { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.notif__time { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.queue { margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.queue__pos { display: flex; gap: 6px; margin-bottom: 10px; }
.queue__pos span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.queue__pos span.is-done { background: var(--success); }
.queue__pos span.is-me { background: var(--pine); }
.queue .row-flex .btn { flex: 1; }
.queue details { margin-top: 10px; }
.queue summary { cursor: pointer; font-weight: 700; color: var(--teal); font-size: .9rem; list-style: none; }
.queue summary::-webkit-details-marker { display: none; }
.cal-grid { display: grid; gap: var(--s4); }
@media (min-width: 992px) { .cal-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } .cal-grid > .span-2 { grid-column: 1 / -1; } }
@media (max-width: 480px) { .wxstrip { grid-template-columns: repeat(7, 64px); overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; } }

/* Provider route */
.route-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: var(--s4); }
.route-sum div { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.route-sum b { display: block; font-size: 1.4rem; letter-spacing: -.02em; color: var(--pine); }
.route-sum small { color: var(--muted); font-weight: 650; font-size: .76rem; }
.stops { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: stop; }
.stop { padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.stop.is-active { border: 2px solid var(--teal); box-shadow: 0 10px 26px rgba(17,112,109,.15); }
.stop.is-done { opacity: .62; }
.stop__top { display: flex; gap: var(--s3); align-items: flex-start; }
.stop__n { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; background: var(--tint); color: var(--pine); }
.stop.is-active .stop__n { background: var(--teal); color: #fff; }
.stop.is-done .stop__n { background: var(--success); color: #fff; }
.stop__t { font-weight: 750; margin: 0; }
.stop__s { font-size: .86rem; color: var(--muted); margin: 1px 0 0; }
.stop__side { margin-left: auto; text-align: right; font-size: .82rem; color: var(--ink-2); font-weight: 650; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.stop__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: var(--s3); }
.stop__actions .btn { padding: 8px 6px; font-size: .78rem; min-height: 40px; }
.stop__actions .btn.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.stop__upload { margin-top: 10px; display: none; }
.stop.is-completing .stop__upload { display: block; }
.drop { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--surface-2); color: var(--teal); font-weight: 700; cursor: pointer; }
.drop input { display: none; }
.thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
@media (max-width: 420px) { .stop__actions { grid-template-columns: 1fr 1fr; } }

/* Landing v2.1 — layout aligned to the mockup (5-up services, info row, step strip) */
.lhero::before { background: linear-gradient(90deg, rgba(246,250,249,.95) 0%, rgba(246,250,249,.82) 30%, rgba(246,250,249,.18) 58%, rgba(246,250,249,0) 72%); }
.lhero__title { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 4.1rem); line-height: 1.04; }
.lsec-head__aside { margin: 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svc__body { text-align: center; padding: 12px; gap: 10px; }
.svc__body h3 { font-size: .98rem; }
.svc__body .btn { margin-top: auto; }
.svc-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.svc-wide { display: flex; gap: var(--s3); align-items: stretch; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); color: var(--ink); box-shadow: 0 1px 2px rgba(12,40,36,.04), 0 6px 18px rgba(12,40,36,.05); transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease); }
.svc-wide:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12,40,36,.1); }
.svc-wide__img { width: 112px; flex: none; border-radius: 12px; overflow: hidden; background: var(--tint-2); }
.svc-wide__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-wide__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 4px 4px 4px 0; }
.svc-wide__t { font-weight: 750; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.svc-wide__t .chip { font-size: 10px; padding: 2px 8px; }
.svc-wide__s { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.svc-wide__cta { margin-top: auto; font-size: .84rem; font-weight: 750; color: var(--teal); display: inline-flex; gap: 6px; align-items: center; }
.svc-wide--post { border-style: dashed; border-color: var(--blue-200); background: linear-gradient(180deg, var(--surface), var(--tint)); }
.linfo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s4); margin-top: var(--s6); }
.linfo .wx { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; background: linear-gradient(110deg, #EEF4F6 0%, #E4EDF1 100%); }
[data-theme="dark"] .linfo .wx { background: var(--surface); }
.wx__body { position: relative; z-index: 1; }
.wx__art { position: absolute; right: -6px; bottom: -4px; width: 210px; color: #B9CCD4; z-index: 0; }
[data-theme="dark"] .wx__art { color: #23403F; }
.wx__now .wx__temp { font-size: 1.9rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wx__now .wx__text { font-size: 1rem; letter-spacing: 0; }
.wx__now .wx__city { margin: 2px 0 0; }
.wx__link { position: relative; z-index: 1; align-self: flex-end; font-weight: 700; font-size: .86rem; display: inline-flex; gap: 6px; align-items: center; margin-top: var(--s3); }
.linfo .nb { display: flex; gap: var(--s5); align-items: center; }
.nb__main { flex: 1; min-width: 0; }
.linfo .nb__row { margin-bottom: 0; }
.linfo .nb__actions { flex-direction: column; flex: none; width: 170px; }
.linfo .nb__actions .btn { width: 100%; }
.steps4 { background: transparent; border: 0; box-shadow: none; margin-top: var(--s10); }
.step4 { align-items: center; }
.step4 + .step4 { border-left: 0; }
.step4 + .step4::before { content: "→"; box-shadow: none; border: 0; background: none; width: auto; height: auto; left: -8px; margin-top: -12px; color: var(--muted); font-size: 1.2rem; }
.step4__ic { width: 48px; height: 48px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-xs); }
.step4__ic .ic { width: 20px; height: 20px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991.98px) { .linfo { grid-template-columns: 1fr; } .steps4 { grid-template-columns: 1fr 1fr; } .step4:nth-child(n+3) { border-top: 0; } .step4:nth-child(3)::before { display: none; } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-more { grid-template-columns: 1fr; }
  .linfo .nb { flex-direction: column; align-items: stretch; }
  .linfo .nb__actions { flex-direction: row; width: auto; }
  .steps4 { grid-template-columns: 1fr; }
  .step4 + .step4::before { content: "↓"; left: 36px; top: -6px; margin-top: 0; }
  .lhero__img img { object-position: 50% 30%; }
  .lhero::before { background: linear-gradient(180deg, rgba(246,250,249,0) 0%, rgba(246,250,249,.55) 34%, rgba(246,250,249,.94) 56%, rgba(246,250,249,1) 100%); }
  .lhero__in { padding-top: 190px; }
}
.price__v { white-space: nowrap; text-align: right; }
.price > div:first-child { min-width: 0; }
@media (max-width: 991.98px) { .topnav__actions { margin-left: auto; } }
.chip { text-transform: none; }
[data-theme="dark"] .lhero__title em { color: #5CBDB6; }
[data-theme="dark"] .logo__sub { color: #8CC7C2; }
.auth__logo { display: inline-block; margin-bottom: var(--s2); }
@media (max-width: 991.98px) { .auth__logo { display: none; } }
.route-sum b { font-size: 1.2rem; white-space: nowrap; }
/* a11y: contrast + names */
:root { --success: #1F7A36; }
.chip--warning, .badge.bg-warning { color: #8A5200 !important; }
.footer-grid .footer-h { color: #fff; font-family: var(--font); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s4); font-weight: 750; }
.logo__word { font-weight: 400; }
@media (max-width: 991.98px) { .account-btn__label { display: inline; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } }

/* ==========================================================================
   v3: client guide screens (doc1 + doc2). Shared components first, then pages.
   ========================================================================== */
:root { --map-bg: #E9EFEC; --map-road: #FFFFFF; --map-park: #CFE6D3; --map-water: #BFDDF0; --sv-gap: 16px; --orange: #E8772E; }
[data-theme="dark"] { --map-bg: #1A2A28; --map-road: #2A3E3B; --map-park: #1E3A2C; --map-water: #1C3546; }
.spacer { flex: 1 1 auto; }
.chip--soft { background: var(--tint); color: var(--pine); border-color: transparent; }
.chip--soft::before, .chip--pay::before { display: none; }
.chip--pay .ic { width: 12px; height: 12px; }
.chip--navy::before { background: #9FE0B0; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--teal); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; }
.label .ic { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; color: var(--teal); }
.label--sm { font-size: 12px; margin-bottom: 5px; }
.fset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fset > legend { padding: 0; margin-bottom: 8px; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: var(--s4); }
.fld-row > .fld { margin-bottom: 0; }
.fld-note { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: .82rem; color: var(--ink-2); }
.fld-note .ic { color: var(--teal); }
.fld-links { display: flex; gap: 18px; margin: 8px 0 0; font-size: .82rem; font-weight: 700; }
.fld-links .ic { width: 12px; height: 12px; }
.hint .ic { width: 13px; height: 13px; vertical-align: -2px; color: var(--teal); }
/* checkboxes / radios */
.checks { display: grid; gap: 8px; }
.checks--inline { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks--2 { grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; position: relative; font-size: .9rem; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.check__box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.6px solid var(--line-2); background: var(--surface); display: grid; place-items: center; transition: all var(--d1) var(--ease); }
.check__box .ic { width: 13px; height: 13px; color: #fff; opacity: 0; }
.check input:checked + .check__box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check__box .ic { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: var(--focus); }
.check__t { line-height: 20px; color: var(--ink-2); font-weight: 600; }
.check__t small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios--stack { flex-direction: column; gap: 10px; }
.radio { display: inline-flex; align-items: center; gap: 9px; position: relative; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.radio input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.6px solid var(--line-2); background: var(--surface); flex: none; cursor: pointer; transition: all var(--d1) var(--ease); }
.radio input:checked { border: 5px solid var(--teal); }
.radio input:focus-visible { box-shadow: var(--focus); }
.radios--pills .radio { flex: 1; }
.radios--pills .radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; border: 0; }
.radios--pills .radio span { display: block; width: 100%; text-align: center; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); }
.radios--pills .radio input:checked + span { border-color: var(--teal); background: var(--tint); color: var(--pine); }
/* option cards (vehicle type / package) */
.ocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ocard { position: relative; }
.ocard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ocard span { display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: .82rem; color: var(--ink-2); transition: all var(--d1) var(--ease); }
.ocard span .ic { width: 22px; height: 22px; color: var(--ink-2); }
.ocard b { font-weight: 650; }
.ocard__r { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid var(--line-2); }
.ocard input:checked + span { border-color: var(--teal); background: var(--tint); color: var(--pine); box-shadow: 0 0 0 1px var(--teal) inset; }
.ocard input:checked + span .ocard__r { border: 4px solid var(--teal); }
.ocard input:focus-visible + span { box-shadow: var(--focus); }
/* Basic / Premium choice inside forms */
.plan2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan2__o { position: relative; }
.plan2__o input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan2__o > span { display: grid; grid-template-columns: 18px 1fr; column-gap: 9px; padding: 11px 12px; height: 100%; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); transition: all var(--d1) var(--ease); }
.plan2__r { grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--line-2); margin-top: 1px; }
.plan2__o b { font-size: .86rem; color: var(--ink); }
.plan2__o small { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.plan2__o input:checked + span { border-color: var(--teal); background: var(--tint); }
.plan2__o input:checked + span .plan2__r { border: 5px solid var(--teal); }
.plan2__o input:focus-visible + span { box-shadow: var(--focus); }
.plan2--compact .plan2__o > span { padding: 9px 10px; }
/* utilities */
.util { display: grid; gap: 12px; }
.util__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--success-bg); color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.util__note .ic { color: var(--success); flex: none; margin-top: 1px; }
/* vehicle grid */
.vgrid { display: grid; gap: 10px; }
.vgrid--3 { grid-template-columns: repeat(3, 1fr); }
.vgrid--4 { grid-template-columns: 1fr 1fr; }
.vgrid__f { display: block; }
/* upload dropzone + counter */
.drop2 { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--surface-2); cursor: pointer; font-size: .84rem; color: var(--ink-2); }
.drop2 > .ic { width: 26px; height: 26px; color: var(--muted); flex: none; }
.drop2 small { display: block; color: var(--muted); }
.drop2 .btn { margin-left: auto; pointer-events: none; }
.drop2:focus-within { box-shadow: var(--focus); }
.counter { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 4px; }
textarea.input { min-height: 64px; resize: vertical; }
/* steppers */
.hsteps { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0; margin: 14px 0 4px; }
.hsteps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; font-size: .74rem; color: var(--muted); }
.hsteps li::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.hsteps li:first-child::before { display: none; }
.hsteps li.is-done::before, .hsteps li.is-current::before { background: var(--teal); }
.hsteps__dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; }
.hsteps__dot .ic { width: 12px; height: 12px; color: #fff; }
.hsteps li.is-done .hsteps__dot { background: var(--teal); border-color: var(--teal); }
.hsteps li.is-current .hsteps__dot { background: var(--surface); border: 6px solid var(--teal); box-shadow: 0 0 0 4px rgba(17,112,109,.16); }
.hsteps li.is-current .hsteps__dot .ic { display: none; }
.hsteps__l { font-weight: 650; color: var(--ink-2); line-height: 1.2; }
.hsteps li.is-current .hsteps__l { color: var(--teal); font-weight: 750; }
.hsteps li:not(.is-done):not(.is-current) .hsteps__l { color: var(--muted); font-weight: 600; }
.hsteps__t { font-size: .7rem; color: var(--muted); }
.vsteps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 0; }
.vsteps li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.vsteps li::before { content: ""; position: absolute; left: 10px; top: -7px; height: 14px; width: 2px; background: var(--line-2); }
.vsteps li:first-child::before { display: none; }
.vsteps li.is-done::before, .vsteps li.is-current::before { background: var(--teal); }
.vsteps small { color: var(--muted); font-weight: 600; font-size: .76rem; }
.vsteps__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; }
.vsteps__dot .ic { width: 11px; height: 11px; color: #fff; }
.vsteps li.is-done .vsteps__dot { background: var(--teal); border-color: var(--teal); }
.vsteps li.is-current .vsteps__dot { border: 5px solid var(--teal); }
.vsteps li:not(.is-done):not(.is-current) { color: var(--muted); }
/* mini map */
.minimap { display: block; width: 100%; height: 100%; }

/* ---------- Service pages (doc2 p2-7) ---------- */
.svp { max-width: 1240px; margin: 0 auto; padding: 0 max(16px, var(--safe-l)) var(--s12); }
.sv-hero { position: relative; overflow: hidden; border-radius: 0 0 var(--r-card) var(--r-card); background: var(--tint-2); min-height: 300px; display: flex; align-items: center; margin: 0 calc(-1 * max(16px, var(--safe-l))) 0; }
.sv-hero__img { position: absolute; inset: 0; }
.sv-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.sv-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,250,248,.97) 0%, rgba(244,250,248,.94) 30%, rgba(244,250,248,.55) 48%, rgba(244,250,248,0) 62%); pointer-events: none; }
[data-theme="dark"] .sv-hero::after { background: linear-gradient(90deg, rgba(11,22,21,.96) 0%, rgba(11,22,21,.9) 32%, rgba(11,22,21,.4) 52%, rgba(11,22,21,0) 66%); }
.sv-hero__in { position: relative; z-index: 1; padding: 28px clamp(20px, 3vw, 40px); max-width: 600px; }
.sv-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pine); }
.sv-eyebrow .ic { width: 15px; height: 15px; color: var(--teal); }
.sv-hero h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.65rem); line-height: 1.08; margin: 0 0 8px; color: var(--ink); }
.sv-lead { margin: 0; font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); color: var(--ink-2); max-width: 46ch; }
.sv-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 16px 0 0; }
.sv-perks li { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 650; color: var(--ink-2); max-width: 15em; line-height: 1.25; }
.sv-perks .ic { width: 22px; height: 22px; color: var(--pine); flex: none; }
.sv-hero__badge { position: absolute; z-index: 1; right: 22px; top: 22px; display: flex; gap: 10px; align-items: center; max-width: 230px; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--sh-md); font-size: .88rem; font-weight: 650; color: var(--ink); }
.sv-hero__badge .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--tint); color: var(--teal); flex: none; }
.sv-switch { margin: 14px 0 0; padding-bottom: 2px; }
.sv-grid { display: grid; gap: var(--sv-gap); margin-top: 14px; align-items: start; }
.sv-mid, .sv-side { display: grid; gap: var(--sv-gap); align-content: start; }
.sv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 1px 2px rgba(12,40,36,.04), 0 6px 18px rgba(12,40,36,.05); padding: 16px 18px; min-width: 0; }
.sv-card__h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin: 0 0 12px; font-family: var(--font); font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.sv-card__h > .ic { width: 20px; height: 20px; color: var(--pine); }
.sv-card__h small { flex-basis: 100%; padding-left: 29px; margin-top: -2px; font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sv-card__h .chip { font-size: 11px; }
.sv-upd { font-size: .74rem !important; font-weight: 600 !important; color: var(--muted); flex-basis: auto !important; padding: 0 !important; margin: 0 !important; }
.sv-form .fld { margin-bottom: 12px; }
.sv-form .input { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: .88rem; }
.sv-form .input-icon > .input { padding-left: 40px; }
.sv-form .input-icon > .ic { left: 13px; width: 15px; height: 15px; }
.sv-form .label { font-size: .8rem; margin-bottom: 5px; }
.sv-form .fset { margin-bottom: 12px; }
.sv-cta { margin-top: 6px; min-height: 46px; }
.sv-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.sv-note .ic { width: 13px; height: 13px; color: var(--teal); flex: none; margin-top: 2px; }
.sv-note--c { justify-content: center; }
.sv-sub { margin: 0 0 10px; font-size: .84rem; color: var(--ink-2); }
.sv-link { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--teal); }
.sv-link .ic { width: 12px; height: 12px; }
/* current visit */
.sv-visit__body { display: grid; gap: 10px; }
.sv-visit__body.has-photo { grid-template-columns: 1fr 42%; align-items: start; }
.sv-visit__img img { width: 100%; height: 96px; object-fit: cover; border-radius: 12px; }
.sv-visit__id { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.sv-visit__when, .sv-visit__team { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .84rem; color: var(--muted); }
.sv-visit__when .ic, .sv-visit__team .ic { width: 18px; height: 18px; color: var(--pine); margin-top: 2px; flex: none; }
.sv-visit__when b, .sv-visit__team b { display: block; color: var(--ink); font-size: .92rem; }
.sv-visit__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.sv-visit__acts .btn { min-height: 40px; }
.sv-vt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sv-vt > div { background: var(--surface-2); padding: 8px 10px; }
.sv-vt dt { font-size: .7rem; color: var(--muted); font-weight: 600; }
.sv-vt dd { margin: 2px 0 0; font-size: .84rem; font-weight: 750; color: var(--ink); display: flex; gap: 5px; align-items: center; }
.sv-vt dd .ic { width: 14px; height: 14px; color: var(--pine); }
/* track */
.sv-track__top { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--tint); }
.sv-eta { display: flex; align-items: center; gap: 10px; }
.sv-eta__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #2FA35A; color: #fff; flex: none; }
.sv-eta__ic .ic { width: 18px; height: 18px; }
.sv-eta b { display: block; font-size: 1rem; color: var(--ink); }
.sv-eta span { font-size: .8rem; color: var(--muted); }
.sv-eta__v { text-align: right; }
.sv-eta__v small { display: block; font-size: .72rem; color: var(--muted); }
.sv-eta__v b { font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.sv-eta--card { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-xs); }
.sv-eta--card > .ic { width: 22px; height: 22px; color: var(--pine); }
.sv-eta--card small { display: block; font-size: .7rem; color: var(--muted); }
.sv-map { position: relative; margin-top: 12px; height: 150px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sv-map--sm { margin: 0; height: 64px; width: 150px; }
.sv-map__tag { position: absolute; top: 34%; left: 44%; padding: 5px 9px; border-radius: 9px; background: var(--surface); box-shadow: var(--sh-sm); font-size: .72rem; color: var(--teal); font-weight: 700; }
.sv-map__tag b { display: block; color: var(--ink); }
.sv-track__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sv-track__split .sv-map { margin: 0; height: 100%; min-height: 200px; }
.sv-track__more { margin: 10px 0 0; font-size: .8rem; font-weight: 700; }
.sv-track__more .ic { width: 12px; height: 12px; }
/* premium */
.sv-prem__box { padding: 12px; border-radius: 12px; background: var(--tint); }
.sv-prem__t { margin: 0 0 2px; font-weight: 800; color: var(--ink); font-size: .95rem; }
.sv-prem__x { margin: 0 0 10px; font-size: .8rem; color: var(--ink-2); }
.sv-prem__acts { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 6px; }
.sv-prem__acts.is-stacked { grid-template-columns: 1fr 1fr; }
.sv-prem__acts.is-stacked > :first-child { grid-column: 1 / -1; }
.sv-prem__acts .btn { padding-left: 8px; padding-right: 8px; min-height: 36px; background: var(--surface); }
.sv-prem__acts .btn-primary { background: var(--primary); }
.sv-prem__done { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; font-size: .84rem; font-weight: 650; color: var(--pine); }
.sv-prem__done .ic { color: var(--success); }
.sv-upsell p { font-size: .84rem; color: var(--ink-2); margin: 0 0 10px; }
/* side tips */
.sv-tip { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: .78rem; line-height: 1.4; }
.sv-tip + .sv-tip { margin-top: 8px; }
.sv-tip > .ic { width: 20px; height: 20px; color: var(--pine); flex: none; margin-top: 1px; }
.sv-tip b { display: block; color: var(--ink); font-size: .84rem; }
.sv-tip:hover { color: var(--muted); background: var(--tint); }
.sv-tip--info { background: var(--blue-50); }
.sv-tip--quote { border: 1px solid var(--line); background: var(--surface); align-items: center; }
.sv-tip--quote > .ic:first-child { width: 28px; height: 28px; color: var(--success); }
.sv-tip__chev { margin-left: auto; width: 14px !important; height: 14px !important; }
.sv-empty { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 12px; background: var(--surface-2); font-size: .82rem; color: var(--muted); }
.sv-empty .ic { width: 28px; height: 28px; color: var(--muted); flex: none; }
.sv-equip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-equip p { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px; border-radius: 12px; background: var(--blue-50); font-size: .74rem; color: var(--muted); }
.sv-equip p:last-child { background: var(--success-bg); }
.sv-equip b { display: block; font-size: .82rem; color: var(--ink); }
.sv-equip .ic { width: 18px; height: 18px; color: var(--teal); flex: none; }
.sv-propose { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: .82rem; color: var(--ink-2); }
.sv-propose .ic { width: 20px; height: 20px; color: var(--pine); flex: none; }
.sv-propose b { display: block; color: var(--ink); }
.sv-later .radio span { font-size: .84rem; }
/* completion */
.sv-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-ph--3 { grid-template-columns: repeat(3, 1fr); }
.sv-ph__slot { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 92px; padding: 10px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--surface-2); text-align: center; font-size: .78rem; font-weight: 650; color: var(--ink-2); }
.sv-ph__slot .ic { width: 20px; height: 20px; color: var(--muted); }
.sv-ph__slot small { font-size: .68rem; font-weight: 500; color: var(--muted); }
.sv-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
.sv-check .ic { width: 20px; height: 20px; color: var(--teal); flex: none; }
.sv-check b { display: block; color: var(--ink); font-size: .84rem; }
/* activity */
.sv-act__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sv-act--row .sv-act__list { grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.sv-act__list li { display: flex; gap: 10px; align-items: flex-start; position: relative; }
.sv-act__ic { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.sv-act__ic .ic { width: 14px; height: 14px; }
.sv-act__list li.is-now .sv-act__ic { background: var(--surface); color: var(--teal); border: 2px solid var(--teal); }
.sv-act__b { font-size: .76rem; color: var(--muted); line-height: 1.35; }
.sv-act__b small { display: block; font-size: .72rem; }
.sv-act__b b { display: block; color: var(--ink); font-size: .86rem; }
.sv-act__b span { display: block; }
.sv-act--row .sv-act__list li:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: calc(28px + 60%); right: 8px; height: 1px; background: var(--line-2); }
.sv-act--list .sv-act__list li { padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; }
.sv-act--list .sv-act__list li:last-child { border-bottom: 0; }
.sv-act--list .sv-act__ic { background: var(--tint); color: var(--pine); border-radius: 10px; }
.sv-act--list .sv-act__b { order: 0; flex: 1; }
.sv-act--list .sv-act__b small { order: 2; }
.sv-act--vertical .sv-act__list li .sv-act__ic { width: 14px; height: 14px; margin-top: 4px; }
.sv-act--vertical .sv-act__list li .sv-act__ic .ic { display: none; }
.sv-act--vertical .sv-act__b { display: grid; grid-template-columns: minmax(110px, 1fr) 1.3fr; gap: 0 10px; flex: 1; }
.sv-act--vertical .sv-act__b small { grid-row: 2; }
.sv-act--vertical .sv-act__b span { grid-row: span 2; }
.sv-signin p { color: var(--ink-2); font-size: .9rem; }
.sv-foot { margin: 18px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
@media (min-width: 760px) {
  .sv-grid { grid-template-columns: 1fr 1fr; }
  .sv-form { grid-row: span 2; }
  .sv-act { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .sv-hero { margin: 0; border-radius: 0 0 var(--r-card) var(--r-card); min-height: 290px; }
  .sv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr) minmax(0, 1fr); margin-top: -22px; position: relative; z-index: 2; }
  .sv-form { grid-row: span 1; }
  .sv-switch { display: none; }
  .svp--snow-removal .sv-mid { grid-column: 2; }
}
@media (max-width: 759.98px) {
  .sv-hero { min-height: 0; display: block; border-radius: 0; }
  .sv-hero__img { position: relative; display: block; height: 190px; }
  .sv-hero::after { background: linear-gradient(180deg, rgba(244,250,248,0) 0, rgba(244,250,248,0) 120px, var(--bg) 190px); }
  [data-theme="dark"] .sv-hero::after { background: linear-gradient(180deg, rgba(11,22,21,0) 0, rgba(11,22,21,0) 120px, var(--bg) 190px); }
  .sv-hero__in { padding: 0 16px 4px; margin-top: -26px; }
  .sv-hero h1 { font-size: 1.7rem; }
  .sv-perks { gap: 8px 14px; } .sv-perks li { font-size: .76rem; max-width: 46%; }
  .sv-hero__badge { display: none; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-mid { order: 1; } .sv-form { order: 2; } .sv-side { order: 3; } .sv-act { order: 4; }
  .sv-act--row .sv-act__list { grid-auto-flow: row; }
  .sv-act--row .sv-act__list li::after { display: none; }
  .sv-track__split { grid-template-columns: 1fr; }
  .sv-track__split .sv-map { min-height: 150px; }
  .sv-vt { grid-template-columns: repeat(2, 1fr); }
  .sv-prem__acts { grid-template-columns: 1fr 1fr; }
  .sv-prem__acts > :first-child { grid-column: 1 / -1; }
  .sv-act--vertical .sv-act__b { grid-template-columns: 1fr; }
  .sv-act--vertical .sv-act__b small, .sv-act--vertical .sv-act__b span { grid-row: auto; }
}
[hidden] { display: none !important; }
.sv-hero__img img { object-position: 72% 60%; }
.sv-eta .sv-eta__ic { color: #fff; }

/* ---------- Booking review (doc1 p2) ---------- */
.rv { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); }
.rv-head h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0; }
.rv-head p { margin: 4px 0 0; color: var(--muted); }
.rv-head .hsteps { max-width: 640px; margin: 16px 0 18px; }
.hsteps--num { counter-reset: hs; }
.hsteps--num li { grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px; text-align: left; font-size: .84rem; }
.hsteps--num li::before { top: 13px; right: auto; left: -60%; width: 54%; }
.hsteps--num .hsteps__dot { counter-increment: hs; width: 28px; height: 28px; border: 0; background: var(--tint-2); }
.hsteps--num .hsteps__dot::after { content: counter(hs); font-weight: 750; font-size: .8rem; color: var(--ink-2); }
.hsteps--num .hsteps__dot .ic { display: none; }
.hsteps--num li.is-done .hsteps__dot { background: var(--tint-2); }
.hsteps--num li.is-current .hsteps__dot { border: 0; background: var(--pine); box-shadow: none; }
.hsteps--num li.is-current .hsteps__dot::after { color: #fff; }
.hsteps--num li.is-current .hsteps__l { color: var(--ink); }
.rv-flag { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--blue-50); color: var(--ink-2); font-size: .86rem; margin: 0 0 14px; }
.rv-flag .ic { color: var(--teal); }
.rv-grid { display: grid; gap: var(--sv-gap); align-items: start; }
.rv-main { display: grid; gap: var(--sv-gap); }
.rv-side { display: grid; gap: var(--sv-gap); }
.rv-h { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 4px; color: var(--ink); }
.rv-details { display: grid; gap: 16px; margin-top: 12px; }
.rv-photo img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; }
.rv-list { display: grid; gap: 8px; margin: 0; }
.rv-list dt { font-size: .78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 3px; }
.rv-list dd { margin: 0; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 9px; background: var(--surface-2); font-size: .88rem; color: var(--ink); }
.rv-list dd .ic { color: var(--muted); width: 15px; height: 15px; }
.rv-photo-btn { margin-top: 14px; }
.rv-edit { margin-left: 12px; }
.rv-plan { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--blue-100); }
.rv-plan > .ic { width: 30px; height: 30px; color: var(--pine); flex: none; }
.rv-plan b { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--ink); }
.rv-plan p { margin: 4px 0 0; font-size: .84rem; color: var(--ink-2); }
.rv-sum__svc { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rv-thumb img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; }
.rv-sum__svc b { display: block; font-size: .95rem; }
.rv-sum__svc span { font-size: .82rem; color: var(--muted); }
.rv-price { margin: 10px 0 0; display: grid; gap: 6px; }
.rv-price > div { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.rv-price dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-price__t { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 800; color: var(--ink) !important; font-size: 1rem !important; }
.rv-illus { font-size: .76rem; font-style: italic; color: var(--muted); margin: 6px 0 12px; }
.rv-pay { padding: 14px; border-radius: 12px; background: var(--surface-2); }
.rv-terms { margin: 12px 0; font-size: .84rem; }
.rv-pay .btn { min-height: 50px; }
.rv-next ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.rv-next li { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: var(--muted); }
.rv-next li .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--tint); color: var(--pine); flex: none; }
.rv-next b { display: block; font-size: .88rem; color: var(--ink); }
.rv-ok { max-width: 560px; margin: var(--s8) auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s8) var(--s6); box-shadow: var(--sh-sm); }
.rv-ok h1 { font-size: 1.9rem; margin: 0 0 6px; }
.rv-ok__state { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
@media (min-width: 700px) { .rv-details { grid-template-columns: 240px 1fr; } }
@media (min-width: 992px) { .rv-grid { grid-template-columns: 1.65fr 1fr; } }
.hsteps--num li { display: flex; }
.hsteps--num li::before { display: none; }
.hsteps--num li::after { content: ""; flex: 1; height: 2px; background: var(--line-2); margin: 0 10px; min-width: 12px; }
.hsteps--num li:last-child::after { display: none; }
.hsteps--num li:last-child { flex: none; }
.hsteps--num { display: flex; }
.hsteps--num li { flex: 1; }

/* ---------- Plans (doc2 p9) + care plans (doc2 p10) ---------- */
.pl { max-width: 1040px; margin: 0 auto; padding: var(--s8) max(16px, var(--safe-l)) var(--s12); position: relative; }
.pl::before { content: ""; position: absolute; right: -80px; top: -40px; width: 340px; height: 340px; border-radius: 50%; background: var(--tint); opacity: .7; z-index: -1; }
.pl-head { text-align: center; margin-bottom: var(--s6); }
.pl-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); margin: 0; }
.pl-head p { margin: 6px 0 14px; color: var(--ink-2); }
.pl-svc { display: inline-block; min-width: 280px; }
.pl-grid { display: grid; gap: var(--sv-gap); }
.pl-card { padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.pl-card--prem { background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 100%); }
.pl-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pine); flex: none; }
.pl-card--prem .pl-ic { background: var(--surface); }
.pl-ic .ic { width: 24px; height: 24px; }
.pl-tag { margin: 14px 0 2px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.pl-card h2 { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: 1.45rem; margin: 0 0 12px; }
.pl-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; flex: 1; }
.pl-list li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-2); }
.pl-list .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--tint); color: var(--teal); flex: none; }
.pl-rem { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: var(--sv-gap); padding: 16px 18px; border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--blue-100); }
.pl-rem .pl-ic { background: var(--surface); }
.pl-rem__t { flex: 1; min-width: 220px; }
.pl-rem__t b { display: block; font-size: 1.05rem; }
.pl-rem__t span { font-size: .88rem; color: var(--ink-2); }
.pl-rem__a { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-rem__a .btn-outline { background: var(--surface); }
.pl-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 10px 4px 0; font-size: .76rem; color: var(--muted); }
.pl-rules { display: grid; gap: 16px 28px; margin: var(--s8) 0 var(--s6); }
.pl-rules h3, .cp-rules h3 { font-family: var(--font); font-weight: 750; font-size: 1.05rem; color: var(--teal); margin: 0 0 4px; }
.pl-rules p, .cp-rules p { margin: 0 0 14px; font-size: .9rem; color: var(--ink-2); }
.pl-table td a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); }
.pl-table td { font-size: .86rem; vertical-align: top; }
@media (min-width: 760px) { .pl-grid { grid-template-columns: 1fr 1fr; } .pl-rules { grid-template-columns: repeat(4, 1fr); } }
.crumbs { font-size: .86rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.cp { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); }
.cp-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.2rem); margin: 0; }
.cp-head { margin-bottom: var(--s5); }
.cp-grid { display: grid; gap: var(--s6); align-items: start; }
.cp-main { display: grid; gap: var(--sv-gap); padding: 18px; border-radius: 22px; background: var(--surface-2); }
.cp-box { padding: 18px 20px; border-radius: var(--r-card); background: var(--tint); }
.cp-box h2 { font-family: var(--font); font-weight: 750; font-size: 1.12rem; margin: 0 0 10px; }
.cp-box p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.6; }
.cp-rem__top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.cp-meta { display: flex; gap: 8px; align-items: center; margin-top: 8px !important; font-size: .8rem !important; color: var(--muted) !important; }
.cp-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.cp-acts .btn { justify-content: flex-start; min-height: 44px; }
.cp-acts .btn-soft { background: var(--surface); }
.cp-confirm { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px !important; padding: 12px; border-radius: 12px; background: var(--surface); }
.cp-confirm .input-sm { display: inline-block; width: auto; min-height: 32px; padding: 4px 8px; }
.cp-confirm--danger .ic { color: var(--danger); }
.cp-form .fld { display: block; }
.cp-plans { display: grid; gap: 10px; margin-top: 10px; }
.cp-plan { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.cp-plan__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--pine); }
.cp-plan__b b { display: block; }
.cp-plan__b > span { font-size: .8rem; color: var(--muted); }
.cp-plan__b dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 0; font-size: .8rem; }
.cp-plan__b dt { color: var(--muted); font-weight: 600; }
.cp-plan__b dd { margin: 0; color: var(--ink-2); }
.cp-plan__s { display: grid; justify-items: end; align-content: start; gap: 4px; }
.cp-plan__s small { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.cp-hist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.cp-hist li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cp-hist li > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--pine); flex: none; }
.cp-hist li div { flex: 1; } .cp-hist b { display: block; font-size: .9rem; } .cp-hist small { font-size: .76rem; color: var(--muted); }
@media (min-width: 992px) { .cp-grid { grid-template-columns: 1fr 300px; } }
@media (max-width: 600px) { .cp-acts { grid-template-columns: 1fr; } .cp-plan { grid-template-columns: auto 1fr; } .cp-plan__s { grid-column: 2; justify-items: start; } .cp-main { padding: 10px; } }

/* ---------- Change appointment (doc2 p12) ---------- */
.ch { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); }
.ch-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0; }
.ch-head p { margin: 4px 0 var(--s5); color: var(--ink-2); }
.ch-grid { display: grid; gap: var(--s6); align-items: start; }
.ch-main { display: grid; gap: var(--sv-gap); min-width: 0; }
.ch-bk { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.ch-bk__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pine); grid-row: span 2; }
.ch-bk b { display: block; font-size: 1.05rem; } .ch-bk div span { font-size: .88rem; color: var(--ink-2); }
.ch-bk__m { font-size: .84rem; color: var(--ink-2); grid-column: 2; }
.ch-warn { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg, #fff6e5); color: var(--warn-ink, #7a4b00); font-size: .9rem; font-weight: 600; }
.ch-pick { display: grid; gap: 22px; }
.ch-h { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font); font-weight: 750; font-size: 1.05rem; margin: 0 0 12px; }
.ch-h small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.ch-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: .8rem; flex: none; }
.ch-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ch-day input, .ch-win input { position: absolute; opacity: 0; pointer-events: none; }
.ch-day span { display: grid; justify-items: center; gap: 6px; padding: 10px 0 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .86rem; cursor: pointer; min-height: 64px; }
.ch-day i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.ch-day small { font-size: .62rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ch-day--current span { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.ch-day--current i { background: var(--muted); }
.ch-day input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.ch-day input:checked + span i { background: #fff; }
.ch-day input:focus-visible + span, .ch-win input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.ch-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ch-win { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; font-size: .9rem; }
.ch-win em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--teal); }
.ch-win--full { background: var(--surface-2); color: var(--muted); cursor: not-allowed; } .ch-win--full em { color: var(--muted); }
.ch-win:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; } .ch-win:has(input:checked) em { color: #fff; }
.ch-cmp { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.ch-cmp > div { display: flex; gap: 10px; align-items: center; flex: 1; min-width: 180px; font-size: .84rem; color: var(--muted); }
.ch-cmp b { display: block; font-size: .95rem; color: var(--ink); }
.ch-cmp .is-new .ic { color: var(--teal); } .ch-cmp .is-new b { color: var(--teal); }
.ch-cmp__arrow { color: var(--muted); }
.ch-apply { display: grid; gap: 12px; }
.ch-apply .radio span small, .ch-apply__prem .radio span small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.ch-apply__prem { padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); }
.ch-premtag { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pine); }
.ch-info { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .84rem; color: var(--ink-2); }
.ch-acts { display: grid; gap: 10px; }
.ch-acts .btn { justify-content: center; }
.ch-notify { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; font-size: .84rem; color: var(--ink-2); }
.ch-notify b { display: block; color: var(--ink); }
.ch-demo { margin: 0; font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--teal); text-decoration: underline; font: inherit; cursor: pointer; }
.ch-fee { display: block; margin-top: 4px; color: var(--teal); }
.ch-result { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px; margin-bottom: var(--s5); border-radius: var(--r-card); background: var(--tint); }
.ch-result > .ic { width: 28px; height: 28px; color: var(--teal); }
.ch-result--pending { background: #fff6e5; } .ch-result--pending > .ic { color: #a26200; }
.ch-result--declined { background: #fdecec; } .ch-result--declined > .ic { color: var(--danger); }
.ch-result h2 { margin: 0 0 4px; font-size: 1.1rem; font-family: var(--font); font-weight: 750; }
.ch-result p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.ch-result .row-flex { grid-column: 2; margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .ch-grid { grid-template-columns: 1fr 320px; }
  .ch-bk { grid-template-columns: auto 1fr auto auto; } .ch-bk__ic { grid-row: auto; } .ch-bk__m { grid-column: auto; padding-left: 16px; border-left: 1px solid var(--line); }
  .ch-pick { grid-template-columns: 1fr 1fr; } .ch-cmp, .ch-apply { grid-column: 1 / -1; }
  .ch-apply { grid-template-columns: 1fr 1fr; } .ch-info { grid-column: 1 / -1; }
  .ch-acts { grid-template-columns: auto auto 1fr; align-items: center; }
}
@media (max-width: 420px) { .ch-day span { font-size: .76rem; min-height: 58px; } .ch-days { gap: 4px; } }
/* change appointment: mockup-faithful selection styles */
.ch-day span { padding: 12px 0 10px; gap: 10px; min-height: 76px; }
.ch-day i { width: 22px; height: 22px; background: var(--tint-2, #cfe8e2); }
.ch-day--current span { background: var(--surface-2); } .ch-day--current i { background: #c9cfd0; }
.ch-day input:checked + span { background: var(--surface); border: 2px solid var(--teal); color: var(--ink); }
.ch-day input:checked + span i { background: var(--teal); }
.ch-wins { grid-template-columns: 1fr; gap: 6px; }
.ch-win { justify-content: flex-start; padding: 10px 12px; font-weight: 600; }
.ch-win span { flex: 1; }
.ch-win__r { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9c4c4; flex: none; }
.ch-win em { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--tint); }
.ch-win--full em { background: var(--line); }
.ch-win:has(input:checked) { background: var(--tint); border-color: var(--teal); color: var(--ink); }
.ch-win:has(input:checked) em { color: var(--teal); background: var(--surface); }
.ch-win:has(input:checked) .ch-win__r { border: 5px solid var(--teal); }
.ch-cmp .is-new { background: var(--tint); margin: -6px 0; padding: 6px 10px; border-radius: 10px; }
.ch-cmp .is-new b { color: var(--ink); }
.ch-info { padding: 10px 12px; border-radius: 12px; background: #eaf3fb; color: #1f4f7a; }
.ch-premtag { color: #a26200; letter-spacing: .02em; text-transform: none; font-size: .8rem; }
@media (min-width: 900px) { .ch-info { grid-column: auto; } .ch-apply { grid-template-columns: 1fr 1fr 1fr; align-items: center; } }

/* ---------- Snow event (doc2 p4, p13) ---------- */
.se { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); }
.se-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-end; margin: 8px 0 var(--s4); }
.se-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0; }
.se-head p { margin: 4px 0 0; color: var(--ink-2); }
.se-id { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; }
.se-wx { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 var(--sv-gap); padding: 14px 16px; border-radius: var(--r-card); background: #e8f1fb; color: #173f63; font-size: .9rem; }
.se-wx b { display: block; } .se-wx > .ic { width: 24px; height: 24px; flex: none; }
.se-wx--down { background: #fff6e5; color: #6b4300; }
.se-flow { margin-bottom: var(--sv-gap); overflow-x: auto; }
.se-grid { display: grid; gap: var(--s6); align-items: start; }
.se-main, .se-side { display: grid; gap: var(--sv-gap); min-width: 0; }
.se-visit__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.se-facts, .se-terms { display: grid; gap: 10px 18px; margin: 4px 0 14px; }
.se-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.se-facts dt, .se-terms dt { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.se-facts dd, .se-terms dd { margin: 2px 0 0; font-size: .92rem; }
.se-facts s { color: var(--muted); display: block; font-size: .82rem; }
.se-visit .minimap { width: 100%; height: 170px; border-radius: 14px; display: block; }
.se-later { display: grid; gap: 10px; }
.se-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.se-opt input { position: absolute; opacity: 0; }
.se-opt span { display: block; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; height: 100%; }
.se-opt small { display: block; font-size: .8rem; color: var(--muted); }
.se-opt input:checked + span { border: 2px solid var(--teal); background: var(--tint); }
.se-opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.se-day { display: grid; gap: 6px; }
.se-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.se-out { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.se-out > .ic { width: 30px; height: 30px; color: var(--teal); }
.se-out h2 { margin: 0 0 6px; font-family: var(--font); font-weight: 750; font-size: 1.15rem; }
.se-out p { margin: 0 0 8px; font-size: .92rem; color: var(--ink-2); }
.se-out--pending { background: #fff9ee; } .se-out--pending > .ic { color: #a26200; }
.se-out--no { background: #fff4f4; } .se-out--no > .ic { color: var(--danger); }
.se-alts { display: flex; flex-wrap: wrap; gap: 8px; }
.se-terms div { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ch-demo a[aria-current] { font-weight: 800; text-decoration: none; }
@media (min-width: 900px) { .se-grid { grid-template-columns: 1fr 340px; } }
@media (max-width: 480px) { .se-opts { grid-template-columns: 1fr; } }
.se-flow .hsteps { margin: 2px 0; }
.se-visit .minimap { height: auto; aspect-ratio: 32 / 13; }
@media (max-width: 480px) { .se-flow .hsteps li { font-size: .66rem; } .se-flow .hsteps__t { font-size: .62rem; } }

/* ---------- Live tracking + messages (doc1 p3, doc2 p14) ---------- */
.tk { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); }
.tk-head h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); margin: 0; }
.tk-head p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 0 var(--s4); color: var(--ink-2); }
.tk-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; padding: 14px 18px; margin-bottom: var(--sv-gap); border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--blue-100); }
.tk-bar b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.tk-bar span { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; color: var(--ink-2); }
.tk-bar__win { display: flex; gap: 12px; align-items: center; padding-left: 20px; border-left: 1px solid var(--blue-100); }
.tk-bar__win > .ic { width: 26px; height: 26px; color: var(--ink-2); }
.tk-bar__win span { display: block; font-size: .78rem; color: var(--muted); } .tk-bar__win b { font-family: var(--font); font-weight: 750; font-size: .98rem; color: var(--ink); }
.tk-grid { display: grid; gap: var(--sv-gap); }
.tk-col { display: grid; gap: var(--sv-gap); align-content: start; }
.tk-live__top { display: grid; gap: 14px; }
.tk-eta { display: grid; align-content: start; gap: 4px; padding: 16px; border-radius: 16px; background: var(--tint); }
.tk-pill { display: inline-flex; gap: 6px; align-items: center; justify-self: start; padding: 6px 12px; border-radius: 8px; background: var(--teal); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.tk-pill.is-done { background: var(--pine); }
.tk-eta__l { font-size: .84rem; color: var(--ink-2); }
.tk-eta__v { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1.05; color: var(--ink); }
.tk-eta__u { font-size: .78rem; color: var(--muted); }
.tk-eta .arrive { margin: 10px 0 0; padding: 12px; }
.tk-map { position: relative; min-height: 230px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #E6EDEA; }
.tk-map > div:first-child { position: absolute; inset: 0; }
.tk-map__note { position: absolute; left: 10px; bottom: 10px; z-index: 500; display: inline-flex; gap: 6px; align-items: center; margin: 0; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.94); font-size: .74rem; color: var(--ink-2); box-shadow: var(--sh-sm); }
.tk-map.is-stale .tk-map__note { background: #fff6e5; color: #6b4300; }
.veh-marker.is-stale { background: #9a8f7e; box-shadow: 0 0 0 5px rgba(154,143,126,.25); }
.tk-steps { margin-top: 18px; }
.tk-h { font-family: var(--font); font-weight: 800; font-size: 1rem; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.tk-team__row { display: flex; gap: 12px; align-items: center; }
.tk-team__row > div { flex: 1; min-width: 0; } .tk-team__row b { display: block; font-size: .92rem; } .tk-team__row span { font-size: .78rem; color: var(--muted); }
.tk-team__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pine); flex: none; }
.tk-msgs { display: grid; gap: 10px; }
.tk-msgs__top { display: flex; justify-content: space-between; align-items: baseline; } .tk-msgs__top span { font-size: .74rem; color: var(--muted); }
.tk-chat { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-height: 260px; overflow-y: auto; }
.tk-msg { display: flex; gap: 8px; align-items: flex-end; }
.tk-msg__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: #fff; flex: none; }
.tk-msg__av .ic { width: 15px; height: 15px; }
.tk-msg small { display: block; font-size: .7rem; color: var(--muted); margin-bottom: 2px; }
.tk-msg p { margin: 0; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); font-size: .86rem; display: inline-block; }
.tk-msg--me { flex-direction: row-reverse; text-align: right; }
.tk-msg--me .tk-msg__av { background: var(--tint-2); color: var(--pine); }
.tk-msg--me p { background: var(--tint); border-radius: 12px 12px 4px 12px; }
.tk-send { display: flex; gap: 8px; }
.tk-send .input { flex: 1; min-height: 40px; }
.tk-wx { position: relative; overflow: hidden; background: linear-gradient(180deg, #e3eef4 0%, #f2f7f9 100%); }
.tk-wx__row { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.tk-wx__row > .ic { width: 44px; height: 44px; color: #3f5f78; }
.tk-wx__row b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.tk-wx__row span { font-size: .82rem; color: var(--ink-2); }
.tk-wx__art { position: absolute; right: 0; bottom: 0; width: 60%; max-width: 260px; }
.tk-rep__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.tk-rep__top .tk-h { margin: 0; }
.tk-rep__body { display: grid; gap: 12px; }
.tk-rep__body--empty { grid-template-columns: 1fr 1fr; }
.tk-ph { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 92px; border-radius: 12px; border: 1.5px dashed var(--line-2); color: var(--muted); font-size: .8rem; }
.tk-ph .ic { width: 22px; height: 22px; }
.tk-rep__wait { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; margin: 0; font-size: .82rem; color: var(--muted); }
.tk-rep__side { display: grid; gap: 10px; align-content: start; }
.tk-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .86rem; }
.tk-check li { display: flex; gap: 8px; align-items: center; } .tk-check .ic { color: var(--success, #1f8a4c); width: 16px; height: 16px; flex: none; }
.tk-inv { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .84rem; }
.tk-demo { margin-top: var(--s4); }
@media (min-width: 640px) { .tk-live__top { grid-template-columns: 200px 1fr; } .tk-rep__body--empty { grid-template-columns: 1fr 1fr 1.2fr; } .tk-rep__wait { grid-column: auto; flex-direction: column; text-align: center; } }
@media (min-width: 992px) {
  .tk-grid { grid-template-columns: 1.55fr 1fr; }
  .tk-live { grid-row: span 1; }
  .tk-rep__body:not(.tk-rep__body--empty) { grid-template-columns: 1.2fr 1fr; }
  .tk-wx { min-height: 150px; }
}
@media (max-width: 991px) { .tk-col { order: 2; } .tk-rep { order: 1; } .tk-wx { order: 3; } }
@media (max-width: 600px) { .tk-bar__win { padding-left: 0; border-left: 0; } .tk-steps li { font-size: .62rem; } }
@media (min-width: 640px) { .tk-map { min-height: 280px; } }
@media (min-width: 992px) { .tk-live { display: flex; flex-direction: column; } .tk-live__top { flex: 1; } .tk-steps { margin-top: 22px; } }
@media (max-width: 600px) { .tk-wx__art { width: 46%; opacity: .55; } .tk-wx__row b { font-size: 1.25rem; } }
.tk-grid { align-items: start; }
@media (min-width: 992px) {
  .tk--done .tk-rep { grid-column: 1 / -1; grid-row: 2; }
  .tk--done .tk-wx { grid-column: 1 / -1; min-height: 0; }
  .tk--done .tk-rep__body:not(.tk-rep__body--empty) { grid-template-columns: 1.6fr 1fr; }
}
.tk--done .ba figcaption { font-size: 10px; }

/* ---------- Activity, evidence, feedback (doc2 p15) + notifications (doc2 p22) ---------- */
.ac { max-width: 1240px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); display: grid; gap: var(--s6); align-items: start; }
.ac-wrap { display: grid; gap: var(--sv-gap); padding: 22px; border-radius: 22px; background: var(--surface-2); min-width: 0; }
.ac-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ac-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin: 0 0 4px; }
.ac-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.ac-tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--ink-2); text-decoration: none; min-height: 40px; }
.ac-tabs a[aria-current] { background: var(--teal); color: #fff; }
.ac-bk { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.ac-bk > div:nth-child(2) { flex: 1; min-width: 200px; } .ac-bk b { display: block; } .ac-bk span:not(.chip) { font-size: .82rem; color: var(--muted); }
.ac-bk__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--pine); }
.ac-bk__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ac-switch { width: auto; min-width: 220px; min-height: 40px; }
.ac-box { padding: 20px 22px; border-radius: var(--r-card); background: var(--tint); }
.ac-box h2 { font-family: var(--font); font-weight: 750; font-size: 1.1rem; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ac-box h2 small { font-size: .76rem; font-weight: 500; color: var(--muted); }
.ac-tl ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ac-tl li { display: grid; grid-template-columns: 30px 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.05); font-size: .9rem; position: relative; }
.ac-tl li:last-child { border-bottom: 0; }
.ac-tl__ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--pine); }
.ac-tl__ic .ic { width: 14px; height: 14px; }
.ac-tl time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); }
.ac-tl__t { color: var(--ink-2); } .ac-tl__t b { color: var(--ink); font-weight: 650; }
.ac-tl__a { font-size: .72rem; font-weight: 700; color: var(--muted); padding: 2px 8px; border-radius: 6px; background: var(--surface); }
.ac-two { display: grid; gap: var(--sv-gap); }
.ac-ba figure { aspect-ratio: 4 / 3; }
.ac-ba .is-before img { filter: saturate(.35) brightness(.82) contrast(.9); }
.ac-lab { margin: 14px 0 6px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ac-note { margin: 0 0 10px; font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.ac-note .chip { margin-left: 4px; }
.ac-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ac-acts .btn { justify-content: flex-start; background: var(--surface); min-height: 44px; }
.ac-acts .btn[aria-expanded="true"] { background: var(--teal); color: #fff; }
.ac-panel { display: grid; gap: 8px; margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--surface); }
.ac-inv { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ac-inv td { padding: 6px 0; border-bottom: 1px solid var(--line); } .ac-inv td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ac-inv .is-total td { font-weight: 800; border-bottom: 0; }
.ac-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; font-size: .84rem; } .ac-pay small { color: var(--muted); }
.ac-stars { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.ac-stars legend { width: 100%; float: left; margin-top: 0; }
.ac-stars input { position: absolute; opacity: 0; }
.ac-stars label { cursor: pointer; color: var(--line-2); padding: 2px; }
.ac-stars label .ic { width: 28px; height: 28px; }
.ac-stars input:checked ~ label, .ac-stars label:hover, .ac-stars label:hover ~ label { color: #e0a800; }
.ac-stars input:focus-visible + label { outline: 2px solid var(--teal); border-radius: 6px; }
.ac-ok { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .84rem; color: var(--teal); font-weight: 650; }
.ac-up { display: inline-flex; gap: 8px; align-items: center; justify-self: start; padding: 8px 12px; border-radius: 10px; border: 1.5px dashed var(--line-2); font-size: .84rem; font-weight: 650; cursor: pointer; }
.ac-case { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: .84rem; }
.ac-case span { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 700; }
.ac-case.is-open { background: #fff6e5; } .ac-case.is-open b { color: #6b4300; }
.ac-notes__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
.ac-notes__top h2 { margin: 0; }
.ac-filter { display: flex; gap: 4px; } .ac-filter button { border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; min-height: 36px; }
.ac-filter .is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.ac-nlist { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.ac-nlist li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; background: var(--surface); }
.ac-nlist li[hidden] { display: none; }
.ac-nlist__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--pine); }
.ac-nlist b { font-size: .92rem; } .ac-nlist p { margin: 2px 0; font-size: .86rem; color: var(--ink-2); } .ac-nlist small { font-size: .74rem; color: var(--muted); }
.ac-nlist li[data-d="failed"] { box-shadow: inset 3px 0 0 var(--danger); }
@media (min-width: 900px) { .ac-two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ac { grid-template-columns: 1fr 300px; } }
@media (max-width: 600px) {
  .ac-wrap { padding: 12px; } .ac-box { padding: 16px; }
  .ac-tl li { grid-template-columns: 30px 46px 1fr; } .ac-tl__a { grid-column: 3; justify-self: start; }
  .ac-switch { width: 100%; } .ac-nlist li { grid-template-columns: auto 1fr; } .ac-nlist .chip { grid-column: 2; justify-self: start; }
  .ac-tabs { width: 100%; } .ac-tabs a { flex: 1; justify-content: center; }
}

/* ---------- Mobile mechanic menu (doc2 p16) ---------- */
.mx { max-width: 1120px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); display: grid; gap: var(--s6); align-items: start; }
.mx-app { display: grid; gap: var(--sv-gap); min-width: 0; }
.mx-title { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 0; text-align: center; }
.mx-map { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--map-bg); }
.mx-map__svg { display: block; width: 100%; height: 230px; }
.mx-loc { position: absolute; top: 12px; right: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 10px; border: 0; background: #fff; box-shadow: var(--sh-sm); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; min-height: 36px; color: var(--ink); }
.mx-confirm { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 12px; border-radius: 14px; background: #fff; box-shadow: var(--sh-md, 0 8px 24px rgba(0,0,0,.12)); }
.mx-confirm__ic { color: var(--pine); display: grid; }
.mx-confirm__in { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .84rem; color: var(--ink); padding: 8px 0; }
.mx-confirm__in:focus { outline: none; } .mx-confirm:focus-within { box-shadow: 0 0 0 2px var(--teal); }
.mx-confirm .btn { background: var(--pine); white-space: nowrap; }
.mx-status { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--tint); font-size: .86rem; color: var(--teal); font-weight: 650; }
.mx-sec { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.mx-sec h2 { font-family: var(--font); font-weight: 800; font-size: 1.25rem; margin: 0 0 16px; }
.mx-road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
.mx-road__t { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .84rem; font-weight: 650; color: var(--ink); text-decoration: none; padding: 6px; border-radius: 14px; }
.mx-road__t:hover { background: var(--surface-2); }
.mx-road__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #1c2a2a; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.mx-road__ic .ic { width: 28px; height: 28px; }
.mx-tone--orange { background: #f5a23a; } .mx-tone--red { background: #ef6a5b; color: #fff; } .mx-tone--blue { background: #5aa7e8; color: #fff; }
.mx-tone--yellow { background: #f6cf47; } .mx-tone--green { background: #7fd3a0; } .mx-tone--purple { background: #9b84e0; color: #fff; }
.mx-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mx-svc__t { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px; min-height: 64px; border-radius: 14px; background: var(--tint); color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 650; border: 2px solid transparent; }
.mx-svc__t:hover { border-color: var(--blue-100); }
.mx-svc__t.is-sel { border-color: var(--teal); background: var(--surface); }
.mx-svc__t em { position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 6px; background: var(--teal); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; }
.mx-svc__ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--pine); flex: none; }
.mx-svc__ic .ic { width: 28px; height: 28px; }
.mx-hint { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 760px) { .mx-road { grid-template-columns: repeat(6, 1fr); } .mx-svc { grid-template-columns: repeat(4, 1fr); } .mx-map__svg { height: 280px; } }
@media (min-width: 1040px) { .mx { grid-template-columns: 1fr 300px; } .mx-title { text-align: left; } }
@media (max-width: 420px) { .mx-confirm { flex-wrap: wrap; } .mx-confirm .btn { width: 100%; } .mx-map__svg { height: 260px; } }

/* ---------- Mechanic request (doc2 p17) ---------- */
.mr { max-width: 1060px; margin: 0 auto; padding: var(--s5) max(16px, var(--safe-l)) var(--s12); display: grid; gap: var(--s6); align-items: start; }
.mr-app { display: grid; gap: 12px; max-width: 600px; width: 100%; justify-self: center; min-width: 0; }
.mr-back { display: inline-flex; gap: 4px; align-items: center; font-size: .86rem; font-weight: 650; color: var(--ink-2); text-decoration: none; }
.mr-steps { margin: 4px 0 6px; }
.mr-title { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); margin: 0; }
.mr-sub { margin: -6px 0 4px; color: var(--ink-2); }
.mr-form { display: grid; gap: 10px; }
.mr-box { padding: 14px 16px; border-radius: 16px; background: var(--tint); }
.mr-box h2 { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-family: var(--font); font-weight: 750; font-size: .98rem; margin: 0 0 10px; }
.mr-box h2 > .ic { width: 20px; height: 20px; color: var(--pine); }
.mr-box h2 small { flex-basis: 100%; padding-left: 28px; font-size: .76rem; font-weight: 500; color: var(--muted); }
.mr-box .fld { margin: 0; } .mr-box .fset { margin: 0; }
.mr-box .input { background: var(--surface); }
.mr-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mr-seg input { position: absolute; opacity: 0; }
.mr-seg span { display: grid; place-items: center; min-height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 650; cursor: pointer; }
.mr-seg input:checked + span { border: 2px solid var(--teal); color: var(--teal); background: var(--surface); }
.mr-seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.mr-drop { display: grid; justify-items: center; gap: 4px; padding: 18px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--surface); text-align: center; font-size: .86rem; font-weight: 650; cursor: pointer; }
.mr-drop .ic { width: 24px; height: 24px; color: var(--muted); } .mr-drop small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); }
.mr-addr { position: relative; display: block; margin-bottom: 10px; }
.mr-addr > .ic { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); }
.mr-addr > .ic:first-child { left: 12px; } .mr-addr > .ic:last-of-type { right: 12px; }
.mr-addr .input { padding-left: 38px; padding-right: 36px; }
.mr-addr .input[aria-invalid] { border-color: var(--danger); }
.mr-err { display: flex; gap: 6px; align-items: center; margin: -4px 0 10px; font-size: .8rem; color: var(--danger); font-weight: 650; }
.mr-box--note { display: flex; gap: 12px; align-items: flex-start; }
.mr-box--note > .ic { width: 28px; height: 28px; color: var(--pine); flex: none; }
.mr-box--note b { display: block; } .mr-box--note p { margin: 2px 0 0; font-size: .84rem; color: var(--ink-2); }
.mr-form .btn-block { background: var(--pine); justify-content: center; }
.mr-foot { margin: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.mr-state { display: grid; justify-items: center; gap: 8px; padding: 32px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.mr-state h1 { font-family: var(--font); font-weight: 800; font-size: 1.6rem; margin: 6px 0 0; }
.mr-state > p { margin: 0; color: var(--ink-2); }
.mr-state__ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pine); }
.mr-state__ic .ic { width: 32px; height: 32px; }
.mr-state__ic--pulse { animation: mr-pulse 1.6s ease-out infinite; }
@keyframes mr-pulse { 0% { box-shadow: 0 0 0 0 rgba(17,112,109,.35); } 100% { box-shadow: 0 0 0 22px rgba(17,112,109,0); } }
@media (prefers-reduced-motion: reduce) { .mr-state__ic--pulse { animation: none; } }
.mr-state--no .mr-state__ic { background: #fdecec; color: var(--danger); }
.mr-state__t { max-width: 440px; font-size: .92rem; }
.mr-state__acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
@media (min-width: 1000px) { .mr { grid-template-columns: 1fr 300px; } }
.mr-app > .sample-tag, .ac-box > .sample-tag { justify-self: start; }
.mr-box .vgrid .input { font-size: .88rem; padding-left: 12px; padding-right: 30px; background-position: right 10px center; text-overflow: ellipsis; }

/* ---------- Quote review (doc2 p18) ---------- */
.qt { max-width: 1240px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); display: grid; gap: var(--s6); align-items: start; }
.qt-ver { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .84rem; font-weight: 700; }
.qt-scope__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; }
.qt-exp { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; color: #8a5300; }
.qt-veh { display: flex; gap: 8px; align-items: center; margin: -4px 0 6px; font-size: .86rem; color: var(--ink-2); font-weight: 650; }
.qt-p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.qt-tbl { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--surface); border-radius: 14px; overflow: hidden; }
.qt-tbl th { text-align: left; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.qt-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.qt-tbl th:last-child, .qt-tbl td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qt-tbl tfoot td { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; color: var(--ink-2); }
.qt-tbl tfoot .is-total td { font-weight: 800; color: var(--ink); font-size: 1rem; border-top: 2px solid var(--line); padding-top: 10px; }
.qt-type { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); }
.qt-type--labour { background: #e8f1fb; color: #1f4f7a; } .qt-type--fee { background: #fff3df; color: #7a4b00; } .qt-type--parts { background: var(--tint); color: var(--pine); }
.qt-grp td { font-size: .76rem; font-weight: 800; color: var(--muted); background: var(--surface-2); }
.qt-grp .ic { width: 14px; height: 14px; vertical-align: -2px; }
.is-approved td { color: var(--ink-2); }
.is-new td { background: #fffaf0; } .is-new .qt-grp td { background: #fff1d6; color: #7a4b00; }
.qt-inc { display: grid; gap: 10px; margin: 12px 0; font-size: .84rem; }
.qt-inc div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.qt-inc b { display: inline-flex; gap: 6px; align-items: center; margin-right: 4px; }
.qt-inc span { padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.qt-dec { display: grid; gap: 8px; }
.qt-opt input { position: absolute; opacity: 0; }
.qt-opt span { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.qt-opt .ic { grid-row: span 2; width: 20px; height: 20px; color: var(--pine); margin-top: 2px; }
.qt-opt small { font-size: .78rem; color: var(--muted); }
.qt-opt input:checked + span { border: 2px solid var(--teal); }
.qt-opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.qt-ask { margin-top: 10px; display: grid; gap: 6px; }
.qt-mini { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: .8rem; color: var(--ink-2); }
.qt-mini .ic { flex: none; margin-top: 2px; }
.qt-pay { grid-column: 1 / -1; }
.qt-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: .9rem; }
.qt-card__brand { padding: 3px 8px; border-radius: 6px; background: #1a1f71; color: #fff; font-weight: 900; font-size: .74rem; letter-spacing: .06em; }
.qt-card .linkbtn { margin-left: auto; }
.qt-submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qt-submit .qt-mini { margin: 0; }
.qt-extra { background: #fff7e8; }
.qt-extra h2 .ic { color: #a26200; }
.qt-extra__sum { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--surface); margin-bottom: 12px; }
.qt-acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { .qt-inc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .qt { grid-template-columns: 1fr 300px; } }
@media (max-width: 560px) { .qt-tbl th:nth-child(3), .qt-tbl td:nth-child(3), .qt-tbl th:nth-child(2), .qt-tbl td:nth-child(2) { display: none; } .qt-tbl tfoot td[colspan] { } }
.qt-mini { display: block; } .qt-mini .ic { vertical-align: -3px; margin-right: 6px; }
.qt-tbl .qt-grp td { text-align: left; }
@media (max-width: 560px) { .qt-tbl tfoot td:nth-child(2) { display: table-cell; } .qt-tbl tfoot td[colspan] { width: 60%; } }
.qt-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: .74rem; color: var(--muted); }
@media (max-width: 560px) { .qt-tbl th, .qt-tbl td { display: table-cell !important; } .qt-tbl tfoot td[colspan] { width: auto; } }

/* ---------- Console shell: provider + admin (doc1 p4-5, doc2 p19-20) ---------- */
.is-console .site-footer { display: none; }
.console { display: grid; min-height: 100vh; }
.console__side { position: relative; overflow: hidden; background: linear-gradient(180deg, #0d3b37 0%, #0a2f2c 100%); color: #e7f2ef; }
.console__brand { display: none; color: #fff; text-decoration: none; }
.console__brand .logo { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.console__brand .logo__name { color: #fff; font-size: 2rem; }
.console__brand .logo__sub { color: #cfe3de; text-transform: none; letter-spacing: .02em; font-size: .86rem; }
.console__nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px max(14px, var(--safe-l)); scrollbar-width: none; }
.console__nav::-webkit-scrollbar { display: none; }
.console__nav a { display: inline-flex; gap: 10px; align-items: center; padding: 9px 14px; border-radius: 10px; color: #d7e8e4; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; min-height: 42px; }
.console__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.console__nav a[aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.console__nav .ic { width: 18px; height: 18px; }
.console__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #8fd6c9; color: #0a2f2c; font-size: .74rem; display: grid; place-items: center; }
.console__art, .console__tag { display: none; }
.console__main { min-width: 0; padding: var(--s5) max(16px, var(--safe-l)) var(--s12); background: var(--bg); }
@media (min-width: 1100px) {
  .is-console .topnav { display: none; }
  .console { grid-template-columns: 236px 1fr; }
  .console__side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
  .console__brand { display: block; padding: 34px 20px 22px; }
  .console__nav { flex-direction: column; padding: 8px 14px; overflow: visible; }
  .console__art { display: block; position: absolute; left: 0; right: 0; bottom: 120px; height: 190px; opacity: .55;
    background:
      radial-gradient(120% 60% at 30% 100%, #164c46 60%, transparent 61%),
      linear-gradient(transparent, transparent);
  }
  .console__art::before { content: ""; position: absolute; inset: 0; background:
      conic-gradient(from 150deg at 12% 30%, transparent 0 60deg, #11403b 60deg 120deg, transparent 120deg) ,
      conic-gradient(from 150deg at 30% 22%, transparent 0 60deg, #11403b 60deg 120deg, transparent 120deg),
      conic-gradient(from 150deg at 52% 34%, transparent 0 60deg, #11403b 60deg 120deg, transparent 120deg),
      conic-gradient(from 150deg at 78% 26%, transparent 0 60deg, #11403b 60deg 120deg, transparent 120deg); }
  .console__tag { display: block; position: absolute; left: 26px; bottom: 34px; margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: #e7f2ef; }
  .console__tag::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 14px; background: #8fd6c9; }
  .console__main { padding: 34px 36px 48px; }
}

/* ---------- Provider dashboard ---------- */
.pd-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.pd-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); margin: 0; letter-spacing: -.01em; }
.pd-head p { margin: 2px 0 0; color: var(--ink-2); }
.pd-clock { display: flex; gap: 12px; align-items: center; text-align: right; font-size: .8rem; color: var(--ink-2); }
.pd-clock b { display: block; font-weight: 600; } .pd-clock > .ic { width: 24px; height: 24px; color: var(--muted); }
.pd-stats { display: grid; gap: 12px; margin-bottom: 16px; }
.pd-stat { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pd-stat > span:nth-child(2) { flex: 1; }
.pd-stat b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; vertical-align: -3px; }
.pd-stat strong { font-weight: 700; font-size: .92rem; margin-left: 6px; }
.pd-stat small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.pd-stat__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pine); flex: none; }
.pd-stat__ic .ic { width: 24px; height: 24px; }
.pd-stat > .ic:last-child { color: var(--muted); }
.pd-grid { display: grid; gap: 16px; align-items: start; }
.pd-card { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pd-h2 { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 12px; }
.pd-h2 small { font-family: var(--font); font-size: .82rem; color: var(--ink-2); }
.pd-h2 > .ic { width: 20px; height: 20px; color: var(--pine); align-self: center; }
.pd-two .pd-h2 { font-family: var(--font); font-weight: 800; font-size: 1.05rem; }
.pd-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.pd-job { position: relative; display: grid; gap: 4px; padding: 14px 36px 14px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .86rem; }
.pd-job.is-on { background: var(--tint); border-left: 3px solid var(--teal); border-radius: 10px; border-bottom-color: transparent; }
.pd-job__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.pd-job__top b { display: block; font-size: 1rem; color: var(--ink); }
.pd-job__m { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.pd-job__go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pd-sync { display: flex; gap: 6px; align-items: center; margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
.pd-job-d__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pd-job-d__top h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0; }
.pd-addr { display: flex; gap: 6px; align-items: center; margin: 4px 0 10px; font-size: .86rem; color: var(--ink-2); }
.pd-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.pd-facts span { display: inline-flex; gap: 6px; align-items: center; } .pd-facts b { color: var(--ink); }
.pd-prep { margin: 10px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.pd-prep summary { display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 700; font-size: .88rem; }
.pd-prep summary small { font-weight: 500; color: var(--muted); }
.pd-prep dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; margin: 10px 0 0; font-size: .84rem; }
.pd-prep dt { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .pd-prep dd { margin: 0; }
.pd-h3 { display: block; margin: 16px 0 8px; font-weight: 800; font-size: .95rem; }
.pd-h3 small { font-weight: 500; color: var(--muted); }
.pd-steps { margin: 6px 0 8px; }
.pd-acts-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-ui { font-size: .8rem; color: var(--teal); font-weight: 700; }
.pd-work { display: grid; gap: 12px 20px; border-top: 1px solid var(--line); margin-top: 12px; }
.pd-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pd-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-photos figure { margin: 0; }
.pd-photos figcaption { font-size: .8rem; font-weight: 650; margin-bottom: 4px; }
.pd-photos picture, .pd-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pd-ph, .pd-up { display: grid; place-items: center; align-content: center; gap: 2px; aspect-ratio: 4 / 3; border-radius: 10px; border: 1.5px dashed var(--line-2); color: var(--muted); font-size: .8rem; text-align: center; }
.pd-up { cursor: pointer; position: relative; overflow: hidden; }
.pd-up b { color: var(--ink); font-size: .84rem; } .pd-up small { font-size: .7rem; }
.pd-up img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pd-up:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.pd-pend { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; font-size: .78rem; font-weight: 700; color: #8a5300; }
.pd-pend.is-ok { color: var(--teal); }
.pd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pd-acts .btn[disabled] { opacity: .5; }
.pd-extra { text-align: left; } .pd-extra span { display: grid; line-height: 1.2; } .pd-extra small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.pd-hint { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; font-size: .78rem; color: var(--ink-2); }
.pd-banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: var(--tint); }
.pd-banner > .ic { width: 30px; height: 30px; color: var(--pine); }
.pd-banner > div { flex: 1; min-width: 220px; padding-left: 14px; border-left: 1px solid var(--blue-100); }
.pd-banner b { display: block; font-size: .92rem; } .pd-banner span { font-size: .82rem; color: var(--ink-2); }
.pd-banner .btn { background: var(--surface); }
.pd-two { display: grid; gap: 16px; margin-bottom: 12px; }
.pd-tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.pd-tbl th { text-align: left; font-size: .72rem; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.pd-tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.pd-week { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pd-week li { display: grid; gap: 4px; padding: 8px 4px; border-radius: 10px; background: var(--tint); text-align: center; font-size: .7rem; color: var(--ink-2); }
.pd-week b { font-size: .82rem; color: var(--ink); } .pd-week .is-off { background: var(--surface-2); color: var(--muted); }
@media (min-width: 700px) { .pd-stats { grid-template-columns: repeat(3, 1fr); } .pd-work { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pd-grid { grid-template-columns: 330px 1fr; } .pd-two { grid-template-columns: 1.3fr 1fr; } }
@media (max-width: 600px) {
  .pd-clock { display: none; } .pd-tbl th:nth-child(3), .pd-tbl td:nth-child(3) { display: none; }
  .pd-week { grid-template-columns: repeat(4, 1fr); } .pd-banner > div { padding-left: 0; border-left: 0; }
  .pd-acts .btn { flex: 1 1 100%; justify-content: center; }
}
.console__brand .logo-mark { color: #fff; width: 54px; height: 54px; }
@media (min-width: 1100px) { .console__side { position: relative; height: auto; min-height: 100vh; } .console__side > .console__brand, .console__side > .console__nav { position: relative; z-index: 1; } .console__art { bottom: 130px; } }

/* ---------- Operations overview (doc1 p5, doc2 p20) ---------- */
.op-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.op-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); margin: 0; }
.op-sel { display: flex; gap: 10px; flex-wrap: wrap; }
.op-pick { position: relative; display: inline-flex; align-items: center; }
.op-pick > .ic { position: absolute; left: 12px; color: var(--ink-2); pointer-events: none; }
.op-pick select { appearance: none; min-width: 170px; min-height: 42px; padding: 8px 34px 8px 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M1.6 4.6 8 11l6.4-6.4-.8-.8L8 9.4 2.4 3.8z'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; font-size: .88rem; color: var(--ink); }
.op-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.op-kpi { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; font-size: .92rem; color: var(--ink-2); }
.op-kpi b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.05; }
.op-kpi__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.op-kpi__ic .ic { width: 24px; height: 24px; }
.op-kpi--teal { background: #e7f3f0; } .op-kpi--teal .op-kpi__ic { color: var(--pine); }
.op-kpi--orange { background: #fff3e6; } .op-kpi--orange .op-kpi__ic { color: #e07b12; }
.op-kpi--red { background: #fdeceb; } .op-kpi--red .op-kpi__ic { color: #d63c33; }
.op-kpi--blue { background: #eaf2fb; } .op-kpi--blue .op-kpi__ic { color: #2f6db5; background: #d9e8f8; }
.op-card { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.op-h2 { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 0 0 12px; }
.op-h2 small { font-family: var(--font); font-size: .8rem; color: var(--muted); }
.op-queue__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.op-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.op-filters .input { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: .84rem; min-width: 130px; width: auto; }
.op-search { position: relative; } .op-search > .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.op-search .input { padding-left: 32px; min-width: 170px; }
.op-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 12px 0; padding-bottom: 2px; scrollbar-width: thin; }
.op-tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink-2); text-decoration: none; white-space: nowrap; min-height: 36px; }
.op-tabs a b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); display: grid; place-items: center; font-size: .7rem; }
.op-tabs a[aria-current] { background: var(--pine); color: #fff; border-color: var(--pine); } .op-tabs a[aria-current] b { background: rgba(255,255,255,.2); }
.op-tblwrap { overflow-x: auto; }
.op-tbl { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 640px; }
.op-tbl th { text-align: left; padding: 10px 12px; background: var(--tint); font-weight: 700; font-size: .8rem; color: var(--ink); }
.op-tbl th:first-child { border-radius: 10px 0 0 10px; } .op-tbl th:last-child { border-radius: 0 10px 10px 0; }
.op-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.op-tbl td .btn { min-width: 72px; justify-content: center; }
.op-tbl tr[hidden] { display: none; }
.op-empty { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.op-assign { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--tint); }
.op-assign__top { display: flex; justify-content: space-between; align-items: center; } .op-assign h3 { margin: 0; font-size: 1rem; }
.op-match { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.op-match li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: .86rem; }
.op-match li.is-off { opacity: .55; }
.op-tags { display: flex; flex-wrap: wrap; gap: 4px; } .op-tags span { padding: 2px 8px; border-radius: 6px; background: var(--tint); color: var(--pine); font-size: .72rem; font-weight: 700; }
.op-tags .is-miss { background: #fdeceb; color: #b4342b; }
.op-mini { display: block; margin: 10px 0 0; font-size: .78rem; color: var(--ink-2); } .op-mini .ic { vertical-align: -3px; margin-right: 4px; }
.op-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.op-acts .op-mini { margin: 0; }
.op-row { display: grid; gap: 16px; margin: 16px 0; }
.op-wx { display: flex; gap: 14px; align-items: flex-start; }
.op-wx > .ic { width: 46px; height: 46px; color: #3d87c4; flex: none; }
.op-wx b { display: block; } .op-wx span { font-size: .86rem; color: var(--ink-2); }
.op-teams { list-style: none; padding: 0; margin: 0; display: grid; }
.op-teams li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.op-teams li span:nth-child(2) { min-width: 70px; }
.op-svcs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; }
.op-svcs a { display: flex; gap: 12px; align-items: center; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: .88rem; }
.op-svcs a span { flex: 1; } .op-svcs a > .ic:last-child { color: var(--muted); }
.op-svcs a:hover span { color: var(--teal); }
.op-pay .op-paylist { display: flex; flex-wrap: wrap; gap: 10px; }
.op-paylist > span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--surface-2); }
@media (min-width: 900px) { .op-kpis { grid-template-columns: repeat(4, 1fr); } .op-row { grid-template-columns: 1.25fr 1fr 1.1fr; } }
@media (max-width: 600px) { .op-filters label { flex: 1 1 45%; } .op-filters .input { width: 100%; min-width: 0; } .op-search { flex-basis: 100% !important; } .op-pick select { min-width: 140px; } }
@media (max-width: 600px) {
  .op-tbl { min-width: 0; } .op-tbl thead { display: none; }
  .op-tbl, .op-tbl tbody { display: block; }
  .op-tbl tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .op-tbl tr[hidden] { display: none; }
  .op-tbl td { padding: 0; border: 0; font-size: .84rem; }
  .op-tbl td:nth-child(1) { grid-column: 1; } .op-tbl td:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
  .op-tbl td:nth-child(2) { grid-column: 1 / -1; font-weight: 650; }
  .op-tbl td:nth-child(3), .op-tbl td:nth-child(5) { color: var(--ink-2); grid-column: 1; }
  .op-tbl td:nth-child(5)::before { content: "Team: "; color: var(--muted); }
  .op-tbl td:nth-child(6) { grid-column: 2; grid-row: 3 / span 2; align-self: center; }
}

/* ---------- Service settings ---------- */
.ss-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.ss-pick a { display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 8px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .7rem; font-weight: 700; }
.ss-pick a .ic { width: 20px; height: 20px; color: var(--pine); }
.ss-pick a[aria-current] { border-color: var(--teal); background: var(--tint); color: var(--ink); }
.ss-grid { display: grid; gap: 16px; }
.ss-grid .fld { margin-bottom: 10px; }
.ss-grid .mr-seg { margin-bottom: 12px; }
.ss-p { margin: 0 0 10px; font-size: .88rem; color: var(--ink-2); }
.ss-fields { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; counter-reset: ssf; }
.ss-fields li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .86rem; }
.ss-fields li small { flex-basis: 100%; padding-left: 26px; color: var(--muted); font-size: .76rem; }
.ss-fields .linkbtn { margin-left: auto; font-size: .8rem; }
.ss-grip { color: var(--muted); display: grid; }
.ss-req { margin-top: 10px; }
.ss-save { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 900px) { .ss-grid { grid-template-columns: 1fr 1fr; } .ss-wide { grid-column: 1 / -1; } }
.ss-fields li small { order: 3; }

/* ---------- Booking states reference ---------- */
.st { max-width: 1180px; margin: 0 auto; padding: var(--s6) max(16px, var(--safe-l)) var(--s12); display: grid; gap: 16px; }
.st-head h1 { font-family: var(--font); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); margin: 0; }
.st-head p { margin: 4px 0 0; color: var(--ink-2); }
.st-life { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 6px; }
.st-life li { display: inline-flex; gap: 6px; align-items: center; }
.st-life li:not(:last-child)::after { content: ""; width: 14px; height: 2px; background: var(--line-2); }
.st-n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .68rem; font-weight: 800; color: var(--muted); }
.st-cols { display: grid; gap: 16px; }
.st-h3 { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-rules { display: grid; gap: 12px; }
.st-rule { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.st-rule h3 { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 8px; font-size: 1rem; }
.st-rule h3 span { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.st-rule dl { display: grid; gap: 8px; margin: 0; font-size: .86rem; }
.st-rule dt { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .st-rule dd { margin: 0; }
.st-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: .82rem; }
.st-links a { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; color: var(--teal); text-decoration: none; }
.st-links a:hover { text-decoration: underline; }
.st-tbl { display: grid; }
.st-row { display: grid; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.st-row span { color: var(--ink-2); } .st-row .st-links { margin: 0; }
.st-checks { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .88rem; }
.st-checks li { padding-left: 4px; } .st-checks li span { margin-right: 10px; }
.st-checks a { display: inline-flex; gap: 4px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--teal); text-decoration: none; white-space: nowrap; }
@media (min-width: 800px) { .st-cols { grid-template-columns: 1fr 1fr; } .st-rules { grid-template-columns: 1fr 1fr; } .st-rule dl { grid-template-columns: 1fr 1fr; } .st-row { grid-template-columns: 1fr 1.6fr 1fr; align-items: start; } }
/* bookings list: per-booking actions under each row */
.brow-w { display: grid; }
.brow-w .brow { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.brow__t small { font-weight: 600; font-size: .74rem; color: var(--muted); }
.brow__side .chip--pay .ic { color: inherit; }
.brow__acts { display: flex; gap: 4px; margin: 0; padding: 6px 8px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card); background: var(--surface-2); }
.brow__acts a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 8px; font-size: .8rem; font-weight: 700; color: var(--ink-2); text-decoration: none; min-height: 36px; }
.brow__acts a:hover { background: var(--surface); color: var(--teal); }
.ch-home-rem { margin: 0 0 12px; }
.ch-home-snow { text-decoration: none; margin-bottom: var(--s5); }
.ch-home-snow:hover { filter: brightness(.98); }
/* Inline links inside running text stay distinguishable without colour */
.crumbs a, .mx-card p a, .cp-rules p a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
