/* AUTO-GENERATED from healthcare_compliance.html — scoped under .hc-app. Do not hand-edit. */
.hc-app, .hc-app *, .hc-app *::before, .hc-app *::after { box-sizing: border-box; }

.hc-app *, .hc-app *::before, .hc-app *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hc-app {
  --bg-primary:   #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-clinical:  #eaf6f0;
  --bg-hit:       #e8f2fc;
  --bg-hr:        #fdf3e3;
  --bg-vec:       #f3effe;
  --bg-danger:    #fef2f2;
  --text-primary:   #0f172a;
  --text-secondary: #64748b;
  --text-clinical:  #15633a;
  --text-hit:       #1d4ed8;
  --text-hr:        #92400e;
  --text-vec:       #6d28d9;
  --text-danger:    #991b1b;
  --border: rgba(15,23,42,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --brand: #0369a1;
  --brand-dark: #075985;
  --brand-tint: #e0f2fe;
  --pillar-1: #0369a1;
  --pillar-2: #0891b2;
  --pillar-3: #0d9488;
  --pillar-4: #059669;
  --pillar-5: #7c3aed;
  --pillar-6: #b45309;
  --pillar-7: #be185d;
  --pillar-8: #1e40af;
  --vector: #475569;
}

.hc-app { font-family: var(--font); background: #fff; color: var(--text-primary); line-height: 1.6; min-height: 100vh; }

.hc-app .page { max-width: 1320px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }

.hc-app h1 { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 4px; }

.hc-app .subtitle { text-align: center; font-size: 14px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 1.25rem; }



.hc-app .mode-toggle { display: flex; justify-content: center; gap: 0; margin: 0 auto 1.75rem; max-width: 420px; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--bg-secondary); }

.hc-app .mode-btn { flex: 1; padding: 10px 14px; font-size: 13px; font-weight: 600; font-family: var(--font); border: none; background: transparent; color: var(--text-secondary); cursor: pointer; transition: all 0.18s; display: flex; align-items: center; justify-content: center; gap: 7px; }

.hc-app .mode-btn.active { background: var(--brand); color: #fff; }



.hc-app .flow-hero { padding: 2.5rem 1.5rem 2rem; position: relative; overflow: visible; background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 40%, #faf5ff 70%, #fff1f2 100%); border-radius: var(--radius-lg); margin-bottom: 1.5rem; }

.hc-app .flow-head { text-align: center; margin-bottom: 1.5rem; }

.hc-app .flow-head h2 { font-size: 20px; font-weight: 700; color: var(--text-primary); }

.hc-app .flow-head p { font-size: 13px; color: var(--text-secondary); margin-top: 3px; min-height: 18px; }

.hc-app .flow-head p strong { color: var(--text-primary); }


.hc-app .flow-track { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 1100px; margin: 0 auto; position: relative; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; overflow-y: visible; padding-top: 14px; }

.hc-app .flow-node { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; padding: 0 4px; cursor: pointer; font-family: var(--font); }

.hc-app .fn-badge { position: relative; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: radial-gradient(125% 125% at 30% 22%, #fff 0%, color-mix(in srgb, var(--c) 18%, #fff) 100%);
  border: 2px solid color-mix(in srgb, var(--c) 35%, #fff);
  box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--c) 50%, transparent);
  transition: transform 0.25s cubic-bezier(0.34,1.45,0.5,1), box-shadow 0.25s; }

.hc-app .flow-node:hover .fn-badge, .hc-app .flow-node.lit .fn-badge { transform: scale(1.12); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--c) 65%, transparent), 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }

.hc-app .flow-node.lit .fn-badge { border-color: var(--c); }

.hc-app .fn-num { position: absolute; top: -4px; right: -4px; width: 19px; height: 19px; border-radius: 50%; background: var(--c); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,0.25); }

.hc-app .fn-label { font-size: 10px; font-weight: 600; color: var(--text-secondary); text-align: center; max-width: 72px; line-height: 1.3; }

.hc-app .flow-node.lit .fn-label { color: var(--c); }

