/* ==========================================================================
   PawStay Pet Resort — design system (static design, Phase 1)
   Every colour is a custom property so the admin can recolour the site.
   Light is the default; [data-theme="dark"] is a designed dark palette.
   ========================================================================== */

:root {
  /* brand */
  --brand: #1E2A5A;            /* deep navy (primary) */
  --brand-fill: #1E2A5A;       /* primary button fill */
  --brand-hover: #16204A;
  --brand-ink: #1E2A5A;        /* links / active text */
  --brand-soft: #E7EAF4;
  --brand-line: #C9CFE6;
  --accent: #E8590C;           /* warm orange (decor, icons) */
  --accent-fill: #C2410C;      /* button fill, white text AA */
  --accent-hover: #A8380A;
  --accent-ink: #B83D0B;       /* orange text on light surfaces */
  --accent-soft: #FDEBDC;
  --on-accent: #FFFFFF;
  --on-brand: #FFFFFF;

  /* warm neutrals */
  --bg: #FBF7F1;
  --bg-2: #F5EEE3;
  --surface: #FFFFFF;
  --surface-2: #F8F2E9;
  --surface-3: #EFE6D8;
  --border: #E8DDCC;
  --border-strong: #D8CAB4;
  --text: #1A1F3D;
  --text-2: #464B66;
  --muted: #73778F;
  --sand: #F3E7D5;

  /* semantic (status only) */
  --ok: #15803D;   --ok-soft: #E3F4E8;
  --warn: #B45309; --warn-soft: #FDF0D9;
  --danger: #B91C1C; --danger-soft: #FCE4E2;
  --info: #1D4ED8; --info-soft: #E2EAFD;

  /* nav band */
  --navy-band: #1E2A5A;
  --navy-band-2: #26346B;
  --on-band: #F6F1E9;
  --on-band-2: #B9C0DC;

  --sidebar: #1E2A5A;
  --sidebar-2: #26346B;
  --sidebar-text: #DCE0F0;
  --sidebar-muted: #8C95BF;

  --chart-1: #1E2A5A;
  --chart-2: #E8590C;
  --chart-3: #8C97C7;
  --chart-4: #F2B48A;
  --grid: #EDE4D6;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 33, 60, .06);
  --shadow: 0 2px 4px rgba(30, 33, 60, .05), 0 8px 24px rgba(30, 33, 60, .07);
  --shadow-lg: 0 6px 14px rgba(30, 33, 60, .07), 0 24px 56px rgba(30, 33, 60, .14);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --brand: #1E2A5A;
  --brand-fill: #3A4C9A;
  --brand-hover: #4659AA;
  --brand-ink: #B4C0F2;
  --brand-soft: #222B4E;
  --brand-line: #34407040;
  --accent: #F2762F;
  --accent-fill: #C2410C;
  --accent-hover: #D24A10;
  --accent-ink: #FF9A5C;
  --accent-soft: #3A2418;

  --bg: #0E1325;
  --bg-2: #121830;
  --surface: #161D36;
  --surface-2: #1B2341;
  --surface-3: #232C4E;
  --border: #2A3358;
  --border-strong: #3A4470;
  --text: #F4EEE4;
  --text-2: #C9C6D2;
  --muted: #9298B2;
  --sand: #2A2A3A;

  --ok: #4ADE80;   --ok-soft: #12301F;
  --warn: #FBBF24; --warn-soft: #33270F;
  --danger: #F87171; --danger-soft: #3A1717;
  --info: #93B4FF; --info-soft: #18244A;

  --navy-band: #141B33;
  --navy-band-2: #1B2444;
  --on-band: #F4EEE4;
  --on-band-2: #A9B0CE;

  --sidebar: #0A0F1F;
  --sidebar-2: #161D36;
  --sidebar-text: #D7DBEA;
  --sidebar-muted: #7E86A8;

  --chart-1: #8FA2F0;
  --chart-2: #F2762F;
  --chart-3: #4D5C9C;
  --chart-4: #9E5A33;
  --grid: #263055;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 10px 26px rgba(0, 0, 0, .28);
  --shadow-lg: 0 8px 18px rgba(0, 0, 0, .35), 0 28px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 15.5px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .4em; font-optical-sizing: auto; font-variation-settings: "SOFT" 60; }
