.vet-demo { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 28px; overflow: hidden; color: #182f2c; background: #f2f5f2; }
.vet-demo-frame { position: relative; width: min(1384px, 100%); min-height: min(844px, calc(100vh - 56px)); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 15px; border: 1px solid #e5ece8; border-radius: 28px; background: #fff; box-shadow: 0 18px 48px #173c3312; }
.vet-demo-frame--compact { grid-template-columns: 72px minmax(0, 1fr); }
.vet-demo-sidebar { min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 13px 11px; border-radius: 22px; background: #f6f8f7; }
.vet-demo-logo { display: flex; align-items: center; gap: 10px; padding: 4px 7px 12px; color: #152e2a; text-decoration: none; }
.vet-demo-logo > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 11px; color: white; background: var(--color-teal); font: 800 21px/1 var(--font-display); }
.vet-demo-logo strong, .vet-demo-logo small, .vet-demo-profile strong, .vet-demo-profile small { display: block; }
.vet-demo-logo strong { font: 800 16px/1.1 var(--font-display); }
.vet-demo-logo small { margin-top: 4px; color: var(--color-teal); font-size: 9px; font-weight: 800; }
.vet-demo-icon { display: inline-grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; line-height: 0; }
.vet-demo-icon img { display: block; object-fit: contain; }
.vet-demo-sidebar-toggle { width: 31px; height: 31px; display: grid; place-items: center; align-self: flex-end; border-radius: 9px; background: #e9f1ed; }
.vet-demo-sidebar-toggle .vet-demo-icon { width: 18px; height: 18px; }
.vet-demo-nav-item { min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 8px 11px; border-radius: 12px; color: #45615b; font-size: 13px; font-weight: 700; text-decoration: none; }
.vet-demo-nav-item .vet-demo-icon { width: 20px; height: 20px; }
.vet-demo-nav-item--active { color: white; background: var(--color-teal); box-shadow: 0 5px 12px #147d7222; }
.vet-demo-profile { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 6px 2px 2px; }
.vet-demo-profile strong { color: #273b37; font-size: 10px; }
.vet-demo-profile small { margin-top: 3px; color: #73857f; font-size: 9px; }
.vet-demo-avatar { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--color-teal); background: #d3ede3; font-size: 14px; font-weight: 800; }
.vet-demo-avatar--small { width: 38px; height: 38px; font-size: 11px; }
.vet-demo-avatar--large { width: 48px; height: 48px; font-size: 20px; }
.vet-demo-sidebar--compact { align-items: center; padding-inline: 6px; }
.vet-demo-sidebar--compact .vet-demo-logo { padding-inline: 0; }
.vet-demo-sidebar--compact .vet-demo-sidebar-toggle { align-self: center; }
.vet-demo-sidebar--compact .vet-demo-nav-item { width: 42px; justify-content: center; padding: 8px; }
.vet-demo-sidebar--compact .vet-demo-nav-item > span:not(.vet-demo-icon) { display: none; }
.vet-demo-sidebar--compact .vet-demo-profile { justify-content: center; }
.vet-demo-content { min-width: 0; display: flex; justify-content: center; padding: 16px 21px 38px; }
.vet-demo-page { width: min(1017px, 100%); }
.vet-demo-page--summary { width: min(1187px, 100%); }
.vet-demo-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 21px; }
.vet-demo-page-header h1 { margin: 0 0 3px; color: #1d3732; font: 800 27px/1.05 var(--font-display); }
.vet-demo-page-header p { margin: 0; color: #61766f; font-size: 13px; }
.vet-demo-sample-pill, .vet-demo-example { padding: 5px 9px; border-radius: 999px; color: #4f6961; background: #eef3f0; font-size: 10px; font-weight: 700; }
.vet-demo-search { height: 44px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 0 13px; border: 1px solid #e3ebe7; border-radius: 12px; color: #82928c; background: #fff; font-size: 12px; }
.vet-demo-search .vet-demo-icon { width: 18px; height: 18px; }
.vet-demo-table { overflow: visible; border: 1px solid #e4ebe7; border-radius: 15px; background: #fff; box-shadow: 0 8px 23px #183a3508; }
.vet-demo-table-head, .vet-demo-patient { display: grid; grid-template-columns: minmax(245px, 1.5fr) minmax(150px, 1fr) minmax(130px, .9fr) minmax(130px, .7fr); align-items: center; column-gap: 12px; padding-inline: 19px; }
.vet-demo-table-head { min-height: 45px; border-bottom: 1px solid #edf1ef; border-radius: 15px 15px 0 0; color: #596e67; background: #f7f9f8; font-size: 10px; font-weight: 800; }
.vet-demo-patient { position: relative; width: 100%; min-height: 74px; border: 0; border-bottom: 1px solid #edf1ef; color: inherit; background: white; font: inherit; text-align: left; }
.vet-demo-patient:last-child { border-bottom: 0; border-radius: 0 0 15px 15px; }
button.vet-demo-patient { cursor: pointer; }
button.vet-demo-patient:hover { background: #fbfdfc; }
.vet-demo-patient--static { display: grid; }
.vet-demo-pet { min-width: 0; display: flex; align-items: center; gap: 11px; }
.vet-demo-pet > span:last-child, .vet-demo-status { display: grid; gap: 4px; }
.vet-demo-pet strong { color: #203b35; font-size: 13px; }
.vet-demo-pet small { color: #637870; font-size: 11px; }
.vet-demo-family, .vet-demo-activity { color: #405a53; font-size: 12px; }
.vet-demo-status { width: fit-content; min-height: 21px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.vet-demo-status--active { color: #206a53; background: #dcf5e6; }
.vet-demo-status--pending { color: #8c5c18; background: #fff0d7; }
.vet-demo-status--review { color: #7c5522; background: #fff0d7; }
.vet-demo-status .vet-demo-icon { width: 14px; height: 14px; }
.vet-demo-privacy { display: flex; align-items: center; gap: 9px; margin: 19px 0 0; color: #596f68; font-size: 11px; }
.vet-demo-privacy .vet-demo-icon { width: 19px; height: 19px; }
.vet-demo-breadcrumb { margin: 0 0 10px; color: #71847e; font-size: 11px; }
.vet-demo-breadcrumb span { padding-inline: 6px; color: #9aa9a4; }
.vet-demo-pet-header { min-height: 54px; display: flex; align-items: center; gap: 13px; }
.vet-demo-pet-header h1 { margin: 0 0 3px; color: #1e3732; font: 800 25px/1 var(--font-display); }
.vet-demo-pet-header p { margin: 0; color: #61766f; font-size: 12px; }
.vet-demo-link-status { margin-left: auto; padding: 6px 10px; border-radius: 99px; color: #216b54; background: #def4e6; font-size: 10px; font-weight: 700; }
.vet-demo-tabs { display: flex; gap: 27px; margin-top: 17px; border-bottom: 1px solid #e6ece9; color: #5d716b; }
.vet-demo-tabs span { position: relative; padding: 0 0 10px; font-size: 12px; font-weight: 600; }
.vet-demo-tabs .is-selected { color: var(--color-teal); font-weight: 800; }
.vet-demo-tabs .is-selected::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px; background: var(--color-teal); content: ""; }
.vet-demo-summary-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 15px; padding-top: 20px; }
.vet-demo-card { position: relative; min-width: 0; padding: 21px; border: 1px solid #e4ebe7; border-radius: 18px; background: white; box-shadow: 0 7px 20px #183a3508; }
.vet-demo-card h2 { margin: 0 0 17px; color: #213a35; font-size: 14px; font-weight: 800; }
.vet-demo-example { display: inline-block; margin: -7px 0 15px; padding: 4px 8px; font-size: 9px; }
.vet-demo-card dl, .vet-demo-dialog dl { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; margin: 0; }
.vet-demo-card dl div, .vet-demo-dialog dl div { display: grid; gap: 4px; }
.vet-demo-card dt, .vet-demo-dialog dt { color: #697c75; font-size: 10px; }
.vet-demo-card dd, .vet-demo-dialog dd { margin: 0; color: #263d37; font-size: 12px; font-weight: 600; }
.vet-demo-care-row { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 12px; background: #eaf6f0; }
.vet-demo-care-row .vet-demo-icon { width: 22px; height: 22px; }
.vet-demo-care-row small, .vet-demo-care-row strong { display: block; }
.vet-demo-care-row small { margin-bottom: 3px; color: #68847a; font-size: 10px; }
.vet-demo-care-row strong { color: #29473f; font-size: 11px; }
.vet-demo-care > p, .vet-demo-control > p, .vet-demo-request > p { margin: 12px 0 0; color: #60766e; font-size: 11px; line-height: 1.5; }
.vet-demo-control, .vet-demo-request { min-height: 181px; }
.vet-demo-control > .vet-demo-status, .vet-demo-request > .vet-demo-status { display: flex; width: fit-content; }
.vet-demo-button { position: relative; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--color-teal); border-radius: 11px; color: #fff; background: var(--color-teal); font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.vet-demo-button:hover { background: #0c6e63; }
.vet-demo-button--outline { color: var(--color-teal); background: white; }
.vet-demo-button--outline:hover { color: white; }
.vet-demo-control .vet-demo-button, .vet-demo-request .vet-demo-button { margin-top: 14px; }
.vet-demo-target { position: relative; z-index: 102; border-color: #7960ff !important; box-shadow: 0 0 0 2px #7960ff, 0 0 0 9999px #14221f52, 0 7px 22px #13241f16 !important; }
.vet-demo-patient.vet-demo-target { border-radius: 12px; }
.vet-demo-hotspot { position: absolute; top: 50%; right: -23px; display: grid; width: 56px; height: 56px; place-items: center; transform: translateY(-50%); pointer-events: none; }
.vet-demo-hotspot img { display: block; object-fit: contain; }
.vet-demo-shade { position: fixed; z-index: 100; inset: 0; background: #1c252c62; }
.vet-demo-dialog { position: fixed; z-index: 102; top: 50%; left: 50%; width: min(480px, calc(100vw - 36px)); padding: 27px 31px; border-radius: 18px; color: #243e38; background: #fff; box-shadow: 0 22px 60px #11241f30; transform: translate(-50%, -50%); }
.vet-demo-intro { width: min(480px, calc(100vw - 36px)); }
.vet-demo-chip { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 99px; color: #624dc4; background: #f0eaff; font-size: 10px; font-weight: 800; }
.vet-demo-dialog h2 { margin: 0 0 12px; color: #193b34; font: 800 23px/1.12 var(--font-display); letter-spacing: -.02em; }
.vet-demo-dialog > p { margin: 0 0 16px; color: #547068; font-size: 13px; line-height: 1.5; }
.vet-demo-dialog small { display: block; margin-top: 15px; color: #75877f; font-size: 10px; }
.vet-demo-dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.vet-demo-dialog-actions .vet-demo-button { min-height: 44px; }
.vet-demo-tour-tip { position: fixed; z-index: 103; width: min(300px, calc(100vw - 30px)); padding: 14px 16px; border-radius: 13px; color: #24423a; background: #fff; box-shadow: 0 12px 30px #101f1b38; }
.vet-demo-tour-pointer { position: absolute; top: -10px; left: 22px; width: 66px; height: 10px; display: grid; place-items: center; line-height: 0; }
.vet-demo-tour-pointer .vet-demo-icon { width: 66px; height: 10px; }
.vet-demo-tour-tip--step-1 { top: 41%; left: min(71%, calc(100vw - 315px)); }
.vet-demo-tour-tip--step-2 { top: 80%; left: max(20%, 18px); }
.vet-demo-tour-tip--step-3 { top: 77%; left: max(20%, 18px); }
.vet-demo-tour-tip--step-4 { top: 72%; left: 43%; }
.vet-demo-tour-count { display: inline-block; margin-bottom: 7px; padding: 4px 8px; border-radius: 99px; color: #604cc4; background: #f0eaff; font-size: 9px; font-weight: 800; }
.vet-demo-tour-tip h2 { margin: 0 0 5px; color: #1d3e36; font: 800 15px/1.2 var(--font-display); }
.vet-demo-tour-tip p { margin: 0 0 8px; color: #526d64; font-size: 11px; line-height: 1.45; }
.vet-demo-tour-tip button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; color: var(--color-teal); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.vet-demo-turn-modal { width: min(520px, calc(100vw - 36px)); }
.vet-demo-turn-modal > h2 { margin-bottom: 22px; }
.vet-demo-turn-modal dl { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
.vet-demo-turn-modal dl div { grid-template-columns: 140px 1fr; align-items: center; }
.vet-demo-turn-modal dt { font-size: 11px; }
.vet-demo-turn-modal dd { font-size: 11px; }
.vet-demo-turn-modal .vet-demo-status { display: inline-flex; width: fit-content; }
.vet-demo-success-mark { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; background: #e1f5e9; }
.vet-demo-success-mark .vet-demo-icon { width: 21px; height: 21px; }
.vet-demo-outcome { width: min(480px, calc(100vw - 36px)); }
.vet-demo-outcome h2 { margin-bottom: 9px; }
.vet-demo-timeline { display: grid; gap: 12px; margin: 17px 0; padding: 0; list-style: none; }
.vet-demo-timeline li { display: grid; grid-template-columns: 16px 1fr; align-items: start; gap: 8px; }
.vet-demo-timeline li > span { width: 14px; height: 14px; margin-top: 2px; border-radius: 50%; background: var(--color-teal); box-shadow: inset 0 0 0 4px #e4f6ec; }
.vet-demo-timeline strong, .vet-demo-timeline small { display: block; }
.vet-demo-timeline strong { color: #29483f; font-size: 11px; }
.vet-demo-timeline small { margin-top: 2px; color: #687d75; font-size: 10px; }
.vet-demo-note { margin: 0 0 13px !important; padding: 10px 12px; border: 1px solid #e0eee7; border-radius: 9px; background: #f4faf6; font-size: 10px !important; }
.vet-demo-finish { width: min(520px, calc(100vw - 36px)); }
.vet-demo-finish .vet-demo-chip { color: #18705e; background: #e3f4eb; }
.vet-demo-finish .vet-demo-dialog-actions .vet-demo-button { font-size: 11px; }
.vet-demo-disclaimer { position: absolute; right: 20px; bottom: 9px; left: 20px; color: #74877f; font-size: 9px; text-align: center; }
.vet-demo-close { position: fixed; z-index: 104; top: 42px; right: max(40px, calc((100vw - 1384px) / 2 + 36px)); min-height: 38px; display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid #dfe9e4; border-radius: 999px; color: #344c45; background: #fff; box-shadow: 0 5px 12px #15292312; font-size: 11px; font-weight: 700; text-decoration: none; }
.vet-demo-close:hover { color: var(--color-teal); }
.vet-demo-close .vet-demo-icon, .vet-demo-dialog-actions .vet-demo-button--outline .vet-demo-icon { width: 14px; height: 14px; }
.not-found { max-width: 600px; margin: 10vh auto; padding: 24px; }

@media (max-width: 780px) {
  .vet-demo { min-height: 100dvh; display: block; padding: 8px; overflow: auto; }
  .vet-demo-frame, .vet-demo-frame--compact { width: 100%; min-height: calc(100dvh - 16px); grid-template-columns: 1fr; gap: 6px; padding: 8px; border-radius: 19px; }
  .vet-demo-sidebar, .vet-demo-sidebar--compact { min-height: 53px; flex-direction: row; align-items: center; gap: 7px; padding: 4px 7px; border-radius: 14px; }
  .vet-demo-logo { gap: 7px; padding: 0 2px; }
  .vet-demo-logo > span:first-child { width: 34px; height: 34px; flex-basis: 34px; font-size: 18px; }
  .vet-demo-logo strong { font-size: 13px; }
  .vet-demo-logo small, .vet-demo-sidebar-toggle, .vet-demo-profile { display: none; }
  .vet-demo-nav-item, .vet-demo-sidebar--compact .vet-demo-nav-item { min-height: 36px; width: auto; gap: 7px; padding: 7px 9px; font-size: 10px; }
  .vet-demo-nav-item .vet-demo-icon { width: 17px; height: 17px; }
  .vet-demo-sidebar--compact .vet-demo-nav-item > span:not(.vet-demo-icon) { display: block; }
  .vet-demo-content { padding: 16px 7px 38px; }
  .vet-demo-page-header { align-items: flex-start; flex-direction: column; }
  .vet-demo-page-header h1 { font-size: 24px; }
  .vet-demo-page-header p { font-size: 12px; }
  .vet-demo-sample-pill { display: none; }
  .vet-demo-table-head, .vet-demo-patient { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 10px; }
  .vet-demo-table-head span:nth-child(2), .vet-demo-table-head span:nth-child(4), .vet-demo-family, .vet-demo-activity { display: none; }
  .vet-demo-table-head { min-height: 39px; font-size: 9px; }
  .vet-demo-patient { min-height: 69px; }
  .vet-demo-patient > span:nth-child(3) { justify-self: end; }
  .vet-demo-pet { gap: 8px; }
  .vet-demo-avatar { width: 34px; height: 34px; }
  .vet-demo-pet strong { font-size: 12px; }
  .vet-demo-pet small { max-width: 175px; font-size: 10px; }
  .vet-demo-privacy { align-items: flex-start; font-size: 10px; line-height: 1.45; }
  .vet-demo-pet-header { gap: 9px; }
  .vet-demo-avatar--large { width: 42px; height: 42px; }
  .vet-demo-pet-header h1 { font-size: 22px; }
  .vet-demo-pet-header p { font-size: 10px; }
  .vet-demo-link-status { padding: 5px 7px; font-size: 9px; }
  .vet-demo-tabs { gap: 18px; margin-top: 14px; }
  .vet-demo-tabs span { font-size: 10px; }
  .vet-demo-summary-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 13px; }
  .vet-demo-card { padding: 16px; border-radius: 15px; }
  .vet-demo-control, .vet-demo-request { min-height: 0; }
  .vet-demo-card dl { gap: 12px; }
  .vet-demo-dialog { padding: 23px 20px; border-radius: 17px; }
  .vet-demo-dialog h2 { font-size: 21px; }
  .vet-demo-dialog > p { font-size: 12px; }
  .vet-demo-dialog-actions { align-items: stretch; }
  .vet-demo-dialog-actions .vet-demo-button { flex: 1 1 auto; }
  .vet-demo-tour-tip--step-1, .vet-demo-tour-tip--step-2, .vet-demo-tour-tip--step-3, .vet-demo-tour-tip--step-4 { top: auto; right: 14px; bottom: 20px; left: 14px; width: auto; max-width: 420px; margin-inline: auto; }
  .vet-demo-tour-tip { padding: 13px 15px; }
  .vet-demo-turn-modal dl { grid-template-columns: 1fr; gap: 14px; }
  .vet-demo-turn-modal dl div { grid-template-columns: 115px 1fr; }
  .vet-demo-close { top: 18px; right: 18px; min-height: 34px; padding: 7px 10px; font-size: 10px; }
  .vet-demo-disclaimer { position: fixed; right: 18px; bottom: 6px; left: 18px; z-index: 2; color: #60756e; font-size: 8px; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vet-demo *, .vet-demo *::before, .vet-demo *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