.hc-app .flow-connector { flex: 0 0 18px; height: 2px; background: linear-gradient(90deg, var(--ca), var(--cb)); opacity: 0.4; align-self: center; margin-bottom: 28px; transform-origin: left center; }



@keyframes nodePop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.22); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1.12); }
}

@keyframes connectorDraw {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.85; }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--c) 65%, transparent), 0 0 0 0px   color-mix(in srgb, var(--c) 35%, transparent); }
  60%  { box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--c) 65%, transparent), 0 0 0 9px   color-mix(in srgb, var(--c) 0%,  transparent); }
  100% { box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--c) 65%, transparent), 0 0 0 5px   color-mix(in srgb, var(--c) 18%, transparent); }
}

.hc-app .flow-node.animating .fn-badge {
  animation: nodePop 0.55s cubic-bezier(0.34,1.45,0.5,1) forwards,
             pulseRing 0.9s ease-out 0.3s forwards;
}

.hc-app .flow-connector.animating {
  animation: connectorDraw 0.4s ease-out forwards;
}



.hc-app .legend { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 1.5rem; }

.hc-app .legend-cap { font-size: 12px; font-weight: 600; color: var(--text-primary); align-self: center; margin-right: 2px; }

.hc-app .legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-secondary); background: var(--bg-secondary); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: all 0.15s; }

.hc-app .legend-item.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.hc-app .legend-hint { flex-basis: 100%; text-align: center; font-size: 11px; color: var(--text-secondary); font-style: italic; min-height: 14px; }



.hc-app .journey-progress { display: none; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.93); backdrop-filter: blur(8px); border-bottom: 0.5px solid var(--border); padding: 8px 0; margin: 0 -1.25rem 1.5rem; }

.hc-app .jp-inner { display: flex; align-items: center; gap: 2px; max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; overflow-x: auto; }

.hc-app .jp-step { flex: 1 1 0; min-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; opacity: 0.4; transition: opacity 0.2s; border: none; background: none; font-family: var(--font); padding: 0 2px; }

.hc-app .jp-step.active { opacity: 1; }

.hc-app .jp-dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--jc); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: transform 0.2s; }

.hc-app .jp-step.active .jp-dot { transform: scale(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jc) 20%, transparent); }

.hc-app .jp-label { font-size: 9px; font-weight: 600; color: var(--text-secondary); text-align: center; white-space: nowrap; }

.hc-app .jp-step.active .jp-label { color: var(--jc ); }

.hc-app .jp-line { flex: 0 0 10px; height: 2px; background: var(--border); align-self: flex-start; margin-top: 13px; }



.hc-app .scene { scroll-margin-top: 60px; margin-bottom: 2rem; border: 0.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-primary); }

