:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --ink: #1f2a24;
  --muted: #6b7d74;
  --primary: #2f9e6e;
  --primary-dark: #237a55;
  --primary-light: #e4f5ec;
  --accent: #ff9f5a;
  --danger: #e0584a;
  --border: #e3e9e5;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(31, 42, 36, 0.06);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4rem; }
p { margin: 0 0 .8rem; color: var(--muted); }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #c8493d; }
.btn-sm { padding: .4rem .7rem; font-size: .82rem; border-radius: 8px; }
.btn-block { width: 100%; }

label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink); }
input, select, textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.field { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.form-actions { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .5rem; }
.form-error { color: var(--danger); font-size: .85rem; margin-top: .4rem; min-height: 1.1em; }
.form-hint { color: var(--muted); font-size: .8rem; }

/* ---------- Config banner ---------- */
.config-banner {
  background: #fff4e5;
  color: #8a5a00;
  border-bottom: 1px solid #f3d8a3;
  padding: .7rem 1rem;
  text-align: center;
  font-size: .85rem;
}
.config-banner code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

/* ---------- Landing page ---------- */
.landing-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6vw;
}
.landing-nav .brand { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; color: var(--primary-dark); }
.landing-nav .links { display: flex; gap: .8rem; align-items: center; }
.landing-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 6vw 4rem;
}
.landing-content h1 { font-size: 2.6rem; line-height: 1.15; }
.landing-content .lead { font-size: 1.05rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.feature-card .ic { font-size: 1.5rem; }
.hero-art {
  background: linear-gradient(160deg, var(--primary-light), #fff);
  border-radius: 24px;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  box-shadow: var(--shadow);
}

/* ---------- Auth pages ---------- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.auth-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
  width: 100%;
  max-width: 420px;
}
.auth-card .brand { text-align: center; font-size: 1.6rem; margin-bottom: .2rem; }
.auth-card .sub { text-align: center; margin-bottom: 1.4rem; }
.auth-switch { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* ---------- App shell ---------- */
.app-shell { display: flex; min-height: 100vh; }
.nav-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.sidebar-backdrop { display: none; }

.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.2rem; color: var(--primary-dark); padding: 0 .4rem; margin-bottom: 1.3rem; text-decoration: none; }
.sidebar-brand:hover { opacity: .85; }
.brand-logo { width: 36px; height: 36px; flex-shrink: 0; }

.pet-switcher { padding: 0 .4rem; margin-bottom: 1.2rem; }
.pet-switcher label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.sidebar-nav { display: flex; flex-direction: column; gap: .2rem; flex: 1; overflow-y: auto; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .7rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}
.sidebar-nav a:hover { background: var(--primary-light); }
.sidebar-nav a.active { background: var(--primary); color: #fff; }

.sidebar-footer { padding: .4rem; border-top: 1px solid var(--border); padding-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.user-chip { font-size: .85rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.main-content { flex: 1; padding: 2rem 2.4rem 4rem; min-width: 0; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-header h1 { font-size: 1.6rem; }

/* ---------- Cards / stats ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.grid { display: grid; gap: 1.2rem; }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.stat-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; }
.stat-card .label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.stat-card .value { font-size: 1.6rem; font-weight: 800; margin-top: .25rem; }
.stat-card .sub { font-size: .8rem; color: var(--muted); }

.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.quick-link {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-weight: 700;
  transition: transform .12s ease;
}
.quick-link:hover { transform: translateY(-3px); }
.quick-link .ic { font-size: 1.6rem; }
.quick-link .desc { font-size: .78rem; color: var(--muted); font-weight: 400; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .75rem .7rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
tr:last-child td { border-bottom: none; }
td.wrap, th.wrap { white-space: normal; }
.row-actions { display: flex; gap: .4rem; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #eee; color: #555; }
.badge-mild, .badge-healed { background: #e4f5ec; color: var(--primary-dark); }
.badge-moderate { background: #fff1d9; color: #a6680a; }
.badge-severe { background: #fde3e0; color: #a93629; }
.badge-active { background: #e3edff; color: #2453b3; }

/* ---------- Sleep sections ---------- */
.sleep-section { background: var(--primary-light); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.sleep-section-title { font-weight: 700; font-size: .95rem; margin-bottom: .7rem; color: var(--text); }

/* ---------- Tomorrow's Tasks ---------- */
.task-list { display: flex; flex-direction: column; gap: .6rem; }
.task-item { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow); }
.task-item .task-icon { font-size: 1.3rem; flex-shrink: 0; }
.task-item .task-text { flex: 1; font-weight: 600; font-size: .95rem; }
.task-item .task-tag { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.task-item.task-medicine { border-left: 4px solid #4f8ef7; }
.task-item.task-injury { border-left: 4px solid #f7a44f; }
.task-item.task-sickness { border-left: 4px solid #e96b6b; }
.task-item.task-activity { border-left: 4px solid #4fb87d; }
.no-tasks { text-align: center; color: var(--muted); padding: 1.2rem; font-size: .95rem; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 2.4rem 1rem; color: var(--muted); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.pill-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.pill-tab { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: .85rem; cursor: pointer; }
.pill-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 25, 20, .45);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 1rem;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius); padding: 1.6rem; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--muted); }

.pet-card { display: flex; gap: 1rem; align-items: center; }
.pet-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0;
}
.family-group { margin-bottom: 1.6rem; }
.family-group h3 { font-size: 1rem; color: var(--primary-dark); }
.family-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; display: flex; gap: .9rem; align-items: flex-start; }

#toast-host { position: fixed; bottom: 1.2rem; right: 1.2rem; display: flex; flex-direction: column; gap: .5rem; z-index: 200; }
.toast {
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px;
  font-size: .88rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: all .25s ease;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-error { background: var(--danger); }
.toast-success { background: var(--primary-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .landing-content { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 60;
    transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 0 transparent;
  }
  .sidebar.open { transform: translateX(0); box-shadow: var(--shadow); }
  .sidebar-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  .sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
  .main-content { padding: 4.4rem 1.2rem 3rem; }
}

/* ---------- Polish pass: friendly typography, hero warmth, motion ---------- */
html { scroll-behavior: smooth; }

body { font-family: 'Nunito', "Segoe UI", system-ui, -apple-system, sans-serif; }
h1, h2, h3, .brand, .sidebar-brand, .auth-card .brand {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  letter-spacing: -0.01em;
}

/* Warm blobs behind the landing */
.landing-hero { position: relative; overflow-x: clip; }
.landing-hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(47, 158, 110, 0.12), transparent 70%);
  pointer-events: none;
}
.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(255, 159, 90, 0.12), transparent 70%);
  pointer-events: none;
}
.landing-hero > * { position: relative; }

/* Headline accent */
.landing-content h1 { font-size: 3rem; }
.landing-content h1 .hl {
  background: linear-gradient(110deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Entrance */
@keyframes pc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.landing-content h1 { animation: pc-rise .55s ease both; }
.landing-content .lead { animation: pc-rise .55s .08s ease both; }
.landing-content .links { animation: pc-rise .55s .16s ease both; }
.feature-grid { animation: pc-rise .55s .24s ease both; }
.hero-art { animation: pc-rise .6s .2s ease both; }

/* Hero art: gentle bob + richer backdrop */
@keyframes pc-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.hero-art {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 159, 90, 0.18), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(47, 158, 110, 0.16), transparent 45%),
    linear-gradient(160deg, var(--primary-light), #fff);
  text-shadow: 0 14px 30px rgba(31, 42, 36, 0.15);
}
.hero-art { position: relative; overflow: hidden; display: grid; place-items: center; }
/* One drawn paw mark instead of three scattered emoji. The rings are the
   "tracked over time" idea the product is actually about. */
.hero-art svg { width: min(78%, 320px); height: auto; color: var(--primary); }
.hero-art .paw { fill: currentColor; stroke: none; animation: pc-bob 6s ease-in-out infinite; transform-origin: 100px 100px; }
.hero-art .ring { opacity: .30; }
.hero-art .ring-2 { opacity: .18; }
@media (prefers-reduced-motion: reduce) {
  .hero-art .paw { animation: none; }
}

/* Feature cards: borders, hover lift, icon chips */
.feature-card { border: 1px solid var(--border); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31, 42, 36, 0.10); border-color: var(--primary); }
.feature-card .ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  border-radius: 12px;
  margin-bottom: .5rem;
  color: var(--primary-dark);
}
.feature-card .ic svg { width: 22px; height: 22px; display: block; }

/* Buttons: gradient + lift */
.btn { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { background: linear-gradient(160deg, var(--primary-dark), #1d6546); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(47, 158, 110, 0.25); }
.btn-outline, .btn-ghost { background: transparent; box-shadow: none; }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: none; }
.btn-ghost:hover { background: var(--primary-light); transform: none; box-shadow: none; }
.btn-danger { background: linear-gradient(160deg, var(--danger), #c8493d); }
.btn-danger:hover { background: #c8493d; }

/* Cards & stats: subtle borders and hover */
.card, .stat-card, .family-card { border: 1px solid var(--border); }
.stat-card { transition: transform .2s ease, box-shadow .2s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 42, 36, 0.10); }

/* Visible keyboard focus */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- File upload ---------- */
.file-upload-wrap { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; }
.file-input { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; clip:rect(0,0,0,0); }
.file-upload-label { display:inline-flex; align-items:center; gap:.4rem; padding:.45rem .9rem; background:var(--primary-light); border:1.5px dashed var(--primary); border-radius:8px; cursor:pointer; font-weight:600; font-size:.88rem; color:var(--primary); transition:background .15s, color .15s; }
.file-upload-label:hover { background:var(--primary); color:#fff; }
.file-name-display { font-size:.85rem; color:var(--muted); }
.diag-file-preview { font-size:.85rem; color:var(--ink); padding:.15rem 0; }

/* ---------- Diagnostics grid ---------- */
.diag-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:1.2rem; }
.diag-empty { grid-column:1/-1; }
.diag-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.diag-card:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(31,42,36,.10); }
.diag-thumb { height:155px; overflow:hidden; background:var(--bg); display:flex; align-items:center; justify-content:center; }
.diag-thumb img { width:100%; height:100%; object-fit:cover; }
.diag-pdf-thumb { flex-direction:column; gap:.35rem; color:var(--muted); font-size:.8rem; text-align:center; padding:.5rem; }
.diag-pdf-icon { font-size:3rem; }
.diag-card-body { padding:.95rem 1rem; flex:1; display:flex; flex-direction:column; gap:.35rem; }
.diag-card-meta { display:flex; align-items:center; justify-content:space-between; gap:.4rem; }
.diag-card-date { font-size:.78rem; color:var(--muted); }
.diag-card-title { font-weight:700; font-size:.97rem; }
.diag-card-notes { font-size:.82rem; color:var(--muted); }
.diag-files { display:flex; flex-direction:column; gap:.25rem; margin-top:.2rem; }
.diag-file-item { font-size:.82rem; color:var(--primary); text-decoration:none; word-break:break-all; }
.diag-file-item:hover { text-decoration:underline; }

/* ---------- Pet Pals ---------- */
.pal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.pal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.pal-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31, 42, 36, 0.10); }
.pal-my-card .pal-my-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.pal-my-card .pal-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.pal-avatar { font-size: 2.6rem; line-height: 1; }
.pal-pet-name { font-weight: 800; font-size: 1rem; }
.pal-breed { font-weight: 400; font-size: .83rem; color: var(--muted); }
.pal-owner-name { font-size: .84rem; color: var(--muted); }
.pal-meta { font-size: .82rem; color: var(--ink); }
.pal-bio { font-size: .83rem; color: var(--muted); font-style: italic; margin-top: .25rem; }
.wave-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: var(--primary-light); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: .5rem; font-size: .9rem; }

/* ---------- Pet Sitter ---------- */
.sitter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.2rem; }
.sitter-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; transition: transform .2s ease, box-shadow .2s ease; }
.sitter-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 42, 36, 0.10); }
.sitter-avatar { font-size: 3rem; text-align: center; margin-bottom: .2rem; }
.sitter-name { font-size: 1.15rem; font-weight: 800; }
.sitter-meta { font-size: .85rem; color: var(--muted); }
.sitter-verified { display: inline-flex; align-items: center; gap: .3rem; background: #e3f7ed; color: #1a7a47; border-radius: 999px; padding: .24rem .75rem; font-size: .8rem; font-weight: 700; width: fit-content; margin: .3rem 0; }
.sitter-pricing { display: flex; gap: .8rem; margin: .6rem 0; }
.sitter-price-box { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: .65rem; text-align: center; }
.sitter-price-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sitter-price-value { font-size: 1rem; font-weight: 800; color: var(--primary); margin-top: .15rem; }
.sitter-contact { display: flex; gap: .6rem; margin-top: .4rem; }
.sitter-contact a { flex: 1; text-align: center; }

/* ---------- Google sign-in ---------- */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google { background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn-google:hover { background: var(--bg); border-color: var(--muted); transform: none; box-shadow: none; }

/* Health passport */
.pp-qr { display: flex; justify-content: center; margin: .4rem 0 1rem; }
.pp-qr img, .pp-qr canvas { border: 8px solid #fff; border-radius: 8px; }
.pp-link-row { display: flex; gap: .5rem; }
.pp-link-row input { flex: 1; min-width: 0; }
.passport-page { max-width: 760px; margin: 0 auto; padding: 1.5rem 16px 3rem; display: grid; gap: 1rem; }
.passport-brand { display: flex; align-items: center; gap: .5rem; font-family: Fredoka, sans-serif; font-weight: 600; color: inherit; text-decoration: none; }
.passport-head { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.passport-head > div:nth-child(2) { flex: 1; min-width: 180px; }
.passport-head h1 { margin: 0; }
.passport-foot { font-size: .85rem; color: var(--muted); text-align: center; }
@media print { .passport-foot button, .passport-brand { display: none; } }
