/* Paxa Media clinic app demo. Two presets share one stylesheet: [data-preset="dental"] and [data-preset="vet"]. */

@font-face { font-family: "DM Sans"; src: url(/fonts/dm-sans-latin.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212, U+2713, U+2605; }
@font-face { font-family: "DM Sans"; src: url(/fonts/dm-sans-hr.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-latin.woff2) format("woff2"); font-weight: 400 650; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-hr.woff2) format("woff2"); font-weight: 400 650; font-display: swap; unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }

:root {
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif", ui-serif, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-1: 0 1px 2px rgb(24 32 30 / .04), 0 6px 18px -10px rgb(24 32 30 / .14);
  --shadow-2: 0 18px 44px -16px rgb(24 32 30 / .34);
  --ok: #1C6440; --ok-soft: #DFF1E6;
  --warn: #7A4B00; --warn-soft: #FBEBCB;
  --bad: #9B2C1F; --bad-soft: #F9DEDA;
  --badge: #B9472D;
  --chrome: 30px; /* ribbon height */
  color-scheme: light;
}

[data-preset="dental"] {
  --theme: #0B332F;
  --page: #E8E4DC;
  --bg: #F3F0EA; --card: #FFFFFF; --card-2: #F8F6F1; --line: #E2DCD1; --line-2: #EDE9E2;
  --ink: #15211F; --ink-2: #47524E; --ink-3: #5E6965;
  --brand: #0F4C45; --brand-2: #17635A; --brand-ink: #FFFFFF; --brand-soft: #DCEAE5; --brand-soft-ink: #0D433D;
  --ribbon: #0B332F;
  --accent: #E07A55; --accent-soft: #FBE7DC; --accent-ink: #923A1C;
  --ring: var(--brand); --ring-track: #E1EAE6;
  --map-land: #ECE7DE; --map-block: #E1DACE; --map-park: #CFE1D1; --map-water: #C3DBE0; --map-road: #FFFFFF;
}

