:root {
  --bg: #fbf8f2;
  --bg-deep: #f3ede3;
  --surface: #ffffff;
  --surface-warm: #fff6ec;
  --text: #2f2923;
  --text-soft: #5f554c;
  --muted: #8d8176;
  --line: #eee5d9;
  --line-strong: #e4d7c8;
  --brand: #ed7a40;
  --brand-deep: #c95b2a;
  --brand-soft: #ffe6d4;
  --brand-pale: #fff3e8;
  --sage: #708f70;
  --sage-deep: #536f55;
  --sage-soft: #eaf2e8;
  --blue: #5f87a4;
  --blue-soft: #e9f3f8;
  --yellow: #e9b955;
  --rose: #c97a75;
  --shadow-sm: 0 6px 18px rgba(95, 68, 44, 0.06);
  --shadow-md: 0 14px 38px rgba(95, 68, 44, 0.1);
  --shadow-brand: 0 12px 28px rgba(220, 100, 43, 0.22);
  --radius-card: 24px;
  --radius-small: 16px;
  --topbar-height: 66px;
  --nav-height: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #eee7dc;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 221, 190, 0.72), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(205, 224, 201, 0.68), transparent 24%),
    #eee7dc;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.desktop-intro {
  position: fixed;
  top: 38px;
  left: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6c5e51;
}

.desktop-intro__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(94, 73, 55, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-family: Georgia, serif;
  font-size: 20px;
}

.desktop-intro div {
  display: grid;
  gap: 1px;
}

.desktop-intro strong {
  color: #50463d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.desktop-intro span:last-child {
  color: #8a7b6e;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.phone-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: clip;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(79, 57, 39, 0.05), 0 28px 80px rgba(72, 53, 37, 0.2);
}

.app {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 28px);
  animation: page-in 260ms ease both;
}

.page.no-nav {
  padding-bottom: calc(30px + var(--safe-bottom));
}

.page.has-action {
  padding-bottom: calc(104px + var(--safe-bottom));
}

.page.has-float {
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 58px);
}

.page-content {
  padding: 8px 16px 26px;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  padding: max(8px, env(safe-area-inset-top, 0px)) 16px 8px;
  border-bottom: 1px solid rgba(237, 228, 217, 0.7);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar__left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(104, 78, 54, 0.05);
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.icon-button:active {
  transform: scale(0.94);
  background: var(--brand-pale);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.brand-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 3px 4px 3px 0;
  text-align: left;
}

.brand-link__logo {
  width: 49px;
  height: 30px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-link__copy {
  display: grid;
  min-width: 0;
  gap: 0;
}

.brand-link__copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-link__copy span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  white-space: nowrap;
}

.location-pill svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.merchant-icon {
  width: 34px;
  height: 34px;
  background: transparent;
}

.merchant-icon svg {
  width: 18px;
  height: 18px;
}

.home-greeting {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 1px 12px;
}

.home-greeting__copy {
  display: grid;
  gap: 2px;
}

.home-greeting__eyebrow {
  color: var(--brand-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-greeting h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.home-greeting p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.open-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sage-deep);
  background: var(--sage-soft);
  font-size: 10px;
  font-weight: 650;
}

.open-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72a371;
  content: "";
  box-shadow: 0 0 0 3px rgba(114, 163, 113, 0.12);
}

.hero {
  position: relative;
}

.hero-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hero-track::-webkit-scrollbar {
  display: none;
}

.hero-card {
  position: relative;
  width: 100%;
  height: 248px;
  flex: 0 0 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #d7c3ad;
  scroll-snap-align: center;
  box-shadow: var(--shadow-md);
}

.hero-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(39, 29, 19, 0.02) 28%, rgba(39, 29, 19, 0.67) 100%),
    linear-gradient(90deg, rgba(39, 29, 19, 0.1), transparent 55%);
  content: "";
  pointer-events: none;
}

.hero-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__image.hero-pig {
  object-position: center 56%;
}

.hero-card__image.hero-cages {
  object-position: 72% center;
}

.hero-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 28, 20, 0.28);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 13px;
  height: 13px;
}

.hero-card__content {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: #fff;
}

.hero-card__content h2 {
  max-width: 300px;
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.32;
  text-shadow: 0 2px 12px rgba(40, 28, 17, 0.18);
}

.hero-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.hero-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #4c3828;
  background: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 700;
}

.hero-card__link svg {
  width: 13px;
  height: 13px;
}

.hero-card--brand {
  background:
    radial-gradient(circle at 87% 20%, rgba(255, 255, 255, 0.65), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(255, 220, 185, 0.7), transparent 30%),
    linear-gradient(140deg, #f8d7b8 0%, #f3c59f 50%, #eaa47f 100%);
}

.hero-card--brand::after {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, transparent 45%, rgba(118, 68, 37, 0.18) 100%);
}