h1 { font-size: clamp(36px, 4.6vw, 62px); }
h2 { font-size: clamp(28px, 3.1vw, 42px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
h1 em, h2 em { font-style: italic; color: var(--accent-ink); font-weight: 500; }
p { margin: 0 0 1em; }
b, strong { color: var(--text); font-weight: 650; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.ml-auto { margin-left: auto !important; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.t-right { text-align: right; }
.t-center { text-align: center; }
.nowrap { white-space: nowrap; }
.small { font-size: 13.5px; }
.xs { font-size: 12.5px; }
.strong { color: var(--text); font-weight: 650; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.serif { font-family: var(--font-head); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 650 15px/1 var(--font-ui); color: var(--text); background: var(--surface); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background-color .15s, border-color .15s, color .15s, transform .2s; }
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--brand-fill); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-accent { background: var(--accent-fill); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-light { background: #FFFFFF; color: #1E2A5A; }
.btn-on-band { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-on-band:hover { border-color: #fff; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 14px; }
.btn-xs { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; font-size: 18px; flex: none; position: relative; }
.icon-btn:hover { background: var(--surface-3); }
.icon-btn.bordered { border-color: var(--border); background: var(--surface); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand-ink); }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* theme toggle: moon in light, sun in dark */
.theme-toggle .bi-sun { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun { display: inline; }
[data-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }

/* ---------- badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 650 12.5px/1 var(--font-ui); background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-danger { background: var(--danger-soft); color: var(--danger); }
.b-info { background: var(--info-soft); color: var(--info); }
.b-brand { background: var(--brand-soft); color: var(--brand-ink); }
.b-accent { background: var(--accent-soft); color: var(--accent-ink); }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: 600 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; }
.chip i { color: var(--muted); }
.chip.on { border-color: var(--brand-ink); background: var(--brand-soft); color: var(--brand-ink); }
.chip.on i { color: var(--brand-ink); }
.chip-accent.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.chip-accent.on i { color: var(--accent-ink); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------- avatars ---------- */
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); display: inline-grid; place-items: center; font: 700 14px/1 var(--font-ui); color: var(--brand-ink); }
.av-sm { width: 32px; height: 32px; font-size: 12px; }
.av-lg { width: 56px; height: 56px; font-size: 18px; }
.av-xl { width: 96px; height: 96px; font-size: 28px; }
.av-o { background: var(--accent-soft); color: var(--accent-ink); }
.av-stack { display: flex; }
.av-stack > * { border: 2px solid var(--surface); margin-left: -10px; }
.av-stack > *:first-child { margin-left: 0; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); min-width: 0; }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-head h3, .card-head h4 { margin: 0; font-family: var(--font-ui); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.card-head .sub { color: var(--muted); font-size: 13.5px; }
.card-body { padding: 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-gap-16 { gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ico-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 21px; flex: none; }
.ico-tile.navy { background: var(--brand-soft); color: var(--brand-ink); }
.ico-tile.sm { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; min-width: 0; }
.label { font-size: 14px; font-weight: 650; color: var(--text); }
.help { font-size: 13px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: 400 15px/1.4 var(--font-ui); }
.textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: 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='%2373778F' d='M1.6 4.6a.7.7 0 0 1 1-.1L8 9.1l5.4-4.6a.7.7 0 1 1 .9 1.1l-5.8 5a.7.7 0 0 1-1 0l-5.8-5a.7.7 0 0 1-.1-1Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--brand-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.input-group { display: flex; min-width: 0; }
.input-group .input { border-radius: 12px 0 0 12px; min-width: 0; }
.input-group .addon { display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--border); border-left: 0; border-radius: 0 12px 12px 0; background: var(--surface-2); color: var(--text-2); font-size: 14px; white-space: nowrap; }
.input-group .addon-l { border-left: 1.5px solid var(--border); border-right: 0; border-radius: 12px 0 0 12px; }
.input-group .addon-l + .input { border-radius: 0 12px 12px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; color: var(--text-2); min-height: 36px; padding-top: 6px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-fill); flex: none; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--border-strong); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + span { background: var(--accent-fill); }
.switch input:checked + span::after { transform: translateX(20px); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-3); gap: 2px; max-width: 100%; overflow-x: auto; }
.seg > * { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 650 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; }
.seg > .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.upload { display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 18px; border: 2px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface-2); color: var(--muted); font-size: 14px; }
.upload i { font-size: 26px; color: var(--accent); }
.upload b { color: var(--text); }

/* ---------- alerts ---------- */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); font-size: 14.5px; align-items: flex-start; }
.alert > i { font-size: 19px; line-height: 1.3; }
.alert p { margin: 0; }
.alert-warn { background: var(--warn-soft); border-color: transparent; color: var(--text); }
.alert-warn > i { color: var(--warn); }
.alert-info { background: var(--info-soft); border-color: transparent; color: var(--text); }
.alert-info > i { color: var(--info); }
.alert-ok { background: var(--ok-soft); border-color: transparent; color: var(--text); }
.alert-ok > i { color: var(--ok); }
.alert-accent { background: var(--accent-soft); border-color: transparent; color: var(--text); }
.alert-accent > i { color: var(--accent-ink); }

/* ---------- progress ---------- */
.bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--brand-fill); }
.bar.o > span { background: var(--accent); }
.bar.ok > span { background: var(--ok); }
.bar.warn > span { background: var(--warn); }

