/* cv23.css — Cornerstone Insurance Home Health: Caregiver Visit Risk Anatomy Hotspots (Archetype A1)
   Inland Piedmont architectural blueprint aesthetic, strict scoping (.cv23-*), WCAG 2.2 AA, zero CLS. */

.cv23-frame {
  background: #FFFFFF;
  border: 1.5px solid rgba(10, 26, 51, 0.22);
  border-radius: 10px;
  box-shadow: var(--cv-shadow, 0 16px 36px -18px rgba(10, 26, 51, 0.2));
  overflow: hidden;
  box-sizing: border-box;
}

/* Architectural Blueprint Top Header Strip */
.cv23-plate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  background: #0A1A33;
  color: #EFF2F5;
  border-bottom: 3px solid #F26822;
}

.cv23-keystone-slabs {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: 22px;
  flex: 0 0 auto;
}

.cv23-slab {
  display: block;
  height: 3px;
  border-radius: 1px;
}

.cv23-slab-1 { width: 100%; background: #F26822; }
.cv23-slab-2 { width: 78%; background: #579CCD; }
.cv23-slab-3 { width: 56%; background: #EFF2F5; }

.cv23-plate-code {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-right: auto;
}

.cv23-plate-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD9E8;
}

/* Full-Width Zero-CLS Interactive Blueprint Canvas */
.cv23-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 440;
  background: #0A1A33;
  overflow: hidden;
}

.cv23-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* SVG Zone Illumination (opacity/stroke only, zero layout shift) */
.cv23-zone-hl {
  opacity: 0.18;
  transition: opacity 0.25s ease, fill-opacity 0.25s ease;
}

.cv23-zone.cv23-is-active .cv23-zone-hl {
  opacity: 1;
  fill-opacity: 0.16;
  stroke: #F26822;
}

/* Subtle GPU-Composited Living Vector Animations */
.cv23-route-line {
  animation: cv23-route-flow 7s linear infinite;
}

.cv23-ekg {
  stroke-dasharray: 84;
  stroke-dashoffset: 0;
  animation: cv23-ekg-trace 3.6s ease-in-out infinite;
}

@keyframes cv23-route-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -52; }
}

@keyframes cv23-ekg-trace {
  0%, 100% { stroke-dashoffset: 0; opacity: 1; }
  50% { stroke-dashoffset: 24; opacity: 0.72; }
}

/* Accessible >=44x44px HTML Hotspot Pin Overlays */
.cv23-pin {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cv23-pin-pulse {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid #F26822;
  opacity: 0;
  pointer-events: none;
  animation: cv23-pin-ring 2.6s ease-out infinite;
}

.cv23-pin.cv23-is-active .cv23-pin-pulse {
  border-color: #F26822;
  animation-duration: 2s;
}

.cv23-pin-core {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid #FFFFFF;
  background: #0A1A33;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px -4px rgba(10, 26, 51, 0.65);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cv23-pin:hover .cv23-pin-core {
  background: #1C4A75;
  transform: scale(1.08);
}

.cv23-pin.cv23-is-active .cv23-pin-core,
.cv23-pin[aria-pressed="true"] .cv23-pin-core {
  background: #F26822;
  border-color: #0A1A33;
  color: #0A1A33;
  transform: scale(1.1);
}

@keyframes cv23-pin-ring {
  0% { transform: scale(0.95); opacity: 0.75; }
  75%, 100% { transform: scale(1.42); opacity: 0; }
}

/* Synced Accessible Horizontal Chip Bar Below SVG */
.cv23-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  background: #EFF2F5;
  border-top: 1px solid rgba(10, 26, 51, 0.14);
  border-bottom: 1px solid rgba(10, 26, 51, 0.14);
}

.cv23-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 10.5rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  border: 1.5px solid rgba(28, 74, 117, 0.28);
  border-left: 4px solid #2E72AC;
  background: #FFFFFF;
  color: #0A1A33;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cv23-chip:hover {
  background: #E8F2FA;
  border-color: #1C4A75;
}

.cv23-chip.cv23-is-active,
.cv23-chip[aria-pressed="true"] {
  background: #0A1A33;
  border-color: #0A1A33;
  border-left-color: #F26822;
  color: #FFFFFF;
}

.cv23-chip-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #EFF2F5;
  color: #0A1A33;
  font-size: 0.72rem;
  font-weight: 800;
}

.cv23-chip.cv23-is-active .cv23-chip-idx,
.cv23-chip[aria-pressed="true"] .cv23-chip-idx {
  background: #F26822;
  color: #0A1A33;
}

.cv23-chip-lbl {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Full-Width Editorial Readout Card Below (NO Sidebar) */
.cv23-readout {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  background: #FFFFFF;
}

.cv23-readout-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(10, 26, 51, 0.14);
}

.cv23-readout-meta {
  min-width: 0;
  flex: 1 1 18rem;
}

.cv23-zone-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #B5420B;
  margin-bottom: 0.32rem;
}

.cv23-readout-title {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0A1A33;
}

.cv23-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.cv23-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  border: 1.5px solid #0A1A33;
  background: #FFFFFF;
  color: #0A1A33;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cv23-step-btn:hover {
  background: #0A1A33;
  color: #FFFFFF;
  border-color: #F26822;
}

/* Full-Width 3-Column Blueprint Specification Grid */
.cv23-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 820px) {
  .cv23-spec-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.2rem;
  }
}

.cv23-spec-col {
  min-width: 0;
  background: #F8FAFC;
  border: 1px solid rgba(10, 26, 51, 0.12);
  border-radius: 8px;
  padding: 1rem 1.05rem;
}

.cv23-spec-accent {
  background: #FEF1EA;
  border-color: rgba(181, 66, 11, 0.24);
  border-left: 4px solid #F26822;
}

.cv23-spec-h {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1C4A75;
}

.cv23-spec-accent .cv23-spec-h {
  color: #B5420B;
}

.cv23-spec-copy {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.58;
  color: #334155;
}

.cv23-spec-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.89rem;
  line-height: 1.55;
  color: #334155;
}

.cv23-spec-list li + li {
  margin-top: 0.36rem;
}

@media (max-width: 520px) {
  .cv23-plate-hint {
    display: none;
  }
  .cv23-chipbar {
    padding: 0.75rem;
  }
  .cv23-chip {
    flex: 1 1 100%;
  }
  .cv23-pin-core {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
}