.hero-brand-art {
  position: absolute;
  top: 24px;
  right: 20px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(5deg);
  box-shadow: 0 24px 50px rgba(125, 75, 43, 0.16);
  backdrop-filter: blur(10px);
}

.hero-brand-art img {
  width: 86px;
  mix-blend-mode: multiply;
}

.hero-card--brand .hero-card__content {
  color: #563a27;
}

.hero-card--brand .hero-card__content p {
  color: rgba(86, 58, 39, 0.66);
}

.hero-card--brand .hero-card__link {
  color: #fff;
  background: #5d4636;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 10px 0 16px;
}

.hero-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 999px;
  background: #d8cdc1;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.hero-dot.is-active {
  width: 18px;
  background: var(--brand);
}

.trust-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: none;
}

.trust-chips::-webkit-scrollbar {
  display: none;
}

.mini-chip {
  display: inline-flex;
  min-height: 29px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 600;
}

.mini-chip svg {
  width: 14px;
  height: 14px;
  color: var(--sage);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.quick-card {
  position: relative;
  display: grid;
  min-height: 116px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-card);
  text-align: left;
  transition: transform 160ms ease;
}

.quick-card:active {
  transform: scale(0.98);
}

.quick-card--pets {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.66), transparent 36%),
    linear-gradient(145deg, #ffe5d0, #fff4e9);
}

.quick-card--boarding {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.72), transparent 37%),
    linear-gradient(145deg, #e6f0e3, #f5f8ef);
}

.quick-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.7);
}

.quick-card--boarding .quick-card__icon {
  color: var(--sage-deep);
}

.quick-card__icon svg {
  width: 19px;
  height: 19px;
}

.quick-card__copy {
  align-self: end;
  margin-top: 11px;
}

.quick-card__copy strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.quick-card__copy span {
  color: var(--muted);
  font-size: 10px;
}

.quick-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
}

.quick-card__arrow svg {
  width: 13px;
  height: 13px;
}

