/* Single-screen integration; source illustrations and editorial copy are preserved. */
html:has(.intro-flow) { width: 100%; height: 100%; overflow: hidden; background: #fff; }
.intro-flow { width: 100%; height: 100dvh; min-height: 0; overflow: hidden; background: #fff; }
.intro-flow > main { width: 100%; height: 100dvh; min-height: 0; margin: 0; padding: 0; }
.intro-flow .review-head,
.intro-flow .sidebar,
.intro-flow .inspection-note,
.intro-flow .stage-note,
.intro-flow .board { display: none !important; }
.intro-flow .phone { width: 100%; max-width: none; height: 100dvh; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.intro-flow .screen-content { min-height: 0; overflow-x: hidden; overflow-y: auto; padding-bottom: 16px; }
.intro-flow .app-footer { flex-shrink: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
.intro-flow .login,
.intro-flow .pager button { color: #315d70; }
.intro-flow .primary { background: #315d70; color: #fff; box-shadow: none; }
.intro-flow .page-dots i.on { background: #315d70; }
.intro-flow .page-index,
.intro-flow .emergency-access > span { color: #53685e; }
.intro-flow .emergency-access button,
.intro-flow .emergency-access button svg { color: #a3483b; }
.intro-flow button:focus-visible { outline-color: #315d70; }
.intro-flow .screen-title:focus { outline: none; }
@media (max-height: 700px) {
  .intro-flow .statusbar { height: 29px; flex-basis: 29px; }
  .intro-flow .title-area { padding-top: 12px; }
  .intro-flow .app-footer { padding-top: 5px; }
}

.intro-flow .phone{--accent:#315d70}

/* Shared introduction styling based on the approved welcome screen. */
@font-face {
  font-family: Inter;
  src: url('/static/design-fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/static/design-fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
.intro-flow .phone {
  --ink: #223b45;
  --muted: #53685e;
  --paper: #f6f8f4;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.intro-flow .phone .app-header,
.intro-flow .phone .app-footer { padding-left: 22px; padding-right: 22px; }
.intro-flow .phone .title-area { padding: 22px 22px 0; }
.intro-flow .phone .screen-title {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(20px, 6.35cqi, 25px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.8px;
  margin: 10px 0 22px;
}
.intro-flow .phone .hero {
  height: clamp(190px, 62cqi, 242px);
  margin: 0 22px;
  border: 1px solid #dfe7e3;
  border-radius: 22px;
  background: #fff;
}
.intro-flow .phone .hero img.photo { display: block; }
.intro-flow .phone .body-copy { padding: 20px 22px 0; }
.intro-flow .phone .body-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -.15px;
}
.intro-flow .phone .body-copy .condition {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.5;
}
.intro-flow .phone .app-footer { background: var(--paper); padding-top: 10px; }
.intro-flow .phone .primary { border-radius: 14px; }
.intro-flow .phone .page-dots i { background: #d6e0e3; }
.intro-flow .phone .page-dots i.on { background: #315d70; }
.intro-flow .phone .home-indicator { background: var(--ink); }
@media (max-width: 350px) {
  .intro-flow .phone .app-header,
  .intro-flow .phone .app-footer { padding-left: 20px; padding-right: 20px; }
  .intro-flow .phone .title-area { padding: 18px 20px 0; }
  .intro-flow .phone .hero { margin-inline: 20px; border-radius: 20px; }
  .intro-flow .phone .body-copy { padding: 17px 20px 0; }
  .intro-flow .phone .body-copy p { font-size: 13px; }
  .intro-flow .phone .body-copy .condition { font-size: 11px; }
}
@media (max-height: 700px) {
  .intro-flow .phone .title-area { padding-top: 12px; }
  .intro-flow .phone .hero { height: 190px; }
  .intro-flow .phone .app-footer { padding-top: 5px; }
}

/* Keep the original scenes and labels inside the shared inset frame. */
.intro-flow .phone .eyebrow .badge {
  color: #315d70;
  background: #e8eff3;
  border: 1px solid #d2e0e6;
  border-radius: 5px;
}
.intro-flow .phone .hero:not(:has(> img.photo)) { background: #f4f8fa; }
.intro-flow .phone .clinic-card {
  left: 14px; right: 14px; bottom: 14px;
  padding: 14px;
  border-color: #dfe7e3;
  box-shadow: 0 4px 14px #24463806;
}
.intro-flow .phone.emergency-screen .hero { min-height: 230px; }
.intro-flow .phone .map-label { top: 18px; left: 18px; color: #53685e; }
.intro-flow .phone .map-pin { left: auto; right: 35px; top: 36px; background: #b14f40; }
.intro-flow .phone .icon-block { color: #b14f40; background: #f7ece8; }
.intro-flow .phone .clinic-top small { color: #53685e; }
.intro-flow .phone .clinic-actions span { color: #315d70; background: #e8eff3; }
.intro-flow .phone .clinic-actions span:last-child { color: #fff; background: #315d70; }
.intro-flow .phone .map-tag { left: 14px; top: 16px; color: #223b45; }
.intro-flow .phone .gps-time { color: #53685e; border-color: #dfe7e3; }
.intro-flow .phone .gps-point {
  left: 58.7%; top: 46.2%; transform: translate(-50%, -50%);
  background: #315d70; box-shadow: 0 5px 12px #315d7020;
}
.intro-flow .phone .area-label { left: 50%; top: 60%; transform: translateX(-50%); color: #315d70; }
.intro-flow .phone .gps-bottom { left: 14px; right: 14px; bottom: 12px; border-color: #dfe7e3; box-shadow: none; }
.intro-flow .phone .gps-bottom span { color: #53685e; }
.intro-flow .phone .gps-bottom svg { color: #315d70; }
.intro-flow .phone .steps { inset: 21px 18px; }
.intro-flow .phone .steps::before { background: #c7d8de; }
.intro-flow .phone .step-number { color: #315d70; background: #fff; border-color: #c7d8de; }
.intro-flow .phone .step:first-child .step-number { background: #315d70; border-color: #315d70; color: #fff; }
.intro-flow .phone .step-text { min-width: 0; }
.intro-flow .phone .step-text small { color: #53685e; }
.intro-flow .phone .step > svg { color: #6e919f; }
.intro-flow .phone .venue-label { left: 12px; right: 12px; bottom: 12px; gap: 8px; padding: 12px; }
.intro-flow .phone .venue-label > .check-round { flex-shrink: 0; }
.intro-flow .phone .venue-label small,
.intro-flow .phone .venue-label > svg { color: #53685e; }
.intro-flow .phone .store-hero { min-height: 242px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 16px; gap: 12px; }
.intro-flow .phone .product span { color: #53685e; }
.intro-flow .phone .reason { padding: 12px; background: #fff; border-color: #dfe7e3; box-shadow: none; min-width: 0; }
.intro-flow .phone .reason svg,
.intro-flow .phone .reason p b { color: #315d70; }
.intro-flow .phone .reason h3 { font-family: Manrope, Inter, sans-serif; margin: 8px 0; }
.intro-flow .phone .reason p,
.intro-flow .phone .reason small { color: #53685e; }
.intro-flow .phone .reason-rule { background: #dfe7e3; margin-top: 10px; }
.intro-flow .phone.health .hero { min-height: 228px; }
.intro-flow .phone .health-sheet { inset: 14px; border-color: #dfe7e3; box-shadow: 0 4px 14px #24463806; }
.intro-flow .phone .sheet-heading { color: #315d70; border-color: #e8eff3; padding: 12px 14px 10px; }
.intro-flow .phone .health-row { border-color: #e8eff3; height: 39px; padding: 8px 0; }
.intro-flow .phone .health-row > svg { color: #315d70; }
.intro-flow .phone .health-row small { color: #53685e; }
.intro-flow .phone .report-strip { color: #315d70; background: #e8eff3; min-height: 35px; }
.intro-flow .phone .reminder-hero { padding: 18px; }
.intro-flow .phone .week { gap: 4px; margin-bottom: 12px; }
.intro-flow .phone .day { flex: 1; min-width: 0; height: 39px; color: #53685e; }
.intro-flow .phone .day::after { background: #b1c6cf; }
.intro-flow .phone .day.active { color: #fff; background: #315d70; }
.intro-flow .phone .day.active::after { background: #d7e5eb; }
.intro-flow .phone .reminder-card { padding: 14px; border-color: #c7d8de; box-shadow: inset 3px 0 0 #315d70; }
.intro-flow .phone .reminder-title > svg { color: #315d70; }
.intro-flow .phone .reminder-title small { color: #53685e; }
.intro-flow .phone .reminder-actions span { color: #315d70; background: #e8eff3; }
.intro-flow .phone .reminder-actions span:first-child { color: #fff; background: #315d70; }
.intro-flow .phone .walk-panel { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr 1.25fr; }
.intro-flow .phone .walk-panel > div { min-width: 0; padding: 10px; gap: 6px; }
.intro-flow .phone .walk-panel > div:first-child { border-color: #dfe7e3; }
.intro-flow .phone .walk-panel svg { color: #315d70; }
.intro-flow .phone .walk-panel small { color: #53685e; }
@media (max-width: 350px) {
  .intro-flow .phone .steps { inset: 18px 14px; }
  .intro-flow .phone .step { gap: 9px; }
  .intro-flow .phone .clinic-card { padding: 12px; }
  .intro-flow .phone .clinic-top { gap: 9px; }
  .intro-flow .phone .clinic-top strong { font-size: 13px; }
  .intro-flow .phone .store-hero { padding: 12px; gap: 9px; }
  .intro-flow .phone .reminder-hero { padding: 14px; }
  .intro-flow .phone .reminder-card { padding: 12px; }
  .intro-flow .phone .reminder-title strong { font-size: 12px; }
}

/* A plain location dot; the veterinary marker now belongs to its title row. */
.intro-flow .phone .gps-point{width:18px;height:18px}
.intro-flow .phone .clinic-marker{position:static;left:auto;right:auto;top:auto;width:39px;height:39px;flex:none;border-radius:12px;transform:none;box-shadow:none}
.intro-flow .phone .clinic-marker svg{transform:none}

.intro-flow .statusbar,.intro-flow .home-indicator{display:none}
.intro-flow .phone{padding-top:env(safe-area-inset-top,0px)}
@media(min-width:700px){.intro-flow{background:#edf2ef}.intro-flow>main{max-width:540px;margin:auto}.intro-flow .phone{max-width:540px;margin:auto}}
