:root {
  --vp-ink: #13242b;
  --vp-slate: #29424a;
  --vp-teal: #12756d;
  --vp-teal-deep: #0d5752;
  --vp-mint: #def4ee;
  --vp-sea: #edf8f5;
  --vp-coral: #f18b69;
  --vp-coral-soft: #ffe7de;
  --vp-gold: #f1c97d;
  --vp-sand: #f6efe7;
  --vp-line: rgba(19, 36, 43, 0.1);
  --vp-panel: rgba(255, 255, 255, 0.92);
  --vp-shadow: 0 24px 70px rgba(19, 36, 43, 0.1);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--vp-ink);
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(18, 117, 109, 0.1), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(241, 139, 105, 0.12), transparent 22%),
    linear-gradient(180deg, #fdfefe 0%, #f4f8f8 100%);
}

body.marketing-page {
  background:
    radial-gradient(circle at 8% 4%, rgba(88, 186, 173, 0.26), transparent 18%),
    radial-gradient(circle at 92% 10%, rgba(242, 180, 139, 0.28), transparent 20%),
    linear-gradient(180deg, #f4fbfa 0%, #fbf6f0 42%, #f5fafb 100%);
}

body.auth-page {
  background:
    radial-gradient(circle at top right, rgba(18, 117, 109, 0.12), transparent 24%),
    radial-gradient(circle at left 85%, rgba(241, 139, 105, 0.16), transparent 22%),
    linear-gradient(180deg, #f6fbfa 0%, #eef4f5 100%);
}

body.workspace-page {
  background:
    radial-gradient(circle at top left, rgba(18, 117, 109, 0.08), transparent 18%),
    radial-gradient(circle at top right, rgba(241, 139, 105, 0.1), transparent 18%),
    linear-gradient(180deg, #f7fafb 0%, #edf2f3 100%);
}

h1,
h2,
h3,
h4 {
  font-family: "Aptos Display", "Candara", "Trebuchet MS", sans-serif;
  letter-spacing: -0.03em;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  padding-top: 1rem;
  padding-inline: 0.75rem;
}

.app-nav {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(19, 36, 43, 0.06);
  backdrop-filter: blur(16px);
  padding: 0.45rem 0.6rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--vp-ink);
}

.brand-mark:hover {
  color: var(--vp-ink);
}

.brand-mark-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vp-teal) 0%, var(--vp-coral) 100%);
  box-shadow: 0 0 0 6px rgba(18, 117, 109, 0.08);
}

.brand-mark-text {
  font-size: 1.05rem;
  text-transform: lowercase;
}

.brand-mark-logo {
  width: 2rem;
  height: 2.3rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.navbar-nav.nav-links {
  gap: 0.4rem;
}

.nav-link {
  border-radius: 999px;
  color: #486068;
  font-weight: 600;
  padding: 0.65rem 1rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.08);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-user {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: right;
  padding: 0.65rem 0.9rem;
  border-radius: 18px;
  background: rgba(18, 117, 109, 0.08);
}

.nav-user-name {
  font-weight: 800;
}

.nav-user-role {
  color: #678088;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-brand,
.btn-outline-brand,
.btn-link-brand {
  border-radius: 999px;
  font-weight: 700;
  padding-inline: 1.2rem;
}

.btn-brand {
  background: linear-gradient(135deg, var(--vp-teal) 0%, var(--vp-teal-deep) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 18px 35px rgba(18, 117, 109, 0.24);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, #15857b 0%, #0b4742 100%);
}

.btn-outline-brand {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 117, 109, 0.22);
  color: var(--vp-teal-deep);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.08);
  border-color: rgba(18, 117, 109, 0.34);
}

.btn-link-brand {
  background: transparent;
  border: none;
  color: var(--vp-teal-deep);
  text-decoration: none;
}

.btn-link-brand:hover,
.btn-link-brand:focus {
  color: var(--vp-teal);
}

.btn-status-warn,
.btn-status-danger,
.btn-status-ghost {
  border-radius: 999px;
  font-weight: 700;
}

.btn-status-warn {
  background: rgba(240, 183, 104, 0.18);
  border: 1px solid rgba(240, 183, 104, 0.38);
  color: #8c5a06;
}

.btn-status-danger {
  background: rgba(226, 104, 76, 0.14);
  border: 1px solid rgba(226, 104, 76, 0.32);
  color: #9f3b23;
}

.btn-status-ghost {
  background: rgba(78, 102, 115, 0.1);
  border: 1px solid rgba(78, 102, 115, 0.18);
  color: #3f5a64;
}

.page-shell {
  padding-top: 1.2rem;
  padding-bottom: 3rem;
}

.marketing-page .page-shell {
  padding-top: 0.75rem;
}

.marketing-page .app-nav {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 73, 80, 0.06);
  box-shadow: 0 20px 42px rgba(49, 78, 86, 0.08);
}

.marketing-page .brand-mark,
.marketing-page .nav-link,
.marketing-page .btn-link-brand,
.marketing-page .footer-brand strong,
.marketing-page .footer-link {
  color: #123038;
}

.marketing-page .nav-link:hover,
.marketing-page .nav-link:focus {
  color: #0d5752;
  background: rgba(18, 117, 109, 0.08);
}

.marketing-page .brand-mark-dot {
  box-shadow: 0 0 0 6px rgba(18, 117, 109, 0.08);
}

.marketing-page .footer-shell,
.marketing-page .footer-brand span {
  color: #60757d;
}

.site-footer {
  padding-bottom: 2rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #60757d;
  font-size: 0.95rem;
}

.footer-brand strong {
  display: block;
  color: var(--vp-ink);
}

.footer-brand-logo {
  width: 2.5rem;
  height: 2.9rem;
  object-fit: contain;
  float: left;
  margin-right: 0.75rem;
}

.footer-link {
  color: var(--vp-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.eyebrow-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--vp-teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marketing-hero,
.auth-layout,
.workspace-hero,
.workspace-grid,
.feature-grid,
.audience-grid,
.signal-strip,
.hero-stat-row,
.showcase-grid,
.preview-grid,
.workspace-metric-row,
.entity-grid,
.focus-mini-grid {
  display: grid;
  gap: 1rem;
}

.marketing-hero {
  grid-template-columns: 1.04fr 0.96fr;
  align-items: stretch;
}

.marketing-copy,
.marketing-preview,
.feature-card,
.audience-card,
.signal-item,
.architecture-shell,
.auth-showcase,
.auth-panel,
.workspace-copy,
.workspace-focus,
.workspace-section,
.sidebar-card {
  border: 1px solid rgba(19, 36, 43, 0.06);
  border-radius: 32px;
  box-shadow: var(--vp-shadow);
}

.marketing-copy {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 249, 245, 0.95) 62%, rgba(255, 244, 239, 0.94) 100%);
}

.marketing-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.94;
  max-width: 11ch;
  margin: 0.9rem 0 1rem;
}

.marketing-copy p {
  color: #51676e;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.micro-card {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.micro-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.micro-card span {
  display: block;
  color: #5c7178;
  font-size: 0.94rem;
  margin-top: 0.35rem;
}

.marketing-preview {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background: linear-gradient(180deg, #15383d 0%, #11272c 100%);
  color: #ecf9f6;
}

.marketing-preview::before,
.auth-showcase::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(18, 117, 109, 0.18);
  filter: blur(8px);
}

.marketing-preview::after,
.auth-showcase::after {
  content: "";
  position: absolute;
  inset: 24px -52px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(241, 139, 105, 0.15);
  filter: blur(4px);
}

.preview-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.15rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d3f0ea;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-header strong {
  font-size: 1rem;
}

.preview-grid {
  grid-template-columns: 1.15fr 0.95fr;
}

.preview-summary,
.preview-list,
.preview-side {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
}

.preview-summary span,
.preview-side span,
.preview-list-item span {
  color: #afddd5;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-summary strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1.1;
  margin: 0.45rem 0 0.65rem;
}

.preview-summary p,
.preview-side p,
.preview-list-item p {
  color: rgba(236, 249, 246, 0.74);
  margin: 0;
}

.preview-list {
  display: grid;
  gap: 0.75rem;
}

.preview-list-item {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.preview-list-item strong {
  display: block;
  margin: 0.35rem 0 0.25rem;
  font-size: 1.05rem;
}

.preview-side {
  grid-column: 1 / -1;
}

.preview-events {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.preview-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(236, 249, 246, 0.88);
}

.preview-event small {
  color: #9ecdc5;
  font-weight: 700;
}

.signal-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0 2rem;
}

.signal-item {
  padding: 1.35rem 1.45rem;
  background: var(--vp-panel);
}

.signal-item strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
}

.signal-item p {
  margin: 0;
  color: #61767d;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0.35rem 0 0;
}

.section-heading p,
.section-note {
  color: #627780;
  max-width: 44ch;
  margin: 0;
}

.feature-stage,
.audience-stage {
  margin-bottom: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.9);
}

.feature-key {
  color: var(--vp-teal-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin: 0.7rem 0 0.45rem;
}

.feature-card p {
  color: #61767d;
  line-height: 1.65;
  margin-bottom: 0;
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  padding: 1.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 249, 248, 0.94) 100%);
}

.audience-card h3 {
  font-size: 1.55rem;
  margin: 0.45rem 0 0.8rem;
}

.audience-card p {
  color: #61767d;
  line-height: 1.7;
}

.bullet-list {
  color: #5e737b;
  margin: 0;
  padding-left: 1.15rem;
}

.bullet-list li + li {
  margin-top: 0.45rem;
}

.architecture-shell {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.layer-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.layer-chip {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 117, 109, 0.12);
  background: linear-gradient(135deg, rgba(18, 117, 109, 0.1) 0%, rgba(241, 139, 105, 0.14) 100%);
  color: var(--vp-slate);
  font-weight: 800;
}

.architecture-note {
  margin: 0;
  color: #627780;
  line-height: 1.65;
}

.auth-layout {
  grid-template-columns: 1.02fr 0.88fr;
  align-items: stretch;
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  padding: 2.6rem;
  background: linear-gradient(180deg, #17363b 0%, #10272c 100%);
  color: #ecf9f6;
}

.auth-showcase h1 {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  line-height: 0.96;
  max-width: 11ch;
  margin: 0.95rem 0 1rem;
}

.auth-showcase > p {
  color: rgba(236, 249, 246, 0.76);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.showcase-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.showcase-card {
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.showcase-card.wide {
  grid-column: 1 / -1;
}

.showcase-card span {
  color: #add6cf;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-card strong {
  display: block;
  margin: 0.4rem 0 0.35rem;
  font-size: 1.15rem;
}

.showcase-card p {
  margin: 0;
  color: rgba(236, 249, 246, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-panel {
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.96);
}

.auth-panel-header h2 {
  font-size: 2.2rem;
  margin: 0.35rem 0 0.55rem;
}

.auth-panel-header p {
  color: #657981;
  line-height: 1.65;
  margin-bottom: 0;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-block {
  display: grid;
  gap: 0.45rem;
}

.form-block span:first-child {
  color: var(--vp-ink);
  font-weight: 700;
}

.form-control {
  min-height: 3.4rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 36, 43, 0.12);
  background: #fbfdfd;
  padding: 0.85rem 1rem;
}

.form-control:focus {
  background: #fff;
  border-color: rgba(18, 117, 109, 0.38);
  box-shadow: 0 0 0 0.2rem rgba(18, 117, 109, 0.12);
}

.searchable-select-native {
  display: none !important;
}

.searchable-select {
  position: relative;
  min-width: 0;
}

.searchable-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid #60757c;
  border-bottom: 2px solid #60757c;
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.searchable-select.is-open::after {
  transform: translateY(-30%) rotate(225deg);
}

.searchable-select-input {
  width: 100%;
  min-height: 3.4rem;
  border: 1px solid rgba(19, 36, 43, 0.12);
  border-radius: 18px;
  background: #fbfdfd;
  padding: 0.85rem 2.65rem 0.85rem 1rem;
  color: var(--vp-ink);
  font: inherit;
}

.searchable-select--lg .searchable-select-input {
  min-height: 3.65rem;
  font-size: 1.05rem;
}

.searchable-select-input:focus {
  outline: 0;
  background: #fff;
  border-color: rgba(18, 117, 109, 0.38);
  box-shadow: 0 0 0 0.2rem rgba(18, 117, 109, 0.12);
}

.form-floating > .searchable-select {
  min-height: 3.4rem;
}

.form-floating > .searchable-select .searchable-select-input {
  min-height: 3.4rem;
  padding-top: 1.55rem;
  padding-bottom: 0.45rem;
}

.form-floating > .searchable-select + label {
  width: auto;
  height: auto;
  max-width: calc(100% - 3.2rem);
  padding: 0.62rem 0.75rem 0;
  color: #60757c;
  opacity: 0.82;
  pointer-events: none;
  transform: scale(0.85) translateY(-0.36rem) translateX(0.15rem);
  transform-origin: 0 0;
}

.searchable-select-list,
.searchable-select-empty {
  position: absolute;
  z-index: 1250;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  border: 1px solid rgba(19, 36, 43, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(19, 36, 43, 0.14);
}

.searchable-select-list {
  display: grid;
  max-height: 260px;
  overflow: auto;
  padding: 0.35rem;
}

.searchable-select-option {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 0.62rem 0.75rem;
  color: var(--vp-ink);
  font: inherit;
  text-align: left;
}

.searchable-select-option:hover,
.searchable-select-option:focus,
.searchable-select-option[aria-selected="true"] {
  outline: 0;
  color: var(--vp-teal-deep);
  background: #e8f4f1;
}

.searchable-select-empty {
  padding: 0.75rem;
  color: #60757c;
  font-weight: 700;
}

.searchable-select.is-disabled {
  opacity: 0.68;
}

.auth-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.auth-secondary a {
  color: var(--vp-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.validation-summary-errors ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.text-danger.small {
  display: block;
  margin-top: 0.2rem;
}

.field-validation-error,
.app-field-error {
  display: block;
  margin-top: 0.35rem;
  color: #a23f2c;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.form-control.input-validation-error,
.form-select.input-validation-error,
.has-validation-error .searchable-select-input {
  border-color: rgba(184, 71, 47, 0.75);
  background: #fff8f3;
  box-shadow: 0 0 0 3px rgba(184, 71, 47, 0.12);
}

.form-block.has-validation-error > span:first-child,
.form-check.has-validation-error .form-check-label {
  color: #9d3826;
}

.workspace-shell {
  display: grid;
  gap: 1rem;
}

.workspace-header {
  padding-top: 0.8rem;
}

.workspace-nav {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(19, 36, 43, 0.08);
  backdrop-filter: blur(18px);
}

.workspace-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0.9rem;
}

.workspace-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.workspace-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: #4f666f;
  font-weight: 700;
  text-decoration: none;
}

.workspace-nav-link.is-active {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.1);
}

.workspace-nav-link:hover,
.workspace-nav-link:focus {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.08);
}

.workspace-nav-menu {
  position: relative;
}

.workspace-nav-summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.workspace-nav-summary::-webkit-details-marker {
  display: none;
}

.workspace-nav-summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.workspace-nav-menu[open] .workspace-nav-summary {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.1);
}

.workspace-nav-menu-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  min-width: 220px;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(19, 36, 43, 0.12);
}

.workspace-nav-menu-panel .workspace-nav-link {
  justify-content: flex-start;
  width: 100%;
  border-radius: 12px;
}

.workspace-userbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.workspace-usercard {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4fbfa 0%, #fff7f3 100%);
}

.workspace-usercard strong {
  font-size: 0.96rem;
}

.workspace-usercard span {
  color: #647981;
  font-size: 0.78rem;
  font-weight: 700;
}

.workspace-hero {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.workspace-copy {
  padding: 2.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 249, 245, 0.95) 64%, rgba(255, 244, 239, 0.94) 100%);
}

.workspace-copy h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin: 0.8rem 0;
}