.section {
  margin-bottom: 27px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-head__copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.section-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link svg {
  width: 13px;
  height: 13px;
}

.pet-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pet-scroll::-webkit-scrollbar {
  display: none;
}

.pet-card {
  display: block;
  width: 164px;
  flex: 0 0 164px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(235, 225, 213, 0.7);
  border-radius: 22px;
  background: var(--surface);
  text-align: left;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 160ms ease;
}

.pet-card:active {
  transform: scale(0.98);
}

.pet-card__media,
.pet-detail__photo,
.pet-admin-thumb,
.merchant-photo-preview {
  position: relative;
  overflow: hidden;
}

.pet-card__media {
  height: 164px;
  margin: 7px;
  border-radius: 17px;
}

.pet-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(145deg, #f7d7bd, #efe7d8);
}

.pet-placeholder::before,
.pet-placeholder::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.pet-placeholder::before {
  top: -32px;
  right: -26px;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}

.pet-placeholder::after {
  bottom: -28px;
  left: -30px;
  width: 88px;
  height: 88px;
  background: rgba(225, 155, 112, 0.12);
}

.pet-placeholder--2 {
  background: linear-gradient(145deg, #f2e3c9, #e8eee2);
}

.pet-placeholder--3 {
  background: linear-gradient(145deg, #e8e0d7, #f5e9dd);
}

.pet-placeholder--4 {
  background: linear-gradient(145deg, #f4dfc8, #e9e4d7);
}

.pet-placeholder--5 {
  background: linear-gradient(145deg, #e7ece2, #f6e8d8);
}

.pet-placeholder__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(117, 84, 57, 0.11);
  border-radius: 24px;
  color: rgba(121, 82, 53, 0.45);
  background: rgba(255, 255, 255, 0.48);
  transform: translate(-50%, -50%) rotate(-4deg);
  backdrop-filter: blur(8px);
}

.pet-placeholder__icon svg {
  width: 42px;
  height: 42px;
}

.pet-placeholder__label {
  position: absolute;
  right: 9px;
  bottom: 9px;
  left: 9px;
  color: rgba(104, 75, 53, 0.55);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-align: center;
}

.pet-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.status-badge::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-badge--available {
  color: #416b49;
  background: rgba(238, 248, 236, 0.9);
}

.status-badge--sold {
  color: #78695d;
  background: rgba(242, 238, 233, 0.92);
}

.pet-card__status {
  position: absolute;
  top: 8px;
  right: 8px;
}

.pet-card__body {
  padding: 5px 12px 13px;
}

.pet-card__name {
  overflow: hidden;
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-card__meta {
  display: flex;
  gap: 5px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
}

.tag--green {
  color: #49704e;
  background: var(--sage-soft);
}

.tag--blue {
  color: #52748c;
  background: var(--blue-soft);
}

.tag--orange {
  color: #a8582d;
  background: var(--brand-soft);
}

.tag--neutral {
  color: #766a60;
  background: #f3eee8;
}

.pet-card .tag-row {
  margin-top: 8px;
}

.boarding-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(234, 217, 200, 0.75);
  border-radius: 27px;
  background:
    radial-gradient(circle at 93% 0, rgba(255, 221, 188, 0.72), transparent 29%),
    linear-gradient(155deg, #fffaf4, #fff3e7);
  box-shadow: var(--shadow-sm);
}

.boarding-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.boarding-card__title {
  display: flex;
  gap: 10px;
}

.round-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.72);
}

.round-icon--blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.round-icon--green {
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.round-icon svg {
  width: 20px;
  height: 20px;
}

.boarding-card__title strong {
  display: block;
  font-size: 16px;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.boarding-card__title span {
  color: var(--muted);
  font-size: 10px;
}

.availability-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(233, 243, 230, 0.9);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.room-list {
  display: grid;
  gap: 8px;
}

.room-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(238, 224, 211, 0.9);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
}

.room-row__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.room-row__name span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.room-row__service {
  color: var(--muted);
  font-size: 9px;
}

.room-row__price {
  color: var(--brand-deep);
  font-size: 15px;
  font-weight: 760;
  white-space: nowrap;
}

.room-row__price small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.room-row__bar {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
}

.room-row__bar i {
  display: block;
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: #f0dfcf;
}

.room-row__bar i.is-free {
  background: #d6aa8d;
}

.boarding-card__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 14px;
}

.perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-soft);
  font-size: 9px;
}

.perk-chip svg {
  width: 13px;
  height: 13px;
  color: var(--sage);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.01em;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.primary-button {
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow-brand);
}

.primary-button:hover {
  background: #e77236;
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active {
  transform: scale(0.98);
}

.primary-button:disabled {
  color: #9d9288;
  background: #eee8e0;
  box-shadow: none;
}

.primary-button svg,
.secondary-button svg,
.ghost-button svg {
  width: 17px;
  height: 17px;
}

.secondary-button {
  color: var(--text);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.ghost-button {
  color: var(--text-soft);
  background: var(--bg-deep);
}

.wide {
  width: 100%;
}

.trust-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.trust-head__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.trust-head__icon svg {
  width: 22px;
  height: 22px;
}

.trust-head strong {
  display: block;
  font-size: 14px;
  font-weight: 730;
}

.trust-head span {
  color: var(--muted);
  font-size: 9px;
}

.credential-list {
  display: grid;
  gap: 8px;
}

.credential-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 13px;
  background: #faf7f2;
  font-size: 10px;
}

.credential-row__main {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
}

.credential-row__main svg {
  width: 15px;
  height: 15px;
  color: var(--sage);
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--sage-deep);
  font-size: 9px;
  font-weight: 650;
}

.verified svg {
  width: 13px;
  height: 13px;
}

.environment-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.environment-grid img {
  width: 100%;
  height: 132px;
  border-radius: 16px;
  object-fit: cover;
}

.environment-grid img:last-child {
  object-position: 70% center;
}

.review-scroll {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  width: 226px;
  flex: 0 0 226px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  scroll-snap-align: start;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brand-soft);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__who {
  display: grid;
  gap: 0;
}

.review-card__who strong {
  font-size: 10px;
}

.review-card__who span {
  color: var(--muted);
  font-size: 8px;
}

.review-stars {
  margin-left: auto;
  color: var(--yellow);
  font-size: 9px;
  letter-spacing: 1px;
}

.review-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.review-card__photo {
  width: 100%;
  height: 108px;
  margin-top: 9px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center 60%;
}

.footer-card {
  padding: 19px 17px;
  border-radius: var(--radius-card);
  color: #f8f1e9;
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 211, 168, 0.15), transparent 25%),
    #493b30;
}