/* ---------- dropdowns ---------- */
.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 60; }
.dd.open > .dd-menu { display: block; }
.dd-menu a, .dd-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 500 14.5px/1.2 var(--font-ui); text-align: left; cursor: pointer; text-decoration: none; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--surface-2); }
.dd-menu i { color: var(--muted); width: 18px; }
.dd-menu hr { margin: 6px 0; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs > button, .tabs > a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; border-bottom: 2.5px solid transparent; background: none; color: var(--muted); font: 650 14.5px/1 var(--font-ui); cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.tabs > .on { color: var(--text); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }

/* ---------- tables (→ cards on phones) ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; padding: 12px 18px; font: 700 12px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tbl .who > div b { display: block; font-weight: 650; color: var(--text); }
.tbl .who > div span { display: block; font-size: 13px; color: var(--muted); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .acts { text-align: right; white-space: nowrap; }
.pet-thumb { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex: none; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--border); min-width: 0; }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .grow b { display: block; color: var(--text); font-weight: 650; }
.list .grow span { display: block; color: var(--muted); font-size: 13.5px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li i { color: var(--accent); font-size: 17px; line-height: 1.4; }
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; font-size: 14.5px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: var(--text); font-weight: 600; min-width: 0; }

/* ==========================================================================
   PUBLIC — install bar, header, drawer, footer
   ========================================================================== */
.install-bar { background: var(--navy-band); color: var(--on-band); font-size: 14px; }
.install-bar .container { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.install-bar p { margin: 0; color: var(--on-band-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.install-bar p b { color: #fff; }
.install-bar .app-ico { width: 26px; height: 26px; flex: none; }
.install-bar .btn { min-height: 32px; padding: 0 14px; font-size: 13px; background: #fff; color: #1E2A5A; }
.install-bar .close { color: var(--on-band-2); width: 36px; height: 36px; font-size: 14px; }
.install-bar .close:hover { background: rgba(255,255,255,.08); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span { font: 650 24px/1 var(--font-head); letter-spacing: -.02em; color: var(--text); font-variation-settings: "SOFT" 100; }
.logo span b { color: var(--accent-ink); font-weight: 650; }
.logo-mark-bg { fill: #1E2A5A; }
[data-theme="dark"] .logo-mark-bg { fill: #2F3F86; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.site-header > .container { display: flex; align-items: center; gap: 22px; height: 76px; max-width: 1440px; }
.main-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.main-nav > a, .main-nav .more-btn { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 999px; color: var(--text-2); font: 600 15px/1 var(--font-ui); white-space: nowrap; text-decoration: none !important; border: 0; background: none; cursor: pointer; }
.main-nav > a:hover, .main-nav .more-btn:hover { color: var(--text); background: var(--surface-3); }
.main-nav > a.active { color: var(--text); background: var(--sand); }
.main-nav .more { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.header-search { width: 176px; }
.btn-install { width: 42px; padding: 0; }
.btn-install span { display: none; }
.header-search .input { min-height: 42px; border-radius: 999px; background: var(--surface); font-size: 14px; }
.header-search-btn { display: none; }
.burger { display: none; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 650 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; }
.user-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 14, 30, .55); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--surface); z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.75,.15,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); visibility: hidden; }
.nav-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.nav-open .mobile-drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.mobile-drawer nav { padding: 12px; display: grid; gap: 2px; overflow-y: auto; }
.mobile-drawer nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; color: var(--text); font-weight: 600; text-decoration: none; }
.mobile-drawer nav a i { color: var(--muted); font-size: 18px; }
.mobile-drawer nav a.active { background: var(--sand); }
.mobile-drawer nav a.active i { color: var(--accent-ink); }
.drawer-foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--border); }

/* header collapse steps */
@media (max-width: 1359px) {
  .header-search { display: none; }
  .header-search-btn { display: inline-grid; }
}
@media (max-width: 1279px) {
  .site-header > .container { gap: 14px; }
  .main-nav > a, .main-nav .more-btn { padding: 0 9px; font-size: 14.5px; }
  .btn-signin span { display: none; }
  .btn-signin { width: 42px; padding: 0; }
  .header-tools { gap: 6px; }
}
@media (max-width: 1099px) {
  .main-nav .nav-extra { display: none; }
  .main-nav .more { display: block; }
}
@media (max-width: 979px) {
  .main-nav { display: none; }
  .burger { display: inline-grid; }
  .header-tools { margin-left: auto; }
  .header-tools .hide-m { display: none; }
}
@media (max-width: 767px) {
  .site-header > .container { height: 60px; gap: 8px; }
  .logo svg { width: 34px; height: 34px; }
  .logo span { font-size: 22px; }
  .header-tools { gap: 2px; margin-left: auto; }
  .header-tools .icon-btn { width: 40px; height: 40px; }
  .hide-xs { display: none !important; }
}

/* footer */
.site-footer { background: var(--navy-band); color: var(--on-band-2); padding: 72px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.site-footer a { color: var(--on-band-2); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { font: 700 13px/1.2 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.3fr; gap: 36px; }
.site-footer .logo span { color: #fff; }
.site-footer .logo-mark-bg, .sidebar .logo-mark-bg { fill: #33458F; }
.site-footer .logo span b { color: #FF9A5C; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer-about p { margin: 16px 0 18px; font-size: 14.5px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 16px; text-decoration: none; }
.socials a:hover { background: #fff; color: #1E2A5A; }
.app-card { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--navy-band-2); border: 1px solid rgba(255,255,255,.1); }
.app-card .row b { color: #fff; display: block; font-size: 15px; }
.app-card .row span { font-size: 13px; }
.app-card .app-ico { width: 44px; height: 44px; flex: none; }
.footer-hours { display: grid; gap: 4px; font-size: 14px; margin-top: 4px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours b { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .theme-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; font: 600 13.5px/1 var(--font-ui); cursor: pointer; }
.footer-bottom .lang { display: inline-flex; align-items: center; gap: 6px; }
.footer-paws { position: absolute; left: -50px; bottom: 40px; width: 220px; opacity: .05; color: #fff; pointer-events: none; }

/* ==========================================================================
   PUBLIC — sections
   ========================================================================== */
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section.tint { background: var(--bg-2); }
.section.band { background: var(--navy-band); color: var(--on-band-2); }
.section.band h2, .section.band h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17.5px; color: var(--text-2); }
.section-head.row-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.row-head > div { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 700 13px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.band .eyebrow { color: #FF9A5C; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); }

/* inner page hero */
.page-hero { position: relative; padding: 72px 0 64px; background: var(--bg-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.page-hero.simple .container { grid-template-columns: minmax(0, 1fr); text-align: center; max-width: 860px; }
.page-hero.simple .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.page-hero.simple .crumbs { justify-content: center; }
.crumbs a { color: var(--muted); }
.crumbs i { font-size: 11px; }
.ph-photos { position: relative; height: 340px; }
.ph-photos img { position: absolute; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 6px solid var(--surface); }
.ph-photos .p1 { right: 0; top: 0; width: 72%; height: 300px; border-radius: 160px 160px var(--radius-xl) var(--radius-xl); }
.ph-photos .p2 { left: 0; bottom: 0; width: 46%; height: 190px; }
.ph-photos .stamp { position: absolute; left: 6%; top: 18px; }
.paw-deco { position: absolute; color: var(--accent); opacity: .14; pointer-events: none; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.stats > div { padding: 28px 26px; border-right: 1px solid var(--border); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 600 40px/1 var(--font-head); color: var(--text); letter-spacing: -.02em; margin-bottom: 8px; }
.stats span { font-size: 14.5px; color: var(--muted); }

/* service photo cards */
.svc-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none !important; min-width: 0; }
.svc-card .ph { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--surface-3); }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.15,1); }
.svc-card:hover .ph img { transform: scale(1.06); }
.svc-card .ph .price-pill { position: absolute; left: 16px; bottom: 16px; }
.price-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; }
.price-pill b { font: 650 18px/1 var(--font-head); }
.svc-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card .body h3 { margin: 0; font-size: 25px; }
.svc-card .body p { margin: 0; }
.svc-card .body .link-arrow { margin-top: auto; padding-top: 6px; }
.svc-card .ico-float { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: #fff; font-size: 20px; box-shadow: var(--shadow); }

/* addons strip */
.addons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.addon { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; color: var(--text); font-weight: 600; }
.addon i { color: var(--accent); }
.addon span { color: var(--muted); font-weight: 500; }

/* steps */
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps4 .flow-line { position: absolute; left: 6%; right: 6%; top: 36px; height: 40px; width: 88%; pointer-events: none; overflow: visible; }
.steps4 .flow-line path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 6 8; }
.steps4 .flow-line .draw { stroke: var(--accent); stroke-dasharray: none; stroke-width: 2.5; stroke-linecap: round; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .num { position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); color: var(--brand-ink); font-size: 28px; box-shadow: var(--shadow); transition: border-color .4s, background-color .4s, color .4s; }
.step .num small { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--font-ui); }
.step.on .num { border-color: var(--accent); }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; margin: 0; }

/* suites showcase */
.suite-show { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.suite-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.suite-tabs button { position: relative; overflow: hidden; }
.suite-tabs .sc-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.suite-stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-lg); }
.suite-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s, transform 1.4s cubic-bezier(.2,.75,.15,1); transform: scale(1.06); }
.suite-stage img.on { opacity: 1; transform: none; }
.suite-stage .cap { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.suite-stage .cap .price-pill { box-shadow: var(--shadow); }
.suite-info .tab-panel h3 { font-size: 32px; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 26px; }
.spec { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.spec i { font-size: 20px; color: var(--accent-ink); }
.spec b { display: block; font-size: 15px; }
.spec span { font-size: 13px; color: var(--muted); }

/* report card feature */
.rc-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.rc-phone { position: relative; width: 360px; max-width: 100%; margin: 0 auto; border-radius: 44px; background: #10152B; padding: 12px; box-shadow: var(--shadow-lg); }
.rc-phone .screen { border-radius: 34px; overflow: hidden; background: var(--bg); height: 640px; position: relative; color: var(--text-2); }
.rc-phone .notch { position: absolute; top: 12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; border-radius: 0 0 16px 16px; background: #10152B; z-index: 2; }
.rc-phone .app-top { display: flex; align-items: center; gap: 10px; padding: 42px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.rc-phone .app-top b { font-size: 15px; display: block; }
.rc-phone .app-top span { font-size: 12px; color: var(--muted); }
.rc-feed { padding: 12px; display: grid; gap: 12px; }
.rc-post { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.rc-post .ph { height: 170px; overflow: hidden; }
.rc-post .ph img { width: 100%; height: 100%; object-fit: cover; }
.rc-post .in { padding: 12px 14px; }
.rc-post .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.rc-post .meta b { font-size: 13px; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; font-weight: 650; color: var(--text); }
.rc-chip i { color: var(--ok); }
.rc-chip.mood { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.rc-chip.mood i { color: var(--accent-ink); }
.rc-post p { font-size: 13px; margin: 8px 0 0; line-height: 1.5; }
.feat-list { display: grid; gap: 18px; margin-top: 28px; }
.feat { display: flex; gap: 16px; }
.feat h4 { margin: 2px 0 4px; font-family: var(--font-ui); font-size: 16.5px; font-weight: 700; letter-spacing: 0; }
.feat p { margin: 0; font-size: 15px; }

/* packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); min-width: 0; }
.pkg.featured { background: var(--navy-band); border-color: var(--navy-band); color: var(--on-band-2); box-shadow: var(--shadow-lg); }
.pkg.featured h3, .pkg.featured .price b, .pkg.featured .ticks li { color: #fff; }
.pkg.featured .ticks li i { color: #FF9A5C; }
.pkg .ribbon { position: absolute; top: -13px; left: 30px; }
.pkg h3 { margin: 0; font-size: 24px; }
.pkg .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pkg .price b { font: 600 46px/1 var(--font-head); color: var(--text); letter-spacing: -.02em; }
.pkg .price span { font-size: 14px; }
.pkg .save { font-size: 13.5px; font-weight: 650; color: var(--accent-ink); }
.pkg.featured .save { color: #FF9A5C; }
.pkg .ticks { font-size: 15px; margin: 6px 0 10px; }
.pkg .btn { margin-top: auto; }
.pkg-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; font-size: 14.5px; color: var(--text-2); text-align: center; flex-wrap: wrap; }
.pkg-note i { color: var(--accent-ink); }
.size-switch { display: flex; justify-content: center; margin-bottom: 36px; }

/* team */
.team-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.team-card .ph { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--surface-3); }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.15,1); }
.team-card:hover .ph img { transform: scale(1.05); }
.team-card .body { padding: 18px 20px 20px; }
.team-card h3 { font-size: 21px; margin: 0 0 2px; }
.team-card .role { font-size: 14px; color: var(--accent-ink); font-weight: 650; }
.team-card .certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* gallery */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-3); }
.gallery figure img { width: 100%; transition: transform .8s cubic-bezier(.2,.75,.15,1); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; }
.gallery figcaption span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 650; box-shadow: var(--shadow); }
.gallery-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery-strip figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--surface-3); }
.gallery-strip figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.15,1); }
.gallery-strip figure:hover img { transform: scale(1.06); }
.gallery-strip .tall { grid-row: span 2; }

/* reviews marquee */
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq + .mq { margin-top: 18px; }
.mq-track { display: flex; gap: 18px; width: max-content; padding: 6px 0; }
.review { width: 360px; flex: none; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stars { display: inline-flex; gap: 2px; color: #E8590C; font-size: 14px; }
.review p { margin: 10px 0 14px; color: var(--text); font-size: 15px; line-height: 1.55; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .who > div b { display: block; font-size: 14px; }
.review .who > div span { display: block; font-size: 12.5px; color: var(--muted); }
.rating-big { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating-big b { font: 600 52px/1 var(--font-head); color: var(--text); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font: 650 16px/1.4 var(--font-ui); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--accent-ink); font-size: 18px; transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }
.faq details > div p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding: 56px; border-radius: 36px; background: var(--navy-band); color: var(--on-band-2); overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.cta-band h2 em { color: #FF9A5C; }
.cta-band .lead { color: var(--on-band-2); }
.cta-band .cta-photo { position: relative; align-self: stretch; min-height: 340px; margin: -56px -56px -56px 0; }
.cta-band .cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 220px 0 0 220px; }
.cta-band .scribble { position: absolute; left: 40%; top: 20px; width: 160px; color: #FF9A5C; }
.cta-band .scribble path { stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* pricing table */
.price-tbl td:first-child { min-width: 220px; }
.price-tbl .svc { display: flex; gap: 12px; align-items: center; }
.price-tbl .svc > div b { display: block; color: var(--text); font-size: 15px; }
.price-tbl .svc > div span { display: block; color: var(--muted); font-size: 13px; }
.price-tbl td.p { font: 600 18px/1 var(--font-head); color: var(--text); text-align: center; white-space: nowrap; }
.price-tbl th.p { text-align: center; }
.size-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--muted); }
.size-legend b { color: var(--text); }

/* contact */
.map-ph { position: relative; height: 100%; min-height: 380px; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.map-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph .pin { position: absolute; left: 52%; top: 44%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map-ph .pin i { font-size: 44px; color: var(--accent-fill); line-height: 1; }
.map-ph .pin span { padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.map-ph .map-note { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
.hours-tbl { width: 100%; font-size: 14.5px; border-collapse: collapse; }
.hours-tbl td { padding: 9px 0; border-bottom: 1px dashed var(--border); }
.hours-tbl td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.hours-tbl tr.today td { color: var(--accent-ink); font-weight: 700; }

/* auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 120px); }
.auth-side { position: relative; overflow: hidden; background: var(--navy-band); }
.auth-side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side .shade { position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(0deg, rgba(14,19,40,.92), rgba(14,19,40,0)); }
.auth-side .quote { position: absolute; left: 48px; right: 48px; bottom: 48px; color: #fff; }
.auth-side .quote p { font: 500 26px/1.35 var(--font-head); color: #fff; }
.auth-side .quote span { color: #DCE0F0; font-size: 14.5px; }
.auth-side .rc-mini { position: absolute; top: 40px; right: 40px; width: 270px; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 56px max(28px, 7vw); max-width: 640px; width: 100%; margin: 0 auto; }
.auth-form h1 { font-size: 40px; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.demo-logins { display: flex; flex-wrap: wrap; gap: 8px; }

/* booking wizard */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.stepper { display: flex; gap: 0; counter-reset: s; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { list-style: none; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-right: 10px; }
.stepper li .ln { display: flex; align-items: center; gap: 10px; }
.stepper li .ln::after { content: ""; flex: 1; height: 2px; background: var(--border); border-radius: 2px; }
.stepper li:last-child .ln::after { display: none; }
.stepper li .c { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border); color: var(--muted); font: 700 14px/1 var(--font-ui); flex: none; }
.stepper li span { font-size: 13.5px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.stepper li.done .c { background: var(--brand-fill); border-color: var(--brand-fill); color: #fff; }
.stepper li.done .ln::after { background: var(--brand-fill); }
.stepper li.done span { color: var(--text); }
.stepper li.cur .c { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.stepper li.cur span { color: var(--text); }
.wz-step { padding: 26px; margin-bottom: 20px; }
.wz-step > .hd { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.wz-step > .hd h3 { margin: 0; font-size: 22px; }
.wz-step > .hd .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-fill); color: #fff; font: 700 14px/1 var(--font-ui); flex: none; }
.wz-step.done > .hd .n { background: var(--ok); }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit; min-width: 0; }
.opt:hover { border-color: var(--border-strong); }
.opt.on { border-color: var(--accent); background: var(--accent-soft); }
.opt .ck { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; color: #fff; font-size: 12px; background: var(--surface); }
.opt.on .ck { background: var(--accent-fill); border-color: var(--accent-fill); }
.opt .ph { height: 96px; margin: -16px -16px 6px; border-radius: 12px 12px 0 0; overflow: hidden; }
.opt .ph img { width: 100%; height: 100%; object-fit: cover; }
.opt b { color: var(--text); font-size: 15.5px; }
.opt span { font-size: 13.5px; color: var(--muted); }
.opt .from { color: var(--text); font-weight: 650; font-size: 14px; }
.pet-opt { flex-direction: row; align-items: center; gap: 12px; }
.pet-opt img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.cal { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 14px; table-layout: fixed; }
.cal th { font-size: 12px; color: var(--muted); font-weight: 650; padding: 4px 0; }
.cal td { text-align: center; }
.cal td button { width: 100%; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 600 14px/1 var(--font-ui); cursor: pointer; }
.cal td button:hover { background: var(--surface-3); }
.cal td.off button { color: var(--muted); opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cal td.in button { background: var(--accent-soft); color: var(--accent-ink); border-radius: 0; }
.cal td.start button, .cal td.end button { background: var(--accent-fill); color: #fff; }
.cal td.start button { border-radius: 10px 0 0 10px; }
.cal td.end button { border-radius: 0 10px 10px 0; }
.cal td.today button { box-shadow: inset 0 0 0 1.5px var(--brand-ink); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.summary { position: sticky; top: 100px; }
.sum-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding: 6px 0; }
.sum-line span:last-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--border); }
.sum-total b { font: 600 30px/1 var(--font-head); }
.pay-choice { display: grid; gap: 10px; }
.pay-choice .opt { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
.pay-choice .opt .ck { position: static; margin-left: auto; }
.pay-choice .opt div b { display: block; }
.gw-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gw { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text); }

/* report card + booking cards (hero, previews) */
.hx-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); }
.rc-card .rc-hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.rc-card .rc-hd img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.rc-card .rc-hd b { display: block; font-size: 14px; color: var(--text); }
.rc-card .rc-hd span { display: block; font-size: 12px; color: var(--muted); }
.rc-card .rc-hd .badge { margin-left: auto; height: 24px; font-size: 11.5px; }
.rc-photo { position: relative; margin: 0 16px; height: 128px; border-radius: 14px; overflow: hidden; background: var(--surface-3); }
.rc-photo img { width: 100%; height: 100%; object-fit: cover; }
.rc-photo .ph-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 22px; }
.rc-rows { list-style: none; margin: 10px 0 0; padding: 0 16px; display: grid; gap: 2px; }
.rc-rows li { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 13px; color: var(--text-2); border-bottom: 1px dashed var(--border); }
.rc-rows li:last-child { border-bottom: 0; }
.rc-rows li > i:first-child { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent-ink); font-size: 13px; flex: none; }
.rc-rows li b { color: var(--text); font-weight: 650; }
.rc-rows .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 13px; flex: none; }
.rc-mood { display: flex; align-items: center; gap: 8px; padding: 10px 16px 0; flex-wrap: wrap; }
.rc-sent { display: flex; align-items: center; gap: 8px; margin: 12px 16px 16px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--brand-fill); color: #fff; font-size: 13px; font-weight: 650; position: relative; overflow: hidden; }
.rc-sent .s-a, .rc-sent .s-b { display: inline-flex; align-items: center; gap: 8px; transition: opacity .35s, transform .45s var(--ease-out); }
.rc-sent .s-b { position: absolute; left: 14px; top: 0; bottom: 0; }
.rc-sent .s-a { opacity: 0; }
.bk-card { padding: 16px; }
.bk-card .bk-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bk-card .bk-top .ico-tile { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.bk-card .bk-top b { display: block; font-size: 14px; color: var(--text); }
.bk-card .bk-top span { display: block; font-size: 12px; color: var(--muted); }
.bk-dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.bk-dates b { display: block; font-size: 14px; color: var(--text); }
.bk-dates i { color: var(--accent-ink); }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; }
.bk-foot b { font: 600 20px/1 var(--font-head); color: var(--text); }
.bk-nights { display: flex; gap: 4px; margin-top: 10px; }
.bk-nights i { flex: 1; height: 6px; border-radius: 99px; background: var(--accent); }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; display: inline-block; }

/* ==========================================================================
   APP LAYOUT (customer, staff, admin)
   ========================================================================== */
.app { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--sidebar) 272px, transparent 272px); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--sidebar); color: var(--sidebar-text); overflow-y: auto; z-index: 70; }
.sidebar .sb-head { display: flex; align-items: center; gap: 10px; height: 72px; padding: 0 20px; flex: none; }
.sidebar .logo span { color: #fff; }
.sidebar .logo span b { color: #FF9A5C; }
.sb-role { white-space: nowrap; margin-left: auto; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.1); color: #FFB58A; font: 700 10.5px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.sb-nav { padding: 8px 14px 20px; display: grid; gap: 2px; }
.sb-nav .sec { margin: 16px 10px 6px; font: 700 11px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--sidebar-muted); }
.sb-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 12px; color: var(--sidebar-text); font: 550 14.5px/1 var(--font-ui); text-decoration: none; position: relative; }
.sb-nav a i { font-size: 17px; color: var(--sidebar-muted); width: 20px; }
.sb-nav a:hover { background: rgba(255,255,255,.06); }
.sb-nav a.active { background: var(--sidebar-2); color: #fff; }
[data-theme="light"] .sb-nav a.active, :root:not([data-theme]) .sb-nav a.active { background: rgba(255,255,255,.1); }
.sb-nav a.active i { color: #FF9A5C; }
.sb-nav a.active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.sb-nav .cnt { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.12); color: #fff; font: 700 12px/22px var(--font-ui); text-align: center; }
.sb-nav .cnt.o { background: var(--accent-fill); }
.sb-promo { margin: auto 16px 12px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: var(--sidebar-text); }
.sb-promo b { color: #fff; display: block; margin-bottom: 4px; }
.sb-promo img { width: 100%; height: 88px; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.sb-user { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); flex: none; }
.sb-user b { color: #fff; display: block; font-size: 14px; }
.sb-user span { color: var(--sidebar-muted); font-size: 12.5px; }
.sb-close { display: none; }

.app-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 32px; background: var(--bg); border-bottom: 1px solid var(--border); }
.topbar .t-title { font: 700 17px/1 var(--font-ui); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar .t-search { width: 320px; margin-left: auto; }
.topbar .t-search .input { min-height: 42px; border-radius: 999px; font-size: 14px; }
.topbar .t-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.topbar .t-tools .user-chip { height: 42px; }
.topbar .t-logo { display: none; }
.topbar .burger { display: none; }
.content { padding: 32px; width: 100%; max-width: 1480px; }
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--muted); }
.page-head .acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.kpi { padding: 20px 22px; }
.kpi .k-top { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.kpi .k-val { font: 600 34px/1 var(--font-head); color: var(--text); margin: 16px 0 8px; letter-spacing: -.01em; }
.kpi .k-val small { font: 500 15px var(--font-ui); color: var(--muted); }
.kpi .k-sub { font-size: 13px; color: var(--muted); }
.up { color: var(--ok); font-weight: 700; }
.down { color: var(--danger); font-weight: 700; }

.welcome { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: center; padding: 28px 30px; border-radius: var(--radius-xl); background: var(--navy-band); color: var(--on-band-2); overflow: hidden; margin-bottom: 24px; }
.welcome h1 { color: #fff; font-size: 32px; margin-bottom: 6px; }
.welcome h1 em { color: #FF9A5C; }
.welcome p { margin: 0 0 16px; }
.welcome .w-photos { position: relative; height: 150px; }
.welcome .w-photos img { position: absolute; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.9); }
.welcome .w-photos img:nth-child(1) { right: 110px; top: 0; }
.welcome .w-photos img:nth-child(2) { right: 0; top: 30px; }

.pet-card { display: flex; flex-direction: column; overflow: hidden; }
.pet-card .cover { position: relative; height: 180px; overflow: hidden; background: var(--surface-3); }
.pet-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.pet-card .cover .badge { position: absolute; top: 14px; left: 14px; }
.pet-card .pbody { padding: 20px; display: grid; gap: 12px; }
.pet-card h3 { font-size: 24px; margin: 0; }
.pet-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pet-facts > div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.pet-facts span { display: block; font-size: 12px; color: var(--muted); }
.pet-facts b { font-size: 14.5px; }

.pet-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; overflow: hidden; margin-bottom: 24px; }
.pet-hero .ph-main { position: relative; min-height: 300px; background: var(--surface-3); }
.pet-hero .ph-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pet-hero .ph-info { padding: 28px 30px; display: grid; gap: 16px; align-content: start; }
.pet-hero h1 { font-size: 40px; margin: 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img, .thumbs .add { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.thumbs .add { display: grid; place-items: center; border: 2px dashed var(--border-strong); color: var(--muted); font-size: 20px; background: var(--surface-2); }
.vax { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.vax:last-child { border-bottom: 0; }
.vax .grow { flex: 1; min-width: 160px; }
.vax .grow b { display: block; color: var(--text); }
.vax .grow span { font-size: 13.5px; color: var(--muted); }
.temper { display: grid; gap: 12px; }
.temper .row span:first-child { width: 130px; font-size: 14px; flex: none; }
.temper .bar { flex: 1; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 22px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .tdot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: 14px; flex: none; position: relative; z-index: 1; }
.timeline li.done .tdot { background: var(--ok-soft); color: var(--ok); }
.timeline li.now .tdot { background: var(--accent-fill); color: #fff; }
.timeline b { display: block; color: var(--text); font-size: 14.5px; }
.timeline span { font-size: 13px; color: var(--muted); }

.feed-post { overflow: hidden; }
.feed-post .fp-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.feed-post .fp-head b { display: block; color: var(--text); }
.feed-post .fp-head span { font-size: 13px; color: var(--muted); }
.feed-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; gap: 6px; padding: 0 20px; }
.feed-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.feed-photos img:first-child { grid-row: span 2; }
.feed-photos.one { grid-template-columns: 1fr; grid-template-rows: 260px; }
.feed-photos.one img:first-child { grid-row: auto; }
.fp-body { padding: 16px 20px 20px; }
.fp-body p { color: var(--text); margin: 12px 0 0; }
.fp-react { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.pkg-balance { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 84px; height: 84px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--surface-3); }
.ring .fg { stroke: var(--accent); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 20px/1 var(--font-head); color: var(--text); }

/* staff board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lane { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; min-width: 0; }
.lane-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; }
.lane-head h3 { margin: 0; font: 700 15px/1 var(--font-ui); letter-spacing: 0; }
.lane-head .badge { margin-left: auto; }
.pet-tile { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.pet-tile img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none; }
.pet-tile .grow { flex: 1; min-width: 0; }
.pet-tile b { display: block; color: var(--text); font-size: 14.5px; }
.pet-tile span { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pet-tile .flags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.sched { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.sched > div { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); min-height: 58px; padding: 6px; position: relative; min-width: 0; }
.sched .sh { min-height: 0; padding: 12px; background: var(--surface-2); display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 14px; }
.sched .tm { font-size: 12.5px; color: var(--muted); padding: 8px 10px; }
.appt { border-radius: 10px; padding: 8px 10px; background: var(--brand-soft); border-left: 3px solid var(--brand-ink); font-size: 12.5px; height: 100%; }
.appt b { display: block; color: var(--text); font-size: 13px; }
.appt.o { background: var(--accent-soft); border-left-color: var(--accent); }
.appt.g { background: var(--surface-3); border-left-color: var(--muted); }

.rc-builder .photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rc-builder .photos .ph { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.rc-builder .photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.rc-builder .photos .ph button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(14,19,40,.75); color: #fff; cursor: pointer; }
.rc-builder .photos .upload { aspect-ratio: 1; padding: 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-section { padding: 20px 22px; border-bottom: 1px solid var(--border); }
.rc-section:last-child { border-bottom: 0; }
.rc-section h4 { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 15px; font-weight: 700; letter-spacing: 0; margin: 0 0 12px; }
.rc-section h4 i { color: var(--accent-ink); }

.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.cal-grid .dh { padding: 10px 12px; background: var(--surface-2); font: 700 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.cal-grid .d { min-height: 124px; padding: 8px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-grid .d:nth-child(7n) { border-right: 0; }
.cal-grid .d .dn { font-size: 13px; font-weight: 700; color: var(--text); }
.cal-grid .d.out .dn { color: var(--muted); opacity: .5; }
.cal-grid .d.today .dn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); color: #fff; }
.cal-grid .ev { display: block; padding: 3px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--brand-soft); color: var(--brand-ink); }
.cal-grid .ev.o { background: var(--accent-soft); color: var(--accent-ink); }
.cal-grid .ev.g { background: var(--surface-3); color: var(--text-2); }
.cal-grid .ev.k { background: var(--ok-soft); color: var(--ok); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* charts */
.chart { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart text { fill: var(--muted); font: 500 11px var(--font-ui); }
.chart .s1 { fill: var(--chart-1); }
.chart .s2 { fill: var(--chart-2); }
.chart .s3 { fill: var(--chart-3); }
.chart .l1 { stroke: var(--chart-1); fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .l2 { stroke: var(--chart-2); fill: none; stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.chart .a1 { fill: var(--chart-1); opacity: .08; }
[data-theme="dark"] .chart .a1 { opacity: .16; }
.chart .pt { fill: var(--surface); stroke: var(--chart-1); stroke-width: 2.5; }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut { width: 170px; height: 170px; flex: none; }
.donut circle { fill: none; stroke-width: 22; }
.donut-legend { display: grid; gap: 10px; flex: 1; min-width: 160px; font-size: 14px; }
.donut-legend div { display: flex; align-items: center; gap: 10px; }
.donut-legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.donut-legend b { margin-left: auto; }
.occ-grid { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.occ-grid span { aspect-ratio: 1; border-radius: 5px; background: var(--surface-3); }
.occ-grid span.l1 { background: color-mix(in srgb, var(--accent) 25%, var(--surface)); }
.occ-grid span.l2 { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); }
.occ-grid span.l3 { background: var(--accent); }

/* settings */
.set-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.set-nav { position: sticky; top: 96px; display: grid; gap: 2px; padding: 8px; }
.set-nav button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font: 600 14.5px/1 var(--font-ui); text-align: left; cursor: pointer; }
.set-nav button i { color: var(--muted); width: 18px; }
.set-nav button.on { background: var(--sand); color: var(--text); }
.set-nav button.on i { color: var(--accent-ink); }
.set-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--border); align-items: start; }
.set-row:last-child { border-bottom: 0; }
.set-row > div:first-child b { display: block; color: var(--text); font-size: 14.5px; }
.set-row > div:first-child span { font-size: 13.5px; color: var(--muted); }
.presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.preset { padding: 12px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--text); }
.preset.on { border-color: var(--accent); }
.preset .sw { display: flex; height: 42px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.preset .sw i { flex: 1; }
.preset b { font-size: 14px; }
.color-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface); }
.color-row .swatch { width: 30px; height: 30px; border-radius: 8px; flex: none; border: 1px solid rgba(0,0,0,.08); }
.color-row b { font-size: 14px; display: block; }
.color-row span { font-size: 12.5px; color: var(--muted); }
.social-row { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.social-row .grip { color: var(--muted); cursor: grab; font-size: 18px; }
.social-row .s-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-size: 18px; color: var(--text); flex: none; }
.social-row .grow { flex: 1; min-width: 180px; }
.social-row .grow b { display: block; font-size: 14.5px; }
.social-row .grow span { font-size: 13px; color: var(--muted); word-break: break-all; }
.lang-row { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.lang-row .flag { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font: 700 13px/1 var(--font-ui); color: var(--text); flex: none; }
.copy-field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); min-width: 0; }
.copy-field code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--text); }
.gw-card .card-head .logo-b { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 15px/1 var(--font-ui); color: #fff; flex: none; }
.app-preview { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.app-preview .icon-lg { width: 96px; height: 96px; border-radius: 24px; flex: none; }
.install-mock { width: 280px; max-width: 100%; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* overview index page */
.ov-group { margin-bottom: 44px; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ov-card { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; color: inherit; text-decoration: none !important; transition: transform .25s, box-shadow .25s; }
.ov-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ov-card .thumb { height: 150px; overflow: hidden; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.ov-card .thumb img { width: 100%; object-fit: cover; object-position: top; height: 100%; }
.ov-card .meta { padding: 12px 14px; }
.ov-card .meta b { display: block; color: var(--text); font-size: 14.5px; }
.ov-card .meta span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1279px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .footer-grid .footer-app { grid-column: 1 / -1; }
  .footer-grid .footer-app .app-card { max-width: 520px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard { grid-template-columns: minmax(0, 1fr) 330px; }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1099px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .board .lane:last-child { grid-column: 1 / -1; }
  .set-layout { grid-template-columns: minmax(0, 1fr); }
  .set-nav { position: static; display: flex; overflow-x: auto; }
  .set-nav button { flex: none; }
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); }
  .wizard { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .topbar .t-search { width: 240px; }
}
@media (max-width: 979px) {
  .section { padding: 76px 0; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .container, .suite-show, .rc-feature, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .ph-photos { height: 300px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps4 .flow-line { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cta-band .cta-photo { margin: 0 -56px -56px; height: 260px; }
  .cta-band .cta-photo img { border-radius: 0; }
  .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .gallery-strip .tall { grid-row: auto; }
  .gallery-strip figure:nth-child(n+7) { display: none; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid .footer-about { grid-column: 1 / -1; }

  .app { grid-template-columns: minmax(0, 1fr); background: none; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.75,.15,1); visibility: hidden; z-index: 100; }
  .nav-open .sidebar { transform: none; visibility: visible; }
  .sb-close { display: inline-grid; margin-left: 8px; color: #fff; }
  .sb-role { white-space: nowrap; margin-left: auto; }
  .topbar { padding: 0 16px 0 20px; height: 64px; }
  .topbar .t-search { display: none; }
  .topbar .t-tools { margin-left: auto; }
  .topbar .burger { display: inline-grid; }
  .content { padding: 24px 20px; }
  .pet-hero { grid-template-columns: minmax(0, 1fr); }
  .pet-hero .ph-main { min-height: 260px; }
  .welcome { grid-template-columns: minmax(0, 1fr); }
  .welcome .w-photos { display: none; }
  .sched { grid-template-columns: 56px repeat(3, minmax(160px, 1fr)); overflow-x: auto; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p, .lead { font-size: 16.5px; }
  .g2, .g3, .g4, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .full { grid-column: auto; }
  .page-hero { padding: 40px 0 44px; }
  .ph-photos { height: 240px; }
  .ph-photos .p1 { height: 220px; }
  .ph-photos .p2 { height: 140px; }
  .steps4 { grid-template-columns: minmax(0, 1fr); }
  .stats b { font-size: 32px; }
  .stats > div { padding: 20px 18px; }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .review { width: 290px; }
  .cta-band { padding: 36px 22px 0; border-radius: 26px; }
  .cta-band .cta-photo { margin: 0 -22px; height: 220px; }
  .cta-band .scribble { display: none; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .gallery figcaption { display: none; }
  .gallery-strip { gap: 10px; grid-template-rows: repeat(3, 150px); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .footer-grid .footer-app { grid-column: 1 / -1; }
  .site-footer { padding-top: 52px; }
  .footer-bottom { margin-top: 36px; }
  .opt-grid { grid-template-columns: minmax(0, 1fr); }
  .wz-step { padding: 20px 16px; }
  .rc-phone .screen { height: 580px; }
  .auth-form { padding: 36px 16px 48px; }
  .auth-form h1 { font-size: 32px; }
  .social-login { grid-template-columns: minmax(0, 1fr); }

  .topbar { height: 60px; padding: 0 8px 0 16px; gap: 6px; }
  .topbar .t-title { display: none; }
  .topbar .t-logo { display: inline-flex; }
  .topbar .t-logo svg { width: 32px; height: 32px; }
  .topbar .t-logo span { font-size: 21px; }
  .topbar .t-tools { gap: 0; margin-left: auto; }
  .topbar .t-tools .icon-btn { width: 40px; height: 40px; }
  .topbar .user-chip .nm, .topbar .hide-xs { display: none; }
  .topbar .user-chip { padding: 0 3px; height: 40px; border: 0; background: none; }
  .content { padding: 20px 16px 40px; }
  .page-head h1 { font-size: 28px; }
  .page-head .acts { margin-left: 0; width: 100%; }
  .kpis { gap: 12px; }
  .kpi { padding: 16px; }
  .kpi .k-val { font-size: 27px; margin: 12px 0 6px; }
  .kpi .k-top { font-size: 13px; }
  .card-body { padding: 18px 16px; }
  .card-head { padding: 16px; }
  .list > li { padding: 14px 16px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .pet-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pet-hero .ph-info { padding: 20px 16px; }
  .pet-hero h1 { font-size: 32px; }
  .feed-photos { grid-template-rows: 110px 110px; padding: 0 16px; }
  .feed-post .fp-head, .fp-body { padding-left: 16px; padding-right: 16px; }
  .rc-builder .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .set-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .presets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .social-row, .lang-row, .vax { padding: 12px 16px; }
  .cal-grid { grid-template-columns: minmax(0, 1fr); }
  .cal-grid .dh { display: none; }
  .cal-grid .d { min-height: 0; border-right: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cal-grid .d.out, .cal-grid .d.empty { display: none; }
  .cal-grid .d .dn { width: 100%; }
  .welcome { padding: 22px 18px; }
  .welcome h1 { font-size: 26px; }
  .temper .row span:first-child { width: 100px; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dl dd { margin-bottom: 10px; }

  /* tables become cards */
  .tbl-wrap { overflow: visible; }
  .tbl.cards thead { display: none; }
  .tbl.cards, .tbl.cards tbody, .tbl.cards tr, .tbl.cards td { display: block; width: 100%; }
  .tbl.cards tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .tbl.cards tr:last-child { border-bottom: 0; }
  .tbl.cards td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 5px 0; border: 0; text-align: right; min-height: 32px; }
  .tbl.cards td::before { content: attr(data-label); flex: none; color: var(--muted); font-size: 12.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; text-align: left; }
  .tbl.cards td.td-main { display: block; text-align: left; padding-bottom: 8px; }
  .tbl.cards td.td-main::before { display: none; }
  .tbl.cards td.acts { justify-content: flex-end; padding-top: 10px; }
  .tbl.cards td.acts::before { display: none; }
  .tbl.cards td.num { text-align: right; }
  .tbl.cards tbody tr:hover td { background: none; }
  .price-tbl.cards td.p { justify-content: space-between; display: flex; font-size: 16px; }
  .price-tbl td:first-child { min-width: 0; }
}
@media (max-width: 400px) {
  .header-tools .btn-accent { padding: 0 12px; }
  .logo span { font-size: 20px; }
  .pet-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 768px) { .tbl td.td-main { min-width: 210px; } }
/* responsive overrides for inline layout hints */
@media (max-width: 1099px) {
  .split, .split-wide { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 979px) {
  .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .grid.g3, .grid.g2, .grid.g4 { grid-template-columns: minmax(0, 1fr) !important; }
  .list > li { flex-wrap: wrap; }
  .list > li .grow { flex: 1 1 150px; }
  .ov-head-badge { display: none; }
}
.install-bar .btn { min-height: 36px; }
.switch input { inset: -6px -2px; }
.social-login { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 767px) {
  .stepper li { min-width: 60px; padding-right: 6px; }
  .stepper li span { font-size: 12px; }
}
[hidden] { display: none !important; }
