2026-05-02 20:54:53 +02:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
DESIGN TOKENS
|
|
|
|
|
══════════════════════════════════════════ */
|
2026-04-27 06:01:00 +02:00
|
|
|
:root {
|
2026-05-02 20:57:18 +02:00
|
|
|
--bg: #111318;
|
|
|
|
|
--bg-card: #1c1f2b;
|
|
|
|
|
--border: rgba(255,255,255,.07);
|
|
|
|
|
--border-h: rgba(255,255,255,.13);
|
2026-05-02 20:54:53 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--txt: #e4e9f5;
|
|
|
|
|
--txt-dim: rgba(228,233,245,.55);
|
|
|
|
|
--txt-ghost: rgba(228,233,245,.28);
|
2026-05-02 20:54:53 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--blue: #3b82f6;
|
|
|
|
|
--blue-soft: rgba(59,130,246,.12);
|
2026-05-02 20:54:53 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--green: #22c55e;
|
|
|
|
|
--green-soft: rgba(34,197,94,.12);
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--yellow: #f59e0b;
|
|
|
|
|
--yellow-soft: rgba(245,158,11,.12);
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--red: #ef4444;
|
|
|
|
|
--red-soft: rgba(239,68,68,.12);
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--teal: #14b8a6;
|
|
|
|
|
--teal-soft: rgba(20,184,166,.12);
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--r: 12px;
|
|
|
|
|
--r-sm: 8px;
|
|
|
|
|
--gap: 14px;
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
--font: 'Inter', system-ui, sans-serif;
|
|
|
|
|
--mono: 'JetBrains Mono', monospace;
|
2026-05-02 20:54:53 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Consumer palette */
|
2026-05-02 20:57:18 +02:00
|
|
|
--c-bg: #090b12;
|
|
|
|
|
--c-txt: #dde8ff;
|
2026-05-02 21:02:10 +02:00
|
|
|
--c-dim: rgba(221,232,255,.6);
|
|
|
|
|
--c-ghost: rgba(221,232,255,.35);
|
2026-05-02 20:57:18 +02:00
|
|
|
--c-accent: #60a5fa;
|
|
|
|
|
--c-accent2: #34d399;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
RESET & BASE
|
|
|
|
|
══════════════════════════════════════════ */
|
2026-04-27 06:01:00 +02:00
|
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
|
|
|
|
|
|
html, body {
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 100%; height: 100vh;
|
|
|
|
|
overflow: hidden;
|
2026-05-02 20:54:53 +02:00
|
|
|
background: var(--bg);
|
|
|
|
|
color: var(--txt);
|
|
|
|
|
font-family: var(--font);
|
|
|
|
|
font-size: 14px;
|
2026-04-27 06:01:00 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body::before {
|
|
|
|
|
content: '';
|
2026-05-02 20:54:53 +02:00
|
|
|
position: fixed; inset: 0; z-index: 0; pointer-events: none;
|
|
|
|
|
background-image:
|
2026-05-02 20:57:18 +02:00
|
|
|
linear-gradient(rgba(59,130,246,.018) 1px, transparent 1px),
|
|
|
|
|
linear-gradient(90deg, rgba(59,130,246,.018) 1px, transparent 1px);
|
2026-05-02 20:54:53 +02:00
|
|
|
background-size: 40px 40px;
|
2026-05-02 20:57:18 +02:00
|
|
|
transition: opacity .6s;
|
|
|
|
|
}
|
|
|
|
|
body.consumer-mode::before { opacity: 0; }
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
2026-05-02 21:02:10 +02:00
|
|
|
VIEW TOGGLE
|
2026-05-02 20:57:18 +02:00
|
|
|
══════════════════════════════════════════ */
|
|
|
|
|
#view-toggle {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 18px; right: 18px;
|
|
|
|
|
z-index: 9999;
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 32px; height: 32px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: rgba(255,255,255,.06);
|
|
|
|
|
border: 1px solid rgba(255,255,255,.12);
|
2026-05-02 20:57:18 +02:00
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex; align-items: center; justify-content: center;
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: .3;
|
|
|
|
|
transition: opacity .25s, background .2s, transform .2s, box-shadow .2s;
|
2026-05-02 20:57:18 +02:00
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
#view-toggle:hover {
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: 1;
|
|
|
|
|
background: rgba(59,130,246,.18);
|
|
|
|
|
border-color: rgba(59,130,246,.4);
|
|
|
|
|
box-shadow: 0 0 12px rgba(59,130,246,.25);
|
|
|
|
|
transform: scale(1.08);
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
#view-toggle:active { transform: scale(.94); }
|
|
|
|
|
#view-toggle svg { width: 13px; height: 13px; fill: rgba(255,255,255,.7); }
|
2026-05-02 20:57:18 +02:00
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
2026-05-02 21:02:10 +02:00
|
|
|
VIEW CONTAINERS
|
2026-05-02 20:57:18 +02:00
|
|
|
══════════════════════════════════════════ */
|
|
|
|
|
#view-dev, #view-consumer {
|
|
|
|
|
position: fixed; inset: 0;
|
2026-05-02 21:02:10 +02:00
|
|
|
transition: opacity .5s cubic-bezier(.4,0,.2,1),
|
|
|
|
|
transform .5s cubic-bezier(.4,0,.2,1);
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
#view-dev {
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: 1; transform: none; z-index: 1;
|
2026-05-02 20:57:18 +02:00
|
|
|
pointer-events: all;
|
2026-05-02 21:02:10 +02:00
|
|
|
overflow-y: auto;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
#view-consumer {
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: 0; transform: translateX(60px); z-index: 2;
|
2026-05-02 20:57:18 +02:00
|
|
|
pointer-events: none;
|
|
|
|
|
background: var(--c-bg);
|
2026-05-02 21:02:10 +02:00
|
|
|
overflow-y: auto;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
body.consumer-mode #view-dev {
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: 0; transform: translateX(-60px); pointer-events: none;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
body.consumer-mode #view-consumer {
|
2026-05-02 21:02:10 +02:00
|
|
|
opacity: 1; transform: none; pointer-events: all;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
── DEV VIEW ──
|
|
|
|
|
══════════════════════════════════════════ */
|
2026-05-02 21:02:10 +02:00
|
|
|
|
|
|
|
|
/* Fixed full-height layout — no page growth */
|
2026-04-27 06:01:00 +02:00
|
|
|
.mirror-layout {
|
2026-05-02 20:54:53 +02:00
|
|
|
position: relative; z-index: 1;
|
2026-04-27 06:01:00 +02:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-rows: auto 1fr auto;
|
2026-05-02 21:02:10 +02:00
|
|
|
height: 100vh;
|
2026-04-27 06:01:00 +02:00
|
|
|
padding: var(--gap);
|
|
|
|
|
gap: var(--gap);
|
2026-05-02 20:54:53 +02:00
|
|
|
max-width: 1400px;
|
|
|
|
|
margin: 0 auto;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:54:53 +02:00
|
|
|
.card {
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
border: 1px solid var(--border);
|
2026-04-27 06:01:00 +02:00
|
|
|
border-radius: var(--r);
|
2026-05-02 21:02:10 +02:00
|
|
|
transition: border-color .25s;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.card:hover { border-color: var(--border-h); }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Header */
|
2026-04-27 06:01:00 +02:00
|
|
|
.mirror-header {
|
2026-05-02 20:54:53 +02:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: auto 1fr auto;
|
2026-04-27 06:01:00 +02:00
|
|
|
align-items: center;
|
2026-05-02 20:54:53 +02:00
|
|
|
gap: 20px;
|
2026-05-02 21:02:10 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
|
flex-shrink: 0;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.header-brand { display: flex; align-items: center; gap: 10px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.brand-icon {
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 32px; height: 32px; border-radius: 8px;
|
|
|
|
|
background: var(--blue-soft); border: 1px solid rgba(59,130,246,.3);
|
|
|
|
|
display: flex; align-items: center; justify-content: center; font-size: 16px;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.brand-name { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
|
|
|
|
|
.brand-sub { font-size: 11px; color: var(--txt-ghost); margin-top: 1px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
|
|
|
|
|
.mirror-clock { text-align: center; }
|
2026-04-27 06:01:00 +02:00
|
|
|
.clock-time {
|
2026-05-02 20:54:53 +02:00
|
|
|
font-family: var(--mono);
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(1.8rem, 4vw, 3rem);
|
|
|
|
|
font-weight: 500; letter-spacing: .08em; line-height: 1;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
.clock-date {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
|
|
|
|
|
color: var(--txt-ghost); margin-top: 5px;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.conn-badge {
|
2026-05-02 20:57:18 +02:00
|
|
|
display: flex; align-items: center; gap: 8px;
|
2026-05-02 21:02:10 +02:00
|
|
|
padding: 7px 13px; border-radius: var(--r-sm);
|
|
|
|
|
font-family: var(--mono); font-size: 11px; color: var(--txt-ghost);
|
2026-05-02 20:54:53 +02:00
|
|
|
transition: all .3s;
|
|
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.conn-badge.ok { background: var(--green-soft); border-color: rgba(34,197,94,.25); color: var(--green); }
|
|
|
|
|
.conn-badge.err { background: var(--red-soft); border-color: rgba(239,68,68,.25); color: var(--red); }
|
2026-04-27 06:01:00 +02:00
|
|
|
.conn-dot {
|
2026-05-02 20:57:18 +02:00
|
|
|
width: 7px; height: 7px; border-radius: 50%;
|
|
|
|
|
background: currentColor; flex-shrink: 0;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.conn-badge.ok .conn-dot { animation: pulse-ok 2s infinite; box-shadow: 0 0 6px var(--green); }
|
|
|
|
|
@keyframes pulse-ok { 0%,100%{opacity:1} 50%{opacity:.4} }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Body — fills the 1fr row, no overflow */
|
2026-04-27 06:01:00 +02:00
|
|
|
.mirror-body {
|
|
|
|
|
display: grid;
|
2026-05-02 20:54:53 +02:00
|
|
|
grid-template-columns: repeat(4, 1fr);
|
2026-05-02 21:02:10 +02:00
|
|
|
grid-template-rows: auto auto 1fr;
|
2026-04-27 06:01:00 +02:00
|
|
|
gap: var(--gap);
|
2026-05-02 21:02:10 +02:00
|
|
|
min-height: 0; /* allow grid children to shrink */
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Sensor tiles */
|
2026-04-27 06:01:00 +02:00
|
|
|
.sensor-tile {
|
2026-05-02 21:02:10 +02:00
|
|
|
padding: 14px 16px 12px;
|
2026-05-02 20:57:18 +02:00
|
|
|
position: relative; overflow: hidden;
|
2026-05-02 21:02:10 +02:00
|
|
|
transition: transform .2s, border-color .25s;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
.sensor-tile:hover { transform: translateY(-1px); }
|
2026-05-02 20:54:53 +02:00
|
|
|
.sensor-tile::after {
|
2026-04-27 06:01:00 +02:00
|
|
|
content: '';
|
2026-05-02 20:57:18 +02:00
|
|
|
position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
|
2026-05-02 20:54:53 +02:00
|
|
|
border-radius: var(--r) 0 0 var(--r);
|
2026-05-02 20:57:18 +02:00
|
|
|
background: var(--blue); transition: background .3s;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
|
|
|
|
.sensor-tile.breach-high::after { background: var(--red); }
|
|
|
|
|
.sensor-tile.breach-low::after { background: var(--yellow); }
|
|
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
.sensor-tile-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.sensor-icon {
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 28px; height: 28px; border-radius: 7px;
|
2026-05-02 20:57:18 +02:00
|
|
|
background: var(--blue-soft); border: 1px solid rgba(59,130,246,.2);
|
2026-05-02 21:02:10 +02:00
|
|
|
display: flex; align-items: center; justify-content: center; font-size: 13px;
|
2026-05-02 20:54:53 +02:00
|
|
|
transition: background .3s, border-color .3s;
|
|
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-tile.breach-high .sensor-icon { background: var(--red-soft); border-color: rgba(239,68,68,.3); }
|
|
|
|
|
.sensor-tile.breach-low .sensor-icon { background: var(--yellow-soft); border-color: rgba(245,158,11,.3); }
|
2026-05-02 20:54:53 +02:00
|
|
|
.sensor-state-dot {
|
2026-05-02 20:57:18 +02:00
|
|
|
width: 6px; height: 6px; border-radius: 50%;
|
|
|
|
|
background: var(--blue); opacity: .4; transition: all .3s;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-tile.breach-high .sensor-state-dot,
|
2026-05-02 21:02:10 +02:00
|
|
|
.sensor-tile.breach-low .sensor-state-dot { opacity: 1; animation: blink .8s infinite; }
|
|
|
|
|
.sensor-tile.breach-high .sensor-state-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-tile.breach-low .sensor-state-dot { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
|
|
|
|
|
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
.sensor-label { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--txt-ghost); }
|
|
|
|
|
.sensor-value { font-family: var(--mono); font-size: clamp(1.3rem,2vw,1.9rem); font-weight: 500; line-height: 1; margin-top: 4px; transition: color .3s; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.sensor-tile.breach-high .sensor-value { color: var(--red); }
|
|
|
|
|
.sensor-tile.breach-low .sensor-value { color: var(--yellow); }
|
2026-05-02 21:02:10 +02:00
|
|
|
.sensor-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-threshold { font-family: var(--mono); font-size: 10px; color: var(--txt-ghost); }
|
2026-04-27 06:01:00 +02:00
|
|
|
.sensor-alert-badge {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
|
|
|
|
|
padding: 2px 6px; border-radius: 4px;
|
2026-05-02 20:57:18 +02:00
|
|
|
background: var(--red-soft); color: var(--red); border: 1px solid rgba(239,68,68,.25);
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-alert-badge.low { background: var(--yellow-soft); color: var(--yellow); border-color: rgba(245,158,11,.25); }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Stat row */
|
|
|
|
|
.stat-row { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
|
2026-05-02 21:02:10 +02:00
|
|
|
.stat-card { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.stat-card-icon {
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 34px; height: 34px; border-radius: 9px;
|
|
|
|
|
display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:54:53 +02:00
|
|
|
.stat-card-icon.blue { background: var(--blue-soft); }
|
|
|
|
|
.stat-card-icon.green { background: var(--green-soft); }
|
|
|
|
|
.stat-card-icon.red { background: var(--red-soft); }
|
|
|
|
|
.stat-card-icon.teal { background: var(--teal-soft); }
|
|
|
|
|
.stat-info { min-width: 0; }
|
2026-05-02 21:02:10 +02:00
|
|
|
.stat-label { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--txt-ghost); margin-bottom: 2px; }
|
|
|
|
|
.stat-value { font-family: var(--mono); font-size: 1.1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.stat-value.red { color: var(--red); }
|
2026-05-02 21:02:10 +02:00
|
|
|
.stat-sub { font-size: 10px; color: var(--txt-ghost); margin-top: 1px; font-family: var(--mono); }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Chart */
|
2026-05-02 21:02:10 +02:00
|
|
|
.chart-panel { grid-column: 1/3; padding: 14px 16px 12px; display: flex; flex-direction: column; min-height: 0; }
|
|
|
|
|
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-shrink: 0; }
|
|
|
|
|
.panel-title { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-dim); }
|
2026-05-02 20:54:53 +02:00
|
|
|
.panel-badge {
|
2026-05-02 20:57:18 +02:00
|
|
|
font-family: var(--mono); font-size: 10px; color: var(--txt-ghost);
|
2026-05-02 21:02:10 +02:00
|
|
|
background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
#chart { display: block; width: 100%; flex: 1; min-height: 0; }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Log panel — fixed height, internal scroll */
|
|
|
|
|
.log-panel {
|
|
|
|
|
grid-column: 3/-1;
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-height: 0; /* critical: don't grow past grid row */
|
|
|
|
|
}
|
|
|
|
|
.tab-bar {
|
|
|
|
|
display: flex; border-bottom: 1px solid var(--border);
|
|
|
|
|
flex-shrink: 0; padding: 0 6px; gap: 2px;
|
|
|
|
|
}
|
2026-04-27 06:01:00 +02:00
|
|
|
.tab {
|
2026-05-02 21:02:10 +02:00
|
|
|
flex: 1; padding: 8px 10px;
|
|
|
|
|
font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
|
2026-05-02 20:57:18 +02:00
|
|
|
color: var(--txt-ghost); cursor: pointer; text-align: center;
|
|
|
|
|
transition: color .2s; border-bottom: 2px solid transparent; margin-bottom: -1px;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:54:53 +02:00
|
|
|
.tab:hover { color: var(--txt-dim); }
|
|
|
|
|
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }
|
2026-05-02 21:02:10 +02:00
|
|
|
|
|
|
|
|
/* The scroll container — takes remaining height, never grows page */
|
|
|
|
|
.tab-body {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
}
|
2026-04-27 06:01:00 +02:00
|
|
|
.tab-body::-webkit-scrollbar { width: 3px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.tab-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
|
2026-05-02 21:02:10 +02:00
|
|
|
|
2026-04-27 06:01:00 +02:00
|
|
|
.tab-pane { display: none; }
|
|
|
|
|
.tab-pane.active { display: block; }
|
|
|
|
|
|
|
|
|
|
.log-entry {
|
2026-05-02 21:02:10 +02:00
|
|
|
display: grid; grid-template-columns: 64px 1fr auto;
|
|
|
|
|
gap: 8px; padding: 4px 0;
|
2026-04-27 06:01:00 +02:00
|
|
|
border-bottom: 1px solid rgba(255,255,255,.04);
|
2026-05-02 21:02:10 +02:00
|
|
|
animation: fadeSlide .12s ease; align-items: center;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
@keyframes fadeSlide { from{opacity:0;transform:translateY(-2px)} to{opacity:1;transform:none} }
|
2026-05-02 20:54:53 +02:00
|
|
|
.log-ts { color: var(--txt-ghost); font-size: 10px; }
|
|
|
|
|
.log-raw { color: var(--txt-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.log-num { color: var(--blue); text-align: right; white-space: nowrap; }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
.alert-entry { display: grid; grid-template-columns: 14px 64px 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); align-items: center; animation: fadeSlide .12s ease; }
|
|
|
|
|
.alert-icon { color: var(--red); font-size: 11px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.alert-ts { color: var(--txt-ghost); font-size: 10px; }
|
2026-05-02 21:02:10 +02:00
|
|
|
.alert-msg { color: var(--txt-dim); font-size: 11px; }
|
2026-04-27 06:01:00 +02:00
|
|
|
.alert-badge {
|
2026-05-02 20:57:18 +02:00
|
|
|
display: none; align-items: center; justify-content: center;
|
2026-05-02 21:02:10 +02:00
|
|
|
min-width: 15px; height: 15px; border-radius: 8px;
|
2026-05-02 20:57:18 +02:00
|
|
|
background: var(--red); color: #fff;
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: 9px; font-weight: 600; margin-left: 4px; padding: 0 3px;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.alert-badge.visible { display: inline-flex; }
|
|
|
|
|
|
|
|
|
|
/* Footer */
|
2026-05-02 21:02:10 +02:00
|
|
|
.mirror-footer {
|
|
|
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
|
|
|
padding: 8px 20px; font-size: 10px; font-family: var(--mono); color: var(--txt-ghost);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
── CONSUMER VIEW ──
|
|
|
|
|
══════════════════════════════════════════ */
|
|
|
|
|
.consumer-wrap {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-04-27 06:01:00 +02:00
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-05-02 20:57:18 +02:00
|
|
|
min-height: 100vh;
|
|
|
|
|
padding: 40px 24px;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
2026-05-02 21:02:10 +02:00
|
|
|
gap: 0;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Atmospheric glow */
|
2026-05-02 20:57:18 +02:00
|
|
|
.consumer-wrap::before {
|
|
|
|
|
content: '';
|
2026-05-02 21:02:10 +02:00
|
|
|
position: absolute; inset: 0; pointer-events: none;
|
2026-05-02 20:57:18 +02:00
|
|
|
background:
|
2026-05-02 21:02:10 +02:00
|
|
|
radial-gradient(ellipse 80% 55% at 50% 5%, rgba(59,130,246,.1) 0%, transparent 65%),
|
|
|
|
|
radial-gradient(ellipse 55% 35% at 15% 85%, rgba(20,184,166,.06) 0%, transparent 60%);
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Big clock */
|
|
|
|
|
.c-clock { text-align: center; margin-bottom: 6px; }
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-time {
|
|
|
|
|
font-family: var(--mono);
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(4.5rem, 15vw, 11rem);
|
2026-05-02 20:57:18 +02:00
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: .04em;
|
2026-05-02 21:02:10 +02:00
|
|
|
color: #f0f6ff;
|
2026-05-02 20:57:18 +02:00
|
|
|
line-height: 1;
|
2026-05-02 21:02:10 +02:00
|
|
|
text-shadow: 0 0 80px rgba(96,165,250,.18);
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.c-date {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(.8rem, 1.4vw, 1rem);
|
2026-05-02 20:57:18 +02:00
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: .22em;
|
|
|
|
|
text-transform: uppercase;
|
2026-05-02 21:02:10 +02:00
|
|
|
color: rgba(221,232,255,.5);
|
2026-05-02 20:57:18 +02:00
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.c-divider {
|
|
|
|
|
width: 60px; height: 1px;
|
2026-05-02 21:02:10 +02:00
|
|
|
background: linear-gradient(90deg, transparent, rgba(96,165,250,.4), transparent);
|
|
|
|
|
margin: 28px auto;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Weather block */
|
|
|
|
|
.c-weather { text-align: center; margin-bottom: 32px; }
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-location {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: .65rem;
|
2026-05-02 20:57:18 +02:00
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: .22em;
|
|
|
|
|
text-transform: uppercase;
|
2026-05-02 21:02:10 +02:00
|
|
|
color: rgba(221,232,255,.4);
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
.c-provider {
|
|
|
|
|
display: inline;
|
|
|
|
|
color: rgba(96,165,250,.55);
|
|
|
|
|
font-size: .6rem;
|
|
|
|
|
letter-spacing: .12em;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.c-weather-main {
|
2026-05-02 21:02:10 +02:00
|
|
|
display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 8px;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.c-weather-icon {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(3rem, 7vw, 5rem);
|
2026-05-02 20:57:18 +02:00
|
|
|
line-height: 1;
|
2026-05-02 21:02:10 +02:00
|
|
|
filter: drop-shadow(0 0 18px rgba(96,165,250,.3));
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.c-temp-outside {
|
|
|
|
|
font-family: var(--mono);
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(3rem, 8vw, 5.5rem);
|
2026-05-02 20:57:18 +02:00
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: .04em;
|
2026-05-02 21:02:10 +02:00
|
|
|
color: #f0f6ff;
|
2026-05-02 20:57:18 +02:00
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
.c-weather-desc {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: clamp(.9rem, 1.3vw, 1.05rem);
|
|
|
|
|
color: rgba(221,232,255,.65);
|
|
|
|
|
letter-spacing: .05em;
|
2026-05-02 20:57:18 +02:00
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Rain forecast line */
|
|
|
|
|
.c-rain-forecast {
|
|
|
|
|
font-size: .7rem;
|
|
|
|
|
color: rgba(221,232,255,.38);
|
|
|
|
|
letter-spacing: .06em;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
.c-rain-forecast.has-rain { color: rgba(96,165,250,.65); font-style: normal; }
|
|
|
|
|
|
|
|
|
|
/* Stat pills grid */
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-stats {
|
2026-05-02 21:02:10 +02:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
gap: 12px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 680px;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-stat {
|
2026-05-02 20:54:53 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-05-02 20:57:18 +02:00
|
|
|
align-items: center;
|
2026-05-02 21:02:10 +02:00
|
|
|
gap: 5px;
|
|
|
|
|
padding: 16px 14px 14px;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
background: rgba(255,255,255,.035);
|
|
|
|
|
border: 1px solid rgba(255,255,255,.07);
|
|
|
|
|
backdrop-filter: blur(12px);
|
2026-05-02 20:57:18 +02:00
|
|
|
transition: border-color .3s, background .3s;
|
2026-05-02 21:02:10 +02:00
|
|
|
position: relative;
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
|
|
|
|
.c-stat:hover {
|
2026-05-02 21:02:10 +02:00
|
|
|
border-color: rgba(96,165,250,.2);
|
|
|
|
|
background: rgba(96,165,250,.05);
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
|
|
|
|
|
/* Subtle source label */
|
|
|
|
|
.c-stat-source {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 7px; right: 9px;
|
|
|
|
|
font-size: 8px;
|
2026-05-02 20:57:18 +02:00
|
|
|
font-family: var(--mono);
|
2026-05-02 21:02:10 +02:00
|
|
|
letter-spacing: .08em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: rgba(221,232,255,.2);
|
2026-05-02 20:57:18 +02:00
|
|
|
}
|
2026-05-02 21:02:10 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-stat-label {
|
2026-05-02 21:02:10 +02:00
|
|
|
font-size: .62rem;
|
2026-05-02 20:57:18 +02:00
|
|
|
font-weight: 500;
|
2026-05-02 21:02:10 +02:00
|
|
|
letter-spacing: .14em;
|
2026-05-02 20:57:18 +02:00
|
|
|
text-transform: uppercase;
|
2026-05-02 21:02:10 +02:00
|
|
|
color: rgba(221,232,255,.4);
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
|
2026-05-02 21:02:10 +02:00
|
|
|
/* Coloured stat values */
|
|
|
|
|
.c-stat-val {
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
font-size: clamp(1.4rem, 2.8vw, 2rem);
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
transition: color .5s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.c-stat-val.col-temp { color: #fb923c; } /* orange — warm */
|
|
|
|
|
.c-stat-val.col-hum { color: #60a5fa; } /* blue — water */
|
|
|
|
|
.c-stat-val.col-hum-out{ color: #7dd3fc; } /* lighter blue */
|
|
|
|
|
.c-stat-val.col-rain { color: #818cf8; } /* indigo — rain */
|
|
|
|
|
.c-stat-val.col-feels { color: #f472b6; } /* pink — feels like */
|
|
|
|
|
.c-stat-val.col-wind { color: #34d399; } /* teal — wind */
|
|
|
|
|
.c-stat-val.loading { color: rgba(221,232,255,.2); }
|
|
|
|
|
|
|
|
|
|
/* Rain bar */
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-rain-bar-wrap {
|
2026-05-02 21:02:10 +02:00
|
|
|
width: 80%; height: 3px;
|
|
|
|
|
background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.c-rain-bar {
|
2026-05-02 20:54:53 +02:00
|
|
|
height: 100%;
|
2026-05-02 21:02:10 +02:00
|
|
|
background: linear-gradient(90deg, #818cf8, #60a5fa);
|
|
|
|
|
border-radius: 2px; transition: width 1s ease;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
RESPONSIVE
|
|
|
|
|
══════════════════════════════════════════ */
|
2026-05-02 20:54:53 +02:00
|
|
|
@media (max-width: 1100px) {
|
|
|
|
|
.mirror-body { grid-template-columns: 1fr 1fr; }
|
2026-05-02 20:57:18 +02:00
|
|
|
.stat-row { grid-template-columns: 1fr 1fr; }
|
|
|
|
|
.chart-panel { grid-column: 1/-1; }
|
2026-05-02 21:02:10 +02:00
|
|
|
.log-panel { grid-column: 1/-1; }
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:54:53 +02:00
|
|
|
@media (max-width: 640px) {
|
2026-05-02 20:57:18 +02:00
|
|
|
.mirror-body { grid-template-columns: 1fr 1fr; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.mirror-header { grid-template-columns: 1fr; }
|
|
|
|
|
.header-brand, .conn-badge { display: none; }
|
2026-05-02 21:02:10 +02:00
|
|
|
.c-stats { grid-template-columns: repeat(2, 1fr); }
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|