.footer-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-card__brand img {
  width: 94px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.footer-card__brand span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.footer-info {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.footer-info span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-info svg {
  width: 14px;
  height: 14px;
  color: #e9b78f;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-merchant {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
}

.footer-merchant svg {
  width: 13px;
  height: 13px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
}

.page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 2px 15px;
}

.page-title h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.page-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.page-title__seal {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #ead8c4;
  border-radius: 16px;
  color: var(--brand-deep);
  background: var(--brand-pale);
  transform: rotate(3deg);
}

.page-title__seal svg {
  width: 24px;
  height: 24px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 25px 21px 22px;
  border-radius: 29px;
  background:
    radial-gradient(circle at 94% 5%, rgba(255, 255, 255, 0.74), transparent 28%),
    linear-gradient(145deg, #fbd8b8, #f5c5a1 55%, #ecae87);
  box-shadow: var(--shadow-md);
}

.about-hero::after {
  position: absolute;
  top: -40px;
  right: -36px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  content: "";
}

.about-hero__logo {
  width: 132px;
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
}

.about-hero__eyebrow {
  color: rgba(93, 55, 30, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hero h2 {
  max-width: 300px;
  margin: 4px 0 8px;
  color: #523521;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.32;
}

.about-hero p {
  max-width: 310px;
  margin: 0;
  color: rgba(82, 53, 33, 0.68);
  font-size: 10px;
  line-height: 1.8;
}

.about-quote {
  margin: 12px 0 27px;
  padding: 15px 17px;
  border-left: 3px solid var(--brand);
  border-radius: 0 14px 14px 0;
  color: var(--text-soft);
  background: #fffaf4;
  font-size: 11px;
  line-height: 1.8;
}

.about-copy {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.9;
}

.about-copy p {
  margin: 0 0 11px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.feature-card {
  min-height: 122px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
}

.feature-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  color: var(--brand-deep);
  background: var(--brand-pale);
}

.feature-card:nth-child(2n) .feature-card__icon {
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.feature-card__icon svg {
  width: 18px;
  height: 18px;
}

.feature-card strong {
  display: block;
  font-size: 12px;
  font-weight: 720;
}

.feature-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.service-list {
  display: grid;
  gap: 8px;
}

.service-list__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.service-list__index {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--brand-deep);
  background: var(--brand-pale);
  font-family: Georgia, serif;
  font-size: 11px;
}

.service-list__copy strong {
  display: block;
  font-size: 11px;
}

.service-list__copy span {
  color: var(--muted);
  font-size: 9px;
}

.filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 16px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: #fff;
  font-size: 10px;
  font-weight: 600;
}

.filter-chip.is-active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.filter-chip span {
  opacity: 0.65;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pet-grid .pet-card {
  width: auto;
  flex: initial;
}

.pet-grid .pet-card__media {
  height: auto;
  aspect-ratio: 1 / 1.04;
}

.pet-grid .pet-card__body {
  padding: 6px 11px 13px;
}

.grid-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 15px;
  color: var(--text-soft);
  background: var(--brand-pale);
  font-size: 9px;
}

.grid-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--brand-deep);
}

.pet-detail__hero {
  padding: 4px 0 15px;
}

.pet-detail__photo {
  height: 350px;
  border-radius: 28px;
  background: #eee7dd;
  box-shadow: var(--shadow-md);
}

.pet-detail__photo .pet-placeholder__icon {
  width: 102px;
  height: 102px;
  border-radius: 34px;
}

.pet-detail__photo .pet-placeholder__icon svg {
  width: 62px;
  height: 62px;
}

.pet-detail__photo .pet-placeholder__label {
  right: 20px;
  bottom: 17px;
  left: 20px;
  font-size: 10px;
}

.pet-detail__status {
  position: absolute;
  top: 14px;
  right: 14px;
}

.pet-detail__title {
  padding: 2px 3px 0;
}

.pet-detail__title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.pet-detail__subline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.pet-detail__subline i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c5b9ad;
}

.pet-detail__title .tag-row {
  margin-top: 10px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fact-card {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.fact-card strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.info-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.info-card + .info-card {
  margin-top: 9px;
}

.info-card__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 720;
}

.info-card__title svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.info-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.8;
}

.pet-video {
  width: 100%;
  max-height: 320px;
  border-radius: 16px;
  background: #f1ebe4;
}

.data-list {
  display: grid;
  gap: 0;
}

.data-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f2ebe3;
  font-size: 10px;
}

.data-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.data-row span {
  flex: 0 0 auto;
  color: var(--muted);
}

.data-row strong {
  color: var(--text-soft);
  font-weight: 600;
  text-align: right;
}