.workspace-copy p {
  color: #566c74;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 0;
}

.workspace-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.workspace-pill {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.09);
  color: var(--vp-teal-deep);
  font-weight: 700;
}

.workspace-focus {
  padding: 1.2rem;
  background: linear-gradient(180deg, #18393f 0%, #11292f 100%);
  color: #eff9f7;
}

.focus-card {
  display: grid;
  gap: 1rem;
  height: 100%;
  padding: 1.3rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.focus-card > span {
  color: #aad6cf;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-card strong {
  font-size: 1.6rem;
  line-height: 1.1;
  max-width: 16ch;
}

.focus-card p {
  color: rgba(239, 249, 247, 0.76);
  line-height: 1.65;
  margin: 0;
}

.focus-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.focus-mini {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.focus-mini span {
  display: block;
  color: #aad6cf;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-mini strong {
  display: block;
  font-size: 1.35rem;
  margin-top: 0.35rem;
}

.workspace-metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workspace-metric {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  box-shadow: var(--vp-shadow);
}

.workspace-metric span {
  display: block;
  color: #5d737b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workspace-metric strong {
  display: block;
  color: var(--vp-ink);
  font-size: 2rem;
  line-height: 1;
  margin: 0.55rem 0 0.35rem;
}

.workspace-metric p {
  color: #667b82;
  line-height: 1.55;
  margin-bottom: 0;
}

.workspace-metric.accent-burnt {
  background: linear-gradient(180deg, #fff4ee 0%, #ffe9dd 100%);
}

.workspace-metric.accent-moss {
  background: linear-gradient(180deg, #eefaf6 0%, #dbf1ea 100%);
}

.workspace-metric.accent-ink {
  background: linear-gradient(180deg, #f4f7f8 0%, #e7edf0 100%);
}

.workspace-metric.accent-sand {
  background: linear-gradient(180deg, #fff8ee 0%, #f7ecd9 100%);
}

.workspace-grid {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: start;
}

.workspace-section,
.sidebar-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
}

.panel-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-section-heading.compact {
  align-items: center;
  margin-bottom: 0.85rem;
}

.panel-section-heading h2 {
  font-size: 1.85rem;
  margin: 0.35rem 0 0;
}

.section-link {
  color: var(--vp-teal-deep);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover,
.section-link:focus {
  color: var(--vp-teal);
}

.entity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entity-card {
  padding: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.entity-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.entity-card--link:hover,
.entity-card--link:focus {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(19, 36, 43, 0.08);
  border-color: rgba(18, 117, 109, 0.16);
}

.entity-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.entity-eyebrow {
  color: var(--vp-teal-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entity-head h3 {
  font-size: 1.24rem;
  margin: 0.35rem 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.09);
  color: var(--vp-teal-deep);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.entity-copy {
  color: #60757c;
  line-height: 1.65;
  margin: 0.9rem 0 1rem;
}

.entity-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.entity-stat {
  padding: 0.85rem;
  border-radius: 18px;
  background: #f5faf9;
}

.entity-stat span {
  display: block;
  color: #6c8187;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entity-stat strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.entity-foot {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
  color: #576b73;
  font-weight: 600;
}

.clinic-request-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clinic-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.clinic-action-row {
  justify-content: flex-start;
  gap: 0.7rem;
}

.rating-distribution-list {
  display: grid;
  gap: 0.85rem;
}

.rating-distribution-item {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.rating-distribution-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.rating-distribution-head strong {
  color: var(--vp-ink);
}

.rating-distribution-head span {
  color: #667b82;
  font-size: 0.92rem;
}

.rating-distribution-bar {
  position: relative;
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e7efee;
}

.rating-distribution-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #12756d 0%, #f08d63 100%);
}

.clinic-rating-highlight {
  display: grid;
  place-items: center;
  padding: 1.35rem;
  margin-bottom: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #f2fbf9 0%, #fff3ea 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
  text-align: center;
}

.clinic-rating-highlight strong {
  color: #17353d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.clinic-rating-highlight span {
  margin-top: 0.4rem;
  color: #647981;
  font-weight: 600;
}

.clinic-private-note-form {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.clinic-private-note-list {
  margin-top: 0.75rem;
}

.clinic-editor-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: start;
}

.clinic-editor-stack {
  display: grid;
  gap: 1rem;
}

.clinic-editor-card {
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--vp-shadow);
}

.clinic-editor-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clinic-editor-span-2 {
  grid-column: 1 / -1;
}

.clinic-repeater {
  display: grid;
  gap: 1rem;
}

.clinic-repeater-item {
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.clinic-repeater-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.clinic-repeater-item-head strong {
  font-size: 1.02rem;
}

.clinic-editor-note {
  margin: 0;
  color: #60757c;
  line-height: 1.65;
}

.clinic-editor-submit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.clinic-editor-submit form {
  margin: 0;
}

.owner-workspace-grid {
  grid-template-columns: 1.18fr 0.82fr;
}

.owner-dashboard-shell {
  gap: 1rem;
}

.owner-pagebar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(19, 36, 43, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--vp-shadow);
}

.owner-pagebar--metrics-only {
  display: block;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.owner-pagebar-copy h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin: 0.45rem 0 0.55rem;
}

.owner-pagebar-copy p {
  max-width: 58ch;
  margin: 0;
  color: #5f747c;
  line-height: 1.65;
}

.owner-pagebar-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.85rem;
  min-width: min(100%, 580px);
}

.owner-pagebar--metrics-only .owner-pagebar-metrics {
  min-width: 0;
}

.owner-mini-metric {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.owner-mini-metric--link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.owner-mini-metric--link:hover,
.owner-mini-metric--link:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(19, 36, 43, 0.08);
}

.owner-mini-metric span {
  display: block;
  color: #667b82;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-mini-metric strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--vp-ink);
  font-size: 1.4rem;
}

.owner-mini-metric.accent-burnt {
  background: linear-gradient(180deg, #fff5ef 0%, #ffebdf 100%);
}

.owner-mini-metric.accent-moss {
  background: linear-gradient(180deg, #effaf6 0%, #ddf0ea 100%);
}

.owner-mini-metric.accent-ink {
  background: linear-gradient(180deg, #f5f8fa 0%, #e9eef1 100%);
}

.owner-mini-metric.accent-sand {
  background: linear-gradient(180deg, #fff9ef 0%, #f7edda 100%);
}

.owner-summary-grid,
.owner-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.owner-summary-card,
.owner-treatment-card {
  padding: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.owner-summary-card {
  display: grid;
  gap: 1rem;
}

.owner-summary-card--link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.owner-summary-card--link:hover,
.owner-summary-card--link:focus {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(19, 36, 43, 0.08);
  border-color: rgba(18, 117, 109, 0.18);
}

.clinic-workspace-searchbar {
  margin-bottom: 1rem;
}

.clinic-workspace-searchbar__field {
  flex: 1 1 22rem;
  max-width: 32rem;
}

.owner-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-card-actions--pet {
  justify-content: flex-start;
}

.owner-card-actions--pet .btn {
  flex: 1 1 8rem;
  min-width: 0;
}

.owner-card-cta {
  display: inline-flex;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  align-items: center;
  padding: 0.55rem 0.82rem;
  border-radius: 10px;
  background: var(--vp-teal-deep);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.1;
}

.owner-detail-actions,
.owner-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.owner-detail-actions--primary {
  justify-content: flex-end;
}

.owner-detail-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.2rem;
}

.owner-detail-secondary-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3f5a64;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.owner-detail-secondary-actions a:hover,
.owner-detail-secondary-actions a:focus {
  border-color: rgba(18, 117, 109, 0.22);
  background: #edf8f5;
  color: var(--vp-teal-deep);
}

.workspace-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.workspace-flow-card {
  display: grid;
  gap: 0.45rem;
  min-height: 134px;
  padding: 1rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.workspace-flow-card:hover,
.workspace-flow-card:focus {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(18, 117, 109, 0.18);
  box-shadow: 0 18px 34px rgba(19, 36, 43, 0.08);
}

.workspace-flow-card span {
  color: var(--vp-teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-flow-card strong {
  color: var(--vp-ink);
  font-size: 1.08rem;
}

.workspace-flow-card p {
  margin: 0;
  color: #60757c;
  line-height: 1.45;
}

.clinic-action-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.clinic-action-group {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.clinic-action-group h3 {
  margin: 0;
  font-size: 1.05rem;
}

.clinic-action-group p {
  margin: 0;
  color: #60757c;
  line-height: 1.45;
}

.clinic-action-group .owner-detail-actions {
  gap: 0.55rem;
}

.owner-summary-head,
.owner-list-head,
.owner-treatment-top,
.owner-treatment-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.owner-summary-head h3,
.owner-treatment-card h3 {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
}

.owner-summary-meta,
.owner-list-meta,
.owner-list-note,
.owner-treatment-card p {
  color: #60757c;
  line-height: 1.6;
}

.owner-summary-body {
  display: grid;
  gap: 0.8rem;
}

.owner-summary-band {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4fbfa 0%, #fff8f3 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.owner-summary-band span,
.owner-summary-stat span {
  display: block;
  color: #6c8187;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-summary-band strong {
  display: block;
  margin-top: 0.35rem;
  color: #17353d;
  line-height: 1.45;
}

.owner-summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.owner-summary-stat {
  padding: 0.9rem;
  border-radius: 18px;
  background: #f5faf9;
}

.owner-summary-stat strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.owner-subsection {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

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

.textarea-tall {
  min-height: 128px;
}

.owner-list-wide {
  margin-top: 0;
}

.owner-list-item {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.owner-list-note {
  margin-top: 0.7rem;
}

.audit-json {
  background: #101820;
  border-radius: 8px;
  color: #f4f1ea;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-teal {
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
}

.badge-sand {
  background: rgba(240, 183, 104, 0.18);
  color: #8c5a06;
}

.badge-burnt {
  background: rgba(226, 104, 76, 0.14);
  color: #9f3b23;
}

.badge-ink {
  background: rgba(78, 102, 115, 0.12);
  color: #3f5a64;
}

.owner-treatment-card {
  display: grid;
  gap: 0.95rem;
}

.owner-treatment-card p {
  margin: 0;
}

.owner-treatment-meta {
  align-items: center;
  color: #556b73;
  font-size: 0.95rem;
}

.owner-treatment-meta strong {
  color: #17353d;
  font-size: 1rem;
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
}

.owner-detail-hero {
  display: grid;
  gap: 1rem;
}

.owner-form-shell {
  max-width: 1040px;
  margin-inline: auto;
}

.owner-form-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f7fbfa;
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.owner-form-check .form-check-input {
  margin-top: 0;
}

.owner-edit-shell {
  gap: 1.2rem;
}

.owner-edit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: stretch;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 249, 247, 0.94) 65%, rgba(255, 246, 240, 0.94) 100%);
}

.owner-edit-hero--single {
  grid-template-columns: minmax(0, 1fr);
}

.owner-edit-hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0.45rem 0 0.6rem;
}

.owner-edit-hero-copy p {
  margin: 0;
  color: #5f747c;
  line-height: 1.7;
  max-width: 52ch;
}

.owner-edit-hero-preview {
  padding: 1.35rem;
  border-radius: 26px;
  background: linear-gradient(180deg, #18393f 0%, #11292f 100%);
  color: #eff9f7;
  display: grid;
  gap: 0.6rem;
}

.owner-edit-hero-preview strong {
  font-size: 1.9rem;
  line-height: 1.05;
}

.owner-edit-hero-preview p {
  margin: 0;
  color: rgba(239, 249, 247, 0.76);
}

.owner-edit-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.owner-edit-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9efea;
  font-weight: 700;
}

.owner-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: start;
}

.owner-edit-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.owner-edit-form,
.owner-edit-sidebar {
  display: grid;
  gap: 1rem;
}

.owner-edit-card,
.owner-edit-sidecard {
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--vp-shadow);
}

.owner-edit-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.owner-edit-card-head h2,
.owner-edit-sidecard h3 {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
}

.owner-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clinic-sale-line-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 0.82fr);
  gap: 0.9rem;
  align-items: end;
}

.clinic-sale-line-grid .form-block {
  min-width: 0;
}

.clinic-sale-line-grid .form-control {
  min-height: 54px;
}

.owner-edit-submitbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(135deg, #f5fbfa 0%, #fff6f1 100%);
  box-shadow: var(--vp-shadow);
}

.owner-edit-submitbar-copy h3 {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
}

.owner-edit-submitbar-copy p {
  margin: 0.45rem 0 0;
  color: #60757c;
  line-height: 1.6;
}

.owner-form-actions--submitbar {
  justify-content: flex-end;
  flex-shrink: 0;
}

.owner-form-check--feature {
  margin-bottom: 1rem;
}

.owner-form-check--feature .form-check-label {
  display: grid;
  gap: 0.18rem;
}

.owner-form-check--feature strong {
  font-size: 0.98rem;
}

.owner-form-check--feature small {
  color: #627780;
}

.owner-edit-summary-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.owner-edit-summary-list div {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #f7fbfa;
}

.owner-edit-summary-list span {
  display: block;
  color: #6d8188;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-edit-summary-list strong {
  display: block;
  margin-top: 0.35rem;
  color: #17353d;
}

.owner-edit-sidecard--actions p,
.owner-edit-sidecard--status p {
  color: #60757c;
  line-height: 1.65;
}

.owner-status-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.owner-feedback {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  font-weight: 700;
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.owner-feedback--success {
  background: linear-gradient(135deg, #effaf6 0%, #e2f3ec 100%);
  color: #165247;
}

.owner-feedback--warn {
  background: linear-gradient(135deg, #fff8eb 0%, #f8e9cc 100%);
  color: #8b5d0a;
}

.clinic-workspace-alert {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  display: grid;
  gap: 0.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clinic-workspace-alert:hover,
.clinic-workspace-alert:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(19, 36, 43, 0.08);
}

.clinic-workspace-alert strong {
  font-weight: 800;
}

.clinic-workspace-alert span {
  color: inherit;
}

.clinic-workspace-alert--warn {
  background: linear-gradient(135deg, #fff8eb 0%, #f8e9cc 100%);
  color: #8b5d0a;
}

.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.85rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
}

.admin-inline-field {
  min-width: 240px;
  flex: 1 1 260px;
}

.owner-connection-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.owner-connection-form {
  display: grid;
  gap: 0.9rem;
}

.owner-connection-form p,
.owner-clinic-card p {
  margin: 0;
  color: #60757c;
  line-height: 1.65;
}

.owner-connection-form-grid {
  display: grid;
  gap: 0.9rem;
}

.owner-clinic-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(180px, 1fr)) auto;
  gap: 0.9rem;
  align-items: end;
  margin-top: 1rem;
}

.owner-clinic-filterbar-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.analytics-filterbar {
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(160px, 0.8fr)) auto;
}

.owner-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.owner-share-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: #f8fcfb;
}

.owner-share-option input {
  margin-top: 0.2rem;
}

.owner-share-option strong {
  display: block;
  color: #17353d;
}

.owner-share-option small {
  display: block;
  margin-top: 0.25rem;
  color: #60757c;
  line-height: 1.55;
}

.owner-clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.owner-clinic-grid--picker {
  margin-top: 0;
}

.owner-clinic-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.owner-clinic-card.is-selected {
  border-color: rgba(18, 117, 109, 0.26);
  box-shadow: inset 0 0 0 1px rgba(18, 117, 109, 0.1);
}

.owner-clinic-card--picker {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.owner-clinic-card--picker:hover,
.owner-clinic-card--picker:focus {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(19, 36, 43, 0.08);
  border-color: rgba(18, 117, 109, 0.18);
}

.owner-clinic-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.owner-clinic-score {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4fbfa 0%, #fff8f3 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.owner-clinic-score span {
  display: block;
  color: #6c8187;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-clinic-score strong {
  display: block;
  margin-top: 0.35rem;
  color: #17353d;
  line-height: 1.35;
}

.owner-clinic-score-row--detail {
  margin-top: 1rem;
}

.owner-inline-form {
  display: inline-flex;
  margin: 0;
}

.owner-inline-form--stack {
  display: flex;
}

.owner-list-head--actions {
  align-items: flex-start;
}

.owner-connection-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.owner-connection-card-actions .owner-inline-form {
  margin: 0;
}

body .owner-connection-card-actions .btn.owner-connection-revoke {
  border-color: #b8472f;
  background: #b8472f;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(184, 71, 47, 0.18);
}

body .owner-connection-card-actions .btn.owner-connection-revoke:hover,
body .owner-connection-card-actions .btn.owner-connection-revoke:focus-visible {
  border-color: #963722;
  background: #963722;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(184, 71, 47, 0.24);
}

.owner-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-list-actions form {
  margin: 0;
}

.workspace-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(241, 247, 248, 0.96);
  color: #21424a;
  font-weight: 600;
}

.workspace-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #1f6f78;
}

.clinic-attachment-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.owner-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.owner-tag-row--compact {
  margin-top: 0.85rem;
}

.owner-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.owner-detail-top h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0.35rem 0 0.55rem;
}

.owner-detail-top p {
  margin: 0;
  color: #5f747c;
  line-height: 1.65;
}

.owner-detail-top--dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  gap: 1rem;
}

.owner-dashboard-hero-copy {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.owner-dashboard-hero-copy p {
  max-width: 56ch;
}

.owner-dashboard-top-tags {
  margin-top: 0.1rem;
}

.owner-dashboard-action-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 251, 249, 0.92) 100%);
  box-shadow: 0 20px 38px rgba(19, 36, 43, 0.06);
}

.owner-dashboard-action-panel p {
  margin: 0;
  color: #60757c;
  line-height: 1.6;
}

.owner-dashboard-action-panel .owner-detail-actions {
  gap: 0.7rem;
}

.owner-dashboard-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.owner-dashboard-glance-card {
  display: grid;
  gap: 0.5rem;
  min-height: 160px;
  padding: 1.15rem 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  box-shadow: 0 18px 38px rgba(19, 36, 43, 0.05);
}

.owner-dashboard-glance-card span {
  color: #567178;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.owner-dashboard-glance-card strong {
  color: #17353d;
  font-size: 1.32rem;
  line-height: 1.15;
}

.owner-dashboard-glance-card p {
  margin: 0;
  color: #5f747c;
  line-height: 1.6;
}

.owner-dashboard-glance-card--appointment {
  background: linear-gradient(180deg, #f1fbf8 0%, #ffffff 100%);
}

.owner-dashboard-glance-card--vaccination {
  background: linear-gradient(180deg, #fff9ef 0%, #ffffff 100%);
}

.owner-dashboard-glance-card--notification {
  background: linear-gradient(180deg, #fff6f1 0%, #ffffff 100%);
}

.owner-dashboard-glance-meta {
  margin-top: auto;
  color: #1e5958;
  font-weight: 700;
  line-height: 1.45;
}

.owner-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.owner-detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4fbfa 0%, #fff7f3 100%);
  border: 1px solid rgba(19, 36, 43, 0.06);
  color: #415961;
  font-weight: 700;
}

.owner-detail-note {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f6fbfa 0%, #fff8f4 100%);
  border: 1px solid rgba(19, 36, 43, 0.06);
  color: #50666e;
  line-height: 1.7;
}

.owner-detail-note.subtle {
  background: #f7fbfa;
}

.owner-step-shell {
  display: grid;
  gap: 0.9rem;
}

.owner-pet-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.owner-pet-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  cursor: pointer;
}

.owner-pet-choice input {
  margin-top: 0.25rem;
}

.owner-pet-choice.is-selected {
  border-color: rgba(18, 117, 109, 0.24);
  box-shadow: inset 0 0 0 1px rgba(18, 117, 109, 0.08);
}

.owner-pet-choice-body {
  display: grid;
  gap: 0.2rem;
}

.owner-pet-choice-body strong {
  color: #17353d;
}

.owner-pet-choice-body small {
  color: #60757c;
  line-height: 1.55;
}

.owner-kvkk-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(135deg, #f6fbfa 0%, #fff6f2 100%);
}

.owner-kvkk-box input[type="checkbox"] {
  margin-top: 0.2rem;
}

.owner-kvkk-box span {
  display: grid;
  gap: 0.25rem;
}

.owner-kvkk-box strong {
  color: #17353d;
}

.owner-kvkk-box small {
  color: #60757c;
  line-height: 1.6;
}

.owner-detail-treatment-list {
  display: grid;
  gap: 1rem;
}

.owner-detail-stack {
  display: grid;
  gap: 0.95rem;
}

.owner-detail-treatment-card {
  padding: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
  display: grid;
  gap: 0.95rem;
}

.owner-detail-block {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #f7fbfa;
}

.owner-detail-block span {
  display: block;
  color: #697e85;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-detail-block p {
  margin: 0.45rem 0 0;
  color: #1d3740;
  line-height: 1.65;
}

.owner-detail-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.owner-detail-pane {
  padding: 1rem;
  border-radius: 22px;
  background: #fbfdfd;
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.owner-detail-pane h4 {
  margin: 0;
  font-size: 1.02rem;
}

.health-passport-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.health-passport-command-panel {
  overflow: hidden;
}

.health-passport-page .health-passport-command-panel {
  border-radius: 8px;
}

.health-passport-command-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
}

.health-passport-command-heading h2 {
  margin: 0.35rem 0 0;
  color: var(--vp-ink);
  font-size: 1.45rem;
  letter-spacing: 0;
  line-height: 1.22;
}

.health-passport-command-layout {
  display: grid;
  gap: 1rem;
}

.health-passport-entry-form {
  min-width: 0;
}

.health-passport-entry-form,
.health-passport-quick-form,
.health-passport-quick-stack {
  display: grid;
  gap: 1rem;
}

.health-passport-entry-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 0.8rem;
}

.health-passport-entry-grid .is-wide {
  grid-column: 1 / -1;
}

.health-passport-entry-form .form-control,
.health-passport-entry-form .form-select,
.health-passport-quick-form .form-control {
  min-height: 50px;
  border-radius: 8px;
  background-color: #ffffff;
}

.health-passport-entry-form textarea.form-control {
  min-height: 88px;
}

.health-passport-entry-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.2rem;
}

.health-passport-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.health-passport-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(19, 36, 43, 0.1);
  border-radius: 8px;
  background: #f8fbfa;
  color: #2f464e;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.health-passport-quick-pane {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #f8fbfa;
}

.health-passport-quick-stack {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(19, 36, 43, 0.08);
}

.health-passport-quick-form {
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.health-passport-mini-head {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(19, 36, 43, 0.07);
}

.health-passport-mini-head h3 {
  margin: 0.25rem 0 0;
  color: var(--vp-ink);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.24;
}

.health-passport-check input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--vp-teal-deep);
}

.health-passport-entry-footer .btn {
  min-width: 132px;
}

.health-passport-side-action {
  min-width: 120px;
  justify-content: center;
}

.health-passport-share-list {
  margin-top: 1rem;
}

.health-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.health-snapshot-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(18, 117, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.health-snapshot-card span {
  display: block;
  color: #6c8187;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-snapshot-card strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--vp-ink);
  line-height: 1.45;
}

.health-snapshot-card p {
  margin: 0.35rem 0 0;
  color: #60757c;
}

.health-export-box {
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  background: #f7fbfa;
  color: #17353d;
  white-space: pre-wrap;
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0 0;
}

.timeline-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.timeline-item {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: #f7fbfa;
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.timeline-item strong {
  display: block;
}

.timeline-item p {
  color: #60757c;
  margin: 0.25rem 0;
}

.timeline-item span {
  color: #7b9096;
  font-size: 0.9rem;
}

.transparency-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.transparency-timeline-list {
  display: grid;
  gap: 1rem;
}

.transparency-event {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.95rem;
  position: relative;
}

.transparency-event::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: -1rem;
  left: 0.55rem;
  width: 2px;
  background: rgba(18, 117, 109, 0.12);
}

.transparency-event:last-child::before {
  display: none;
}

.transparency-event-marker {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(19, 36, 43, 0.1);
  margin-top: 1.1rem;
  z-index: 1;
}

.transparency-event-marker.badge-teal {
  background: #12756d;
}

.transparency-event-marker.badge-sand {
  background: #d89b43;
}

.transparency-event-marker.badge-burnt {
  background: #b65c3b;
}

.transparency-event-marker.badge-ink {
  background: #29424a;
}

.transparency-event-body {
  padding: 1.1rem;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.transparency-event-body h3 {
  font-size: 1.18rem;
  margin: 0.25rem 0 0;
}

.transparency-event-body p {
  color: #4f666e;
  line-height: 1.6;
  margin: 0.8rem 0 0;
}

.compact-tags {
  margin-top: 0.85rem;
}

.transparency-diff-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

.transparency-diff-card {
  padding: 0.85rem;
  border: 1px solid rgba(18, 117, 109, 0.1);
  border-radius: 18px;
  background: #f7fbfa;
}

.transparency-diff-card > span,
.transparency-diff-columns small {
  display: block;
  color: #687c83;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transparency-diff-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.transparency-diff-columns p {
  color: #1d3740;
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}

.transparency-version-grid,
.transparency-version-stack {
  display: grid;
  gap: 0.85rem;
}

.transparency-version-row {
  padding: 0.85rem;
  border-radius: 18px;
  background: #f7fbfa;
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.empty-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(18, 117, 109, 0.22);
  background: #f7fbfa;
  color: #627780;
}

.principle-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.principle-item {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 36, 43, 0.06);
  background: linear-gradient(135deg, #f6fbfa 0%, #fff6f2 100%);
}

.principle-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.principle-item p {
  color: #61767d;
  margin: 0;
  line-height: 1.6;
}

.bmv-hero,
.bmv-tags,
.bmv-stats,
.bmv-stage-main,
.bmv-stage-stack,
.bmv-stage-metrics,
.bmv-value-grid,
.bmv-audience-section,
.bmv-steps-grid {
  display: grid;
  gap: 1rem;
}

.bmv-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 1.2rem;
}

.bmv-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.08);
  color: var(--vp-teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmv-hero-copy h1 {
  font-size: clamp(3.1rem, 5vw, 4.7rem);
  line-height: 0.95;
  max-width: 10ch;
  margin: 1rem 0 1.15rem;
}

.bmv-hero-copy p {
  max-width: 56ch;
  color: #556b73;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0;
}

.bmv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.bmv-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.bmv-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 36, 43, 0.08);
  color: #51666e;
  font-weight: 700;
}

.bmv-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.bmv-stats article {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 36, 43, 0.06);
}

