/* kit.css - hero scene pins and report panel for the kit demos. Brand tokens only. */
.scene { position: relative; width: 100%; aspect-ratio: var(--ar); border-radius: 12px; overflow: hidden; background: var(--bq-bg); border: 1px solid var(--bq-border); }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-tag { position: absolute; right: 10px; bottom: 8px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--bq-faint); background: rgba(13,27,42,.7); padding: 2px 8px; border-radius: 999px; }
.pin { position: absolute; transform: translate(-50%, -50%); background: rgba(21,24,39,.92); border: 1px solid var(--bq-border); border-left: 3px solid var(--bq-ok); border-radius: 9px; padding: 5px 9px 6px; min-width: 76px; max-width: 150px; box-shadow: 0 6px 18px rgba(0,0,0,.35); pointer-events: none; }
.pin-dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--bq-ok); }
.pin-h { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bq-muted); padding-right: 12px; white-space: nowrap; }
.pin-v { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; color: var(--bq-text); }
.pin-v span { white-space: nowrap; }
.pin.st-warning { border-left-color: var(--bq-warning); }
.pin.st-warning .pin-dot { background: var(--bq-warning); }
.pin.st-critical { border-left-color: var(--bq-critical); background: rgba(40,18,26,.94); }
.pin.st-critical .pin-dot { background: var(--bq-critical); animation: nbpulse 1s infinite; }

/* svg parts */
.s-sky-a { stop-color: var(--bq-elevated); }
.s-sky-b { stop-color: var(--bq-bg); }
.s-ground { fill: var(--bq-panel); stroke: var(--bq-border); }
.s-line { stroke: var(--bq-border); fill: none; }
.s-body { fill: var(--bq-elevated); stroke: var(--bq-faint); stroke-width: 1.2; }
.s-cell { fill: var(--bq-info); fill-opacity: .55; stroke: var(--bq-bg); stroke-width: 1.5; }
.s-text { fill: var(--bq-muted); font: 600 11px var(--bq-font); letter-spacing: .04em; }
.s-gold { fill: var(--bq-orange); }
.s-flow { fill: none; stroke: var(--bq-orange); stroke-width: 2.4; stroke-dasharray: 7 9; animation: s-flow var(--flow, 1.4s) linear infinite; stroke-linecap: round; }
.s-flow.data { stroke: var(--bq-info); stroke-width: 1.8; stroke-dasharray: 2 8; }
.s-flow.ac { stroke: var(--bq-ok); }
@keyframes s-flow { to { stroke-dashoffset: -32; } }
.s-sun-ray { transform-origin: 0 0; animation: s-spin 40s linear infinite; }
@keyframes s-spin { to { transform: rotate(360deg); } }
.s-glow { fill: var(--bq-critical); opacity: 0; transition: opacity 1s; }
.s-warnfill { fill: var(--bq-warning); opacity: 0; transition: opacity 1s; }
.s-lamp { fill: var(--bq-ok); transition: fill .4s; }
.s-lamp.trip { fill: var(--bq-critical); animation: nbpulse 1s infinite; }
.s-cloud { fill: var(--bq-muted); fill-opacity: .55; transition: opacity 1.5s; }
.s-heat { fill: none; stroke: var(--bq-critical); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: s-rise 1.8s ease-in infinite; }
@keyframes s-rise { 0% { transform: translateY(0); opacity: .0; } 30% { opacity: .8; } 100% { transform: translateY(-22px); opacity: 0; } }

/* report panel */
.rep-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 10px; }
.rep-cell { background: var(--bq-elevated); border: 1px solid var(--bq-border); border-radius: 10px; padding: 8px 12px; }
.rep-l { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--bq-muted); }
.rep-v { font-size: 12px; color: var(--bq-muted); } .rep-v b { font-size: 20px; color: var(--bq-text); font-variant-numeric: tabular-nums; }
.rep-state.ready { color: var(--bq-ok); }
.rep-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rep-tl li { display: grid; grid-template-columns: 46px 8px 1fr; gap: 10px; align-items: baseline; font-size: 12px; color: var(--bq-text); }
.rep-tl .rt { color: var(--bq-muted); font-variant-numeric: tabular-nums; }
.rep-tl .rd { width: 8px; height: 8px; border-radius: 50%; background: var(--bq-info); align-self: center; }
.rep-tl .sev-warning .rd { background: var(--bq-warning); } .rep-tl .sev-critical .rd { background: var(--bq-critical); } .rep-tl .sev-ok .rd { background: var(--bq-ok); }
.rep-tl .rm b { color: var(--bq-muted); font-weight: 600; margin-right: 4px; }
.rep-empty { display: block !important; color: var(--bq-faint); }

@media (max-width: 560px) {
  .scene { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 6px 22px; }
  .scene-svg { position: static; grid-column: 1 / -1; height: auto; aspect-ratio: var(--ar); }
  .pin { position: static; transform: none; max-width: none; }
  .pin { padding: 4px 7px 5px; min-width: 0; max-width: 118px; }
  .pin-h { font-size: 8.5px; } .pin-v { font-size: 11px; }
  .scene-tag { font-size: 8px; }
}