.fixed-action {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 11px 16px calc(11px + var(--safe-bottom));
  border-top: 1px solid rgba(235, 225, 214, 0.8);
  background: rgba(251, 248, 242, 0.91);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fixed-action__inner {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fixed-action__note {
  display: grid;
  flex: 1;
  gap: 0;
  min-width: 0;
}

.fixed-action__note strong {
  font-size: 11px;
}

.fixed-action__note span {
  color: var(--muted);
  font-size: 8px;
}

.fixed-action .primary-button {
  min-width: 142px;
  flex: 0 0 auto;
}

.room-selector {
  display: grid;
  gap: 9px;
}

.room-option {
  display: block;
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 19px;
  background: #fff;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.room-option:active {
  transform: scale(0.99);
}

.room-option.is-selected {
  border-color: #e6aa83;
  background: #fff8f1;
  box-shadow: 0 7px 20px rgba(207, 126, 77, 0.08);
}

.room-option__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.room-option__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 720;
}

.selected-check {
  display: none;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
}

.selected-check svg {
  width: 12px;
  height: 12px;
}

.room-option.is-selected .selected-check {
  display: grid;
}

.room-option__price {
  color: var(--brand-deep);
  font-size: 16px;
  font-weight: 760;
  white-space: nowrap;
}

.room-option__price small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.room-option__desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.room-option__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.room-option__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 7px;
  color: var(--sage-deep);
  background: var(--sage-soft);
  font-size: 8px;
}

.room-option__meta svg {
  width: 11px;
  height: 11px;
}

.availability-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text-soft);
  background: #f7f2eb;
  font-size: 9px;
}

.availability-card strong {
  color: var(--sage-deep);
  font-size: 10px;
}

.calendar-card {
  padding: 16px 13px 13px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  padding: 0 2px;
}

.calendar-head strong {
  font-size: 14px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.calendar-nav {
  display: flex;
  gap: 5px;
}

.calendar-nav button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--text-soft);
  background: #f8f4ee;
}

.calendar-nav button:disabled {
  opacity: 0.35;
}

.calendar-nav svg {
  width: 15px;
  height: 15px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  margin-bottom: 4px;
}

.calendar-weekdays span {
  padding: 4px 0 6px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.calendar-day {
  position: relative;
  display: grid;
  min-height: 51px;
  align-content: center;
  justify-items: center;
  padding: 4px 0 3px;
  border-radius: 12px;
  color: var(--text);
  font-size: 11px;
  font-weight: 640;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.calendar-day small {
  display: block;
  min-height: 12px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  line-height: 1.4;
}

.calendar-day.is-empty {
  pointer-events: none;
}

.calendar-day.is-available:active {
  transform: scale(0.94);
}

.calendar-day.is-unavailable {
  color: #cdc4ba;
  background: #faf8f5;
  pointer-events: none;
  opacity: 0.56;
}

.calendar-day.is-unavailable small {
  color: #d1c9c0;
}

.calendar-day.is-today::after {
  position: absolute;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.calendar-day.is-selected {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 16px rgba(219, 100, 45, 0.24);
}

.calendar-day.is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-day.is-selected::after {
  background: #fff;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 9px 3px 1px;
  border-top: 1px solid #f4eee7;
  color: var(--muted);
  font-size: 8px;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-dot i {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--brand);
}

.legend-dot.unavailable i {
  background: #ded6cc;
}

.legend-dot.today i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
}

.booking-summary {
  padding: 15px;
  border: 1px solid #ead9c8;
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 219, 186, 0.55), transparent 30%),
    #fffaf4;
}

.booking-summary__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-summary__label {
  color: var(--muted);
  font-size: 9px;
}

.booking-summary__date {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  font-weight: 730;
}

.booking-summary__date small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.duration-stepper {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.duration-stepper button {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: var(--text-soft);
  background: #f8f3ed;
}

.duration-stepper button:disabled {
  opacity: 0.35;
}

.duration-stepper span {
  min-width: 43px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.duration-stepper svg {
  width: 13px;
  height: 13px;
}

.booking-summary__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #efe1d3;
}

.booking-total span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.booking-total strong {
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.booking-total small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.booking-summary .primary-button {
  min-width: 120px;
}

.policy-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.policy-link svg {
  width: 13px;
  height: 13px;
}

.notice-card {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 13px;
  border-radius: 16px;
  color: var(--text-soft);
  background: var(--blue-soft);
  font-size: 9px;
  line-height: 1.7;
}

.notice-card svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--blue);
}

.query-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border-radius: 27px;
  background:
    radial-gradient(circle at 89% 10%, rgba(255, 255, 255, 0.65), transparent 23%),
    linear-gradient(145deg, #e8f1e4, #f7f3e8);
  box-shadow: var(--shadow-sm);
}

.query-hero h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.query-hero p {
  margin: 4px 0 15px;
  color: var(--muted);
  font-size: 10px;
}

.query-form {
  display: flex;
  gap: 7px;
}

.input-shell {
  display: flex;
  min-height: 46px;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.input-shell svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--muted);
}

.input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.input-shell input::placeholder {
  color: #b1a79d;
}

.query-form .primary-button {
  min-width: 77px;
  padding: 0 14px;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--sage-deep);
  font-size: 9px;
  font-weight: 650;
}