.hc-app .scene-banner { display: flex; align-items: flex-start; gap: 14px; padding: 1.25rem 1.4rem; background: linear-gradient(120deg, color-mix(in srgb, var(--pc) 12%, #fff) 0%, #fff 100%); border-bottom: 1px solid color-mix(in srgb, var(--pc) 18%, #fff); }

.hc-app .scene-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; background: linear-gradient(145deg, var(--pc), color-mix(in srgb, var(--pc) 65%, #000)); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--pc) 60%, transparent); transition: transform 0.3s cubic-bezier(0.34,1.4,0.5,1); }

.hc-app .scene:hover .scene-icon { transform: rotate(-4deg) scale(1.06); }

.hc-app .scene-step { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--pc) 65%, #000); }

.hc-app .scene-banner h2 { font-size: 19px; font-weight: 700; margin: 2px 0 3px; }

.hc-app .scene-tagline { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

.hc-app .scene-body { padding: 1.25rem 1.4rem; }

.hc-app .scene-intro { font-size: 14px; line-height: 1.75; color: var(--text-primary); margin-bottom: 1.25rem; }

.hc-app .scene-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.25rem; }

@media (max-width: 580px) {
 .hc-app .scene-cards { grid-template-columns: 1fr; }
 
}

.hc-app .scene-card { border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 11px 13px; font-size: 13px; line-height: 1.6; }

.hc-app .scene-card h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }

.hc-app .scene-card.who { background: var(--bg-secondary); }

.hc-app .scene-card.who h4 { color: var(--text-secondary); }

.hc-app .scene-card.risk { background: var(--bg-danger); }

.hc-app .scene-card.risk h4 { color: var(--text-danger); }

.hc-app .rules-h { font-size: 13px; font-weight: 700; margin-bottom: 10px; }

.hc-app .plain-rules { display: flex; flex-direction: column; gap: 7px; margin-bottom: 1.25rem; }

.hc-app .prule { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 0.5px solid var(--border); border-radius: var(--radius-md); background: var(--bg-primary); transition: opacity 0.22s, filter 0.22s; }

.hc-app .prule-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: var(--pc, var(--brand)); display: flex; align-items: center; justify-content: center; }

.hc-app .prule-dot span { font-size: 9px; color: #fff; font-weight: 700; }

.hc-app .prule-text { font-size: 13px; line-height: 1.55; }

.hc-app .prule-cite { display: inline-block; font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); background: var(--bg-secondary); padding: 1px 6px; border-radius: 4px; margin-left: 4px; white-space: nowrap; }

.hc-app #scenesMount[data-lens="admin"]   .prule:not([data-roles*="admin"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="nursing"] .prule:not([data-roles*="nursing"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="physician"] .prule:not([data-roles*="physician"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="diag"]   .prule:not([data-roles*="diag"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="pharmacy"] .prule:not([data-roles*="pharmacy"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="surgical"] .prule:not([data-roles*="surgical"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="evs"]    .prule:not([data-roles*="evs"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app #scenesMount[data-lens="hit"]    .prule:not([data-roles*="hit"]) { opacity: 0.18; filter: grayscale(0.8); }

.hc-app .scene-expand { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; font-size: 12.5px; font-weight: 600; font-family: var(--font); border: 1.5px solid var(--pc); color: var(--pc); background: transparent; border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s; }

.hc-app .scene-expand:hover { background: var(--pc); color: #fff; }



.hc-app .threads { margin: 2rem 0; }

.hc-app .threads h2 { font-size: 17px; font-weight: 700; margin-bottom: 6px; text-align: center; }

.hc-app .threads-lede { font-size: 13px; color: var(--text-secondary); margin-bottom: 1rem; text-align: center; max-width: 660px; margin-left: auto; margin-right: auto; }

.hc-app .thread-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 11px; }

.hc-app .thread-card { border: 0.5px solid var(--border); border-left: 4px solid var(--tc); border-radius: var(--radius-md); padding: 12px 13px; background: var(--bg-primary); }

.hc-app .thread-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }

.hc-app .thread-card p { font-size: 12px; line-height: 1.6; color: var(--text-secondary); }



.hc-app .journey-end { text-align: center; padding: 1.5rem; margin: 1rem 0; border-radius: var(--radius-lg); background: linear-gradient(115deg, #f0fdf4, #eff6ff); border: 0.5px solid var(--border); }

.hc-app .journey-end .je-icon { font-size: 32px; }

.hc-app .journey-end h3 { font-size: 16px; font-weight: 700; margin: 6px 0; color: var(--text-clinical); }

.hc-app .journey-end p { font-size: 13px; color: var(--text-primary); max-width: 560px; margin: 0 auto 12px; line-height: 1.7; }



.hc-app .catalog-controls { display: flex; gap: 12px; margin-bottom: 1.25rem; flex-wrap: wrap; align-items: center; }

.hc-app .catalog-controls .search-wrap { flex: 1 1 0; position: relative; min-width: 240px; }

.hc-app .catalog-controls .state-wrap { flex: 0 0 320px; position: relative; min-width: 200px; }

.hc-app .ctrl-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 15px; pointer-events: none; color: var(--text-secondary); }

.hc-app .search-input { width: 100%; padding: 11px 60px 11px 38px; font-size: 13.5px; font-family: var(--font); border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--text-primary); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }

.hc-app .search-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

.hc-app .search-input::placeholder { color: var(--text-secondary); }

.hc-app .search-clear { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--text-secondary); font-size: 12px; cursor: pointer; padding: 4px 8px; display: none; }

.hc-app .state-select { width: 100%; padding: 11px 14px 11px 38px; font-size: 13.5px; font-family: var(--font); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border)); border-radius: var(--radius-md); background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; cursor: pointer; outline: none; }