.bmv-stats strong {
  display: block;
  font-size: 1.05rem;
}

.bmv-stats span {
  display: block;
  color: #61767d;
  line-height: 1.55;
  margin-top: 0.35rem;
}

.bmv-hero-scene {
  position: relative;
}

.bmv-stage {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  border-radius: 34px;
  background: linear-gradient(180deg, #15373c 0%, #0f282d 100%);
  box-shadow: 0 28px 80px rgba(19, 36, 43, 0.18);
}

.bmv-stage::before {
  content: "";
  position: absolute;
  inset: auto auto -100px -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(18, 117, 109, 0.22);
  filter: blur(8px);
}

.bmv-stage::after {
  content: "";
  position: absolute;
  inset: 18px -42px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(241, 139, 105, 0.18);
  filter: blur(6px);
}

.bmv-stage-top,
.bmv-mini-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bmv-stage-top {
  margin-bottom: 1rem;
}

.bmv-stage-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d3efe9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bmv-stage-top span {
  color: #c5ddd8;
  font-size: 0.9rem;
  font-weight: 700;
}

.bmv-stage-main {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.08fr 0.92fr;
}

.bmv-stage-summary,
.bmv-mini-panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.3rem;
  backdrop-filter: blur(10px);
}

.bmv-panel-label {
  color: #add8d1;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmv-stage-summary h2 {
  color: #f4fbfa;
  font-size: 2rem;
  line-height: 1.08;
  margin: 0.75rem 0;
  max-width: 13ch;
}

.bmv-stage-summary p {
  color: rgba(244, 251, 250, 0.76);
  line-height: 1.65;
  margin: 0;
  max-width: 34ch;
}

.bmv-stage-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.bmv-stage-metrics div {
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.bmv-stage-metrics span {
  display: block;
  color: #a9d5ce;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bmv-stage-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  margin-top: 0.35rem;
}

.bmv-stage-stack {
  align-content: start;
}

.bmv-mini-panel.soft {
  background: rgba(222, 244, 238, 0.12);
}

.bmv-mini-row + .bmv-mini-row {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bmv-mini-row strong {
  color: #f5fbfa;
  display: block;
}

.bmv-mini-row span {
  color: #b8d7d2;
  font-size: 0.92rem;
}

.bmv-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.bmv-ribbon div {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 36, 43, 0.07);
  color: #4f656d;
  font-weight: 700;
  text-align: center;
}

.bmv-value-section,
.bmv-audience-section,
.bmv-steps-section {
  margin-top: 2.4rem;
}

.bmv-value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmv-value-card,
.bmv-audience-card,
.bmv-step-card {
  border-radius: 30px;
  border: 1px solid rgba(19, 36, 43, 0.07);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(19, 36, 43, 0.06);
}

.bmv-value-card {
  padding: 1.5rem;
}

.bmv-value-card h3,
.bmv-audience-card h3,
.bmv-step-card h3 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
}

.bmv-value-card p,
.bmv-audience-card p,
.bmv-step-card p {
  color: #61767d;
  line-height: 1.7;
  margin: 0;
}

.bmv-audience-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bmv-audience-card {
  padding: 1.7rem;
}

.bmv-audience-card.accent {
  background: linear-gradient(180deg, #f5fbfa 0%, #ffffff 100%);
}

.bmv-audience-card .eyebrow-pill {
  margin-bottom: 1rem;
}

.bmv-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmv-step-card {
  padding: 1.4rem;
}

.bmv-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-weight: 800;
}

.bmv-step-card h3 {
  margin-top: 1rem;
}

.clean-landing,
.clean-actions,
.clean-value-grid,
.clean-page-grid {
  display: grid;
  gap: 1rem;
}

.clean-landing {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.clean-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 720px;
  padding: clamp(5rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 4.8rem) clamp(10rem, 12vw, 12rem);
  border-radius: 0;
  border: none;
  color: #163239;
  box-shadow: none;
  isolation: isolate;
}