.demo-link svg {
  width: 13px;
  height: 13px;
}

.record-card {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.record-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.record-card__eyebrow {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.record-card__id {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.record-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--sage-deep);
  background: var(--sage-soft);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.record-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.record-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.record-meta div {
  padding: 9px;
  border-radius: 12px;
  background: #faf7f2;
}

.record-meta span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.record-meta strong {
  display: block;
  margin-top: 1px;
  font-size: 10px;
}

.record-actions {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.record-actions .secondary-button,
.record-actions .ghost-button {
  min-height: 38px;
  flex: 1;
  font-size: 10px;
}

.timeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 2px 12px;
}

.timeline-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.timeline-head span {
  color: var(--muted);
  font-size: 9px;
}

.daily-card {
  position: relative;
  margin-left: 9px;
  padding: 15px 14px 15px 20px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.daily-card + .daily-card {
  margin-top: 10px;
}

.daily-card::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -10px;
  width: 1px;
  background: #eadfd3;
  content: "";
}

.daily-card::after {
  position: absolute;
  top: 21px;
  left: -13px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.daily-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.daily-card__date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 730;
}

.daily-card__date small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.daily-card__time {
  color: var(--muted);
  font-size: 8px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.media-tile {
  position: relative;
  height: 122px;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f3ee;
}

.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tile__empty {
  display: grid;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px dashed #ded3c8;
  border-radius: inherit;
  color: #a99d92;
  font-size: 8px;
  text-align: center;
}

.media-tile__empty svg {
  width: 22px;
  height: 22px;
}

.media-download {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(47, 37, 29, 0.62);
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.media-download svg {
  width: 11px;
  height: 11px;
}

.daily-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

.daily-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: #faf7f2;
  font-size: 8px;
}

.daily-check span {
  color: var(--muted);
}

.daily-check strong {
  color: var(--text-soft);
  font-size: 9px;
}

.daily-check strong.is-warn {
  color: var(--rose);
}

.daily-note {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text-soft);
  background: var(--brand-pale);
  font-size: 8px;
  line-height: 1.65;
}

.empty-state {
  padding: 31px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-align: center;
}

.empty-state__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 17px;
  color: var(--brand);
  background: var(--brand-pale);
}

.empty-state__icon svg {
  width: 24px;
  height: 24px;
}

.empty-state strong {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
}

.empty-state p {
  margin: 3px 0 0;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 40;
  display: grid;
  width: min(100%, 480px);
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px calc(7px + var(--safe-bottom));
  border-top: 1px solid rgba(234, 224, 213, 0.8);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 -8px 28px rgba(86, 62, 42, 0.05);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-item {
  position: relative;
  display: grid;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 1px;
  border-radius: 14px;
  color: #9a8e82;
  font-size: 8px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.nav-item__icon {
  position: relative;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
}

.nav-item svg {
  width: 21px;
  height: 21px;
}

.nav-item.is-active {
  color: var(--brand-deep);
  font-weight: 650;
}

.nav-item.is-active::before {
  position: absolute;
  top: 3px;
  width: 30px;
  height: 25px;
  border-radius: 10px;
  background: var(--brand-soft);
  content: "";
}

.nav-item__icon {
  z-index: 1;
}

.nav-caption {
  z-index: 1;
}

.floating-service {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 15px);
  left: 50%;
  z-index: 38;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(237, 122, 64, 0.94);
  box-shadow: 0 10px 26px rgba(212, 91, 35, 0.25);
  transform: translateX(calc(min(50vw, 240px) - 72px));
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 650;
  transition: transform 160ms ease;
}

.floating-service:active {
  transform: translateX(calc(min(50vw, 240px) - 72px)) scale(0.95);
}

.floating-service__icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.floating-service svg {
  width: 15px;
  height: 15px;
}

.page.has-action .floating-service {
  bottom: calc(90px + var(--safe-bottom));
}

.merchant-page .floating-service,
.merchant-edit-page .floating-service {
  display: none;
}

.login-card {
  margin-top: 24px;
  padding: 23px 19px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.login-card__mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #4c3d31;
}

.login-card__mark svg {
  width: 24px;
  height: 24px;
}

.login-card h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.login-card > p {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 10px;
}

.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 13px;
}

.form-group > label,
.form-label {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 650;
}

.form-control {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: #fcfaf7;
  font-size: 12px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-control:focus {
  border-color: #e1b290;
  box-shadow: 0 0 0 3px rgba(237, 122, 64, 0.09);
}

select.form-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8d8176 50%),
    linear-gradient(135deg, #8d8176 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

textarea.form-control {
  min-height: 84px;
  padding-top: 10px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 9px;
}

.form-help {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.demo-code {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 6px 9px;
  border-radius: 9px;
  color: #8b623e;
  background: #fff4e7;
  font-size: 9px;
  white-space: nowrap;
}

.merchant-header {
  margin-bottom: 15px;
  padding: 3px 2px 0;
}

.merchant-header__eyebrow {
  color: var(--brand-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.merchant-header h1 {
  margin: 1px 0 0;
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.merchant-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.stat-card strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
  font-weight: 770;
  letter-spacing: -0.06em;
}

.stat-card strong small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-bottom: 13px;
  padding: 3px;
  border-radius: 14px;
  background: #efe9e0;
}

.segmented button {
  min-height: 37px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.segmented button.is-active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 2px 8px rgba(85, 59, 39, 0.06);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.admin-toolbar strong {
  font-size: 12px;
}

.small-button {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 9px;
  font-weight: 650;
}

.small-button svg {
  width: 13px;
  height: 13px;
}

.admin-pet-list,
.admin-booking-list {
  display: grid;
  gap: 8px;
}

.admin-pet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.pet-admin-thumb {
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  border-radius: 13px;
}

.pet-admin-thumb .pet-placeholder__icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.pet-admin-thumb .pet-placeholder__icon svg {
  width: 18px;
  height: 18px;
}

.pet-admin-thumb .pet-placeholder__label {
  display: none;
}

.admin-pet-row__copy {
  min-width: 0;
  flex: 1;
}

.admin-pet-row__copy strong {
  display: block;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-pet-row__copy span {
  color: var(--muted);
  font-size: 8px;
}

.row-edit {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--text-soft);
  background: #f7f2ec;
}

.row-edit svg {
  width: 14px;
  height: 14px;
}

.booking-admin-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.booking-admin-card.is-selected {
  border-color: #e7b08b;
  background: #fffaf5;
  box-shadow: 0 8px 22px rgba(202, 122, 72, 0.08);
}

.booking-admin-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.booking-admin-card__top strong {
  display: block;
  font-size: 11px;
}

.booking-admin-card__top span {
  color: var(--muted);
  font-size: 8px;
}

.booking-admin-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.booking-admin-card__stats span {
  padding: 4px 6px;
  border-radius: 7px;
  color: var(--text-soft);
  background: #f7f3ed;
  font-size: 8px;
}

.booking-admin-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.booking-admin-card__actions button {
  min-height: 32px;
  flex: 1;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 650;
}

.admin-log-form {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.admin-log-form__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px;
  font-size: 12px;
  font-weight: 720;
}

.admin-log-form__title svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.upload-box {
  position: relative;
  display: grid;
  min-height: 105px;
  place-items: center;
  align-content: center;
  gap: 6px;
  overflow: hidden;
  padding: 10px;
  border: 1px dashed #dcd0c4;
  border-radius: 15px;
  color: var(--muted);
  background: #fcfaf7;
  font-size: 8px;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box svg {
  width: 21px;
  height: 21px;
  color: var(--brand);
}

.upload-box img,
.upload-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-box.has-media::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(42, 32, 24, 0.6);
  content: "点击更换";
  font-size: 7px;
}

.admin-save-bar {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.admin-save-bar .primary-button,
.admin-save-bar .secondary-button {
  min-height: 43px;
  flex: 1;
  font-size: 11px;
}

.merchant-photo-preview {
  height: 190px;
  margin-bottom: 13px;
  border-radius: 20px;
  background: #f4eee7;
}

.merchant-photo-preview .pet-placeholder__icon {
  width: 66px;
  height: 66px;
}

.merchant-photo-preview .pet-placeholder__label {
  bottom: 12px;
}

.photo-upload-inline {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(48, 37, 28, 0.65);
  font-size: 8px;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.photo-upload-inline input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-upload-inline svg {
  width: 12px;
  height: 12px;
}

.danger-text {
  color: #a45c58;
}

.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.inline-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(43, 33, 25, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fade-in 160ms ease both;
}

.modal-layer--center {
  align-items: center;
  padding: 20px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-sheet {
  width: min(100%, 480px);
  max-height: 92dvh;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--bg);
  box-shadow: 0 -22px 60px rgba(51, 38, 27, 0.18);
  animation: sheet-in 230ms cubic-bezier(0.22, 0.78, 0.28, 1) both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sheet-grabber {
  width: 36px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #dfd4c9;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px 11px;
}

.sheet-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.sheet-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.sheet-close {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--text-soft);
  background: #eee8e0;
}

.sheet-close svg {
  width: 15px;
  height: 15px;
}

.sheet-body {
  max-height: calc(92dvh - 76px);
  overflow-y: auto;
  padding: 0 18px calc(20px + var(--safe-bottom));
  overscroll-behavior: contain;
}

.policy-sheet .sheet-body {
  overflow: hidden;
  padding-bottom: calc(13px + var(--safe-bottom));
}

.policy-scroll {
  max-height: 44dvh;
  overflow-y: auto;
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.85;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.policy-scroll h3 {
  margin: 13px 0 3px;
  color: var(--text);
  font-size: 11px;
}

.policy-scroll h3:first-child {
  margin-top: 0;
}

.policy-scroll p {
  margin: 0 0 6px;
}

.policy-scroll ul {
  margin: 4px 0 8px;
  padding-left: 17px;
}

.policy-scroll li {
  margin-bottom: 3px;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 25px;
  color: var(--brand-deep);
  font-size: 9px;
  transition: opacity 180ms ease;
}

.scroll-hint svg {
  width: 13px;
  height: 13px;
  animation: nudge-down 1.4s ease-in-out infinite;
}

@keyframes nudge-down {
  50% {
    transform: translateY(3px);
  }
}

.scroll-hint.is-hidden {
  opacity: 0;
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 12px;
  color: var(--text-soft);
  font-size: 10px;
}

.agree-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.agree-row.is-disabled {
  color: #b0a69c;
}

.service-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  padding: 14px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.58), transparent 30%),
    var(--brand-pale);
}

.service-hero__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--brand);
}

.service-hero__avatar svg {
  width: 24px;
  height: 24px;
}

.service-hero strong {
  display: block;
  font-size: 12px;
}

.service-hero span {
  color: var(--muted);
  font-size: 9px;
}

.chat-bubble {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 4px 15px 15px 15px;
  color: var(--text-soft);
  background: #fff;
  font-size: 10px;
  line-height: 1.7;
}

.quick-questions {
  display: grid;
  gap: 6px;
  margin: 11px 0 14px;
}

.quick-question {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-soft);
  background: #fff;
  font-size: 9px;
  text-align: left;
}

.service-contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.service-contact a,
.service-contact button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 650;
}

.service-contact .primary-button {
  box-shadow: none;
}

.service-contact .secondary-button {
  min-height: 42px;
}

.service-contact svg {
  width: 15px;
  height: 15px;
}

.success-card {
  width: min(100%, 360px);
  padding: 25px 21px 20px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(50, 36, 24, 0.22);
  animation: success-in 240ms cubic-bezier(0.22, 0.78, 0.28, 1) both;
  text-align: center;
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 12px 25px rgba(112, 143, 112, 0.24);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.success-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.success-card > p {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.boarding-id-box {
  padding: 13px;
  border: 1px dashed #dfc9b7;
  border-radius: 17px;
  background: #fff9f2;
}

.boarding-id-box span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.boarding-id-box strong {
  display: block;
  margin: 2px 0 8px;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: 0.05em;
}

.copy-id {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-radius: 9px;
  color: var(--text-soft);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 8px;
}

.copy-id svg {
  width: 12px;
  height: 12px;
}

.success-actions {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.success-actions .primary-button,
.success-actions .secondary-button {
  min-height: 42px;
}

.toast {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 19px);
  left: 50%;
  z-index: 200;
  max-width: min(82vw, 360px);
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(48, 39, 32, 0.9);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(10px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 300;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
}

.skip-link:focus {
  top: 12px;
}

@media (max-width: 520px) {
  .desktop-intro {
    display: none;
  }

  .phone-shell {
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 365px) {
  .home-greeting h1 {
    font-size: 22px;
  }

  .hero-card {
    height: 228px;
  }

  .hero-card__content h2 {
    font-size: 21px;
  }

  .brand-link__logo {
    width: 43px;
  }

  .brand-link__copy strong {
    font-size: 14px;
  }

  .location-pill {
    display: none;
  }

  .pet-card {
    width: 152px;
    flex-basis: 152px;
  }

  .pet-card__media {
    height: 152px;
  }

  .calendar-day {
    min-height: 48px;
  }
}

@media (min-width: 900px) {
  body {
    padding: 22px 0;
  }

  .phone-shell {
    min-height: calc(100vh - 44px);
    border-radius: 34px;
  }

  .topbar {
    border-radius: 34px 34px 0 0;
  }

  .bottom-nav {
    bottom: 22px;
  }

  .fixed-action {
    bottom: 22px;
  }

  .floating-service {
    bottom: calc(var(--nav-height) + 37px);
  }

  .page.has-action .floating-service {
    bottom: 112px;
  }

  .toast {
    bottom: calc(var(--nav-height) + 40px);
  }

  .modal-layer {
    align-items: center;
    padding: 22px;
  }

  .modal-sheet {
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
