:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #07111f; color: #f8fafc; overflow: hidden; }
#screen { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--screen-bg, #07111f); }
.chrome { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 16px 24px; border-bottom: 1px solid #1e293b; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: .02em; }
.clock { font-variant-numeric: tabular-nums; color: #bae6fd; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 12px; padding: 18px 24px; min-height: 0; }
.widget { min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #1e293b; border-radius: 18px; background: linear-gradient(145deg, #0f1d30, #0b1727); box-shadow: 0 12px 36px #0004; }
.text-widget { display: flex; align-items: center; padding: 14px 20px; font-weight: 700; }
.metric-widget { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.metric-title { color: #94a3b8; font-size: 18px; }
.metric-value { margin-top: 8px; font-size: clamp(36px, 5vw, 74px); font-weight: 900; color: var(--accent); }
.table-widget { padding: 18px; overflow: auto; }
.table-widget h2 { margin: 0 0 12px; font-size: 22px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 10px; border-bottom: 1px solid #23334a; text-align: left; }
th { position: sticky; top: 0; background: #0f1d30; color: #7dd3fc; }
.image-widget img { width: 100%; height: 100%; display: block; }
.feature-widget { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; }
.feature-widget h2, .feature-widget p { margin: 0; }
.feature-widget strong { font-size: clamp(30px, 5vw, 72px); color: #38bdf8; }
.feature-widget small { color: #94a3b8; }
.mini-bars { height: 70%; display: flex; align-items: end; gap: 8px; }
.mini-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(#4ade80, #0284c7); }
.pin { font-size: 42px; letter-spacing: .4em; }
.ticker { min-height: 48px; padding: 12px 24px; background: #0c4a6e; white-space: nowrap; overflow: hidden; text-align: center; font-weight: 700; }
.system-state { place-self: center; padding: 28px; text-align: center; }
.system-state strong { display: block; font-size: 30px; margin-bottom: 10px; }
.stale { position: fixed; top: 8px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: #92400e; font-size: 12px; }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(4, 1fr); } .widget { grid-column: 1 / -1 !important; } }
