/* ChronoSENSE additions on top of the shared family styles */
.sense-mark { width: 26px; height: 26px; color: var(--blue); }
.dot.soon { background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }

/* Hero console */
.console { background: var(--navy); border-radius: 22px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(11,18,32,.6); color: #dbe4f5; }
.con-bar { display: flex; align-items: center; gap: 12px; padding: 2px 6px 12px; color: #6f7c99; }
.con-bar .mono { font-size: 10px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 700 10px var(--mono); color: #f87171; letter-spacing: .08em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.con-body { display: grid; grid-template-columns: 1fr; gap: 12px; }
.con-body > * { min-width: 0; }
.feed { position: relative; aspect-ratio: 16 / 8; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #1c2a44 0%, #16223a 55%, #101a2e 100%); border: 1px solid var(--navy-line); }
.feed-scene { position: absolute; inset: 0; }
.board { position: absolute; left: 18%; right: 18%; top: 8%; height: 16%; border-radius: 4px; background: #24324f; border: 2px solid #2f4063; }
.row { position: absolute; left: 6%; right: 6%; height: 7%; border-radius: 6px; background: #2a3a5c; }
.r1 { top: 58%; } .r2 { top: 72%; left: 3%; right: 3%; } .r3 { top: 86%; left: 0; right: 0; }
.box { position: absolute; width: 10.5%; aspect-ratio: 1; border: 2px solid var(--sky); border-radius: 8px; background: rgba(45,212,191,.08); }
.box em { position: absolute; left: -2px; top: calc(100% + 4px); white-space: nowrap; font: 600 9.5px var(--font); font-style: normal; padding: 2px 6px; border-radius: 5px; background: var(--sky); color: var(--navy); }
.box.b1 { left: 14%; top: 36%; } .box.b2 { left: 44%; top: 32%; } .box.b3 { left: 74%; top: 38%; }
.box.b2 em { top: auto; bottom: calc(100% + 4px); }
.box.unknown { border-color: #fbbf24; background: rgba(251,191,36,.08); }
.box.unknown em { background: #fbbf24; left: auto; right: -2px; }
.feed-tag { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(11,18,32,.7); font-size: 9.5px; color: #cbd5e1; }
.con-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
.metric { padding: 12px; border-radius: 12px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.metric .mono { font-size: 9.5px; display: block; }
.metric b { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.metric small { color: #8fa3c7; font-size: 12px; }
.meter { height: 7px; margin: 8px 0 6px; border-radius: 99px; background: var(--navy-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.cams { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 12px; color: #cbd5e1; }
.cams li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: var(--navy-2); border: 1px solid var(--navy-line); }
i.ok, i.idle { width: 7px; height: 7px; border-radius: 50%; flex: none; }
i.ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
i.idle { background: #64748b; }
@media (max-width: 560px) { .con-side { grid-template-columns: 1fr 1fr; } .con-side .metric:nth-child(3) { grid-column: 1 / -1; } .cams { grid-template-columns: 1fr 1fr; } .box em { font-size: 8px; } .feed { aspect-ratio: 16 / 10; } .box.b3 em { display: none; } }

.sense-strip .numbers-grid b { font-size: clamp(26px, 3.4vw, 36px); }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.caps article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.caps article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--navy); color: var(--sky); font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.caps h3 { font-size: 19px; margin-bottom: 8px; }
.caps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }

/* Shared light panel */
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 12px; }
.chip-ok { font: 700 11px var(--mono); padding: 4px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
.split.rev { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split.rev > .panel-card { order: 2; } }

/* Attendance table */
.att { width: 100%; border-collapse: collapse; font-size: 14px; }
.att th { text-align: left; font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.att td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.mono-cell { font-family: var(--mono); font-weight: 500 !important; color: var(--ink-2); font-size: 13px; }
.st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.st.in { background: var(--green-soft); color: var(--green); }
.st.late { background: #fff4e0; color: var(--amber); }
.st.out { background: #fde8e8; color: var(--red); }
.pc-foot { display: flex; align-items: center; gap: 8px; padding: 12px 4px 2px; }
.exp { font: 700 11px var(--mono); padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-2); }

/* Insight */
.insight-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 4px; }
.insight-grid .mono { font-size: 10px; margin-bottom: 10px; }
.states { display: grid; gap: 10px; }
.states div { display: grid; grid-template-columns: 76px 1fr 38px; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.states s { display: block; height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; text-decoration: none; }
.states i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.states i.warn { background: #f59e0b; } .states i.bad { background: var(--red); }
.states b { font: 600 12px var(--mono); text-align: right; }
.spark { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 2px; }
.spark i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--sky), var(--blue)); }
.spark-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9.5px; }
@media (max-width: 560px) { .insight-grid { grid-template-columns: 1fr; } }

/* Review */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.review-grid h3 { font-size: 18px; margin: 18px 0 8px; }
.review-grid p { color: var(--ink-2); font-size: 15px; }
.rev-visual { height: 92px; border-radius: 14px; background: var(--navy); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; }
.unknowns span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; border: 2px dashed #fbbf24; color: #fbbf24; font: 700 11px var(--mono); }
.scores span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--navy-2); border: 1px solid var(--navy-line); color: #8fa3c7; font: 600 9.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.scores b { color: #fff; font-size: 16px; letter-spacing: 0; }
.scores .verdict { color: #4ade80; font-size: 11px; align-self: center; }
.tune s { position: relative; display: block; width: 80%; height: 8px; border-radius: 99px; background: var(--navy-3); text-decoration: none; }
.tune i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.tune em { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(45,212,191,.3); }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }

/* Camera list */
.cam-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cam-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft); background: #f8f9fc; }
.cam-list div { flex: 1; min-width: 0; }
.cam-list b { display: block; font-size: 14.5px; }
.cam-list small { color: var(--ink-3); font-size: 12.5px; }
.tog { font: 700 11px var(--mono); padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-3); }
.tog.on { background: var(--blue-soft); color: var(--blue); }

/* Ecosystem links */
.eco-link { align-self: flex-start; font-weight: 600; font-size: 14px; color: var(--blue); text-decoration: none; }
.eco-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