.hc-app .state-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }


.hc-app .search-results { display: none; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem; background: #fff; }

.hc-app .search-results.visible { display: block; }

.hc-app .sr-header { padding: 8px 14px; font-size: 11px; font-weight: 600; color: var(--text-secondary); background: var(--bg-secondary); border-bottom: 0.5px solid var(--border); text-transform: uppercase; letter-spacing: 0.05em; }

.hc-app .sr-row { padding: 10px 14px; border-bottom: 0.5px solid var(--border); cursor: pointer; transition: background 0.1s; }

.hc-app .sr-row:last-child { border-bottom: none; }

.hc-app .sr-row:hover { background: var(--bg-secondary); }

.hc-app .sr-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }

.hc-app .sr-meta { font-size: 11px; color: var(--text-secondary); display: flex; gap: 8px; flex-wrap: wrap; }

.hc-app .sr-cite { font-family: var(--font-mono); font-size: 10.5px; color: var(--brand); }

.hc-app .no-results { padding: 1.5rem; text-align: center; font-size: 13px; color: var(--text-secondary); }

.hc-app mark { background: #fef9c3; color: inherit; border-radius: 2px; padding: 0 1px; }


.hc-app .state-overlay { display: none; border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1.25rem; background: var(--brand-tint); }

.hc-app .state-overlay.visible { display: block; }

.hc-app .state-overlay h3 { font-size: 14px; font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; }

.hc-app .so-row { font-size: 12.5px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 0.5px solid rgba(3,105,161,0.15); }

.hc-app .so-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.hc-app .so-title { font-weight: 600; display: block; margin-bottom: 2px; }

.hc-app .so-cite { font-family: var(--font-mono); font-size: 10.5px; color: var(--brand); display: block; margin: 2px 0 4px; }



.hc-app .pillar-grid { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hc-app .pillar { flex: 1 1 0; min-width: 110px; cursor: pointer; border: 1px solid var(--border); background: var(--bg-secondary); padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 500; font-family: var(--font); border-radius: var(--radius-md); transition: all 0.15s; display: flex; flex-direction: column; align-items: center; gap: 4px; }

.hc-app .pillar:hover { border-color: var(--pillar-color); background: #fff; }

.hc-app .pillar.active { background: #fff; color: var(--pillar-color); border-color: var(--pillar-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pillar-color) 14%, transparent), inset 0 -3px 0 var(--pillar-color); font-weight: 700; }

.hc-app .pillar-icon { font-size: 18px; }



.hc-app .node-content { display: none; }

.hc-app .node-content.active { display: block; }

.hc-app .node-header { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 1rem; padding: 1rem 1.25rem; background: #fff; border-radius: var(--radius-lg); border: 0.5px solid var(--border); border-left: 5px solid var(--pc, var(--brand)); }

.hc-app .node-title { font-size: 16px; font-weight: 600; margin-bottom: 3px; }

.hc-app .node-roles { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

.hc-app .expand-all { margin-left: auto; align-self: center; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--brand); font-size: 11.5px; font-weight: 600; font-family: var(--font); padding: 6px 11px; cursor: pointer; white-space: nowrap; transition: background 0.15s; }

.hc-app .expand-all:hover { background: var(--brand-tint); }



.hc-app .layer-tabs { display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; background: var(--bg-secondary); margin-bottom: 1rem; overflow: visible; }

.hc-app .layer-tab { flex: 1; padding: 7px 6px; font-size: 11.5px; text-align: center; cursor: pointer; background: transparent; color: var(--text-secondary); border: none; border-radius: 999px; transition: background 0.15s; font-family: var(--font); font-weight: 500; }

.hc-app .layer-tab.active { background: var(--brand); color: #fff; font-weight: 600; }

.hc-app .layer-content { display: none; }

.hc-app .layer-content.active { display: block; }



.hc-app .req-list { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; margin-bottom: 1rem; }

.hc-app .req { border-bottom: 1px solid var(--border); background: transparent; }

.hc-app .req:last-child { border-bottom: none; }

.hc-app .req-head { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; cursor: pointer; transition: background 0.1s; }

.hc-app .req-head:hover { background: var(--bg-secondary); }

.hc-app .req.open .req-head { background: color-mix(in srgb, var(--pc, var(--brand)) 5%, #fff); }

.hc-app .req-badge { flex-shrink: 0; margin-top: 1px; }

.hc-app .badge { display: inline-block; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; font-weight: 600; }

.hc-app .badge-clinical { background: var(--bg-clinical); color: var(--text-clinical); }

.hc-app .badge-hit { background: var(--bg-hit); color: var(--text-hit); }

.hc-app .badge-hr { background: var(--bg-hr); color: var(--text-hr); }

.hc-app .badge-vec { background: var(--bg-vec); color: var(--text-vec); }

.hc-app .badge-state { background: #dbeafe; color: #1e40af; }

.hc-app .req-title { font-size: 13.5px; font-weight: 500; flex: 1; }

.hc-app .req-cite-inline { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-secondary); margin-left: 6px; }

.hc-app .req-chevron { font-size: 12px; color: var(--text-secondary); flex-shrink: 0; margin-top: 2px; transition: transform 0.2s; }

.hc-app .req.open .req-chevron { transform: rotate(180deg); }

.hc-app .req-body { display: none; padding: 0 14px 13px 14px; }

.hc-app .req.open .req-body { display: block; }

.hc-app .req-body-inner { font-size: 13px; line-height: 1.7; color: var(--text-primary); padding: 10px 12px; background: var(--bg-secondary); border-radius: var(--radius-sm); }



.hc-app .state-section-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); padding: 8px 14px 4px; border-top: 0.5px solid var(--border); background: var(--bg-secondary); }

.hc-app .req-state { background: #f0f9ff; box-shadow: inset 4px 0 0 var(--brand); }

.hc-app .req-state .req-title { color: var(--brand-dark); }



.hc-app .vec-block { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }

.hc-app .vec-head { padding: 9px 14px; font-size: 12px; font-weight: 600; color: #fff; background: var(--vector); display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.hc-app .vec-count { background: rgba(255,255,255,0.24); font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }



.hc-app .cross-section { margin-top: 2rem; }

.hc-app .cross-header { font-size: 15px; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 0.5px solid var(--border); }

.hc-app .cross-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

.hc-app .cross-card { border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; background: #fff; transition: transform 0.15s, box-shadow 0.15s; }

.hc-app .cross-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px -8px rgba(15,23,42,0.15); }

.hc-app .cross-card-title { font-size: 13px; font-weight: 600; margin-bottom: 5px; }

.hc-app .cross-card-trigger { font-size: 11px; color: var(--text-secondary); font-style: italic; margin-bottom: 9px; }

.hc-app .cross-card-body { font-size: 12.5px; line-height: 1.65; margin-bottom: 9px; }

.hc-app .nodes-affected { display: flex; flex-wrap: wrap; gap: 4px; }

.hc-app .cross-badge { font-size: 10px; padding: 2px 8px; border-radius: 999px; font-weight: 500; background: var(--bg-secondary); color: var(--text-secondary); }


@media (max-width: 860px) {
 .hc-app .pillar-grid { gap: 3px; }
 .hc-app .pillar { min-width: 90px; font-size: 11px; }
 
}

@media (max-width: 640px) {
 .hc-app .flow-track { justify-content: flex-start; }
 .hc-app .catalog-controls { flex-direction: column; }
 
}

@media (prefers-reduced-motion: reduce) {
 .hc-app * { transition: none !important; animation: none !important; }
 
}