.clean-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(249, 252, 251, 0.93) 0%, rgba(242, 249, 247, 0.86) 28%, rgba(229, 243, 240, 0.64) 49%, rgba(242, 235, 228, 0.34) 72%, rgba(242, 235, 228, 0.12) 100%),
    radial-gradient(circle at 14% 20%, rgba(113, 199, 185, 0.2), transparent 18%),
    radial-gradient(circle at 86% 76%, rgba(244, 190, 154, 0.24), transparent 24%);
  z-index: 1;
}

.clean-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(245, 251, 249, 0) 0%, rgba(244, 251, 250, 0.88) 100%);
  z-index: 1;
}

.clean-hero-carousel,
.clean-hero-media,
.clean-hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
}

.clean-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02) brightness(0.93);
  transform: scale(1.015);
}

.hero-image-owner {
  object-position: center 34%;
}

.hero-image-hug {
  object-position: center 28%;
}

.hero-image-check {
  object-position: center 42%;
}

.clean-hero-indicators {
  z-index: 3;
  justify-content: flex-end;
  margin: 0 2rem 2rem;
  gap: 0.5rem;
}

.clean-hero-indicators [data-bs-target] {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 0;
  background-color: rgba(21, 101, 101, 0.22);
  opacity: 1;
}

.clean-hero-indicators .active {
  background-color: #187a72;
}

.clean-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  max-width: none;
  display: grid;
  align-content: end;
  min-height: 100%;
}

.clean-hero h1 {
  font-size: clamp(3.8rem, 6vw, 6.1rem);
  line-height: 0.94;
  max-width: 12.8ch;
  margin: 0 0 1.35rem;
  color: #13353b;
  letter-spacing: -0.05em;
  text-shadow: none;
}

.clean-actions {
  grid-auto-flow: column;
  justify-content: start;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.clean-value-card,
.clean-page-card {
  border-color: rgba(18, 117, 109, 0.08);
  box-shadow: 0 24px 60px rgba(71, 103, 110, 0.12);
}

.clean-value-card h3,
.clean-page-card strong,
.clean-heading h2,
.clean-heading .eyebrow {
  color: #163239;
}

.clean-value-card p,
.clean-page-card span {
  color: #5f747c;
}

.clean-home-sections {
  padding-top: 0;
  padding-bottom: 3rem;
}

.clean-heading {
  margin-bottom: 1.2rem;
}

.clean-tabs-section {
  margin-top: -5.8rem;
  position: relative;
  z-index: 5;
}

.clean-tabs-wrap {
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(18, 117, 109, 0.1);
  box-shadow: 0 32px 80px rgba(66, 96, 103, 0.16);
  padding: 1.3rem;
}

.clean-tabs-shell {
  display: grid;
  gap: 1.15rem;
}

.clean-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  border: none;
}

.clean-tabs-nav .nav-link {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: rgba(239, 247, 245, 0.92);
  color: #557078;
  font-weight: 700;
}

.clean-tabs-nav .nav-link.active {
  background: linear-gradient(135deg, #1a7e75 0%, #2a8f84 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(30, 126, 117, 0.2);
}

.clean-tabs-content {
  min-height: 225px;
}

.clean-tab-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  padding: 1.85rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 56%, #fff7f1 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.clean-tab-panel h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.95rem;
  color: #17353d;
}

.clean-tab-panel p {
  margin: 0;
  color: #627780;
  line-height: 1.7;
  max-width: 52ch;
}

.clean-tab-points {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.clean-tab-points span {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf8f5 0%, #fff7f2 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
  color: #23464d;
  font-weight: 700;
}

.clean-promo-section {
  margin-top: 1.6rem;
}

.clean-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.clean-promo-card {
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 251, 250, 0.98) 100%);
  border: 1px solid rgba(18, 117, 109, 0.08);
  box-shadow: 0 18px 44px rgba(67, 98, 104, 0.1);
}

.clean-promo-card h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.55rem;
  line-height: 1.15;
  color: #15333a;
}

.clean-promo-card p {
  margin: 0;
  color: #5e747c;
  line-height: 1.7;
}

#moduller,
#klinikler,
#sahipler {
  scroll-margin-top: 110px;
}

.corp-hero,
.corp-grid,
.corp-split {
  display: grid;
  gap: 1rem;
}

.corp-hero {
  padding: 2.4rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #156069 0%, #1a8b7e 50%, #f09a73 100%);
  color: #fff;
}

.corp-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.corp-hero h1 {
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 0.98;
  max-width: 15ch;
  margin: 1rem 0 0.9rem;
}

.corp-hero p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.corp-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.corp-grid.tight {
  gap: 0.9rem;
}

.corp-card,
.corp-panel,
.corp-cta-panel {
  border-radius: 30px;
  border: 1px solid rgba(19, 36, 43, 0.07);
  box-shadow: 0 20px 48px rgba(19, 36, 43, 0.06);
}

.corp-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
}

.corp-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, #e9f7f2 0%, #f7fcfa 100%);
}

.corp-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, #fff2ea 0%, #fff9f4 100%);
}

.corp-card:nth-child(3n) {
  background: linear-gradient(180deg, #f3efff 0%, #fbf9ff 100%);
}

.corp-card h3,
.corp-panel h2,
.corp-cta-panel h2 {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
}

.corp-card p,
.corp-panel p {
  color: #61767d;
  line-height: 1.7;
  margin: 0;
}

.corp-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.corp-panel {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.86);
}

.corp-panel.soft {
  background: linear-gradient(180deg, #f5fbfa 0%, #fff9f5 100%);
}

.corp-cta-panel {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, rgba(18, 117, 109, 0.14) 0%, rgba(241, 139, 105, 0.18) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.corp-cta-panel.soft {
  background: linear-gradient(135deg, rgba(241, 139, 105, 0.14) 0%, rgba(18, 117, 109, 0.16) 100%);
}

.landing-hero,
.landing-benefits,
.role-grid,
.flow-grid,
.landing-checks,
.product-grid,
.focus-stats {
  display: grid;
  gap: 1rem;
}

.landing-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 1.5rem;
}

.landing-content {
  padding-right: 1.5rem;
}

.landing-content h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.94;
  max-width: 10ch;
  margin: 1rem 0 1.1rem;
}

.landing-content p {
  max-width: 56ch;
  color: #5a6f77;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.landing-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.landing-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 36, 43, 0.08);
  color: #496067;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(19, 36, 43, 0.05);
}

.landing-frame {
  position: relative;
}

.product-window {
  padding: 1.1rem;
  border-radius: 32px;
  border: 1px solid rgba(19, 36, 43, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 247, 248, 0.96) 100%);
  box-shadow: 0 30px 80px rgba(19, 36, 43, 0.12);
}

.product-window-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.55rem 1rem;
}

.window-dots {
  display: inline-flex;
  gap: 0.4rem;
}

.window-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #d8e4e6;
}

.window-dots span:first-child {
  background: rgba(241, 139, 105, 0.8);
}

.window-dots span:nth-child(2) {
  background: rgba(241, 201, 125, 0.9);
}

.window-dots span:last-child {
  background: rgba(18, 117, 109, 0.7);
}

.window-title {
  color: #60747b;
  font-size: 0.88rem;
  font-weight: 700;
}

.product-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.product-focus-card,
.product-mini-card,
.product-stream-card,
.product-note-card,
.benefit-card,
.role-card,
.flow-card {
  border-radius: 28px;
  border: 1px solid rgba(19, 36, 43, 0.07);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(19, 36, 43, 0.06);
}

.product-focus-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, #f2fbf9 0%, #ffffff 100%);
}

.mini-label {
  display: inline-flex;
  align-items: center;
  color: var(--vp-teal-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-focus-card h2 {
  font-size: 1.9rem;
  line-height: 1.05;
  margin: 0.75rem 0 0.8rem;
}

.product-focus-card p,
.product-note-card p,
.benefit-card p,
.role-card p,
.flow-card p {
  color: #61757d;
  line-height: 1.7;
  margin: 0;
}

.focus-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.focus-stats div {
  padding: 0.95rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(18, 117, 109, 0.08);
}

.focus-stats span {
  display: block;
  color: #6a7f86;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.focus-stats strong {
  display: block;
  font-size: 1.45rem;
  margin-top: 0.35rem;
}

.product-mini-card,
.product-stream-card,
.product-note-card {
  padding: 1.2rem;
}

.mini-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.mini-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: #f7fbfb;
}

.mini-list strong,
.stream-item strong {
  color: var(--vp-ink);
}

.mini-list span,
.stream-item span {
  color: #6a7f86;
  font-size: 0.92rem;
}

.product-stream-card {
  display: grid;
  gap: 0.8rem;
}

.stream-item {
  padding: 0.9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7f2 0%, #ffffff 100%);
}

.product-note-card {
  background: linear-gradient(180deg, #eff8f6 0%, #fdfefe 100%);
}

.landing-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.benefit-card {
  padding: 1.35rem;
}

.benefit-card h3,
.role-card h3,
.flow-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.landing-role-section,
.landing-flow-section {
  margin-top: 2.3rem;
}

.role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role-card {
  padding: 1.6rem;
}

.role-card .eyebrow-pill {
  margin-bottom: 0.95rem;
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  padding: 1.35rem;
}

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-weight: 800;
}

.flow-card h3 {
  margin-top: 1rem;
}

.calendar-hero-panel,
.vaccination-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.15rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top left, rgba(18, 117, 109, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(241, 139, 105, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 249, 248, 0.96) 55%, rgba(255, 247, 241, 0.96) 100%);
}

.calendar-hero-copy,
.vaccination-hero-copy {
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  padding: 1rem;
}

.calendar-hero-copy h1,
.vaccination-hero-copy h1 {
  font-size: clamp(2.15rem, 3vw, 3.2rem);
  line-height: 0.96;
  margin: 0.35rem 0 0;
}

.calendar-hero-copy p,
.vaccination-hero-copy p {
  max-width: 48ch;
  margin: 0;
  color: #5b7078;
  line-height: 1.7;
  font-size: 1rem;
}

.calendar-hero-summary,
.vaccination-highlight-card {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #18383d 0%, #132f34 100%);
  color: #eef8f6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.calendar-hero-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #c8e8e2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-summary-next {
  display: grid;
  gap: 0.5rem;
}

.calendar-summary-next strong,
.vaccination-highlight-card strong {
  font-size: 1.65rem;
  line-height: 1.08;
  color: #f7fdfc;
}

.calendar-summary-next p,
.vaccination-highlight-card p {
  margin: 0;
  color: rgba(238, 248, 246, 0.76);
  line-height: 1.65;
}

.calendar-hero-summary .owner-list-meta,
.vaccination-highlight-card .owner-list-note {
  color: rgba(238, 248, 246, 0.74);
}

.calendar-hero-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.calendar-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.calendar-summary-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 117, 109, 0.08);
  box-shadow: 0 14px 30px rgba(19, 36, 43, 0.05);
}

.calendar-summary-card span {
  color: #698088;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar-summary-card strong {
  color: #163239;
  font-size: 1.6rem;
  line-height: 1;
}

.calendar-summary-card small {
  color: #61767d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.calendar-strip-panel {
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 250, 249, 0.95) 100%);
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.calendar-strip-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(18, 117, 109, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 251, 0.96) 100%);
  box-shadow: 0 16px 32px rgba(19, 36, 43, 0.05);
}

.calendar-strip-date {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.08);
  color: var(--vp-teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-strip-card strong {
  color: #163239;
  font-size: 1.35rem;
  line-height: 1;
}

.calendar-strip-card span {
  color: #243f46;
  font-weight: 700;
}

.calendar-strip-card small {
  color: #6b8087;
  font-size: 0.92rem;
  line-height: 1.5;
}

.calendar-strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.agenda-day-stack {
  display: grid;
  gap: 1rem;
}

.agenda-day-group {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 28px;
  border: 1px solid rgba(18, 117, 109, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.agenda-day-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.agenda-day-heading h3 {
  margin: 0.35rem 0 0;
  font-size: 1.55rem;
}

.agenda-card-stack {
  display: grid;
  gap: 0.85rem;
}

.agenda-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 117, 109, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(19, 36, 43, 0.04);
}

.agenda-card-time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 117, 109, 0.12) 0%, rgba(18, 117, 109, 0.04) 100%);
  color: var(--vp-teal-deep);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.agenda-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
}

.agenda-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.agenda-card-head strong {
  display: block;
  color: #17353d;
  font-size: 1.08rem;
}

.calendar-side-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 249, 0.96) 100%);
}

.vaccination-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.vaccination-lane {
  --lane-tint: rgba(18, 117, 109, 0.08);
  --lane-line: rgba(18, 117, 109, 0.12);
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid var(--lane-line);
  background: linear-gradient(180deg, #ffffff 0%, var(--lane-tint) 100%);
}

.vaccination-lane-burnt {
  --lane-tint: rgba(226, 104, 76, 0.08);
  --lane-line: rgba(226, 104, 76, 0.14);
}

.vaccination-lane-sand {
  --lane-tint: rgba(240, 183, 104, 0.12);
  --lane-line: rgba(240, 183, 104, 0.18);
}

.vaccination-lane-teal {
  --lane-tint: rgba(18, 117, 109, 0.09);
  --lane-line: rgba(18, 117, 109, 0.14);
}

.vaccination-lane-ink {
  --lane-tint: rgba(78, 102, 115, 0.08);
  --lane-line: rgba(78, 102, 115, 0.14);
}

.vaccination-lane-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.9rem;
}

.vaccination-lane-head strong {
  display: block;
  color: #17353d;
  font-size: 1.1rem;
}

.vaccination-lane-head p {
  margin: 0.35rem 0 0;
  color: #61767d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.vaccination-card-stack {
  display: grid;
  gap: 0.8rem;
}

.vaccination-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 36, 43, 0.06);
  box-shadow: 0 14px 28px rgba(19, 36, 43, 0.04);
}

.vaccination-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.8rem;
}

.vaccination-card-head strong {
  display: block;
  color: #17353d;
  font-size: 1rem;
}

.vaccination-card-meta,
.vaccination-card-body {
  color: #60757c;
  line-height: 1.6;
}

.empty-panel.compact {
  min-height: 0;
  padding: 1rem;
  border-radius: 20px;
}