[data-preset="vet"] {
  --theme: #4E2010;
  --page: #EEE5D8;
  --bg: #F7F1E8; --card: #FFFFFF; --card-2: #FBF7F1; --line: #E8DDCF; --line-2: #F0E9DF;
  --ink: #241A15; --ink-2: #54463D; --ink-3: #6B5D54;
  --brand: #8A3A1E; --brand-2: #A2492A; --brand-ink: #FFFFFF; --brand-soft: #F4E2D6; --brand-soft-ink: #6E2C15;
  --ribbon: #4E2010;
  --accent: #6F8C58; --accent-soft: #E4ECDA; --accent-ink: #3B5629;
  --ring: var(--brand); --ring-track: #F1E4DA;
  --map-land: #EFE7DA; --map-block: #E5DACA; --map-park: #D6E3C8; --map-water: #C9DCE0; --map-road: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
img, svg { display: block; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, #fff); outline-offset: 2px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }

.h1 { font: 500 32px/1.1 var(--serif); letter-spacing: -0.015em; }
.h2 { font: 500 27px/1.15 var(--serif); letter-spacing: -0.01em; }
.h3 { font-size: 18px; line-height: 1.3; }
.h4 { font-size: 16px; line-height: 1.35; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; }
.fine { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.45; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; }
.gap-s { gap: 10px; }
.wrap { flex-wrap: wrap; }
.eyebrow { font-size: 12.5px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.kbd { display: inline-grid; place-items: center; vertical-align: -3px; width: 22px; height: 22px; border-radius: 6px; background: var(--line-2); color: var(--brand); }
.kbd .i { width: 14px; height: 14px; }

/* ------------------------------------------------------------ frame: phone full-screen, desktop in a device */

.page { min-height: 100dvh; }
.side { display: none; }
.device { height: 100dvh; }
.app { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; isolation: isolate; }
.statusbar { display: none; }

.ribbon {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: calc(var(--chrome) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0 12px;
  background: var(--ribbon); color: #fff; font-size: 12px; z-index: 5;
}
.ribbon-link { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; color: rgb(255 255 255 / .88); text-decoration: none; font-weight: 500; }
.ribbon-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ribbon-tag { font-weight: 700; letter-spacing: .1em; font-size: 10.5px; padding: 2px 6px; border-radius: 5px; background: rgb(255 255 255 / .16); color: #fff; }
.ribbon-lang { min-width: 40px; min-height: 30px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.ribbon-lang:hover { background: rgb(255 255 255 / .12); }

.screen { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-behavior: auto; position: relative; }
.screen.enter { animation: enter .32s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pad { padding: 0 20px 28px; }

@media (min-width: 640px) {
  html:not(.standalone) body {
    background:
      radial-gradient(900px 640px at 78% 46%, color-mix(in srgb, var(--brand-soft) 75%, transparent), transparent 70%),
      var(--page);
  }
  html:not(.standalone) .page { display: grid; justify-items: center; align-content: center; gap: 40px; padding: 28px 24px; }
  html:not(.standalone) .side { display: block; max-width: 560px; }
  html:not(.standalone) .device {
    width: 392px; height: min(852px, calc(100dvh - 56px)); min-height: 660px; padding: 11px; border-radius: 60px;
    background: #111614;
    box-shadow: inset 0 0 0 1.5px #2b3331, inset 0 0 0 5px #161c1a, 0 50px 90px -40px rgb(10 20 18 / .55), 0 24px 40px -24px rgb(10 20 18 / .4);
  }
  html:not(.standalone) .app { border-radius: 49px; --top: 46px; }
  html:not(.standalone) .statusbar {
    display: flex; flex: none; align-items: center; justify-content: space-between; height: 46px; padding: 4px 30px 0 36px;
    background: var(--ribbon); color: #fff; font: 600 15px var(--sans); position: relative; z-index: 6;
  }
  .sb-island { position: absolute; left: 50%; top: 11px; width: 118px; height: 33px; transform: translateX(-50%); background: #050707; border-radius: 20px; }
  .sb-icons { display: flex; gap: 6px; align-items: center; }
}
@media (min-width: 1040px) {
  html:not(.standalone) .page { grid-template-columns: minmax(340px, 460px) auto; justify-content: center; align-items: center; column-gap: clamp(48px, 7vw, 110px); }
  html:not(.standalone) .side { max-width: 460px; }
}
html.standalone .device { max-width: 560px; margin: 0 auto; }

/* ------------------------------------------------------------ desktop sidebar */

.side-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.side-brand { font: 700 19px var(--sans); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.side-eyebrow { display: inline-flex; font-size: 12.5px; font-weight: 600; color: var(--brand-soft-ink); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.side-h1 { font: 500 clamp(30px, 2.9vw, 40px)/1.08 var(--serif); letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance; }
.side-lead { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 20px; text-wrap: pretty; }
.side-switch { display: flex; gap: 4px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 20px; }
.side-switch a { flex: 1; display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.side-switch a:hover { background: var(--card-2); }
.side-switch a[aria-current] { background: var(--brand); color: #fff; }
.side-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.side-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.side-list .i { color: var(--brand); flex: none; margin-top: 2px; }
.side-cta { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.side-link { color: var(--ink-2); font-weight: 600; text-underline-offset: 3px; }
.side-qr { display: flex; gap: 16px; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 14px; }
.side-qr img { border-radius: 10px; background: #fff; padding: 6px; flex: none; }
.side-qr-t { font-weight: 700; margin-bottom: 2px; }
.side-qr-s { font-size: 13.5px; color: var(--ink-2); }
.side-fine { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; max-width: 46ch; }
.side-other { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; min-height: 32px; }
.side-other:hover { text-decoration: underline; }

/* ------------------------------------------------------------ buttons & bits */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 14px; border: 0; font-weight: 600; font-size: 15px; line-height: 1.1; text-decoration: none; text-align: center;
  transition: transform .15s var(--ease), background-color .15s, opacity .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-2); }
.btn-soft { background: var(--brand-soft); color: var(--brand-soft-ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--brand-soft) 80%, var(--brand) 10%); }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--line-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--brand)); }
.btn-s { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn-lg { min-height: 54px; font-size: 16px; border-radius: 16px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: transparent; border: 0; position: relative; text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--line-2); }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--badge); color: #fff; font: 700 11px/18px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 36px; font-weight: 650; font-size: 14.5px; color: var(--brand); text-decoration: none; }
.link-btn:hover, .link-s:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-s { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.link-s.strong { font-weight: 700; }

.card { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px; margin-top: 14px; box-shadow: var(--shadow-1); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0 10px; }
.card .sec-head { margin-top: 0; }
.sec-title { margin: 28px 0 10px; }

.avatar { width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; flex: none; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.avatar.t0 { background: var(--brand-soft); color: var(--brand); }
.avatar.t1 { background: #DCEAE5; color: #0F4C45; }
.avatar.t2 { background: #F4E2D6; color: #7A321A; }
.avatar.t3 { background: #E4E8F3; color: #2E3F6E; }
.avatar.t4 { background: #F3EBCF; color: #6A5208; }
.avatar.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; }
.avatar.xs { width: 32px; height: 32px; border-radius: 10px; font-size: 11.5px; }
.avatar.lg { width: 56px; height: 56px; border-radius: 18px; font-size: 18px; }
.avatar.pet.lg { width: 72px; height: 72px; border-radius: 22px; }
.avatar.pet.lg .i { width: 34px; height: 34px; }
.avatar.pet.xs .i, .avatar.pet.sm .i { width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-muted { background: var(--line-2); color: var(--ink-2); }
.pill-demo { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; letter-spacing: .1em; font-size: 11px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-bad { background: var(--bad-soft); color: var(--bad); }

.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip-btn:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.chip-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-wrap .chip-btn.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-soft-ink); }

.ring { display: block; }
.ring circle:last-child { transition: stroke-dashoffset .8s var(--ease); }

/* ------------------------------------------------------------ app bar & page heads */

.appbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.brand-text { display: grid; min-width: 0; }
.brand-name { font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-kind { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.page-head { padding: 22px 20px 10px; display: flex; align-items: center; gap: 4px; }
.page-head.with-back { padding-left: 8px; }

/* ------------------------------------------------------------ home */

.greet { font: 500 35px/1.06 var(--serif); letter-spacing: -0.02em; margin-top: 18px; }
.greet-sub { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }

.appt-card {
  position: relative; overflow: hidden; margin-top: 22px; padding: 20px 20px 18px; border-radius: 28px;
  background: linear-gradient(155deg, var(--brand-2), var(--brand) 55%); color: #fff;
  box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--brand) 85%, #000);
}
.appt-deco { position: absolute; top: -8px; right: -8px; width: 220px; height: 220px; fill: none; stroke: rgb(255 255 255 / .09); stroke-width: 1.2; pointer-events: none; }
.appt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; }
.appt-eyebrow { font-size: 13px; font-weight: 600; color: rgb(255 255 255 / .82); letter-spacing: .01em; }
.pill-light { background: rgb(255 255 255 / .14); color: #fff; }
.pill-light .dot { background: #F6C9A4; }
.pill-ok-light { background: #E3F4EA; color: #155C3A; }
.appt-day { margin-top: 14px; font-size: 15px; color: rgb(255 255 255 / .86); position: relative; }
.appt-time { font: 500 58px/1 var(--serif); letter-spacing: -0.02em; margin: 6px 0 10px; font-variant-numeric: lining-nums; position: relative; }
.appt-what { font-size: 17.5px; font-weight: 650; position: relative; }
.appt-doc { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: rgb(255 255 255 / .86); position: relative; }
.appt-doc .avatar { background: rgb(255 255 255 / .16); color: #fff; }
.appt-doc .sep { opacity: .5; }
.appt-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; position: relative; }
.btn-on-brand { background: #fff; color: var(--brand); }
.btn-on-brand:hover { background: #F4F1EC; }
.btn-ghost-light { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .24); }
.btn-ghost-light:hover { background: rgb(255 255 255 / .16); }
.empty-appt { display: grid; justify-items: start; gap: 8px; margin-top: 22px; }
.empty-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }

.install-card { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: none; background: var(--card-2); }
.install-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.install-body { display: grid; gap: 6px; }
.install-body .row { margin-top: 4px; }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 6px; }
.quick-item { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; line-height: 1.2; padding: 2px 0; border-radius: 16px; }
.quick-ico { width: 58px; height: 58px; border-radius: 19px; background: var(--card); border: 1px solid var(--line-2); color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-1); transition: transform .15s var(--ease); }
.quick-item:hover .quick-ico { transform: translateY(-2px); }
.quick-item:active .quick-ico { transform: scale(.96); }

.prevent { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.prevent-ring, .ly-ring { position: relative; display: grid; place-items: center; }
.prevent-ring > .ring, .ly-ring > .ring { grid-area: 1 / 1; }
.prevent-num, .ly-n { grid-area: 1 / 1; font: 500 22px/1 var(--serif); color: var(--brand); text-align: center; display: grid; justify-items: center; }
.prevent-num small { font: 600 10px/1.2 var(--sans); color: var(--ink-3); margin-top: 2px; }
.ly-n { font-size: 17px; }

.pets-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pet-card { display: grid; justify-items: start; gap: 4px; padding: 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; text-decoration: none; box-shadow: var(--shadow-1); }
.pet-card .avatar { margin-bottom: 6px; }
.pet-name { font-weight: 700; font-size: 16px; }
.care-list { padding-bottom: 12px; }
.care-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.care-list .eyebrow + .care-row, .care-list h3 + .care-row { border-top: 0; }
.care-list h3 { margin-bottom: 4px; }
.care-name { font-size: 14.5px; font-weight: 600; }

.tip { background: var(--brand-soft); border-color: transparent; box-shadow: none; }
.tip .eyebrow { color: var(--brand-soft-ink); }
.tip-text { font: 400 18.5px/1.42 var(--serif); color: var(--ink); margin-top: 4px; text-wrap: pretty; }

/* ------------------------------------------------------------ booking flow */

.flow-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 8px 6px; }
.flow-title { text-align: center; }
.flow-title .h4 { font-weight: 700; }
.progress { height: 4px; margin: 2px 20px 0; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .4s var(--ease); }
.step-title { margin: 20px 0 14px; }
.opt-list { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 12px 13px 14px; min-height: 68px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s var(--ease);
}
.opt:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.opt:active { transform: scale(.99); }
.opt.selected { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.opt-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.opt-urgent { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 45%, var(--card)); }
.opt-urgent .opt-ico { background: var(--accent-soft); color: var(--accent-ink); }
.opt-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.opt-name { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.opt-meta { font-size: 13.5px; color: var(--ink-2); }
.opt-free { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--brand); margin-top: 3px; }
.opt-langs { font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.opt-chev { color: var(--ink-3); flex: none; }
.chosen { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-soft-ink); margin-bottom: 14px; max-width: 100%; }
.month { font-size: 14px; font-weight: 650; color: var(--ink-2); margin: 2px 0 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 12px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; }
.days::-webkit-scrollbar, .chips-scroll::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 54px; height: 76px; border-radius: 17px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  display: grid; justify-items: center; align-content: center; gap: 3px; scroll-snap-align: start; transition: background-color .15s, border-color .15s;
}
.day-wd { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: lowercase; }
.day-n { font-size: 20px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.day-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.day-dot.off { background: transparent; }
.day:hover:not(:disabled) { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.day.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.day.selected .day-wd { color: rgb(255 255 255 / .8); }
.day.selected .day-dot { background: #fff; }
.day:disabled { background: transparent; border-style: dashed; color: var(--ink-3); cursor: not-allowed; }
.slot-group { margin-top: 16px; }
.slot-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 46px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s; }
.slot:hover:not(:disabled) { border-color: var(--brand); }
.slot.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot:disabled { background: transparent; border-color: var(--line-2); color: color-mix(in srgb, var(--ink-3) 70%, transparent); text-decoration: line-through; cursor: not-allowed; }
.empty-slots { padding: 20px 0; }
.sticky-cta { position: sticky; bottom: 0; z-index: 3; margin: 18px -20px 0; padding: 18px 20px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 72%, color-mix(in srgb, var(--bg) 0%, transparent)); }

.summary { padding: 18px; }
.sum-when { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sum-date { font-weight: 650; font-size: 15.5px; }
.sum-time { font: 500 34px/1 var(--serif); color: var(--brand); }
.sum-list { display: grid; gap: 14px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); }
.summary.compact .sum-list { margin: 0; padding: 0; border: 0; }
.sum-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.sum-list dt { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.sum-list dt .avatar { width: 36px; height: 36px; border-radius: 12px; }
.sum-list dd { margin: 0; display: grid; min-width: 0; }
.sum-list strong { font-size: 15px; font-weight: 650; }
.sum-list span { font-size: 13.5px; color: var(--ink-2); }
.field { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.field-label { font-size: 14.5px; font-weight: 650; margin-bottom: 10px; padding: 0; }
.pet-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.pet-opt { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 650; }
.pet-opt .avatar { border-radius: 50%; }
.pet-opt.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.note-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--ink-2); font-size: 14px; }
.note-row .i { flex: none; color: var(--brand); margin-top: 1px; }
.note-row a { color: var(--brand); font-weight: 600; }

.success { text-align: center; padding-top: 44px; display: grid; justify-items: center; }
.success .h1 { margin-top: 18px; }
.success .lead { color: var(--ink-2); margin-top: 8px; font-size: 16.5px; }
.success .summary { width: 100%; text-align: left; margin-top: 22px; }
.success .row { width: 100%; margin-top: 18px; }
.stack-s { flex-direction: column; }
.check-anim { width: 96px; height: 96px; }
.check-anim circle { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 3; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .7s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------ services */

.chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 6px 20px 12px; scrollbar-width: none; }
.notice { display: flex; gap: 8px; align-items: flex-start; background: var(--accent-soft); color: var(--accent-ink); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; font-weight: 500; }
.notice .i { flex: none; margin-top: 2px; }
.svc-sec h2 { margin: 24px 0 10px; }
.svc-list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-1); }
.svc { padding: 15px 16px 12px; }
.svc + .svc { border-top: 1px solid var(--line-2); }
.svc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.svc-name { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.svc-price { font-size: 15px; font-weight: 700; color: var(--brand); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-desc { font-size: 13.5px; color: var(--ink-2); margin: 4px 0 6px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-dur { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-3); }
.pay { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 14px; margin-top: 22px; }
.pay .i { color: var(--brand); flex: none; }

/* ------------------------------------------------------------ inbox */

.try { display: grid; gap: 10px; margin-top: 6px; }
.try-head { display: flex; align-items: center; justify-content: space-between; }
.try-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.try .fine { margin-top: 2px; }
.inbox { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-1); }
.inbox li + li { border-top: 1px solid var(--line-2); }
.inbox-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); align-items: start; }
.inbox-item:hover { background: var(--card-2); }
.inbox-item.unread { background: color-mix(in srgb, var(--brand-soft) 38%, var(--card)); }
.inbox-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.inbox-ico.k-care { background: var(--accent-soft); color: var(--accent-ink); }
.inbox-ico.k-news { background: var(--line-2); color: var(--ink-2); }
.inbox-ico.k-booked { background: var(--ok-soft); color: var(--ok); }
.inbox-main { display: grid; gap: 2px; min-width: 0; }
.inbox-title { font-weight: 650; font-size: 15px; line-height: 1.3; }
.inbox-body { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inbox-time { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); margin-top: 6px; }

.list-card { padding: 0; overflow: hidden; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; width: 100%; border: 0; background: none; text-align: left; text-decoration: none; color: var(--ink); }
.toggle-row + .toggle-row { border-top: 1px solid var(--line-2); }
a.toggle-row:hover, button.toggle-row:hover { background: var(--card-2); }
.row-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--brand); display: grid; place-items: center; flex: none; }
.row-title { display: block; font-size: 15px; font-weight: 550; line-height: 1.3; }
.row-sub { display: block; font-size: 13px; color: var(--ink-3); }
.switch { width: 52px; height: 32px; border-radius: 999px; border: 0; background: #CFC9BF; position: relative; flex: none; transition: background-color .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .22s var(--ease); }
.switch.on { background: var(--brand); }
.switch.on span { transform: translateX(20px); }

/* ------------------------------------------------------------ profile */

.me { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.me .avatar { background: var(--brand); color: #fff; }
.loyalty { display: flex; align-items: center; gap: 16px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--line-2); border-radius: 14px; margin: 22px 0 6px; }
.seg-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent; font-weight: 650; font-size: 14px; color: var(--ink-2); }
.seg-btn.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.seg.mini { margin: 0; flex: none; padding: 3px; border-radius: 11px; }
.seg.mini .seg-btn { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; flex: none; }
.side .seg.mini { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pets-seg .avatar { border-radius: 50%; width: 26px; height: 26px; }
.pets-seg .avatar .i { width: 15px; height: 15px; }

.timeline { list-style: none; padding: 0; margin: 10px 0 0; }
.tl-year { font-size: 13px; font-weight: 700; color: var(--ink-3); margin: 14px 0 8px 28px; letter-spacing: .04em; }
.tl-item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding-bottom: 12px; }
.tl-item::before { content: ""; position: absolute; left: 6px; top: 26px; bottom: -6px; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--brand); margin-top: 18px; position: relative; }
.tl-card { margin: 0; }
.tl-date { font-size: 12.5px; font-weight: 650; color: var(--brand); margin-bottom: 2px; }
.tl-lines { list-style: none; padding: 0; margin: 10px 0 8px; }
.tl-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-top: 1px dashed var(--line); }
.tl-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-note { display: flex; gap: 6px; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.tl-note .i { flex: none; margin-top: 2px; color: var(--brand); }
.tl-total { text-align: right; font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.tl-total strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.doc-list { list-style: none; padding: 0; margin: 10px 0 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-1); }
.doc-list li + li { border-top: 1px solid var(--line-2); }
.doc-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px 13px 16px; min-height: 66px; border: 0; background: none; text-align: left; color: var(--ink); }
.doc-item:hover { background: var(--card-2); }
.doc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.doc-title { display: block; font-weight: 650; font-size: 15px; line-height: 1.3; }
.doc-meta { display: block; font-size: 12.5px; color: var(--ink-3); }

.pet-hero { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { margin-top: 12px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.stat-n { font: 500 28px/1 var(--serif); }
.stat-n small { font: 600 13px var(--sans); color: var(--ink-3); }
.stat-chip { font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .02em; margin-top: 4px; }
.spark { margin-top: 6px; width: 100%; height: auto; overflow: visible; }
.spark path { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.spark circle { fill: var(--brand); stroke: var(--card); stroke-width: 2; }

/* ------------------------------------------------------------ contact */

.map-card { padding: 0; overflow: hidden; margin-top: 6px; }
.map { width: 100%; height: auto; }
.m-land { fill: var(--map-land); }
.m-block rect { fill: var(--map-block); }
.m-park { fill: var(--map-park); }
.m-tree { fill: color-mix(in srgb, var(--map-park) 55%, #4E7F58); }
.m-water { fill: none; stroke: var(--map-water); stroke-width: 18; stroke-linecap: round; }
.m-road path { stroke: var(--map-road); stroke-width: 9; }
.m-road-s path { stroke: var(--map-road); stroke-width: 4; opacity: .9; }
.m-block-hi { fill: var(--brand-soft); }
.m-pin { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.m-pin-dot { fill: #fff; }
.m-pulse { fill: var(--brand); opacity: .16; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
.m-label { fill: var(--card); filter: drop-shadow(0 2px 4px rgb(0 0 0 / .12)); }
.m-label-t { font: 700 12px var(--sans); fill: var(--ink); }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 4px; }
.act { display: grid; justify-items: center; gap: 6px; padding: 14px 6px 12px; min-height: 80px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); color: var(--brand); font-weight: 650; font-size: 13.5px; text-decoration: none; box-shadow: var(--shadow-1); }
.act span { color: var(--ink); }
.act:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.hours { margin: 8px 0 0; }
.hours > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.hours > div:first-child { border-top: 0; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours .today dt, .hours .today dd { color: var(--brand); font-weight: 700; }
.emergency { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; box-shadow: none; font-size: 14.5px; font-weight: 500; }
.emergency .i { flex: none; margin-top: 1px; }

/* ------------------------------------------------------------ tab bar */

.tabbar {
  flex: none; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 6px 6px max(8px, env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line-2); z-index: 4;
}
.app.no-tabs .tabbar { display: none; }
.tab { display: grid; justify-items: center; gap: 3px; min-height: 54px; align-content: center; text-decoration: none; color: var(--ink-3); font-size: 11px; font-weight: 650; border-radius: 14px; }
.tab-ico { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 999px; transition: background-color .2s; }
.tab.on { color: var(--brand); }
.tab.on .tab-ico { background: var(--brand-soft); }
.tab-center .tab-ico { width: 50px; height: 50px; border-radius: 17px; background: var(--brand); color: #fff; margin-top: -20px; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand) 80%, #000), 0 0 0 4px var(--card); }
.tab-center.on .tab-ico { background: var(--brand-2); }
.tab-center .tab-label { color: var(--ink-2); }
.tab .badge { top: -2px; right: 6px; box-shadow: 0 0 0 2px var(--card); }

/* ------------------------------------------------------------ overlays */

#overlay { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; }
.sheet-backdrop { position: absolute; inset: 0; background: rgb(12 18 17 / .44); opacity: 0; transition: opacity .25s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .34s var(--ease); outline: none; box-shadow: 0 -10px 40px -10px rgb(0 0 0 / .25);
}
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 6px; }
.sheet-x { position: absolute; top: 8px; right: 8px; }
.sheet-body { padding-top: 10px; }
.sheet-body > .h2, .sheet-body > .h3 { padding-right: 40px; }
.sheet-body.center { text-align: center; display: grid; justify-items: center; gap: 10px; padding-top: 18px; }
.sheet-body.center .h3 { padding: 0; }
.sheet-body.center .btn { margin-top: 8px; }
.sheet-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.sheet-actions { margin: 16px 0 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.sheet-row { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 0 16px; background: none; border: 0; text-align: left; text-decoration: none; color: var(--ink); font-weight: 550; font-size: 15.5px; }
.sheet-row + .sheet-row { border-top: 1px solid var(--line-2); }
.sheet-row:hover { background: var(--card-2); }
.sheet-row > span { flex: 1; }
.sheet-row > .i:first-child { color: var(--brand); }
.sheet-row.danger, .sheet-row.danger > .i:first-child { color: var(--bad); }
.sheet .row .btn { flex: 1; }

.paper { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 14px 0; font-size: 13.5px; line-height: 1.5; overflow: hidden; box-shadow: var(--shadow-1); }
.paper-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.paper-head .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.paper-head .brand-mark .i { width: 16px; height: 16px; }
.paper-head .brand-name { font-size: 12.5px; white-space: normal; }
.paper-head .brand-kind { display: none; }
.paper-addr { font-size: 11px; color: var(--ink-3); text-align: right; max-width: 40%; }
.paper-title { font: 600 17px/1.3 var(--serif); margin-top: 14px; }
.paper-meta { color: var(--ink-3); font-size: 12px; margin-bottom: 6px; }
.paper h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin: 14px 0 4px; font-weight: 700; }
.paper-sign { margin-top: 18px; font: italic 500 15px var(--serif); text-align: right; }
.paper-small { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.watermark { position: absolute; right: -6px; top: 42%; transform: rotate(-22deg); font: 800 60px/1 var(--sans); color: rgb(190 60 40 / .08); letter-spacing: .12em; pointer-events: none; }
.inv { width: 100%; border-collapse: collapse; margin-top: 8px; }
.inv td { padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.inv td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv tfoot td { font-weight: 700; border-bottom: 0; font-size: 15px; }
.doc-img { margin: 14px 0 4px; border-radius: 14px; overflow: hidden; }
.xray { width: 100%; height: auto; }
.passport { position: relative; overflow: hidden; margin: 14px 0; padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(160deg, #23408F, #172B63); }
.pp-head { font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 0; }
.pp-grid dt { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }
.pp-grid dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.passport .watermark { color: rgb(255 255 255 / .12); }

.banner { position: absolute; top: 0; left: 10px; right: 10px; z-index: 60; transform: translateY(-120%); transition: transform .5s var(--ease); pointer-events: none; }
.banner.show { transform: translateY(calc(var(--top, 0px) + var(--chrome) + env(safe-area-inset-top) + 8px)); pointer-events: auto; }
.banner-card { background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-radius: 22px; padding: 12px 14px 14px; box-shadow: 0 22px 44px -14px rgb(0 0 0 / .38); border: 1px solid var(--line-2); }
.banner-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.banner-app { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.banner-name { flex: 1; font-weight: 650; color: var(--ink-2); font-size: 12px; }
.banner-title { font-weight: 700; margin: 6px 0 2px; font-size: 15px; }
.banner-body { font-size: 14px; color: var(--ink-2); }
.banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.banner-btn { min-height: 42px; border-radius: 12px; border: 0; background: var(--line-2); font-weight: 650; font-size: 14px; }
.banner-btn:first-child { background: var(--brand); color: #fff; }

.toast {
  position: absolute; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 16px); opacity: 0;
  display: flex; gap: 10px; align-items: center; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 16px; border-radius: 15px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 550; line-height: 1.35;
  box-shadow: var(--shadow-2); transition: opacity .25s, transform .3s var(--ease); pointer-events: none;
}
.toast .i { flex: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.no-tabs .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
.offline:empty { display: none; }
.offline { position: absolute; top: calc(var(--top, 0px) + var(--chrome) + env(safe-area-inset-top) + 6px); left: 50%; transform: translateX(-50%); z-index: 30; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.splash { height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--ink-2); font-weight: 600; }
.splash-mark { width: 64px; height: 64px; border-radius: 20px; background: var(--brand); }
noscript { display: block; padding: 24px; }

@media (max-width: 370px) {
  .pad { padding-left: 16px; padding-right: 16px; }
  .greet { font-size: 31px; }
  .appt-time { font-size: 50px; }
  .quick-ico { width: 52px; height: 52px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .days { margin: 0 -16px; padding: 2px 16px 12px; }
  .sticky-cta { margin: 18px -16px 0; padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .check-anim circle, .check-anim path { stroke-dashoffset: 0; }
}
.hours-state { margin-top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
