.eq-page {
  max-width: 1000px;
  margin: 0 auto;
}
.eq-intro {
  margin: 22px 0;
}
.eq-intro h1 {
  margin: 10px 0;
}
.eq-intro p {
  max-width: 65ch;
}
.eq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.eq-tabs button {
  min-height: 46px;
}
.eq-tabs [aria-selected="true"] {
  background: var(--accent, #287ceb);
  color: #fff;
  border-color: transparent;
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.eq-grid .panel {
  min-width: 0;
}
.eq-grid h2 {
  font-size: 1.2rem;
}
.eq-grid p {
  margin: 12px 0;
}
.eq-form {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}
.eq-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.eq-form .input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
}
.eq-form .check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.eq-form .check-row input {
  flex-shrink: 0;
  margin-top: 5px;
}
.eq-status {
  margin: 14px 0;
  min-height: 1.5em;
  overflow-wrap: anywhere;
}
.eq-map {
  width: 100%;
  height: auto;
  display: block;
  min-height: 180px;
  border: 1px solid var(--border, #40516c);
  border-radius: 20px;
  background: rgba(100, 150, 200, 0.055);
  margin: 16px 0;
}
.eq-map text {
  font: 3.1px system-ui;
  fill: var(--text, #edf3fb);
}
.eq-map .eq-edge {
  stroke: var(--muted, #91a3bc);
  stroke-opacity: 0.45;
  stroke-width: 0.8;
}
.eq-map .eq-path {
  stroke: #52adff;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.eq-map circle {
  fill: #58acfc;
  stroke: var(--surface, #182337);
  stroke-width: 0.7;
}
.eq-floor {
  font-size: 1.15rem;
  margin-top: 22px;
}
.eq-steps {
  padding-left: 24px;
}
.eq-steps li {
  padding: 10px 0;
}
.eq-ticket {
  border-left: 4px solid #55adfa;
}
.eq-ticket strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}
.eq-ticket.called {
  border-color: #68d8bd;
}
.eq-ticket p {
  margin: 12px 0;
}
.eq-empty {
  padding: 24px;
  margin: 16px 0;
}
.eq-empty h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.eq-admin {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.eq-admin textarea {
  width: 100%;
  min-height: 180px;
  font:
    13px/1.5 ui-monospace,
    monospace;
}
.eq-editor-list {
  display: grid;
  gap: 8px;
}
.eq-editor-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border, #40516c);
  border-radius: 12px;
}
.eq-editor-row span {
  overflow-wrap: anywhere;
}
.eq-kpis {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.eq-kpis div {
  padding: 12px 18px;
  border: 1px solid var(--border, #40516c);
  border-radius: 16px;
}
.eq-kpis strong {
  display: block;
  font-size: 1.5rem;
}
.eq-home-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.eq-home-links .button {
  white-space: normal;
  text-align: center;
}
.eq-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eq-logo-lockup img {
  width: 64px;
  height: 64px;
}
.eq-logo-lockup strong {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.eq-logo-lockup small {
  display: block;
  color: var(--muted, #a6b4c8);
}
.eq-print-qr {
  display: block;
  width: 180px;
  height: 180px;
  background: white;
  border-radius: 12px;
  margin: 12px 0;
}
.eq-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.eq-actions .button {
  white-space: normal;
}
.eq-page [hidden] {
  display: none !important;
}
.eq-route-summary {
  font-weight: 600;
  margin: 16px 0;
}
.eq-home-subtitle {
  color: var(--muted, #9aabc0);
}
.eq-admin small {
  display: block;
}
html[data-theme="light"] .eq-tabs [aria-selected="true"] {
  color: white;
}
html[data-theme="light"] .eq-map text {
  fill: #182a42;
}
html[data-theme="light"] .eq-map {
  background: #f3f8fe;
}
@media (max-width: 600px) {
  .eq-grid {
    grid-template-columns: 1fr;
  }
  .eq-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .eq-tabs .button {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  .eq-home-links {
    grid-template-columns: 1fr;
  }
  .eq-editor-row {
    align-items: flex-start;
  }
  .eq-page .panel {
    padding: 20px;
  }
  .eq-intro h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
}
@media print {
  .eq-tabs,
  .eq-actions,
  .eq-form,
  .back-home {
    display: none !important;
  }
  .eq-map {
    break-inside: avoid;
  }
  .eq-steps {
    display: block;
  }
  .eq-page {
    max-width: 100%;
  }
}

.brand-mark .project-logo-symbol {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.brand-mark .project-logo-symbol img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  clip-path: none !important;
}
.eq-tabs [aria-selected="true"] {
  background: #176bd6;
  color: #fff;
}
.legacy-onboarding-copy h1 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 14px 0;
}
.eq-home-subtitle {
  margin-top: 16px !important;
}

/* Visit companion keeps primary actions together at both viewport sizes. */
.eq-companion {
  margin-bottom: 24px;
}
.eq-companion-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.eq-companion-head h2 {
  margin: 8px 0;
  font-size: 1.55rem;
}
.eq-visit-state {
  font-size: 0.85rem;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  max-width: 100%;
}
.eq-visit-state.confirmed {
  color: var(--good);
}
.eq-visit-state.requested {
  color: var(--warn);
}
.eq-visit-picker {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.eq-visit-picker select {
  width: 100%;
  max-width: 100%;
}
.eq-companion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.eq-companion-grid > section {
  min-width: 0;
}
.eq-visit-time {
  font-size: 1.25rem;
  font-weight: 650;
  margin: 12px 0;
}
.eq-visit-countdown {
  color: var(--accent);
}
.eq-companion .small {
  margin: 12px 0;
}
.eq-preparation {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.eq-preparation h3 {
  margin-top: 0;
}
.eq-preparation progress {
  display: block;
  width: 100%;
  height: 10px;
  accent-color: var(--accent);
}
.eq-preparation fieldset {
  padding: 0;
  margin: 12px 0;
  border: 0;
}
.eq-check-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
}
.eq-check-item input[type="checkbox"] {
  width: 23px;
  height: 23px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.eq-check-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.eq-feedback {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.eq-feedback textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 300px;
}
.eq-comfort {
  width: min(560px, calc(100% - 24px));
  padding: 24px;
  max-height: 90dvh;
  overflow: auto;
}
.eq-comfort p {
  margin-top: 14px;
}
.eq-comfort .control {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.eq-map .eq-map-hit {
  fill: transparent;
  stroke: none;
}
.eq-map .eq-closed {
  stroke: #ef758a;
  stroke-width: 0.9;
  stroke-dasharray: 2 1.6;
}
.eq-map g[role="button"] {
  cursor: pointer;
}
.eq-map g[role="button"]:focus-visible .eq-map-hit {
  fill: #529fff33;
  stroke: #529fff;
  stroke-width: 0.6;
}
.eq-map text {
  pointer-events: none;
}
html[data-eq-text="large"] body {
  font-size: 18px;
}
html[data-eq-text="large"] .small,
html[data-eq-text="large"] .field-label,
html[data-eq-text="large"] .eq-visit-state {
  font-size: 16px !important;
}
html[data-eq-text="large"] :is(.button, .control, .input) {
  font-size: 16px;
}
html[data-eq-text="large"] .mobile-quick-nav button span {
  font-size: 12px;
  line-height: 1.25;
}
html[data-eq-text="large"] .eq-map text {
  font-size: 3.8px;
}
html[data-eq-motion="reduced"],
html[data-eq-motion="reduced"] *,
html[data-eq-motion="reduced"] *::before,
html[data-eq-motion="reduced"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
@media (prefers-reduced-motion: reduce) {
  html,
  html *,
  html *::before,
  html *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (min-width: 1100px) {
  .eq-route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr);
    align-items: start;
    gap: 24px;
  }
  .eq-route-layout > aside {
    position: sticky;
    top: 130px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
  }
  .eq-route-layout .eq-map {
    min-height: 250px;
  }
  .eq-tabs {
    position: relative;
  }
  .eq-page .eq-tabs {
    gap: 12px;
  }
}
@media (max-width: 680px) {
  .eq-companion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .eq-companion-head h2 {
    font-size: 1.35rem;
  }
  .eq-preparation {
    padding: 16px;
  }
  .eq-companion .eq-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .eq-companion .button {
    text-align: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }
  .eq-companion .eq-visit-picker .input {
    font-size: 16px;
  }
  html[data-eq-text="large"] .eq-tabs .button {
    font-size: 15px;
    min-height: 54px;
  }
  html[data-eq-text="large"] .header-actions #language {
    font-size: 13px;
  }
  html[data-eq-text="large"] .section-menu-grid button {
    padding: 14px;
  }
  .eq-map {
    min-height: 230px;
  }
}
@media print {
  .eq-visit-picker,
  .eq-comfort,
  .eq-feedback,
  .eq-companion .eq-actions {
    display: none !important;
  }
  .eq-route-layout {
    display: block;
  }
  .eq-route-layout > aside {
    position: static;
  }
  .eq-preparation {
    break-inside: avoid;
  }
}

.eq-map line {
  pointer-events: none;
}
.eq-map .eq-map-hit {
  pointer-events: all;
}
.eq-map g[role="button"] text {
  pointer-events: auto;
  cursor: pointer;
}

.eq-page .eq-tabs .button[aria-selected="true"] {
  background: #176bd6 !important;
  color: #fff !important;
  border-color: #176bd6 !important;
  box-shadow: 0 4px 14px #176bd622;
}
.eq-preparation h3,
.eq-feedback h3 {
  font-size: 1.1em;
  line-height: 1.4;
}

.eq-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.eq-form .form-grid > label {
  min-width: 0;
}
[data-eq-route-fields] {
  display: grid;
  gap: 16px;
}
.eq-companion {
  container-type: inline-size;
}
.eq-feedback .eq-form {
  max-width: 680px;
}
@container (max-width:680px) {
  .eq-companion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .eq-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Carevigate: lightweight spatial diagram, no WebGL or patient location tracking. */
.cv-outdoor { padding:24px; border:1px solid var(--line); border-radius:24px; margin:20px 0; background:var(--panel,var(--soft)); }
.cv-outdoor h3 { font-size:1.3rem; margin:12px 0; }
.cv-outdoor p { margin:12px 0; }
.cv-outdoor .eq-form { max-width:620px; }
.cv-navigator { margin:24px 0; padding:20px; border:1px solid var(--line); border-radius:24px; overflow:hidden; }
.cv-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.cv-toolbar h3 { margin:0; font-size:1.15rem; }
.cv-toolbar .eq-actions { margin:0; }
.cv-navigator [aria-pressed="true"] { background:#176bd6!important; color:white!important; border-color:#176bd6!important; }
.cv-scene { display:block; width:100%; max-height:620px; margin:16px auto; overflow:visible; }
.cv-floor-plate { fill:var(--soft,#20334b); stroke:var(--line,#40516c); stroke-width:1.5; }
.cv-scene text { font:11px system-ui; fill:var(--text,#edf3fb); paint-order:stroke; stroke:var(--panel,#152131); stroke-width:3px; stroke-linejoin:round; pointer-events:none; }
.cv-scene .cv-floor-label { font-size:13px; font-weight:650; }
.cv-hall { stroke:#8196ac; stroke-width:8; stroke-linecap:round; opacity:.35; }
.cv-active-path { stroke:#409bff; stroke-width:7; stroke-linecap:round; }
.cv-closed { stroke:#e77889; stroke-width:3; stroke-dasharray:6 5; }
.cv-point { fill:#78b9ff; stroke:var(--panel,#152131); stroke-width:2; }
.cv-current { fill:#3cddba; stroke:var(--panel,#152131); stroke-width:3; }
.cv-hit { fill:transparent; pointer-events:all; }
.cv-scene g[role="button"] { cursor:pointer; }
.cv-scene g:focus-visible .cv-hit { stroke:#409bff; stroke-width:2; }
.cv-step-card { padding:20px; background:var(--soft); border:1px solid var(--line); border-radius:18px; margin-top:12px; }
.cv-step-card h3 { margin:12px 0; font-size:1.5rem; }
.cv-flat-details { margin:20px 0; }
.cv-flat-details summary { cursor:pointer; padding:15px; min-height:48px; }
html[data-theme="light"] .cv-scene text { fill:#182a42; stroke:#f0f5fc; }
@media(max-width:600px) { .cv-navigator,.cv-outdoor { padding:16px; } .cv-navigator .eq-actions { gap:8px; } .cv-navigator .button { padding:12px; font-size:14px; min-height:44px; } .cv-outdoor .eq-actions { display:grid; grid-template-columns:1fr; } .cv-step-card h3 { font-size:1.2rem; } }
@media print { .cv-toolbar,.cv-outdoor,.cv-navigator .eq-actions { display:none!important; } .cv-scene { max-height:500px; } .cv-flat-details > * { display:block; } }

/* A floor plan is the default; the optional spatial view has actual wall faces. */
.cv-room-floor { stroke:#8195ac; stroke-width:1.3; fill:#e1eaf7; }
.cv-room-mint { fill:#d0eee6; }
.cv-room-lavender { fill:#e3def5; }
.cv-room-blue { fill:#d7e8fa; }
.cv-room-neutral { fill:#e6e9ef; }
.cv-wall { fill:#c0d0e4; stroke:#7c92ac; stroke-width:1; }
.cv-slab-side { fill:#8296b1; }
.cv-scene .cv-room-name { fill:#304459; stroke:none; font-size:13px; font-weight:600; }
.cv-scene text { font-size:15px; }
.cv-scene .cv-active-path { stroke:#087eee; stroke-width:7; }
.cv-navigator [data-cv-scene] { overflow:auto; border-radius:18px; background:var(--soft); margin-top:16px; }
.cv-scene { min-height:310px; max-height:650px; margin:8px auto; }
@media(min-width:1000px) { .cv-scene { max-height:600px; } }
@media(max-width:600px) { .cv-scene text { font-size:16px; } .cv-scene .cv-room-name { font-size:13px; } }

@media(max-width:600px) { .cv-scene text { font-size:24px; } .cv-scene .cv-room-name { font-size:21px; } }

/* Keep the first screen focused on useful actions, without a separate logo tile. */
.legacy-onboarding-copy { background:transparent!important; border:0!important; box-shadow:none!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
.brand .brand-mark { background:transparent!important; border:0!important; box-shadow:none!important; }
.cv-home-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0; }
.cv-home-actions .cv-home-action { display:flex; gap:14px; align-items:center; justify-content:flex-start; min-height:106px; padding:18px; text-align:left; white-space:normal; text-decoration:none; }
.cv-home-action > .icon { width:23px; height:23px; flex:none; }
.cv-home-action > .icon:last-child { width:18px; height:18px; margin-left:auto; }
.cv-home-action > span { min-width:0; display:block; }
.cv-home-action strong { display:block; font-size:15px; line-height:1.4; }
.cv-home-action small { display:block; margin-top:5px; font-size:12px; line-height:1.5; font-weight:400; color:inherit; opacity:.86; }
@media(max-width:680px) { .cv-home-actions { grid-template-columns:1fr; } .cv-home-actions .cv-home-action { min-height:90px; padding:16px; } .cv-home-action strong { font-size:16px; } .cv-home-action small { font-size:13px; } }

/* Transparent art must stay transparent through every nested logo wrapper. */
.project-logo.project-logo-symbol,
.brand .brand-mark .project-logo-symbol { background:transparent!important; border:0!important; box-shadow:none!important; border-radius:0!important; }
.cv-home-brand { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; margin:0 0 28px; }
.cv-home-brand .eq-logo-lockup { flex-direction:column; justify-content:center; gap:12px; margin:0; }
.cv-home-brand .eq-logo-lockup img { width:100px; height:100px; object-fit:contain; background:transparent; }
.cv-home-brand .eq-logo-lockup strong { font-size:2rem; }
.cv-home-brand > p { margin-top:12px; font-size:14px; }
.cv-care-connect { margin:20px 0; }
.cv-care-connect h2 { margin:10px 0; }
.cv-care-connect > p { margin:12px 0; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
@media(max-width:600px) { .cv-home-brand { margin-bottom:24px; } .cv-home-brand .eq-logo-lockup img { width:86px; height:86px; } .cv-home-brand .eq-logo-lockup strong { font-size:1.7rem; } input,textarea,select.input { font-size:16px; } }

/* Compact, left-aligned masthead; no stretched empty steps card. */
.legacy-onboarding-grid { align-items:start; }
.legacy-onboarding-grid .legacy-steps { align-self:start; justify-content:flex-start; min-height:0; padding:18px 22px; }
.legacy-step a { display:inline-block; margin-top:9px; font-size:12px; text-underline-offset:3px; }
.cv-home-brand { align-items:flex-start; text-align:left; margin-bottom:20px; }
.cv-home-brand .eq-logo-lockup { flex-direction:row; gap:14px; text-align:left; }
.cv-home-brand .eq-logo-lockup img { width:60px; height:60px; }
.cv-home-brand .eq-logo-lockup strong { font-size:24px; font-weight:600; }
.cv-home-brand > p { margin-top:8px; font-size:12px; }
.legacy-onboarding-copy h1 { font-size:clamp(25px,2.6vw,34px); font-weight:600; letter-spacing:-.65px; }
.legacy-onboarding-copy > p { font-size:14px; }
.cv-home-action strong { font-size:14px; font-weight:550; }
.cv-home-action small { font-size:12px; }
.cv-home-actions .cv-home-action { min-height:88px; padding:16px; }
.header-care-nav { display:flex; align-items:center; gap:20px; margin:0 auto; min-width:0; }
.header-care-nav a { font-size:13px; font-weight:500; text-decoration:none; color:var(--muted); white-space:nowrap; padding:10px 0; }
.header-care-nav a:hover { color:var(--accent); }
.brand { font-size:20px; font-weight:600; }
.header-inner { min-height:70px; gap:18px; }
.header-actions .control { font-size:12px; font-weight:500; padding:8px 10px; min-height:40px; }
.demo-strip { justify-content:flex-start; text-align:left; }
.cv-shared-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.cv-shared-grid .panel { min-width:0; }
.cv-shared-grid h2 { font-size:18px; font-weight:600; }
.cv-shared-grid p { margin:12px 0 18px; }
@media(max-width:1240px) { .header-care-nav { gap:12px; } .header-care-nav a { font-size:12px; } .header-actions .control span { display:none; } }
@media(max-width:1000px) { .header-care-nav { display:none; } .header-actions { margin-left:auto; } }
@media(max-width:680px) { .cv-shared-grid { grid-template-columns:1fr; } .cv-home-brand .eq-logo-lockup img { width:52px; height:52px; } .cv-home-brand .eq-logo-lockup strong { font-size:22px; } .legacy-onboarding-copy h1 { font-size:27px; font-weight:600; } .cv-home-action strong { font-size:14px; } .legacy-onboarding-copy > p { font-size:14px; } .legacy-steps { gap:10px; } .legacy-step strong { font-weight:550; } }
.page-head h1 { font-size:clamp(25px,2.7vw,34px); font-weight:600; }
.panel h2 { font-weight:600; }

/* Restore soft glass action buttons instead of square menu tiles. */
.cv-home-actions .cv-home-action { border-radius:26px!important; min-height:92px; }
.cv-shared-tools { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 24px; }
.cv-shared-tools .button { border-radius:22px; min-height:44px; font-size:13px; font-weight:500; padding:12px 16px; }
.cv-shared-intro { margin:14px 0; }
.visit-pass { padding:12px 0; }
.visit-pass h2 { font-size:24px; margin:12px 0; }
.visit-pass-time { font-size:28px; line-height:1.3; font-weight:600; margin:16px 0; color:var(--text); }
.visit-pass p { margin:12px 0; overflow-wrap:anywhere; }
.visit-pass .visit-pass-state { color:var(--good); }
@media(max-width:600px) { .cv-home-actions .cv-home-action { border-radius:25px!important; } .cv-shared-tools { display:grid; grid-template-columns:1fr; } .cv-shared-tools .button { justify-content:flex-start; text-align:left; white-space:normal; } }

/* Audited, single-purpose appointment screens. */
.layout:has(>main:only-child) { display:block; max-width:1200px; }
.live-services-page { max-width:1000px; margin:0 auto; }
.live-services-page > h1 { font-size:28px; font-weight:600; line-height:1.25; margin-bottom:18px; }
.cv-visits-actions { display:flex; gap:10px; align-items:flex-start; flex-wrap:wrap; margin-bottom:20px; }
.cv-visits-more { position:relative; border:1px solid var(--line); border-radius:18px; padding:10px 15px; }
.cv-visits-more summary,.cv-preparation-details summary { cursor:pointer; min-height:24px; }
.cv-visits-more[open] .text-button { display:block; text-align:left; margin:14px 0 0; padding:6px 0; }
.cv-preparation-details { margin-top:24px; padding-top:16px; border-top:1px solid var(--line); }
.cv-preparation-details .eq-companion { margin-top:18px; }
.eq-navigation-page { max-width:1160px; }
.eq-navigation-page .eq-intro h1 { font-size:28px; font-weight:600; }
.eq-navigation-page .eq-intro p { font-size:14px; }
.cv-route-form { background:var(--panel); padding:18px; border:1px solid var(--line); border-radius:22px; gap:14px; }
.cv-route-form > label { max-width:100%; }
.cv-route-form .input { min-height:44px; }
.cv-route-form [data-eq-route-fields] { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; }
.cv-route-form .form-grid { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }
.cv-route-form .check-row { align-items:center; min-height:44px; margin:0; }
.cv-route-form .check-row input { margin-top:0; }
.cv-map-status { font-size:12px; color:var(--warn); margin:10px 0; }
.cv-map-info { margin-top:20px; padding:14px 0; }
.cv-map-info summary { cursor:pointer; }
.cv-map-info p { margin:12px 0; }
.cv-navigation-v2 { padding:0; border:1px solid var(--line); background:var(--panel); border-radius:24px; overflow:hidden; }
.cv-nav-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px; border-bottom:1px solid var(--line); }
.cv-nav-toolbar h3 { font-size:19px; font-weight:600; margin:6px 0 0; }
.cv-view-switch { display:flex; flex:none; gap:4px; border-radius:20px; padding:4px; background:var(--soft); }
.cv-view-switch button { border:0; background:transparent; border-radius:16px; min-height:40px; padding:9px 16px; color:var(--text); font-size:13px; }
.cv-nav-body { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr); }
.cv-map-workspace { min-width:0; padding:18px; scroll-margin-top:150px; }
.cv-map-top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
[data-cv-floors],.cv-camera-controls { display:flex; gap:6px; }
.cv-map-top button { background:var(--soft); color:var(--text); border:1px solid var(--line); border-radius:13px; min-height:40px; min-width:40px; padding:8px 12px; font-size:13px; }
.cv-navigation-v2 [data-cv-scene] { border-radius:18px; background:#edf2fa; border:1px solid #cdd9e9; overflow:hidden; margin:0; }
.cv-navigation-v2 .cv-plan-v2 { display:block; width:100%; height:auto; min-height:0; max-height:560px; margin:0; }
.cv-plan-base { fill:#f9fbfe; stroke:#c8d5e6; stroke-width:2; }
.cv-plan-v2 .cv-room-floor { stroke:#9caec5; stroke-width:2; }
.cv-plan-v2 text { font-size:19px; fill:#253b55!important; stroke:#f9fbfe; stroke-width:4px; }
.cv-plan-v2 .cv-room-name { font-size:20px; stroke:none; font-weight:500; fill:#30465f!important; }
.cv-plan-door { stroke:#f9fbfe; stroke-width:5; }
.cv-plan-v2 .cv-hall { stroke:#cbd5e4; stroke-width:14; opacity:.7; }
.cv-plan-v2 .cv-active-path { stroke:#0876e7; stroke-width:6; }
.cv-plan-v2 .cv-destination { fill:#8f4bca; stroke:white; stroke-width:3; }
.cv-plan-v2 .cv-current { stroke:white; stroke-width:3; }
.cv-map-legend { display:flex; gap:14px; flex-wrap:wrap; margin:14px 0 10px; font-size:12px; }
.cv-map-legend span { display:flex; align-items:center; gap:6px; }
.cv-dot { display:block; width:9px; height:9px; border-radius:50%; }
.cv-dot.here { background:#02b483; }.cv-dot.goal { background:#944dca; }
.cv-legend-path { display:block; width:18px; height:3px; background:#0876e7; border-radius:3px; }
.cv-guidance { min-width:0; padding:22px; background:var(--soft); border-left:1px solid var(--line); }
.cv-guidance .cv-step-card { padding:0; margin:0 0 20px; background:none; border:0; border-radius:0; }
.cv-guidance h3 { font-size:23px; font-weight:600; line-height:1.3; margin:12px 0; }
.cv-guidance .cv-you-are { margin-top:16px; font-size:12px; }
.cv-step-actions { display:grid; gap:10px; margin:18px 0 12px; }
.cv-step-actions .button { justify-content:center; text-align:center; border-radius:20px; font-size:14px; }
.cv-guidance > .small { margin-top:12px; }
.cv-webgl-host { position:relative; }
.cv-webgl { display:block; width:100%; min-height:320px; touch-action:none; cursor:grab; }
.cv-webgl:active { cursor:grabbing; }
.cv-3d-labels { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.cv-3d-label { position:absolute; transform:translate(-50%,-50%); font:500 11px/1.3 system-ui; color:#243850; background:#ffffffe8; border:1px solid #c9d5e6; padding:3px 6px; border-radius:7px; white-space:nowrap; }
@media(max-width:850px) { .cv-nav-body { grid-template-columns:1fr; } .cv-guidance { border-left:0; border-top:1px solid var(--line); } .cv-navigation-v2 .cv-plan-v2 { max-height:480px; } }
@media(max-width:600px) { .cv-nav-toolbar { padding:16px; flex-wrap:wrap; gap:12px; } .cv-nav-toolbar h3 { font-size:18px; } .cv-view-switch { width:100%; } .cv-view-switch button { flex:1; } .cv-map-workspace { padding:12px; } .cv-guidance { padding:18px; } .cv-route-form { padding:15px; } .cv-route-form [data-eq-route-fields] { grid-template-columns:1fr; } .cv-route-form .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .cv-route-form .input { padding:9px; font-size:16px; } .cv-visits-actions { gap:8px; } .cv-visits-actions > .button { font-size:13px; } .cv-visits-more { font-size:13px; } .cv-plan-v2 text { font-size:22px; } .cv-plan-v2 .cv-room-name { font-size:21px; } }
.cv-plan-v2 .cv-current { fill:#008d6c; }
.cv-dot.here { background:#008d6c; }
@media print { .cv-view-switch,.cv-camera-controls,.cv-step-actions,.cv-map-hint,.cv-guidance>button { display:none!important; } .cv-nav-body { display:block; } .cv-navigation-v2 { overflow:visible; } .cv-navigation-v2 .cv-plan-v2 { max-height:450px; } .cv-guidance { border:0; } }
/* General healthcare entry points: retain rounded glass controls, reduce visual weight. */
.cv-home-purpose{max-width:660px}.cv-home-action strong{font-weight:600}.cv-home-brand>p{font-size:14px;letter-spacing:.01em}.cv-home-brand{margin-bottom:20px}.cv-home-brand .project-logo{max-width:160px}.cv-connected .card-head{gap:12px;flex-wrap:wrap}.cv-facility-card{padding:18px 0;border-top:1px solid var(--line)}.cv-facility-card h3{margin:0 0 8px;font-size:18px}.cv-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.clinic-search>.clinic-external{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.clinic-search>[data-clinic-status],.clinic-search>.small{grid-column:1/-1}.clinic-finder>.panel{margin-bottom:18px}.clinic-finder [data-facility-maps]{display:grid;gap:8px;margin:12px 0}.legacy-steps{align-self:start}.legacy-step{padding-block:22px}
@media(max-width:900px){.cv-about-grid{grid-template-columns:1fr}.cv-home-brand .project-logo{max-width:115px}.cv-home-actions{gap:10px}.cv-home-action{min-height:88px;padding:17px}.cv-home-action strong{font-size:17px}.cv-home-action small{font-size:14px}.legacy-steps{margin-top:8px}.legacy-onboarding-copy h1{font-size:clamp(28px,7.5vw,38px);font-weight:650;letter-spacing:-.7px}}
.cv-ticket-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;padding:0;counter-reset:ticket}.cv-ticket-progress li{counter-increment:ticket;padding:12px;background:var(--soft);border-radius:16px;font-size:13px;line-height:1.4}.cv-ticket-progress li::before{content:counter(ticket);display:block;color:var(--accent);font-weight:650;font-size:20px;margin-bottom:5px}.cv-ticket-number{display:block;font-size:clamp(24px,6vw,36px);letter-spacing:2px;color:var(--accent);margin:12px 0}.cv-patient-ticket h2{font-size:21px}.cv-patient-ticket .button{margin:8px 6px 8px 0}.cv-ticket-ahead{display:flex;align-items:center;gap:16px;border-block:1px solid var(--line);padding:14px 0;margin:14px 0}.cv-ticket-ahead strong{font-size:36px;color:var(--accent)}.cv-ticket-ahead span{font-size:13px;color:var(--muted)}.cv-queue-update{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cv-patient-ticket.called{border:2px solid var(--accent)}@media(max-width:600px){.cv-ticket-progress{grid-template-columns:repeat(2,1fr)}.cv-patient-ticket{padding:20px}}
.cv-3d-label{box-shadow:0 2px 8px #182b4133;font-size:11px;border:1px solid #fff9;backdrop-filter:none}.cv-zone-name{font-size:9px;fill:#243d55;font-weight:500;paint-order:stroke;stroke:#ffffffa8;stroke-width:3px;stroke-linejoin:round}.cv-webgl{border-radius:18px}.cv-map-workspace{background:linear-gradient(180deg,var(--panel),var(--card))}