@media (max-width: 1199px) {
  .calendar-hero-panel,
  .vaccination-hero-panel,
  .vaccination-board {
    grid-template-columns: 1fr;
  }

  .calendar-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .calendar-summary-grid,
  .calendar-strip,
  .vaccination-board {
    grid-template-columns: 1fr;
  }

  .agenda-day-heading,
  .agenda-card,
  .agenda-card-head,
  .vaccination-card-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .agenda-card {
    grid-template-columns: 1fr;
  }

  .agenda-card-time {
    justify-content: flex-start;
  }

  .transparency-event {
    grid-template-columns: 0.9rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .transparency-event::before {
    left: 0.4rem;
  }

  .transparency-event-marker {
    width: 0.85rem;
    height: 0.85rem;
  }

  .transparency-diff-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1199px) {
  .marketing-copy,
  .auth-showcase,
  .auth-panel,
  .workspace-copy {
    padding: 2.2rem;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .owner-workspace-grid,
  .owner-summary-grid,
  .owner-treatment-grid,
  .health-passport-command-layout,
  .health-passport-grid,
  .health-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .owner-detail-subgrid {
    grid-template-columns: 1fr;
  }

  .owner-form-grid {
    grid-template-columns: 1fr;
  }

  .owner-connection-layout,
  .owner-edit-hero,
  .owner-edit-layout,
  .clinic-editor-layout {
    grid-template-columns: 1fr;
  }

  .owner-pagebar {
    flex-direction: column;
    align-items: stretch;
  }

  .owner-pagebar-metrics {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-clinic-filterbar,
  .owner-share-grid,
  .owner-clinic-grid,
  .owner-pet-choice-grid,
  .owner-clinic-score-row {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-content {
    padding-right: 0;
  }

  .bmv-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .marketing-hero,
  .auth-layout,
  .workspace-hero,
  .feature-grid,
  .audience-grid,
  .signal-strip,
  .hero-stat-row,
  .showcase-grid,
  .preview-grid,
  .workspace-metric-row,
  .entity-grid,
  .workspace-flow-grid,
  .clinic-action-groups,
  .focus-mini-grid {
    grid-template-columns: 1fr;
  }

  .nav-auth {
    margin-top: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-nav-shell,
  .workspace-userbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-user {
    text-align: left;
  }

  .footer-shell,
  .section-heading,
  .panel-section-heading,
  .preview-header,
  .preview-event,
  .entity-head,
  .owner-summary-head,
  .owner-list-head,
  .owner-treatment-top,
  .owner-treatment-meta,
  .owner-detail-top,
  .owner-edit-card-head,
  .owner-edit-submitbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .owner-connection-card-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .landing-benefits,
  .role-grid,
  .flow-grid,
  .product-grid,
  .landing-checks,
  .focus-stats,
  .clinic-editor-inline-grid {
    grid-template-columns: 1fr;
  }

  .bmv-tags,
  .bmv-stats,
  .bmv-stage-main,
  .bmv-stage-metrics,
  .bmv-ribbon,
  .bmv-value-grid,
  .bmv-audience-section,
  .bmv-steps-grid {
    grid-template-columns: 1fr;
  }

  .bmv-stage-top,
  .bmv-mini-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .clean-value-grid,
  .clean-page-grid,
  .corp-grid,
  .corp-split {
    grid-template-columns: 1fr;
  }

  .owner-summary-stats {
    grid-template-columns: 1fr;
  }

  .owner-detail-top--dashboard,
  .owner-dashboard-glance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .marketing-copy,
  .auth-showcase,
  .auth-panel,
  .workspace-copy,
  .workspace-section,
  .sidebar-card {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .health-passport-entry-grid {
    grid-template-columns: 1fr;
  }

  .health-passport-command-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .health-passport-entry-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .health-passport-quick-form {
    grid-template-columns: 1fr;
  }

  .health-passport-entry-footer .btn,
  .health-passport-side-action {
    width: 100%;
    justify-content: center;
  }

  .marketing-copy h1,
  .auth-showcase h1,
  .workspace-copy h1 {
    max-width: none;
  }

  .hero-actions,
  .auth-secondary,
  .workspace-nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .workspace-nav-link,
  .workspace-nav-summary {
    justify-content: center;
  }

  .workspace-nav-menu {
    width: 100%;
  }

  .workspace-nav-menu-panel {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .landing-content h1 {
    font-size: 2.55rem;
    max-width: 11ch;
  }

  .bmv-hero-copy h1 {
    font-size: 2.7rem;
    max-width: 11ch;
  }

  .bmv-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bmv-stage,
  .bmv-value-card,
  .bmv-audience-card,
  .bmv-step-card {
    border-radius: 24px;
  }

  .clean-hero {
    min-height: 620px;
    padding: 5rem 1.25rem 8rem;
  }

  .clean-hero h1 {
    font-size: 2.95rem;
    max-width: 11.5ch;
  }

  .clean-hero-copy {
    width: 100%;
  }

  .clean-actions {
    grid-auto-flow: row;
  }

  .clean-tabs-section {
    margin-top: -3.6rem;
  }

  .clean-tab-panel {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .clean-promo-grid {
    grid-template-columns: 1fr;
  }

  .clean-hero-indicators {
    margin: 0 1.2rem 1.2rem;
    justify-content: center;
  }

  .owner-pagebar,
  .owner-mini-metric {
    border-radius: 24px;
  }

  .owner-pagebar-metrics {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .corp-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.app-notification-host {
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  left: max(1.1rem, env(safe-area-inset-left));
  z-index: 2400;
  display: grid;
  gap: 0.65rem;
  width: min(25rem, calc(100vw - 2.2rem));
  max-height: calc(100svh - 2.2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: none;
  scrollbar-width: thin;
}

.app-notification {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.7rem;
  align-items: start;
  gap: 0.75rem;
  overflow: hidden;
  padding: 0.85rem 0.75rem 0.9rem;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
  color: #102235;
  pointer-events: auto;
  animation: notification-in 240ms ease-out;
}

.app-notification--warn {
  border-color: rgba(193, 95, 57, 0.28);
  background: linear-gradient(135deg, #fffdfb 0%, #fff7f2 100%);
}

.app-notification--success {
  border-color: rgba(21, 111, 102, 0.22);
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf9 100%);
}

.app-notification--info {
  border-color: rgba(52, 116, 138, 0.28);
  background: linear-gradient(135deg, #ffffff 0%, #f4f9fb 100%);
}

.app-notification__mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  color: #ffffff;
  background: #12756d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.app-notification--warn .app-notification__mark {
  background: #b8472f;
}

.app-notification--info .app-notification__mark {
  background: #34748a;
}

.app-notification.is-leaving {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.app-notification.is-refreshed {
  animation: notification-refresh 260ms ease-out;
}

.app-notification__body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.app-notification__body strong {
  color: #173137;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-notification--warn .app-notification__body strong {
  color: #9d3826;
}

.app-notification--info .app-notification__body strong {
  color: #2b687c;
}

.app-notification__body span {
  color: #415963;
  line-height: 1.45;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.app-notification__close {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5f6f7a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.app-notification__close:hover,
.app-notification__close:focus-visible {
  outline: 0;
  color: #173137;
  background: rgba(19, 36, 43, 0.07);
}

.app-notification__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  transform-origin: left;
  background: #12756d;
  animation: notification-countdown var(--notification-duration) linear forwards;
}

.app-notification--warn .app-notification__progress {
  background: #b8472f;
}

.app-notification--info .app-notification__progress {
  background: #34748a;
}

@keyframes notification-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes notification-refresh {
  50% {
    transform: translateX(4px);
  }
}

@keyframes notification-countdown {
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 640px) {
  .app-notification-host {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    max-height: min(58svh, 28rem);
  }
}

.clinic-permission-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(16, 34, 53, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.clinic-permission-check .form-check-input {
  margin-top: 0.18rem;
}

.clinic-permission-check .form-check-label {
  display: grid;
  gap: 0.22rem;
}

.clinic-permission-check .form-check-label strong {
  font-size: 0.96rem;
  color: #102235;
}

.clinic-permission-check .form-check-label small {
  color: #5d7081;
  line-height: 1.45;
}

.owner-list-item--link {
  text-decoration: none;
  color: inherit;
}

.analytics-bar-stack {
  display: grid;
  gap: 1rem;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 1rem;
  align-items: center;
}

.analytics-bar-track {
  position: relative;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(16, 34, 53, 0.08);
  overflow: hidden;
}

.analytics-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #3b82f6);
}

@media (max-width: 767px) {
  .analytics-bar-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .analytics-bar-row > span {
    justify-self: start;
  }

  .owner-detail-actions {
    width: 100%;
    align-items: stretch;
  }

  .owner-detail-actions .btn {
    width: 100%;
  }
}

.legal-document-body {
  white-space: pre-wrap;
  line-height: 1.7;
  color: #263238;
}

/* Modern public site */
body.marketing-page,
body.auth-page {
  --public-bg: #f5f7f2;
  --public-surface: #ffffff;
  --public-muted: #66756f;
  --public-ink: #16211e;
  --public-line: rgba(22, 33, 30, 0.12);
  --public-teal: #0f766e;
  --public-blue: #2f5d9a;
  --public-coral: #bd623a;
  background: var(--public-bg);
  color: var(--public-ink);
}

body.marketing-page *,
body.auth-page * {
  letter-spacing: 0;
}

body.marketing-page .page-shell,
body.auth-page .page-shell {
  padding-top: 0;
}

body.marketing-page main,
body.auth-page main {
  padding-bottom: 0 !important;
}

body.marketing-page .site-header,
body.auth-page .site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 0.7rem 1rem;
  background: rgba(245, 247, 242, 0.88);
  border-bottom: 1px solid rgba(22, 33, 30, 0.08);
  backdrop-filter: blur(18px);
}

body.marketing-page .app-nav,
body.auth-page .app-nav {
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

body.marketing-page .brand-mark,
body.auth-page .brand-mark {
  color: var(--public-ink);
}

body.marketing-page .brand-mark-dot,
body.auth-page .brand-mark-dot {
  background: var(--public-teal);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}

body.marketing-page .nav-links,
body.auth-page .nav-links {
  justify-content: center;
  gap: 0.2rem;
}

body.marketing-page .nav-link,
body.auth-page .nav-link {
  color: #2d3a36;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

body.marketing-page .nav-link:hover,
body.auth-page .nav-link:hover,
body.marketing-page .nav-link:focus,
body.auth-page .nav-link:focus {
  color: var(--public-teal);
  background: rgba(15, 118, 110, 0.08);
}

body.marketing-page .nav-auth,
body.auth-page .nav-auth {
  gap: 0.55rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 2.25rem;
  padding: 0.2rem;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switch-button {
  min-width: 2.1rem;
  min-height: 1.78rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4d5b56;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
}

.language-switch-button.is-active {
  background: var(--public-ink);
  color: #ffffff;
}

.clean-landing {
  background: var(--public-bg);
}

.clean-hero {
  min-height: 76vh;
  max-height: 820px;
  padding: 6rem 1.25rem 4.25rem;
  align-items: flex-end;
  background: #17211e;
}

.clean-hero::before {
  z-index: 1;
  background: rgba(12, 24, 21, 0.48);
}

.clean-hero::after {
  display: none;
}

.clean-hero-image {
  filter: saturate(1.02) contrast(1.04) brightness(0.86);
}

.hero-image-owner,
.hero-image-hug,
.hero-image-check {
  object-position: center;
}

.clean-hero-copy {
  display: grid;
  gap: 1rem;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0;
  color: #ffffff;
}

.clean-hero-eyebrow {
  width: fit-content;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.clean-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #ffffff;
  font-size: 5.2rem;
  line-height: 0.95;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.clean-hero-lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.65;
}

.clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.clean-actions .btn {
  min-height: 3rem;
  padding: 0.8rem 1.05rem;
}

.clean-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.clean-hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.clean-hero-indicators {
  margin: 0 1.5rem 1.4rem;
}

.clean-hero-indicators [data-bs-target] {
  width: 0.72rem;
  height: 0.72rem;
  background-color: rgba(255, 255, 255, 0.72);
}

.clean-hero-indicators .active {
  background-color: #ffffff;
}

.clean-home-sections {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 4rem;
}

.clean-tabs-section {
  margin-top: 0;
}

.clean-tabs-wrap {
  padding: 0;
  background: transparent;
}

.clean-tabs-shell {
  overflow: hidden;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  background: var(--public-surface);
  box-shadow: 0 24px 60px rgba(22, 33, 30, 0.08);
}

.clean-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--public-line);
  background: #eef3ee;
}

.clean-tabs-nav .nav-link {
  min-height: 2.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #35423e;
  font-weight: 760;
}

.clean-tabs-nav .nav-link.active {
  border-color: rgba(15, 118, 110, 0.22);
  background: #ffffff;
  color: var(--public-teal);
}

.clean-tabs-content {
  padding: 0;
}

.clean-tab-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.5rem;
  min-height: 18rem;
  padding: 2rem;
  background: #ffffff;
}

.clean-tab-panel h3 {
  max-width: 28rem;
  margin: 0.55rem 0 0.8rem;
  color: var(--public-ink);
  font-size: 2rem;
  line-height: 1.1;
}

.clean-tab-panel p,
.clean-promo-card p,
.corp-card p,
.corp-panel p,
.corp-hero p,
.auth-showcase p,
.auth-panel p {
  color: var(--public-muted);
}

.clean-tab-points {
  align-content: start;
  gap: 0.6rem;
}

.clean-tab-points span {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: #f2f8f5;
  color: #193a36;
}

.clean-promo-section {
  padding: 0;
}

.clean-promo-grid {
  gap: 1rem;
}

.clean-promo-card,
.corp-card {
  border: 1px solid var(--public-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(22, 33, 30, 0.06);
}

.clean-promo-card {
  min-height: 14rem;
  padding: 1.5rem;
}

.clean-promo-card h3,
.corp-card h3 {
  color: var(--public-ink);
  line-height: 1.16;
}

.corp-hero,
.corp-grid,
.corp-split {
  gap: 1rem;
}

.corp-hero {
  padding: 3.25rem 0 1.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--public-ink);
  box-shadow: none;
}

.corp-kicker,
.corp-hero .corp-kicker,
.eyebrow,
.eyebrow-pill {
  color: var(--public-teal);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.corp-hero h1 {
  max-width: 16ch;
  margin: 0.75rem 0 0.8rem;
  color: var(--public-ink);
  font-size: 3.6rem;
  line-height: 1;
}

.corp-hero p {
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.corp-grid {
  gap: 1rem;
}

.corp-card {
  min-height: 12rem;
  padding: 1.35rem;
}

.corp-split {
  margin-top: 1rem;
}

.corp-panel,
.corp-cta-panel {
  border: 1px solid var(--public-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(22, 33, 30, 0.06);
}

.corp-panel.soft,
.corp-cta-panel.soft {
  background: #eef3ee;
}

.corp-cta-panel {
  margin-top: 1rem;
  padding: 1.3rem;
}

.corp-cta-panel h2,
.corp-panel h2 {
  color: var(--public-ink);
  line-height: 1.15;
}

.auth-layout {
  gap: 1rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.auth-showcase,
.auth-panel {
  border: 1px solid var(--public-line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(22, 33, 30, 0.08);
}

.auth-showcase {
  background: #16211e;
  color: #ffffff;
}

.auth-showcase h1 {
  max-width: 13ch;
  color: #ffffff;
  font-size: 4rem;
  line-height: 0.98;
}

.auth-showcase p {
  color: rgba(255, 255, 255, 0.78);
}

.auth-showcase .eyebrow-pill {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.showcase-grid {
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-card {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-card span {
  color: #8bd3c7;
}

.showcase-card strong {
  color: #ffffff;
}

.auth-panel {
  background: #ffffff;
}

.auth-panel-header h2 {
  color: var(--public-ink);
}

.form-block span:first-child {
  color: #33433e;
}

.form-control {
  border-radius: 8px;
}

.auth-secondary {
  gap: 0.55rem;
}

.auth-secondary a {
  border-radius: 8px;
}

.auth-panel .workspace-section {
  border-radius: 8px;
  background: #f6f8f5;
}

.auth-cookie-note {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: #eef7f4;
  color: #31514b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer {
  padding: 2rem 1rem;
  background: #16211e;
  color: #ffffff;
}

.footer-shell {
  align-items: center;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
}

.footer-link:hover,
.footer-link:focus {
  color: #ffffff;
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2300;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(42rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(22, 33, 30, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(22, 33, 30, 0.18);
  color: var(--public-ink);
  backdrop-filter: blur(18px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  display: grid;
  gap: 0.3rem;
}

.cookie-consent-copy strong {
  color: var(--public-ink);
  font-size: 1rem;
}

.cookie-consent-copy p {
  margin: 0;
  color: var(--public-muted);
  line-height: 1.45;
}

.cookie-consent-copy span {
  color: #3f5d56;
  font-size: 0.86rem;
  line-height: 1.4;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991px) {
  body.marketing-page .nav-links,
  body.auth-page .nav-links {
    align-items: stretch;
    padding-top: 0.75rem;
  }

  body.marketing-page .nav-auth,
  body.auth-page .nav-auth {
    align-items: stretch;
    padding-top: 0.75rem;
  }

  .language-switch {
    width: fit-content;
  }

  .clean-hero h1 {
    font-size: 4rem;
  }

  .corp-hero h1,
  .auth-showcase h1 {
    font-size: 3.1rem;
  }

  .clean-tab-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.marketing-page .site-header,
  body.auth-page .site-header {
    padding: 0.55rem 0.75rem;
  }

  .clean-hero {
    min-height: 72svh;
    max-height: none;
    padding: 5.5rem 1rem 3.75rem;
  }

  .clean-hero-copy {
    width: 100%;
  }

  .clean-hero h1 {
    max-width: 12ch;
    font-size: 2.65rem;
  }

  .clean-hero-lead {
    font-size: 1rem;
  }

  .clean-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .clean-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .clean-home-sections {
    padding-top: 1rem;
  }

  .clean-tabs-shell,
  .clean-promo-card,
  .corp-card,
  .corp-panel,
  .corp-cta-panel,
  .auth-showcase,
  .auth-panel {
    border-radius: 8px;
  }

  .clean-tabs-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .clean-tab-panel {
    min-height: auto;
    padding: 1.15rem;
  }

  .clean-tab-panel h3 {
    font-size: 1.55rem;
  }

  .clean-promo-grid,
  .corp-grid,
  .corp-split,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .corp-hero {
    padding-top: 2.2rem;
  }

  .corp-hero h1,
  .auth-showcase h1 {
    max-width: 13ch;
    font-size: 2.35rem;
  }

  .auth-layout {
    padding-top: 1rem;
  }

  .auth-showcase,
  .auth-panel {
    padding: 1.25rem;
  }

  .footer-shell,
  .footer-links {
    align-items: flex-start;
  }

  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.chat-shell {
  display: grid;
  gap: 0.9rem;
  max-width: 980px;
  margin: 0 auto 2rem;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 430px;
  max-height: 62vh;
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  background: #fff;
}

.chat-message {
  display: flex;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.assistant {
  justify-content: flex-start;
}

.chat-message.warning {
  justify-content: flex-start;
}

.chat-message-label,
.assistant-widget-message-label {
  color: #536d70;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.chat-message-body {
  max-width: min(720px, 88%);
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  color: var(--vp-ink);
  background: var(--vp-sea);
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.chat-message.user .chat-message-body {
  color: #fff;
  border-color: var(--vp-teal-deep);
  background: var(--vp-teal);
}

.chat-message.warning .chat-message-body,
.assistant-widget-message.warning .assistant-widget-message-body {
  border-color: rgba(184, 71, 47, 0.42);
  color: #7f2f22;
  background: #fff8f3;
}

.chat-message.warning .chat-message-label,
.assistant-widget-message.warning .assistant-widget-message-label {
  color: #a23f2c;
}

.chat-message.user .chat-message-label,
.assistant-widget-message.user .assistant-widget-message-label {
  color: rgba(255, 255, 255, 0.82);
}

.chat-message-text,
.assistant-widget-message-text {
  min-width: 0;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.chat-composer textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  color: var(--vp-ink);
  background: #fff;
}

.chat-confirmation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(186, 99, 61, 0.35);
  border-radius: 8px;
  color: var(--vp-ink);
  background: #fff7ed;
}

.chat-confirmation[hidden] {
  display: none;
}

.assistant-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1080;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
  width: min(388px, calc(100vw - 2rem));
}

.assistant-widget-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.45rem 0.9rem 0.45rem 0.48rem;
  border: 1px solid rgba(25, 90, 84, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(22, 40, 45, 0.2);
  color: #fff;
  background: #155c56;
  font-weight: 800;
}

.assistant-widget-toggle:hover,
.assistant-widget-toggle:focus-visible {
  color: #fff;
  background: #104b47;
}

.assistant-widget-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #15343b;
  background: #fff;
  font-weight: 900;
}

.assistant-widget-panel {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 40, 45, 0.25);
  background: #fff;
}

.assistant-widget-panel[hidden] {
  display: none;
}

.assistant-widget-header,
.assistant-widget-confirmation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.assistant-widget-header strong {
  font-size: 1rem;
}

.assistant-widget-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  color: var(--vp-ink);
  background: var(--vp-sea);
  font-weight: 900;
}

.assistant-widget-close:hover,
.assistant-widget-close:focus-visible {
  border-color: var(--vp-teal);
  color: var(--vp-teal);
  background: #fff;
}

.assistant-widget-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 232px;
  max-height: min(392px, 48vh);
  overflow-y: auto;
  padding: 0.7rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  background: var(--vp-sea);
}

.assistant-widget-message {
  display: flex;
}

.assistant-widget-message.user {
  justify-content: flex-end;
}

.assistant-widget-message.assistant {
  justify-content: flex-start;
}

.assistant-widget-message.warning {
  justify-content: flex-start;
}

.assistant-widget-message-body {
  display: grid;
  gap: 0.28rem;
  max-width: 90%;
  padding: 0.62rem 0.72rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  color: var(--vp-ink);
  background: #fff;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.assistant-widget-message.user .assistant-widget-message-body {
  border-color: var(--vp-teal-deep);
  color: #fff;
  background: var(--vp-teal);
}

.assistant-widget-confirmation {
  padding: 0.65rem;
  border: 1px solid rgba(186, 99, 61, 0.35);
  border-radius: 8px;
  background: #fff7ed;
}

.assistant-widget-confirmation[hidden] {
  display: none;
}

.assistant-widget-confirmation div {
  display: flex;
  gap: 0.45rem;
}

.assistant-widget-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.55rem;
}

.assistant-widget-form textarea {
  width: 100%;
  min-height: 54px;
  max-height: 128px;
  resize: vertical;
  padding: 0.65rem 0.72rem;
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  color: var(--vp-ink);
  background: #fff;
}

.assistant-widget-form .btn {
  min-height: 54px;
}

@media (max-width: 767px) {
  .chat-thread {
    min-height: 360px;
    max-height: 58vh;
    padding: 0.75rem;
  }

  .chat-message-body {
    max-width: 94%;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-composer .btn {
    width: 100%;
  }

  .chat-confirmation {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-confirmation div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .assistant-widget {
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    width: calc(100vw - 1.3rem);
  }

  .assistant-widget-panel {
    gap: 0.6rem;
    padding: 0.65rem;
  }

  .assistant-widget-thread {
    min-height: 208px;
    max-height: min(330px, 42vh);
  }

  .assistant-widget-message-body {
    max-width: 94%;
  }

  .assistant-widget-confirmation,
  .assistant-widget-form {
    grid-template-columns: 1fr;
  }

  .assistant-widget-confirmation {
    align-items: stretch;
    flex-direction: column;
  }

  .assistant-widget-confirmation div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .assistant-widget-form .btn {
    min-height: 44px;
    width: 100%;
  }
}

.onboarding-shell {
  display: grid;
  gap: 24px;
  padding: 24px 0 48px;
}

.onboarding-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: var(--vp-surface);
  box-shadow: var(--vp-shadow-sm);
}

.onboarding-hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.onboarding-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--vp-muted);
}

.onboarding-alert {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--vp-border);
  background: var(--vp-surface-muted);
  color: var(--vp-ink);
  font-weight: 700;
}

.onboarding-alert.is-success {
  border-color: rgba(20, 132, 92, 0.28);
  background: rgba(20, 132, 92, 0.08);
}

.onboarding-alert.is-warn {
  border-color: rgba(179, 103, 26, 0.28);
  background: rgba(179, 103, 26, 0.08);
}

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

.onboarding-grid--wide {
  grid-template-columns: 0.8fr 1.2fr;
}

.onboarding-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: var(--vp-surface);
  box-shadow: var(--vp-shadow-sm);
}

.onboarding-step.is-active {
  border-color: rgba(15, 118, 110, 0.28);
}

.onboarding-step.is-complete {
  border-color: rgba(20, 132, 92, 0.28);
}

.onboarding-step.is-locked {
  opacity: 0.62;
}

.onboarding-step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--vp-teal);
  color: #fff;
  font-weight: 800;
}

.onboarding-step.is-complete .onboarding-step-number {
  background: var(--vp-moss);
}

.onboarding-step.is-locked .onboarding-step-number {
  background: var(--vp-muted);
}

.onboarding-step-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.onboarding-step-body h2 {
  margin: 0;
  font-size: 1.35rem;
}

.onboarding-step-body p {
  margin: 0;
  color: var(--vp-muted);
}

.onboarding-mini-list,
.onboarding-clinic-list,
.onboarding-clinic-cards {
  display: grid;
  gap: 12px;
}

.onboarding-mini-list div,
.onboarding-clinic-option,
.onboarding-clinic-card {
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: var(--vp-surface-muted);
}

.onboarding-mini-list div {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
}

.onboarding-mini-list span,
.onboarding-clinic-option span,
.onboarding-clinic-card p {
  color: var(--vp-muted);
}

.onboarding-note {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--vp-surface-muted);
  color: var(--vp-muted);
  font-weight: 700;
}

.onboarding-note.is-success {
  color: var(--vp-moss);
}

.onboarding-clinic-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.onboarding-clinic-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--vp-surface);
}

.onboarding-clinic-card.is-focused {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: var(--vp-shadow-sm);
}

.onboarding-clinic-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.onboarding-clinic-card h3 {
  margin: 4px 0 4px;
}

.onboarding-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn.disabled,
.btn[aria-disabled="True"],
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 820px) {
  .onboarding-hero,
  .onboarding-clinic-card-head,
  .onboarding-clinic-option {
    align-items: stretch;
    flex-direction: column;
  }

  .onboarding-grid,
  .onboarding-grid--wide {
    grid-template-columns: 1fr;
  }

  .onboarding-step {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 18px;
  }

  .onboarding-step-number {
    width: 38px;
    height: 38px;
  }
}

body.onboarding-page {
  background: linear-gradient(180deg, #f8fbfb 0%, #eef4f3 100%);
}

.owner-home {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 0 36px;
}

.owner-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.owner-home-copy,
.owner-home-next,
.owner-home-actions,
.owner-home-pets,
.owner-home-notice {
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

.owner-home-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  padding: 32px;
}

.owner-home-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.owner-home-copy p {
  max-width: 46ch;
  margin: 0;
  color: #60757c;
  line-height: 1.62;
}

.owner-home-statusline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-home-statusline span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f7f6;
  color: #31565c;
  font-size: 0.86rem;
  font-weight: 800;
}

.owner-home-alerts {
  display: grid;
  gap: 10px;
}

.owner-home-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 16px 18px;
  border: 1px solid rgba(19, 36, 43, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

.owner-home-alert:hover,
.owner-home-alert:focus {
  color: inherit;
  background: #f7fbfa;
}

.owner-home-alert--urgent {
  border-color: rgba(179, 103, 26, 0.32);
  background: #fff3e8;
}

.owner-home-alert-count {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--vp-teal-deep);
  color: #ffffff;
  font-weight: 900;
}

.owner-home-alert--urgent .owner-home-alert-count {
  background: #9f4d16;
}

.owner-home-alert-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.owner-home-alert-copy strong {
  color: var(--vp-ink);
  font-size: 1.02rem;
}

.owner-home-alert-copy small {
  color: #60757c;
  font-weight: 700;
  line-height: 1.45;
}

.owner-home-alert em {
  color: var(--vp-teal-deep);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.owner-home-next {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  padding: 28px;
  background: #123137;
  color: #f3faf8;
}

.owner-home-next span {
  color: rgba(243, 250, 248, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.owner-home-next h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.owner-home-next p {
  margin: 0;
  color: rgba(243, 250, 248, 0.76);
  line-height: 1.6;
}

.owner-home-next--quick {
  align-content: start;
}

.owner-home-next--quick > .btn {
  justify-self: start;
}

.owner-home-next-pets {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 250, 248, 0.16);
}

.owner-home-next-pets-head,
.owner-home-next-pet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.owner-home-next-pets-head strong {
  color: #f3faf8;
  font-size: 0.92rem;
}

.owner-home-next-pets-head a,
.owner-home-next-more {
  color: #aee2da;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.owner-home-next-pets-head a:hover,
.owner-home-next-pets-head a:focus,
.owner-home-next-more:hover,
.owner-home-next-more:focus {
  color: #ffffff;
}

.owner-home-next-pet {
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(243, 250, 248, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.owner-home-next-pet strong,
.owner-home-next-pet small {
  display: block;
}

.owner-home-next-pet strong {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.2;
}

.owner-home-next-pet small {
  margin-top: 2px;
  color: rgba(243, 250, 248, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.owner-home-next-pet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.owner-home-next-pet-actions a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f3faf8;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.owner-home-next-pet-actions a:hover,
.owner-home-next-pet-actions a:focus {
  background: #f3faf8;
  color: #123137;
}

.owner-home-next-more {
  justify-self: start;
  margin-top: 2px;
}

.owner-home-next-empty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(243, 250, 248, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #f3faf8;
  text-decoration: none;
}

.owner-home-next-empty strong {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.25;
}

.owner-home-next-empty span {
  color: #aee2da;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.owner-home-next-empty:hover,
.owner-home-next-empty:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
}

.owner-home-actions {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.owner-home-pets {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.owner-home-pets--combined {
  border-color: rgba(18, 117, 109, 0.14);
}

.owner-home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-home-section-head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.owner-home-section-head a,
.owner-home-more {
  color: var(--vp-teal-deep);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.owner-home-section-head a:hover,
.owner-home-section-head a:focus,
.owner-home-more:hover,
.owner-home-more:focus {
  color: var(--vp-teal);
}

.owner-home-pet-list {
  display: grid;
  gap: 0;
}

.owner-home-pet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-home-pet strong,
.owner-home-pet small {
  display: block;
}

.owner-home-pet strong {
  color: var(--vp-ink);
  font-size: 1.02rem;
}

.owner-home-pet small {
  margin-top: 3px;
  color: #60757c;
  font-weight: 700;
  line-height: 1.4;
}

.owner-home-pet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.owner-home-pet-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--vp-teal-deep);
  background: #e8f4f1;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.owner-home-pet-actions a:hover,
.owner-home-pet-actions a:focus {
  color: #ffffff;
  background: var(--vp-teal);
}

.owner-home-pet-actions a.is-muted {
  color: #60757c;
  background: #eef2f1;
}

.owner-home-more {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 22px;
}

.owner-home-clinics {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

.owner-home-action,
.owner-home-clinic,
.owner-home-notice {
  color: inherit;
  text-decoration: none;
}

.owner-home-action,
.owner-home-clinic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
}

.owner-home-action:last-child,
.owner-home-clinic:last-child {
  border-bottom: 0;
}

.owner-home-action:hover,
.owner-home-action:focus,
.owner-home-clinic:hover,
.owner-home-clinic:focus,
.owner-home-notice:hover,
.owner-home-notice:focus {
  color: inherit;
  background: #f7fbfa;
}

.owner-home-action strong,
.owner-home-action small,
.owner-home-clinic strong,
.owner-home-clinic small {
  display: block;
}

.owner-home-action strong,
.owner-home-clinic strong {
  color: var(--vp-ink);
  font-size: 1.05rem;
}

.owner-home-action small,
.owner-home-clinic small {
  margin-top: 3px;
  color: #60757c;
  font-weight: 700;
}

.owner-home-action em,
.owner-home-clinic em {
  flex: 0 0 auto;
  min-width: 46px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.owner-home-clinic-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.owner-home-clinic-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--vp-teal-deep);
  background: #e8f4f1;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.owner-home-clinic-actions a:hover,
.owner-home-clinic-actions a:focus {
  color: #ffffff;
  background: var(--vp-teal);
}

.owner-home-clinic-actions a.is-muted {
  color: #60757c;
  background: #eef2f1;
}

.owner-home-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 16px 20px;
  background: #fff8ee;
}

.owner-home-notice--urgent {
  background: #fff1e9;
  border-color: rgba(179, 103, 26, 0.28);
}

.owner-home-notice span {
  color: var(--vp-teal-deep);
  font-weight: 800;
}

@media (max-width: 860px) {
  .clinic-sale-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .clinic-sale-line-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .owner-home-hero {
    grid-template-columns: 1fr;
  }

  .owner-home-copy,
  .owner-home-next {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .owner-home {
    padding-top: 0;
  }

  .owner-home-copy,
  .owner-home-next {
    padding: 22px;
  }

  .owner-home-section-head,
  .owner-home-pet {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .owner-home-section-head {
    flex-direction: column;
  }

  .owner-home-action,
  .owner-home-clinic,
  .owner-home-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-home-pet-actions,
  .owner-home-next-pet-actions,
  .owner-home-clinic-actions {
    justify-content: flex-start;
  }

  .owner-home-next-pets-head,
  .owner-home-next-pet,
  .owner-home-next-empty {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-home-pet-actions a {
    flex: 1 1 8rem;
  }

  .owner-home-next-pet-actions a {
    flex: 1 1 6rem;
  }

  .owner-home-alert {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .owner-home-alert em {
    grid-column: 2;
  }
}

.clinic-workday {
  display: grid;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 0 36px;
}

.clinic-workday-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: 16px;
  align-items: stretch;
}

.clinic-workday-title,
.clinic-workday-next,
.clinic-workday-task,
.clinic-workday-stats,
.clinic-workday-panel,
.clinic-workday-more {
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

.clinic-workday-title {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
}

.clinic-workday-back {
  justify-self: start;
  color: var(--vp-teal-deep);
  font-weight: 900;
  text-decoration: none;
}

.clinic-workday-back:hover,
.clinic-workday-back:focus {
  color: var(--vp-teal);
}

.clinic-workday-title h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--vp-ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1;
}

.clinic-workday-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-workday-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f7f6;
  color: #31565c;
  font-size: 0.84rem;
  font-weight: 800;
}

.clinic-workday-next {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  background: #123137;
  color: #f3faf8;
  text-decoration: none;
}

.clinic-workday-next:hover,
.clinic-workday-next:focus {
  color: #f3faf8;
  background: #173d43;
}

.clinic-workday-next.is-urgent {
  background: #5c371f;
}

.clinic-workday-next span {
  color: rgba(243, 250, 248, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clinic-workday-next strong {
  font-size: 1.5rem;
  line-height: 1.16;
}

.clinic-workday-next small {
  color: rgba(243, 250, 248, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.clinic-workday-next em {
  justify-self: start;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3faf8;
  color: #123137;
  font-style: normal;
  font-weight: 900;
}

.clinic-workday-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
}

.clinic-workday-task {
  display: grid;
  gap: 9px;
  min-height: 162px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.clinic-workday-task:hover,
.clinic-workday-task:focus {
  color: inherit;
  background: #f7fbfa;
}

.clinic-workday-task--primary {
  border-color: rgba(18, 117, 109, 0.26);
}

.clinic-workday-task.is-hot {
  border-color: rgba(179, 103, 26, 0.28);
  background: #fff4eb;
}

.clinic-workday-task.is-muted {
  background: #f7f9f9;
}

.clinic-workday-task span {
  color: var(--vp-teal-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.clinic-workday-task.is-hot span {
  color: #9f4d16;
}

.clinic-workday-task strong {
  color: var(--vp-ink);
  font-size: 1.16rem;
}

.clinic-workday-task small {
  color: #60757c;
  font-weight: 700;
  line-height: 1.45;
}

.clinic-workday-task em {
  align-self: end;
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-style: normal;
  font-weight: 900;
}

.clinic-workday-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.clinic-workday-stats div {
  padding: 16px 18px;
  border-right: 1px solid rgba(19, 36, 43, 0.08);
}

.clinic-workday-stats div:last-child {
  border-right: 0;
}

.clinic-workday-stats span {
  display: block;
  color: #60757c;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clinic-workday-stats strong {
  display: block;
  margin-top: 5px;
  color: var(--vp-ink);
  font-size: 1.45rem;
  line-height: 1;
}

.clinic-workday-main {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: start;
}

.clinic-workday-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
}

.clinic-workday-panel--today {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.clinic-workday-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.clinic-workday-panel-head h2 {
  margin: 4px 0 0;
  color: var(--vp-ink);
  font-size: 1.34rem;
  letter-spacing: 0;
}

.clinic-workday-search .form-block {
  margin: 0;
}

.clinic-workday-list {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
}

.clinic-workday-list--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.clinic-workday-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
  color: inherit;
  text-decoration: none;
}

.clinic-workday-row:last-child {
  border-bottom: 0;
}

.clinic-workday-list--split .clinic-workday-row {
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
}

.clinic-workday-row:hover,
.clinic-workday-row:focus {
  color: inherit;
  background: #f7fbfa;
}

.clinic-workday-row.is-hot {
  background: #fff4eb;
}

.clinic-workday-row.is-urgent {
  background: #fff0e6;
}

.clinic-workday-row.is-muted {
  color: #60757c;
  background: #f7faf9;
}

.clinic-workday-row span {
  min-width: 0;
}

.clinic-workday-row strong,
.clinic-workday-row small {
  display: block;
}

.clinic-workday-row strong {
  color: var(--vp-ink);
  font-size: 0.98rem;
}

.clinic-workday-row small {
  margin-top: 3px;
  color: #60757c;
  font-weight: 700;
  line-height: 1.45;
}

.clinic-workday-row em {
  flex: 0 0 auto;
  max-width: 132px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clinic-workday-more summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--vp-ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.clinic-workday-more summary::-webkit-details-marker {
  display: none;
}

.clinic-workday-more summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.clinic-workday-more[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.clinic-workday-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.clinic-workday-shortcuts a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(18, 117, 109, 0.14);
  border-radius: 999px;
  background: #f7fbfa;
  color: var(--vp-teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.clinic-workday-shortcuts a:hover,
.clinic-workday-shortcuts a:focus {
  background: #eef7f5;
  color: var(--vp-teal);
}

@media (max-width: 1020px) {
  .clinic-workday-top,
  .clinic-workday-main,
  .clinic-workday-board,
  .clinic-workday-list--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .clinic-workday {
    padding-top: 0;
  }

  .clinic-workday-title,
  .clinic-workday-next,
  .clinic-workday-panel {
    padding: 18px;
  }

  .clinic-workday-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinic-workday-stats div:nth-child(2n) {
    border-right: 0;
  }

  .clinic-workday-row,
  .clinic-workday-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .clinic-workday-row em {
    max-width: 100%;
  }
}

.clinic-workday {
  max-width: 1180px;
  gap: 14px;
}

.clinic-workday-top {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 49, 55, 0.12);
  border-radius: 8px;
  background: #123137;
  box-shadow: 0 22px 50px rgba(19, 36, 43, 0.14);
}

.clinic-workday-title,
.clinic-workday-next,
.clinic-workday-task,
.clinic-workday-stats,
.clinic-workday-panel,
.clinic-workday-more {
  box-shadow: none;
}

.clinic-workday-title {
  min-height: 246px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(243, 250, 248, 0.07) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #123137 0%, #173d43 100%);
  color: #f3faf8;
}

.clinic-workday-back {
  color: #a9dbd5;
}

.clinic-workday-back:hover,
.clinic-workday-back:focus {
  color: #ffffff;
}

.clinic-workday-title .eyebrow {
  color: rgba(243, 250, 248, 0.72);
}

.clinic-workday-title h1 {
  color: #ffffff;
}

.clinic-workday-meta span {
  background: rgba(243, 250, 248, 0.1);
  color: #e6f6f3;
}

.clinic-workday-next {
  min-height: 246px;
  border: 0;
  border-left: 1px solid rgba(243, 250, 248, 0.12);
  border-radius: 0;
  background: rgba(243, 250, 248, 0.08);
}

.clinic-workday-next:hover,
.clinic-workday-next:focus {
  background: rgba(243, 250, 248, 0.12);
}

.clinic-workday-next.is-urgent {
  background: rgba(159, 77, 22, 0.28);
}

.clinic-workday-next em {
  border-radius: 8px;
  background: #f3faf8;
}

.clinic-workday-board {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

.clinic-workday-task {
  min-height: 178px;
  border: 0;
  border-right: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 0;
  background: #ffffff;
}

.clinic-workday-task:last-child {
  border-right: 0;
}

.clinic-workday-task--primary {
  background: #eef8f5;
}

.clinic-workday-task.is-hot {
  border-color: rgba(179, 103, 26, 0.18);
  background: #fff5ed;
}

.clinic-workday-task.is-muted {
  background: #f7faf9;
}

.clinic-workday-task span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #123137;
  color: #ffffff;
  font-size: 0.76rem;
}

.clinic-workday-task.is-hot span {
  background: #9f4d16;
  color: #ffffff;
}

.clinic-workday-task em,
.clinic-workday-row em {
  border-radius: 8px;
  background: #e8f4f1;
}

.clinic-workday-stats {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.clinic-workday-stats div {
  border-right: 0;
  border-bottom: 2px solid rgba(18, 117, 109, 0.14);
  background: transparent;
}

.clinic-workday-stats span {
  color: #60757c;
}

.clinic-workday-stats strong {
  font-size: 1.7rem;
}

.clinic-workday-panel {
  border-color: rgba(19, 36, 43, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(19, 36, 43, 0.07);
}

.clinic-workday-panel--today {
  border-left: 5px solid #12756d;
  background: #ffffff;
}

.clinic-workday-panel-head h2 {
  font-size: 1.42rem;
}

.clinic-workday-list {
  border: 0;
  border-radius: 0;
  gap: 8px;
  overflow: visible;
}

.clinic-workday-row {
  min-height: 74px;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #fbfdfd;
}

.clinic-workday-row:last-child {
  border-bottom: 1px solid rgba(19, 36, 43, 0.08);
}

.clinic-workday-list--split .clinic-workday-row {
  background: #fbfdfd;
}

.clinic-workday-row.is-hot,
.clinic-workday-row.is-urgent {
  border-color: rgba(179, 103, 26, 0.2);
}

.clinic-workday-more {
  border-color: rgba(19, 36, 43, 0.08);
  box-shadow: 0 12px 30px rgba(19, 36, 43, 0.05);
}

@media (max-width: 1020px) {
  .clinic-workday-top {
    gap: 0;
  }

  .clinic-workday-next {
    border-top: 1px solid rgba(243, 250, 248, 0.12);
    border-left: 0;
  }

  .clinic-workday-task,
  .clinic-workday-task:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(19, 36, 43, 0.08);
  }

  .clinic-workday-task:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .clinic-workday-title,
  .clinic-workday-next {
    min-height: auto;
  }

  .clinic-workday-stats {
    gap: 10px;
  }

  .clinic-workday-stats div {
    border-bottom: 2px solid rgba(18, 117, 109, 0.14);
  }
}

body.clinic-workday-page .workspace-shell {
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 36px;
}

body.clinic-workday-page .workspace-section.owner-detail-hero,
body.clinic-workday-page .workspace-section.owner-edit-hero,
body.clinic-workday-page .workspace-section.calendar-hero-panel {
  overflow: hidden;
  border: 1px solid rgba(18, 49, 55, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(243, 250, 248, 0.07) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, #123137 0%, #173d43 100%);
  color: #f3faf8;
  box-shadow: 0 22px 50px rgba(19, 36, 43, 0.14);
}

body.clinic-workday-page .workspace-section.owner-detail-hero,
body.clinic-workday-page .workspace-section.owner-edit-hero {
  padding: 28px;
}

body.clinic-workday-page .calendar-hero-panel {
  padding: 0;
}

body.clinic-workday-page .calendar-hero-copy {
  padding: 28px;
  background: transparent;
}

body.clinic-workday-page .calendar-hero-summary {
  border-left: 1px solid rgba(243, 250, 248, 0.12);
  background: rgba(243, 250, 248, 0.08);
}

body.clinic-workday-page .owner-detail-hero .eyebrow,
body.clinic-workday-page .owner-edit-hero .eyebrow,
body.clinic-workday-page .calendar-hero-panel .eyebrow,
body.clinic-workday-page .calendar-hero-chip {
  color: rgba(243, 250, 248, 0.72);
}

body.clinic-workday-page .owner-detail-hero h1,
body.clinic-workday-page .owner-edit-hero h1,
body.clinic-workday-page .calendar-hero-panel h1,
body.clinic-workday-page .calendar-summary-next strong {
  color: #ffffff;
}

body.clinic-workday-page .owner-detail-hero p,
body.clinic-workday-page .owner-edit-hero p,
body.clinic-workday-page .calendar-hero-panel p,
body.clinic-workday-page .calendar-summary-next p,
body.clinic-workday-page .calendar-hero-summary .owner-list-meta {
  color: rgba(243, 250, 248, 0.78);
}

body.clinic-workday-page .owner-detail-hero .owner-detail-tag,
body.clinic-workday-page .owner-edit-hero .owner-detail-tag,
body.clinic-workday-page .calendar-hero-panel .owner-detail-tag,
body.clinic-workday-page .owner-detail-hero .owner-badge,
body.clinic-workday-page .owner-edit-hero .owner-badge,
body.clinic-workday-page .calendar-hero-panel .owner-badge {
  background: rgba(243, 250, 248, 0.1);
  color: #e6f6f3;
}

body.clinic-workday-page .workspace-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.06);
}

body.clinic-workday-page .workspace-metric {
  min-height: 118px;
  padding: 18px;
  border: 0;
  border-right: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body.clinic-workday-page .workspace-metric:last-child {
  border-right: 0;
}

body.clinic-workday-page .workspace-metric span {
  color: #60757c;
  letter-spacing: 0.06em;
}

body.clinic-workday-page .workspace-metric strong {
  font-size: 1.65rem;
}

body.clinic-workday-page .workspace-metric p {
  margin-top: 6px;
  font-weight: 700;
}

body.clinic-workday-page .workspace-grid {
  gap: 16px;
}

body.clinic-workday-page .workspace-section:not(.owner-detail-hero):not(.owner-edit-hero):not(.calendar-hero-panel),
body.clinic-workday-page .sidebar-card {
  border: 1px solid rgba(19, 36, 43, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(19, 36, 43, 0.07);
}

body.clinic-workday-page .workspace-section:not(.owner-detail-hero):not(.owner-edit-hero):not(.calendar-hero-panel) {
  padding: 20px;
}

body.clinic-workday-page .sidebar-card {
  padding: 18px;
}

body.clinic-workday-page .panel-section-heading h2,
body.clinic-workday-page .panel-section-heading h3 {
  letter-spacing: 0;
}

body.clinic-workday-page .entity-card,
body.clinic-workday-page .owner-list-item,
body.clinic-workday-page .owner-summary-card,
body.clinic-workday-page .owner-treatment-card,
body.clinic-workday-page .owner-detail-treatment-card,
body.clinic-workday-page .agenda-card,
body.clinic-workday-page .calendar-strip-card,
body.clinic-workday-page .rating-distribution-item,
body.clinic-workday-page .clinic-repeater-item {
  border-radius: 8px;
  background: #fbfdfd;
  box-shadow: none;
}

body.clinic-workday-page .owner-list,
body.clinic-workday-page .owner-detail-treatment-list,
body.clinic-workday-page .agenda-card-stack {
  gap: 8px;
}

body.clinic-workday-page .owner-list-item,
body.clinic-workday-page .owner-detail-treatment-card,
body.clinic-workday-page .agenda-card {
  border: 1px solid rgba(19, 36, 43, 0.08);
}

body.clinic-workday-page .entity-card--link:hover,
body.clinic-workday-page .entity-card--link:focus,
body.clinic-workday-page .owner-summary-card--link:hover,
body.clinic-workday-page .owner-summary-card--link:focus {
  border-color: rgba(18, 117, 109, 0.2);
  box-shadow: 0 14px 30px rgba(19, 36, 43, 0.08);
}

body.clinic-workday-page .empty-panel {
  border: 1px dashed rgba(18, 117, 109, 0.22);
  border-radius: 8px;
  background: #f7fbfa;
}

body.clinic-workday-page .form-control {
  border-radius: 8px;
}

body.clinic-workday-page .searchable-select-input,
body.clinic-workday-page .searchable-select-list,
body.clinic-workday-page .searchable-select-empty {
  border-radius: 8px;
}

body.clinic-workday-page .status-pill,
body.clinic-workday-page .owner-badge,
body.clinic-workday-page .owner-detail-tag {
  border-radius: 8px;
}

@media (max-width: 1020px) {
  body.clinic-workday-page .workspace-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.clinic-workday-page .workspace-metric:nth-child(2n) {
    border-right: 0;
  }

  body.clinic-workday-page .calendar-hero-summary {
    border-top: 1px solid rgba(243, 250, 248, 0.12);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  body.clinic-workday-page .workspace-metric-row {
    grid-template-columns: 1fr;
  }

  body.clinic-workday-page .workspace-metric,
  body.clinic-workday-page .workspace-metric:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(19, 36, 43, 0.08);
  }

  body.clinic-workday-page .workspace-metric:last-child {
    border-bottom: 0;
  }
}

.dashboard-simple-shell {
  gap: 18px;
}

.dashboard-simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-simple-copy,
.dashboard-next-card,
.dashboard-simple-panel,
.dashboard-status-card,
.dashboard-action-card,
.dashboard-clinic-item {
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(19, 36, 43, 0.07);
}

.dashboard-simple-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 260px;
  padding: 32px;
}

.dashboard-simple-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-simple-copy p,
.dashboard-next-card p,
.dashboard-action-card p,
.dashboard-status-card p,
.dashboard-task-item p,
.dashboard-clinic-main p {
  margin: 0;
  color: #60757c;
  line-height: 1.58;
}

.dashboard-next-card {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(180deg, #123137 0%, #173d42 100%);
  color: #f3faf8;
}

.dashboard-next-card span,
.dashboard-action-card span,
.dashboard-status-card span {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-next-card h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.dashboard-next-card p {
  color: rgba(243, 250, 248, 0.76);
}

.dashboard-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dashboard-status-grid,
.dashboard-action-grid,
.dashboard-simple-grid {
  display: grid;
  gap: 14px;
}

.dashboard-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-status-card {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 20px;
}

.dashboard-status-card strong {
  color: var(--vp-ink);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-status-card:nth-child(1) {
  background: #f1fbf8;
}

.dashboard-status-card:nth-child(2) {
  background: #fff8ee;
}

.dashboard-status-card:nth-child(3) {
  background: #f4f7f8;
}

.dashboard-action-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-action-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus,
.dashboard-compact-item:hover,
.dashboard-compact-item:focus {
  color: inherit;
  border-color: rgba(18, 117, 109, 0.28);
  box-shadow: 0 18px 40px rgba(19, 36, 43, 0.1);
}

.dashboard-action-card strong {
  color: var(--vp-ink);
  font-size: 1.08rem;
}

.dashboard-simple-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

.dashboard-simple-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-panel-head h2 {
  margin: 4px 0 0;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.dashboard-task-list,
.dashboard-compact-list,
.dashboard-clinic-list {
  display: grid;
  gap: 10px;
}

.dashboard-task-item,
.dashboard-compact-item,
.dashboard-clinic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: #ffffff;
}

.dashboard-task-item strong,
.dashboard-compact-item strong {
  display: block;
  color: var(--vp-ink);
}

.dashboard-compact-item {
  color: inherit;
  text-decoration: none;
}

.dashboard-compact-item small {
  display: block;
  margin-top: 3px;
  color: #60757c;
  font-weight: 700;
}

.dashboard-compact-item em {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 117, 109, 0.1);
  color: var(--vp-teal-deep);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.dashboard-clinic-item {
  align-items: stretch;
}

.dashboard-clinic-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-clinic-main h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.dashboard-clinic-meta {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 8px;
  color: #60757c;
  font-weight: 800;
}

@media (max-width: 960px) {
  .dashboard-simple-hero,
  .dashboard-simple-grid,
  .dashboard-status-grid,
  .dashboard-action-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-simple-copy,
  .dashboard-next-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .dashboard-simple-copy,
  .dashboard-next-card,
  .dashboard-simple-panel {
    padding: 18px;
  }

  .dashboard-task-item,
  .dashboard-clinic-item,
  .dashboard-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-clinic-meta {
    justify-items: start;
  }

  .dashboard-action-row .btn,
  .dashboard-task-item .btn {
    width: 100%;
  }
}

body.onboarding-page .page-shell {
  padding-top: 0;
  padding-bottom: 0;
}

body.onboarding-page main {
  padding-bottom: 0 !important;
}

.onboarding-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  padding: 18px 0 32px;
}

.onboarding-shell h1,
.onboarding-shell h2,
.onboarding-shell h3 {
  letter-spacing: 0;
}

.onboarding-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.onboarding-brand {
  text-decoration: none;
}

.onboarding-wizard {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 43, 0.11);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(19, 36, 43, 0.1);
}

.onboarding-stepper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 30px;
  background: #123137;
  color: #eff8f6;
}

.onboarding-stepper-head h1 {
  margin: 8px 0 0;
  font-size: 1.9rem;
  line-height: 1.12;
}

.onboarding-stepper .eyebrow {
  color: rgba(239, 248, 246, 0.72);
}

.onboarding-stepper-list {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-stepper-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(239, 248, 246, 0.14);
  border-radius: 8px;
  color: rgba(239, 248, 246, 0.74);
}

.onboarding-stepper-item.is-active {
  border-color: rgba(241, 201, 125, 0.68);
  background: rgba(241, 201, 125, 0.1);
  color: #ffffff;
}

.onboarding-stepper-item.is-complete {
  border-color: rgba(222, 244, 238, 0.42);
  background: rgba(222, 244, 238, 0.1);
  color: #ffffff;
}

.onboarding-stepper-item.is-locked {
  opacity: 0.58;
}

.onboarding-stepper-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.onboarding-stepper-item.is-active .onboarding-stepper-index {
  background: var(--vp-gold);
  color: #173136;
}

.onboarding-stepper-item strong,
.onboarding-stepper-item small {
  display: block;
}

.onboarding-stepper-item small {
  margin-top: 2px;
  color: rgba(239, 248, 246, 0.66);
  font-weight: 700;
}

.onboarding-progress {
  display: grid;
  gap: 10px;
}

.onboarding-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(239, 248, 246, 0.78);
  font-size: 0.92rem;
}

.onboarding-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.onboarding-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--vp-gold);
}

.onboarding-panel {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 42px;
  background: #ffffff;
}

.onboarding-panel-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.onboarding-panel-copy h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.onboarding-panel-copy p {
  margin: 0;
  max-width: 64ch;
  color: var(--vp-muted);
  line-height: 1.65;
}

.onboarding-choice-row,
.onboarding-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.onboarding-path {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: var(--vp-surface-muted);
}

.onboarding-path h3 {
  margin: 0;
  font-size: 1.35rem;
}

.onboarding-path p {
  margin: 0;
  color: var(--vp-muted);
  line-height: 1.6;
}

.onboarding-summary-list,
.onboarding-clinic-list,
.onboarding-clinic-cards {
  display: grid;
  gap: 12px;
}

.onboarding-summary-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 560px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid var(--vp-border);
  border-radius: 8px;
  background: var(--vp-surface-muted);
}

.onboarding-summary-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(20, 132, 92, 0.12);
  color: var(--vp-moss);
  font-size: 0.72rem;
  font-weight: 800;
}

.onboarding-summary-item strong,
.onboarding-summary-item small {
  display: block;
}

.onboarding-summary-item small {
  color: var(--vp-muted);
  font-weight: 700;
}

.onboarding-note {
  max-width: 720px;
}

.onboarding-inline-link {
  width: fit-content;
  color: var(--vp-teal);
  font-weight: 800;
  text-decoration: none;
}

.onboarding-inline-link:hover,
.onboarding-inline-link:focus {
  color: var(--vp-teal-deep);
  text-decoration: underline;
}

.onboarding-clinic-option {
  min-height: 68px;
}

.onboarding-clinic-card {
  background: #ffffff;
}

@media (max-width: 960px) {
  .onboarding-wizard,
  .onboarding-path-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-stepper {
    gap: 20px;
  }

  .onboarding-stepper-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-panel {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .onboarding-shell {
    padding: 12px 0 24px;
  }

  .onboarding-topbar,
  .onboarding-choice-row,
  .onboarding-clinic-option,
  .onboarding-clinic-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .onboarding-wizard {
    min-height: auto;
  }

  .onboarding-stepper,
  .onboarding-panel {
    padding: 20px;
  }

  .onboarding-stepper-list {
    grid-template-columns: 1fr;
  }

  .onboarding-panel-copy h2 {
    font-size: 1.55rem;
  }
}

/* Shared interaction layer */
body .btn.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 42px;
  padding: 0.66rem 1rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  box-shadow: none;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

body .btn.btn-sm {
  min-height: 36px;
  padding: 0.5rem 0.78rem;
  font-size: 0.84rem;
}

body .btn.btn-lg {
  min-height: 48px;
  padding: 0.78rem 1.12rem;
  font-size: 1rem;
}

body .btn.btn-brand {
  border-color: #12756d;
  background: #12756d;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(18, 117, 109, 0.18);
}

body .btn.btn-brand:hover,
body .btn.btn-brand:focus-visible {
  border-color: #0d5752;
  background: #0d5752;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 117, 109, 0.22);
}

body .btn.btn-outline-brand,
body .btn.btn-link-brand {
  border-color: rgba(18, 117, 109, 0.28);
  background: #ffffff;
  color: #0d5752;
}

body .btn.btn-outline-brand:hover,
body .btn.btn-outline-brand:focus-visible,
body .btn.btn-link-brand:hover,
body .btn.btn-link-brand:focus-visible {
  border-color: rgba(18, 117, 109, 0.48);
  background: #edf8f5;
  color: #0d5752;
}

body .btn.btn-status-warn,
body .btn.btn-status-danger,
body .btn.btn-status-ghost {
  border-radius: 10px;
}

body .btn.btn-status-warn {
  border-color: rgba(188, 129, 27, 0.34);
  background: #fff8e8;
  color: #885b0b;
}

body .btn.btn-status-danger {
  border-color: rgba(184, 71, 47, 0.34);
  background: #fff4f0;
  color: #9d3826;
}

body .btn.btn-status-ghost {
  border-color: rgba(78, 102, 115, 0.2);
  background: #f4f7f8;
  color: #3f5a64;
}

body .btn.btn-status-warn:hover,
body .btn.btn-status-warn:focus-visible {
  border-color: rgba(188, 129, 27, 0.5);
  background: #fff2ce;
}

body .btn.btn-status-danger:hover,
body .btn.btn-status-danger:focus-visible {
  border-color: rgba(184, 71, 47, 0.5);
  background: #ffe7de;
}

body .btn.btn-status-ghost:hover,
body .btn.btn-status-ghost:focus-visible {
  border-color: rgba(78, 102, 115, 0.34);
  background: #e7edf0;
}

body .btn.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body .btn.btn-on-dark:hover,
body .btn.btn-on-dark:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body .btn.btn:focus-visible {
  outline: 3px solid rgba(18, 117, 109, 0.24);
  outline-offset: 2px;
}

body .btn.btn:not(:disabled):not(.disabled):active {
  transform: translateY(1px);
}

.is-card-clickable {
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.is-card-clickable:hover,
.is-card-clickable:focus-visible,
.is-card-clickable:focus-within {
  border-color: rgba(18, 117, 109, 0.26);
  box-shadow: 0 16px 34px rgba(19, 36, 43, 0.1);
}

.is-card-clickable:hover,
.is-card-clickable:focus-visible {
  transform: translateY(-2px);
}

.is-card-clickable:focus-visible {
  outline: 3px solid rgba(18, 117, 109, 0.22);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: #102235;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #ffffff;
  transform: translateY(0);
}

.workspace-nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
}

.workspace-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(18, 117, 109, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--vp-teal-deep);
  font: inherit;
  font-weight: 800;
}

.workspace-nav-toggle-mark {
  position: relative;
  width: 1rem;
  height: 0.72rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.workspace-nav-toggle-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.workspace-nav-menu.has-active-item > .workspace-nav-summary {
  color: var(--vp-teal-deep);
  background: rgba(18, 117, 109, 0.1);
}

.searchable-select-list[hidden],
.searchable-select-empty[hidden],
.workspace-nav-panel[hidden] {
  display: none !important;
}

.searchable-select-option.is-active {
  outline: 0;
  color: var(--vp-teal-deep);
  background: #e8f4f1;
}

.btn.is-busy,
input.is-busy {
  cursor: wait;
  opacity: 0.82;
}

.btn.is-busy::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -0.1rem;
  animation: button-busy-spin 720ms linear infinite;
}

.error-state {
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 760px;
  margin: clamp(2rem, 8vh, 6rem) auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(19, 36, 43, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--vp-shadow);
}

.error-state h1,
.error-state p {
  margin: 0;
}

.error-state h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.error-state p {
  max-width: 62ch;
  color: #60757c;
  line-height: 1.65;
}

.error-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.error-state-reference {
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: #f4f8f8;
  color: #60757c;
  font-size: 0.88rem;
}

@keyframes button-busy-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .workspace-nav-shell {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .workspace-nav.is-enhanced .workspace-nav-toggle:not([hidden]) {
    display: inline-flex;
    margin-left: auto;
  }

  .workspace-nav-panel {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(19, 36, 43, 0.07);
  }

  .workspace-userbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .workspace-userbar {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-userbar .btn,
  .error-state-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }

  .btn.is-busy::before {
    animation-duration: 1400ms;
  }

  .app-notification {
    animation: none;
  }

  .app-notification.is-leaving {
    transition: opacity 120ms ease;
  }

  .entity-card--link,
  .owner-summary-card--link,
  .owner-list-item--link,
  .is-card-clickable {
    transition: none;
  }

  .is-card-clickable:hover,
  .is-card-clickable:focus-visible {
    transform: none;
  }
}
