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;
|
|
|
|
|
--bg-card2: #21253a;
|
|
|
|
|
--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);
|
|
|
|
|
--blue-glow: rgba(59,130,246,.35);
|
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 20:57:18 +02:00
|
|
|
/* Consumer view palette */
|
|
|
|
|
--c-bg: #090b12;
|
|
|
|
|
--c-txt: #dde8ff;
|
|
|
|
|
--c-dim: rgba(221,232,255,.45);
|
|
|
|
|
--c-ghost: rgba(221,232,255,.2);
|
|
|
|
|
--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 {
|
|
|
|
|
width: 100%; min-height: 100vh;
|
2026-05-02 20:54:53 +02:00
|
|
|
background: var(--bg);
|
|
|
|
|
color: var(--txt);
|
|
|
|
|
font-family: var(--font);
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
2026-04-27 06:01:00 +02:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2026-05-02 20:57:18 +02:00
|
|
|
overflow: hidden; /* both views are full-viewport */
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* grid overlay */
|
2026-04-27 06:01:00 +02:00
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
VIEW SWITCHER (hidden toggle button)
|
|
|
|
|
══════════════════════════════════════════ */
|
|
|
|
|
#view-toggle {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 18px; right: 18px;
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
width: 28px; height: 28px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: rgba(255,255,255,.04);
|
|
|
|
|
border: 1px solid rgba(255,255,255,.08);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex; align-items: center; justify-content: center;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity .3s, background .2s, transform .2s;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
#view-toggle:hover {
|
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
background: rgba(255,255,255,.10);
|
|
|
|
|
transform: scale(1.15);
|
|
|
|
|
}
|
|
|
|
|
#view-toggle:active { transform: scale(.95); }
|
|
|
|
|
#view-toggle svg { width: 12px; height: 12px; fill: rgba(255,255,255,.4); }
|
|
|
|
|
|
|
|
|
|
/* Show faintly on long hover of bottom-right corner */
|
|
|
|
|
body:hover #view-toggle { opacity: .15; }
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
VIEWS — TRANSITION CONTAINER
|
|
|
|
|
══════════════════════════════════════════ */
|
|
|
|
|
#view-dev, #view-consumer {
|
|
|
|
|
position: fixed; inset: 0;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
transition: opacity .55s cubic-bezier(.4,0,.2,1),
|
|
|
|
|
transform .55s cubic-bezier(.4,0,.2,1);
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* dev default: visible */
|
|
|
|
|
#view-dev {
|
|
|
|
|
opacity: 1; transform: none;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
/* consumer: hidden right */
|
|
|
|
|
#view-consumer {
|
|
|
|
|
opacity: 0; transform: translateX(60px);
|
|
|
|
|
z-index: 2;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
background: var(--c-bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* active states */
|
|
|
|
|
body.consumer-mode #view-dev {
|
|
|
|
|
opacity: 0; transform: translateX(-60px);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
body.consumer-mode #view-consumer {
|
|
|
|
|
opacity: 1; transform: none;
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
── DEV VIEW ──
|
|
|
|
|
══════════════════════════════════════════ */
|
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;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
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 20:54:53 +02:00
|
|
|
transition: border-color .25s, background .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;
|
|
|
|
|
padding: 16px 20px;
|
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 {
|
|
|
|
|
width: 32px; height: 32px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: var(--blue-soft);
|
2026-05-02 20:57:18 +02:00
|
|
|
border: 1px solid rgba(59,130,246,.3);
|
2026-05-02 20:54:53 +02:00
|
|
|
display: flex; align-items: center; justify-content: center;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
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 20:57:18 +02:00
|
|
|
font-size: clamp(2rem, 5vw, 3.4rem);
|
2026-05-02 20:54:53 +02:00
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: .08em;
|
2026-04-27 06:01:00 +02:00
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
.clock-date {
|
2026-05-02 20:57:18 +02:00
|
|
|
font-size: 11px; font-weight: 400;
|
|
|
|
|
letter-spacing: .18em; text-transform: uppercase;
|
|
|
|
|
color: var(--txt-ghost); margin-top: 6px;
|
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 20:54:53 +02:00
|
|
|
padding: 8px 14px;
|
|
|
|
|
border-radius: var(--r-sm);
|
2026-05-02 20:57:18 +02:00
|
|
|
font-family: var(--mono); font-size: 11px;
|
2026-05-02 20:54:53 +02:00
|
|
|
color: var(--txt-ghost);
|
|
|
|
|
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 20:57:18 +02:00
|
|
|
/* Body grid */
|
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-04-27 06:01:00 +02:00
|
|
|
grid-template-rows: auto auto auto;
|
|
|
|
|
gap: var(--gap);
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Sensor tiles */
|
2026-04-27 06:01:00 +02:00
|
|
|
.sensor-tile {
|
2026-05-02 20:54:53 +02:00
|
|
|
padding: 18px 18px 14px;
|
2026-05-02 20:57:18 +02:00
|
|
|
position: relative; overflow: hidden;
|
2026-05-02 20:54:53 +02:00
|
|
|
transition: transform .2s, box-shadow .2s, border-color .25s;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-tile:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
|
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 20:57:18 +02:00
|
|
|
.sensor-tile-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.sensor-icon {
|
2026-05-02 20:57:18 +02:00
|
|
|
width: 30px; height: 30px; border-radius: 7px;
|
|
|
|
|
background: var(--blue-soft); border: 1px solid rgba(59,130,246,.2);
|
|
|
|
|
display: flex; align-items: center; justify-content: center; font-size: 14px;
|
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,
|
|
|
|
|
.sensor-tile.breach-low .sensor-state-dot {
|
|
|
|
|
opacity: 1; animation: blink .8s infinite;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
.sensor-tile.breach-high .sensor-state-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
|
|
|
|
|
.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 20:57:18 +02:00
|
|
|
.sensor-label { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--txt-ghost); }
|
|
|
|
|
.sensor-value { font-family: var(--mono); font-size: clamp(1.5rem,2.5vw,2.1rem); font-weight: 500; line-height: 1; 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 20:57:18 +02:00
|
|
|
.sensor-meta { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; }
|
|
|
|
|
.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 20:57:18 +02:00
|
|
|
font-size: 10px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
|
|
|
|
|
padding: 2px 7px; border-radius: 4px;
|
|
|
|
|
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); }
|
|
|
|
|
.stat-card { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.stat-card-icon {
|
2026-05-02 20:57:18 +02:00
|
|
|
width: 36px; height: 36px; border-radius: 9px;
|
|
|
|
|
display: flex; align-items: center; justify-content: center; font-size: 16px; 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 20:57:18 +02:00
|
|
|
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--txt-ghost); margin-bottom: 3px; }
|
|
|
|
|
.stat-value { font-family: var(--mono); font-size: 1.15rem; 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 20:57:18 +02:00
|
|
|
.stat-sub { font-size: 10px; color: var(--txt-ghost); margin-top: 2px; font-family: var(--mono); }
|
2026-04-27 06:01:00 +02:00
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Chart */
|
|
|
|
|
.chart-panel { grid-column: 1/3; padding: 16px 18px 14px; }
|
|
|
|
|
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
|
|
|
|
|
.panel-title { font-size: 11px; 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);
|
|
|
|
|
background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
#chart { display: block; width: 100%; }
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Log panel */
|
|
|
|
|
.log-panel { grid-column: 3/-1; padding: 0; display: flex; flex-direction: column; overflow: hidden; min-height: 220px; }
|
|
|
|
|
.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 20:57:18 +02:00
|
|
|
flex: 1; padding: 10px 12px;
|
|
|
|
|
font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
|
|
|
|
|
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 20:57:18 +02:00
|
|
|
.tab-body { flex: 1; overflow-y: auto; padding: 8px 12px; font-family: var(--mono); font-size: 11px; }
|
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-04-27 06:01:00 +02:00
|
|
|
.tab-pane { display: none; }
|
|
|
|
|
.tab-pane.active { display: block; }
|
|
|
|
|
|
|
|
|
|
.log-entry {
|
2026-05-02 20:57:18 +02:00
|
|
|
display: grid; grid-template-columns: 68px 1fr auto;
|
|
|
|
|
gap: 8px; padding: 5px 0;
|
2026-04-27 06:01:00 +02:00
|
|
|
border-bottom: 1px solid rgba(255,255,255,.04);
|
2026-05-02 20:57:18 +02:00
|
|
|
animation: fadeSlide .15s ease; align-items: center;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
@keyframes fadeSlide { from{opacity:0;transform:translateY(-3px)} 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 20:57:18 +02:00
|
|
|
.alert-entry { display: grid; grid-template-columns: 16px 68px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); align-items: center; animation: fadeSlide .15s ease; }
|
2026-05-02 20:54:53 +02:00
|
|
|
.alert-icon { color: var(--red); font-size: 12px; }
|
|
|
|
|
.alert-ts { color: var(--txt-ghost); font-size: 10px; }
|
|
|
|
|
.alert-msg { color: var(--txt-dim); }
|
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;
|
|
|
|
|
min-width: 16px; height: 16px; border-radius: 8px;
|
|
|
|
|
background: var(--red); color: #fff;
|
|
|
|
|
font-size: 9px; font-weight: 600; margin-left: 5px; padding: 0 3px;
|
|
|
|
|
}
|
|
|
|
|
.alert-badge.visible { display: inline-flex; }
|
|
|
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
|
.mirror-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: 11px; font-family: var(--mono); color: var(--txt-ghost); }
|
|
|
|
|
|
|
|
|
|
/* ══════════════════════════════════════════
|
|
|
|
|
── 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;
|
|
|
|
|
gap: 0;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Atmospheric background gradient */
|
|
|
|
|
.consumer-wrap::before {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute; inset: 0;
|
|
|
|
|
background:
|
|
|
|
|
radial-gradient(ellipse 80% 60% at 50% 10%, rgba(59,130,246,.08) 0%, transparent 65%),
|
|
|
|
|
radial-gradient(ellipse 60% 40% at 20% 80%, rgba(20,184,166,.05) 0%, transparent 60%);
|
|
|
|
|
pointer-events: none;
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* ── Big Clock ── */
|
|
|
|
|
.c-clock {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
.c-time {
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
font-size: clamp(4rem, 14vw, 10rem);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: .04em;
|
|
|
|
|
color: var(--c-txt);
|
|
|
|
|
line-height: 1;
|
|
|
|
|
text-shadow: 0 0 80px rgba(96,165,250,.15);
|
|
|
|
|
}
|
|
|
|
|
.c-date {
|
|
|
|
|
font-size: clamp(.8rem, 1.5vw, 1.1rem);
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
letter-spacing: .22em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--c-dim);
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Divider line */
|
|
|
|
|
.c-divider {
|
|
|
|
|
width: 60px; height: 1px;
|
|
|
|
|
background: linear-gradient(90deg, transparent, rgba(96,165,250,.35), transparent);
|
|
|
|
|
margin: 32px auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Weather block ── */
|
|
|
|
|
.c-weather {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
.c-location {
|
|
|
|
|
font-size: .7rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: .22em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--c-ghost);
|
|
|
|
|
margin-bottom: 18px;
|
|
|
|
|
}
|
|
|
|
|
.c-weather-main {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 20px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
.c-weather-icon {
|
|
|
|
|
font-size: clamp(3rem, 8vw, 5.5rem);
|
|
|
|
|
line-height: 1;
|
|
|
|
|
filter: drop-shadow(0 0 20px rgba(96,165,250,.3));
|
|
|
|
|
}
|
|
|
|
|
.c-temp-outside {
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
font-size: clamp(2.8rem, 8vw, 5.5rem);
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
letter-spacing: .04em;
|
|
|
|
|
color: var(--c-txt);
|
|
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
.c-weather-desc {
|
|
|
|
|
font-size: clamp(.9rem, 1.5vw, 1.1rem);
|
|
|
|
|
color: var(--c-dim);
|
|
|
|
|
letter-spacing: .06em;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Sensor + weather stat pills ── */
|
|
|
|
|
.c-stats {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
margin-top: 36px;
|
|
|
|
|
}
|
|
|
|
|
.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;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 18px 28px;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
background: rgba(255,255,255,.03);
|
|
|
|
|
border: 1px solid rgba(255,255,255,.06);
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
transition: border-color .3s, background .3s;
|
|
|
|
|
}
|
|
|
|
|
.c-stat:hover {
|
|
|
|
|
border-color: rgba(96,165,250,.18);
|
|
|
|
|
background: rgba(96,165,250,.04);
|
|
|
|
|
}
|
|
|
|
|
.c-stat-icon { font-size: 1.4rem; line-height: 1; }
|
|
|
|
|
.c-stat-val {
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
font-size: clamp(1.4rem, 2.5vw, 2rem);
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: var(--c-txt);
|
|
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
.c-stat-label {
|
|
|
|
|
font-size: .65rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: .15em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: var(--c-ghost);
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
2026-05-02 20:57:18 +02:00
|
|
|
|
|
|
|
|
/* Rain probability bar */
|
|
|
|
|
.c-rain-bar-wrap {
|
2026-05-02 20:54:53 +02:00
|
|
|
width: 100%;
|
2026-05-02 20:57:18 +02:00
|
|
|
height: 3px;
|
|
|
|
|
background: rgba(255,255,255,.08);
|
|
|
|
|
border-radius: 2px;
|
2026-05-02 20:54:53 +02:00
|
|
|
overflow: hidden;
|
2026-05-02 20:57:18 +02:00
|
|
|
margin-top: 4px;
|
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 20:57:18 +02:00
|
|
|
background: linear-gradient(90deg, var(--c-accent), var(--c-accent2));
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
transition: width 1s ease;
|
2026-05-02 20:54:53 +02:00
|
|
|
}
|
|
|
|
|
|
2026-05-02 20:57:18 +02:00
|
|
|
/* Loading / no-data state */
|
|
|
|
|
.c-stat-val.loading { opacity: .3; }
|
|
|
|
|
|
|
|
|
|
/* Weather error notice */
|
|
|
|
|
.c-weather-error {
|
|
|
|
|
font-size: .7rem;
|
|
|
|
|
color: var(--c-ghost);
|
|
|
|
|
margin-top: 16px;
|
2026-05-02 20:54:53 +02:00
|
|
|
font-family: var(--mono);
|
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; }
|
|
|
|
|
.log-panel { grid-column: 1/-1; min-height: 200px; }
|
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 20:57:18 +02:00
|
|
|
.c-stats { gap: 10px; }
|
|
|
|
|
.c-stat { min-width: 100px; padding: 14px 18px; }
|
2026-04-27 06:01:00 +02:00
|
|
|
}
|