/* One saturated accent per card; blue remains the shared base. */
.mc-panel{--card-accent:#b94aff;--card-rgb:185,74,255}
.signal-panel,.trace-panel{--card-accent:#ff7600;--card-rgb:255,118,0}
.activity-card,.profile-card{--card-accent:#00f58a;--card-rgb:0,245,138}
.hive-card,.deck-sync{--card-accent:#ff263e;--card-rgb:255,38,62}
.mc-panel .egg-kicker{color:var(--card-accent);text-shadow:0 0 5px rgba(var(--card-rgb),.65),0 0 14px rgba(var(--card-rgb),.45)}
/* Signal: a warm waveform from a glowing core (src/signal-wave.js); it reaches
   a little into the card padding and fades out there. The number turns orange
   above the alarm threshold. */
.signal-panel canvas.signal-chart{display:block;width:calc(100% + 24px);max-width:none;margin-inline:-12px;aspect-ratio:240/70}
.signal-panel #signal-number.is-alarm,.signal-panel #signal-alarm{color:#ff7600;text-shadow:0 0 5px #ff7600bb,0 0 15px #ff760088}
.signal-panel #signal-alarm:not([hidden]){animation:signal-warning-orange 1.8s ease-in-out infinite}
@keyframes signal-warning-orange{0%,100%{opacity:.7;text-shadow:0 0 6px #ff760088}50%{opacity:1;text-shadow:0 0 9px #ff7600,0 0 18px #ff760099}}
/* Project Flow: one green signal beside the blue series. */
.activity-card .activity-line.warm{stroke:#68ffb7;filter:url(#chart-glow-green)}
.activity-card #activity-points circle.warm{fill:#b7ffdb;filter:url(#chart-glow-green)}
/* Impulses in PROJECT FLOW (src/dashboard-instruments.js): trail, halo, spark and arrival ring, without SVG filters. */
.activity-trail{fill:none;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.activity-spark{fill:#f4fbff}
.activity-spark.warm{fill:#f0fff7}
.activity-ring{fill:none;stroke:#9fdcff;stroke-width:1.4}
.activity-ring.warm{stroke:#8affc4}
.trace-panel li.is-active::before{background:#ff7600;box-shadow:0 0 8px 2px #ff7600}
/* Intelligence Field: all highlighted nodes and labels share green. */
.profile-card{background:radial-gradient(ellipse at 65% 60%,#00f58a0b,transparent 65%),radial-gradient(ellipse at 30% 60%,#008cff16,transparent 60%),#020813}
.profile-card .field-web .coral{stroke:#00f58a;filter:drop-shadow(0 0 3px #00f58a66)}
.profile-card .field-node.coral{fill:#00f58a;filter:drop-shadow(0 0 5px #00f58a) drop-shadow(0 0 13px #00f58aaa)}
.profile-card .field-node.coral text,.profile-card .field-node.coral .field-halo{fill:#00f58a}
.profile-card .cognition-code{color:#00f58a;text-shadow:0 0 8px #00f58a}
/* Hive and Sync: red activity, blue infrastructure. */
.hive-card .hive-warm{color:#ff263e}
.hive-card .hive-cell.hive-warm text{fill:#ff9eaa}
.hive-card .hive-cell.hive-warm polygon{filter:drop-shadow(0 0 4px #ff263e) drop-shadow(0 0 10px #ff263ebb) drop-shadow(0 0 18px #ff263e55)}
.deck-sync .chip-route.warm .chip-pulse{stroke:#ffadb7;filter:drop-shadow(0 0 2px #ff5367) drop-shadow(0 0 5px #ff263e) drop-shadow(0 0 11px #ff263e)}
.deck-sync .chip-route.warm .chip-contact{fill:#ff263e;stroke:#ffadb7;filter:drop-shadow(0 0 4px #ff263e)}
.deck-sync #sync-label{color:#93b8e8}
.deck-sync #enterprise-destruct button{color:#ff6678;border-color:#802330;background:#240911}
.deck-sync #destruct-status{color:#ff6678;text-shadow:0 0 7px #ff263e77}
.enterprise-countdown.is-critical strong{color:#ff263e;text-shadow:0 0 24px #ff263ecc,0 0 70px #ff263e88}
@media(prefers-reduced-motion:reduce){.signal-panel #signal-alarm:not([hidden]){animation:none}}

/* Tesseract: the turning plane is violet (the shared card accent). */
.neural-card .neural-layers .is-active,.neural-card .neural-layers .is-active b{color:#b94aff}
.neural-card .neural-layers .is-active i{background:#b94aff;box-shadow:0 0 7px #b94aff,0 0 14px #b94aff88}
.neural-card .neural-layers .is-active b{text-shadow:0 0 4px #b94aff99,0 0 12px #b94affbb,0 0 22px #b94aff55}

/* WORKFLOW: node graph under the main stage (src/node-flow.js), 3:1. On wide
   screens both side columns span the stage and this card. */
.node-card{width:100%;min-width:0;aspect-ratio:3/1;min-height:0;padding:14px 16px 12px;display:flex;flex-direction:column;transition:opacity 1.4s}
.node-card h2{margin-bottom:6px}
.node-card canvas{display:block;flex:1;min-height:0;width:100%}
.mission-grid[data-mission="intro"] .node-card{opacity:.18}
.mission-grid[data-mission="swarm"] .node-card{opacity:.55}
@media(min-width:1001px){
 .mission-left{grid-column:1;grid-row:1/span 2}.mission-core{grid-column:2;grid-row:1}.node-card{grid-column:2;grid-row:2}.mission-right{grid-column:3;grid-row:1/span 2}.mission-deck{grid-row:3}
 .mission-grid:has(.mission-core.has-outro) .mission-side{height:auto;align-self:stretch}
}
@media(min-width:701px) and (max-width:1000px){.node-card{grid-column:1;grid-row:2}}
@media(max-width:700px){.node-card{aspect-ratio:2.2/1;padding:12px 10px 10px}}

/* WAYNETECH chip as four 8-bit buses (src/chip-bus.js): bytes flow in blue,
   results flow out red; 0 bits stay dark, the core glows while it works. */
.deck-sync .chip-bus .chip-pulse{animation:none;transition:opacity .12s}
.deck-sync .chip-bus .chip-route.is-high .chip-trace{stroke:#3f86d8}
.deck-sync .chip-bus .chip-route.warm.is-high .chip-trace{stroke:#a3303f}
.deck-sync .chip-bus .chip-route.is-low .chip-contact{fill:#0b2140;stroke:#1d4f86;filter:none}
.deck-sync .chip-byte{font:6px var(--terminal-font);fill:#8fdcff;letter-spacing:.06em;text-anchor:middle}
.deck-sync .chip-byte.is-out{fill:#ff8a98}
.deck-sync .chip-byte.is-idle{opacity:.45}
.deck-sync .chip-die{transition:filter .2s}
.deck-sync .chip-die.is-busy{filter:drop-shadow(0 0 6px #6fd0ff) drop-shadow(0 0 14px #2089ff)}
