:root {
color-scheme: dark;
--bg:          oklch(0.14 0.008 250);
--bg-deep:     oklch(0.11 0.008 250);
--bg-elev:     oklch(0.18 0.009 250);
--bg-card:     oklch(0.20 0.010 250);
--bg-card-h:   oklch(0.235 0.011 250);
--border:      oklch(0.32 0.010 250);
--border-soft: oklch(0.26 0.010 250);
--hair:        oklch(0.40 0.010 250 / 0.35);
--fg:          oklch(0.97 0.006 90);
--fg-dim:      oklch(0.76 0.010 90);
--fg-mute:     oklch(0.58 0.012 90);
--fg-ghost:    oklch(0.42 0.012 250);
--accent:      oklch(0.70 0.11 245);
--accent-2:    oklch(0.93 0.05 80);
--accent-dim:  oklch(0.70 0.11 245 / 0.20);
--accent-line: oklch(0.70 0.11 245 / 0.45);
--font-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
--font-serif: "Instrument Serif", ui-serif, Georgia, serif;
--radius:    18px;
--radius-sm: 10px;
--maxw:      1040px;
--sidebar-w: 320px;
--main-pad-x: clamp(20px, 5.5vw, 112px);
--viz-surface: var(--bg-card);
--series-1: #3987e5;
--series-2: #d95926;
--series-3: #199e70;
--series-4: #ab3db3;
--viz-grid:     oklch(0.28 0.010 250);
--viz-axis:     oklch(0.36 0.010 250);
--viz-ink:      var(--fg);
--viz-ink-2:    var(--fg-dim);
--viz-ink-mute: var(--fg-mute);
--status-good:     #0ca30c;
--status-warning:  #fab219;
--status-serious:  #ec835a;
--status-critical: #d03b3b;
--seq-b-0: #0d366b; --seq-b-1: #104281; --seq-b-2: #184f95; --seq-b-3: #1c5cab;
--seq-b-4: #256abf; --seq-b-5: #2a78d6; --seq-b-6: #3987e5; --seq-b-7: #5598e7;
--seq-b-8: #6da7ec; --seq-b-9: #86b6ef; --seq-b-10: #9ec5f4; --seq-b-11: #b7d3f6;
--seq-o-0: #621e00; --seq-o-1: #752600; --seq-o-2: #8a2e00; --seq-o-3: #9f3600;
--seq-o-4: #b44005; --seq-o-5: #c94908; --seq-o-6: #d95923; --seq-o-7: #df7249;
--seq-o-8: #e68764; --seq-o-9: #eb9c7f; --seq-o-10: #f2b098; --seq-o-11: #f5c4b2;
--sky-clear:    #007bc7;
--sky-part:     #81add1;
--sky-overcast: #d0d7dc;
--sky-rain:     #6b7681;
--sky-storm:    #3f464d;
--sky-frame:    oklch(0.50 0.012 250);
}
:root[data-theme="light"] {
color-scheme: light;
--bg:          oklch(0.985 0.004 85);
--bg-deep:     oklch(0.97 0.004 85);
--bg-elev:     oklch(0.97 0.005 85);
--bg-card:     oklch(0.955 0.006 85);
--bg-card-h:   oklch(0.935 0.007 85);
--border:      oklch(0.84 0.006 85);
--border-soft: oklch(0.90 0.005 85);
--hair:        oklch(0.70 0.010 250 / 0.30);
--fg:          oklch(0.18 0.010 250);
--fg-dim:      oklch(0.42 0.012 250);
--fg-mute:     oklch(0.58 0.014 250);
--fg-ghost:    oklch(0.86 0.012 250);
--accent:      oklch(0.55 0.20 250);
--accent-2:    oklch(0.45 0.08 60);
--accent-dim:  oklch(0.55 0.20 250 / 0.14);
--accent-line: oklch(0.55 0.20 250 / 0.42);
--series-1: #2a78d6;
--series-2: #eb6834;
--series-3: #079c6b;
--series-4: #9832ae;
--viz-grid: oklch(0.88 0.005 85);
--viz-axis: oklch(0.78 0.006 85);
--status-good:     #0a7d0a;
--status-warning:  #8a5f00;
--status-serious:  #b54c1f;
--seq-b-0: #cde2fb; --seq-b-1: #b7d3f6; --seq-b-2: #9ec5f4; --seq-b-3: #86b6ef;
--seq-b-4: #6da7ec; --seq-b-5: #5598e7; --seq-b-6: #3987e5; --seq-b-7: #2a78d6;
--seq-b-8: #256abf; --seq-b-9: #1c5cab; --seq-b-10: #184f95; --seq-b-11: #104281;
--seq-o-0: #fbd7ca; --seq-o-1: #f5c4b2; --seq-o-2: #f2b098; --seq-o-3: #eb9c7f;
--seq-o-4: #e68764; --seq-o-5: #df7249; --seq-o-6: #d95923; --seq-o-7: #c94908;
--seq-o-8: #b44005; --seq-o-9: #9f3600; --seq-o-10: #8a2e00; --seq-o-11: #752600;
--sky-frame: oklch(0.64 0.010 250);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: var(--font-sans);
font-size: 15px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-grid {
background-image:
linear-gradient(to right, var(--hair) 1px, transparent 1px),
linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
background-size: 96px 96px;
opacity: .35;
mask-image: radial-gradient(120% 90% at 60% 20%, #000 30%, transparent 100%);
}
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
text-transform: uppercase; color: var(--fg-mute); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.shell { position: relative; z-index: 1; display: flex; min-height: 100vh; }
.sidebar {
position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
display: flex; flex-direction: column; gap: 18px;
padding: 26px 24px;
background: color-mix(in oklab, var(--bg-deep) 82%, transparent);
border-right: 1px solid var(--border-soft);
backdrop-filter: blur(8px);
z-index: 20;
}
.sb-brand { display: flex; flex-direction: column; gap: 2px; }
.sb-title { font-family: var(--font-serif); font-style: italic; font-size: 30px;
line-height: 1.1; color: var(--fg); }
.sb-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
color: var(--fg-dim); }
.sb-live { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
box-shadow: 0 0 0 0 var(--accent-dim); }
.dot.pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
0%   { box-shadow: 0 0 0 0 var(--accent-dim); }
70%  { box-shadow: 0 0 0 10px transparent; }
100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .dot.pulse { animation: none; } }
.sb-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.sb-nav a {
display: grid; grid-template-columns: 26px 22px 1fr; align-items: center;
gap: 8px; padding: 6px 0; color: var(--fg-dim); font-size: 14px;
text-decoration: none; transition: color .18s ease;
}
.sb-nav a:hover { color: var(--fg); }
.sb-nav .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
color: var(--fg-ghost); }
.sb-nav .ln { height: 1px; background: var(--border); transition: width .22s ease, background .22s ease; width: 12px; }
.sb-nav a:hover .ln, .sb-nav a[aria-current="true"] .ln { width: 22px; background: var(--accent); }
.sb-nav a[aria-current="true"] { color: var(--fg); }
.sb-nav a[aria-current="true"] .lbl { font-family: var(--font-serif); font-style: italic; font-size: 15px; }
.sb-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px;
padding-top: 16px; border-top: 1px solid var(--border-soft); }
.main { flex: 1; margin-left: var(--sidebar-w); padding: 0 var(--main-pad-x) 120px;
max-width: calc(var(--maxw) + 2 * 112px); }
.sec { position: relative; padding: 72px 0 8px; scroll-margin-top: 24px; }
.sec-head { position: relative; margin-bottom: 26px; }
.sec-num {
position: absolute; right: -8px; top: -58px; font-family: var(--font-serif);
font-style: italic; font-size: clamp(90px, 13vw, 190px); line-height: 1;
color: var(--fg-ghost); opacity: .18; pointer-events: none; user-select: none;
}
.sec-mark { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
color: var(--fg-ghost); }
.sec-title { font-family: var(--font-serif); font-style: italic;
font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; margin: 2px 0 6px; }
.sec-lead { color: var(--fg-dim); max-width: 62ch; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
position: relative;
background: var(--bg-card); border: 1px solid var(--border-soft);
border-radius: var(--radius); padding: 18px;
transition: background .2s ease, border-color .2s ease;
}
.info > summary {
position: absolute; top: 14px; right: 14px; z-index: 2;
list-style: none; cursor: pointer; user-select: none;
width: 22px; height: 22px; border-radius: 50%;
border: 1px solid var(--border-soft); background: var(--bg-elev);
color: var(--fg-mute); font-family: var(--font-mono); font-size: 12px;
line-height: 20px; text-align: center;
transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.info > summary::-webkit-details-marker,
.info > summary::marker { display: none; content: ''; }
.info > summary:hover { color: var(--fg); border-color: var(--border); }
.info > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.info[open] > summary { background: var(--accent-dim); color: var(--fg); border-color: var(--accent-dim); }
.info > .ibody {
border-left: 2px solid var(--border-soft);
padding: 1px 0 1px 12px; margin: 2px 0 14px;
color: var(--fg-dim); font-size: 13.5px; line-height: 1.55; max-width: 68ch;
}
.info > .ibody b { color: var(--fg); font-weight: 500; }
.tile > .info > summary { top: 10px; right: 10px; width: 18px; height: 18px;
font-size: 10.5px; line-height: 16px; }
.tile .k { padding-right: 22px; }
.tile > .info > .ibody { font-size: 12.5px; margin: 10px 0 0; padding-left: 10px; }
.grid:has(.tile > .info[open]) > .tile { align-self: start; }
.card.pad-tight { padding: 14px 16px; }
.card h3 { margin: 0 0 2px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.card .hint { margin: 0 0 12px; font-size: 12.5px; color: var(--fg-mute); }
.tile .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em;
text-transform: uppercase; color: var(--fg-mute); }
.tile .v { font-size: clamp(24px, 3.1vw, 34px); line-height: 1.15; margin-top: 6px;
letter-spacing: -0.02em; }
.tile .v .u { font-size: .46em; color: var(--fg-dim); margin-left: 4px; letter-spacing: 0; }
.tile .d { font-size: 12.5px; color: var(--fg-dim); margin-top: 4px; }
.tagstrip { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--border-soft);
margin: 8px 0 26px; }
.tagstrip span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
text-transform: uppercase; color: var(--fg-mute); padding: 10px 18px;
border-right: 1px solid var(--border-soft); }
.tagstrip span:last-child { border-right: 0; }
.tagstrip b { color: var(--fg-dim); font-weight: 400; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 999px;
background: var(--bg-elev); overflow: hidden; }
.seg button {
appearance: none; border: 0; background: transparent; cursor: pointer;
font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
text-transform: uppercase; color: var(--fg-mute); padding: 7px 13px;
transition: color .15s ease, background .15s ease;
}
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--accent-dim); color: var(--fg); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.btn {
appearance: none; cursor: pointer; border: 1px solid var(--border-soft);
background: var(--bg-elev); color: var(--fg-dim); border-radius: 999px;
font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
text-transform: uppercase; padding: 7px 13px;
}
.btn:hover { color: var(--fg); border-color: var(--border); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn[aria-pressed="true"] { background: var(--accent-dim); color: var(--fg); border-color: var(--accent-dim); }
.qdot { display: inline-block; width: 5px; height: 5px; border-radius: 50%;
background: var(--status-warning); margin-right: 6px; vertical-align: 1px; }
.btn[disabled] { opacity: .38; cursor: default; pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 2px 0 10px; }
.legend .it { display: inline-flex; align-items: center; gap: 7px;
font-size: 12.5px; color: var(--fg-dim); }
.legend .sw { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.legend-on .it { background: none; border: 0; padding: 7px 6px; margin: 0 -6px;
border-radius: 6px; cursor: pointer; font: inherit; color: var(--fg-dim);
transition: opacity .15s ease, background .15s ease; }
.legend-on { margin-top: -4px; margin-bottom: 6px; row-gap: 0; column-gap: 12px; }
.legend-on .it:hover { background: var(--bg-elev); color: var(--fg); }
.legend-on .it:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.legend-on .it.off { opacity: .42; text-decoration: line-through; }
.legend-on .it.off .sw { background: none !important; box-shadow: inset 0 0 0 1.5px var(--border); }
.card > .legend:first-child, .card > .info + .legend { padding-right: 30px; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tip {
position: absolute; z-index: 30; pointer-events: none; opacity: 0;
transform: translate(-50%, -100%) translateY(-10px);
background: var(--bg-card-h); border: 1px solid var(--border);
border-radius: var(--radius-sm); padding: 9px 11px; min-width: 128px;
box-shadow: 0 10px 30px rgb(0 0 0 / .35);
transition: opacity .12s ease;
font-size: 12.5px;
}
.tip.on { opacity: 1; }
.tip .t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
text-transform: uppercase; color: var(--fg-mute); margin-bottom: 5px; }
.tip .r { display: flex; align-items: center; gap: 7px; justify-content: space-between; }
.tip .r .l { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-dim); }
.tip .r .n { font-variant-numeric: tabular-nums; color: var(--fg); }
.tip .sw { width: 9px; height: 9px; border-radius: 2px; flex: none;
box-shadow: inset 0 0 0 1px rgb(128 128 128 / .45); }
.tip .r.ki .ln { color: var(--fg); font-weight: 600; }
.tip .r.ki .sw { outline: 1.5px solid var(--fg-dim); outline-offset: 1.5px; }
.tablewrap { max-height: 420px; overflow: auto; border: 1px solid var(--border-soft);
border-radius: var(--radius-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { padding: 7px 11px; text-align: right;
border-bottom: 1px solid var(--border-soft);
font-variant-numeric: tabular-nums; }
table.data th:first-child, table.data td:first-child { text-align: left;
font-variant-numeric: normal; }
table.data thead th { position: sticky; top: 0; background: var(--bg-elev);
font-family: var(--font-mono); font-size: 10.5px;
letter-spacing: .1em; text-transform: uppercase;
color: var(--fg-mute); font-weight: 400; }
table.data tbody tr:hover { background: var(--bg-card-h); }
@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
.sidebar {
position: static; width: auto; inset: auto; flex-direction: column;
border-right: 0; border-bottom: 1px solid var(--border-soft);
padding: 18px var(--main-pad-x);
backdrop-filter: none; background: var(--bg-deep);
}
.shell { flex-direction: column; }
.main { margin-left: 0; padding-top: 8px; }
.sb-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
.sb-nav a { grid-template-columns: auto auto; padding: 4px 0; }
.sb-nav .ln { display: none; }
.sb-foot { margin-top: 14px; }
.sec-num { top: -34px; font-size: clamp(64px, 18vw, 120px); }
}
@media (pointer: coarse) {
.sidebar { backdrop-filter: none; }
#stars { display: none; }
}
@media (max-width: 720px) {
.g2, .g3, .g4 { grid-template-columns: 1fr; }
.sec { padding-top: 52px; }
body { font-size: 14.5px; }
.tagstrip span { padding: 8px 12px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gapnote { font-size: 12.5px; color: var(--fg-mute); margin-top: 10px; }
.gapnote b { color: var(--status-warning); font-weight: 400; }
.gapnote strong { color: var(--fg); font-weight: 500; }
.vendeg-sav { position: sticky; top: 0; z-index: 40; padding: 9px 16px;
background: var(--bg-elev); color: var(--fg); font-size: 13px;
border-bottom: 1px solid var(--line); text-align: center; }
.vendeg-sav b { font-weight: 500; }
dialog.oszd-meg { width: min(560px, calc(100vw - 32px)); padding: 18px;
max-height: 80vh; overflow: auto;
border: 1px solid var(--line); border-radius: 10px;
background: var(--bg-elev); color: var(--fg); }
dialog.oszd-meg::backdrop { background: rgb(0 0 0 / .45); }
.oszd-fej { display: flex; align-items: center; justify-content: space-between;
gap: 12px; margin: 0 0 4px; }
.oszd-fej h3 { margin: 0; font-size: 15px; font-weight: 500; }
.oszd-uj { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.oszd-uj input { flex: 1 1 180px; min-width: 0; }
.oszd-meg input[type=text] { padding: 6px 9px; border: 1px solid var(--line);
border-radius: 6px; background: var(--bg); color: var(--fg);
font: inherit; font-size: 13px; }
.oszd-link { margin: 12px 0; }
.oszd-link label { display: block; font-size: 12.5px; color: var(--fg-mute);
margin-bottom: 6px; }
.oszd-link div { display: flex; gap: 8px; }
.oszd-link input { flex: 1 1 auto; min-width: 0;
font-family: var(--font-mono); font-size: 12px; }
.oszd-lista { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.oszd-sor { display: flex; align-items: center; justify-content: space-between;
gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.oszd-sor:last-child { border-bottom: 0; }
.oszd-sor b { font-weight: 500; }
.oszd-sor .mono { font-size: 11.5px; color: var(--fg-mute); }
.oszd-sor.holt { opacity: .5; }
.hfej { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.hfej .btn { flex: none; margin-left: auto; }
.skala { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; flex-wrap: nowrap; }
.skala-cim { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
text-transform: uppercase; color: var(--fg-mute); }
.skala-csik { display: flex; flex: 0 1 150px; min-width: 70px; height: 9px;
border-radius: 999px; overflow: hidden; }
.skala-csik > i { flex: 1; }
.skala-cimke { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-dim);
font-variant-numeric: tabular-nums; white-space: nowrap; }
.skala-cim:empty { display: none; }
.evracs { display: grid; gap: 14px; }
.evracs > figure { margin: 0; min-width: 0; }
.evracs figcaption { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
text-transform: uppercase; color: var(--fg-mute); margin-bottom: 5px; }
canvas.h3d { display: block; width: 100%; border-radius: var(--radius-sm);
background: var(--bg-deep); touch-action: pan-y; cursor: grab; }
canvas.h3d:active { cursor: grabbing; }
.h3sugo { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
text-transform: uppercase; color: var(--fg-mute); margin: 6px 0 0; }
.hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 14px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.now .big { font-size: clamp(46px, 8vw, 82px); line-height: 1; letter-spacing: -0.03em;
font-variant-numeric: tabular-nums; }
.now .unit { font-size: clamp(16px, 2.4vw, 22px); color: var(--fg-dim); }
.bar { height: 8px; border-radius: 999px; background: var(--viz-grid); overflow: hidden; margin-top: 14px; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--series-2);
width: 0; transition: width .6s cubic-bezier(.22,.9,.28,1); }
.stale { color: var(--status-warning); }
#vaszonDoboz {
position: relative; width: 100%; aspect-ratio: 16 / 7;
max-height: 300px; min-height: 190px;
border-radius: var(--radius-sm); overflow: hidden;
background: var(--bg-deep); border: 1px solid var(--border-soft);
touch-action: pan-y;
}
#vaszon { display: block; width: 100%; height: 100%; }
#vaszonDoboz .hazSugo {
position: absolute; left: 12px; bottom: 10px; margin: 0;
font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
text-transform: uppercase; pointer-events: none;
color: rgba(255,255,255,.72); text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
#allapot {
font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-mute);
margin-top: 10px; min-height: 32px; white-space: pre-wrap;
font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
@media (max-width: 640px) { #vaszonDoboz { aspect-ratio: 4 / 3; max-height: 46vh; } }
