Files
urutau/internal/server/web/style.css
T
Lucas RayanandClaude Opus 5.5 b7462c14fa
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 27s
CI / Dependency audit (push) Successful in 18s
CI / Tests (Linux, race detector) (push) Successful in 58s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Successful in 5s
feat: 1.2.0 attack intelligence, replay, 30-day history and new interface
Intelligence: attack families mapped to MITRE ATT&CK, network type from
ASN/rDNS without external APIs, request cadence, sessions with
recon/probe/exploit/access/banned stages, campaigns across IPs, verdict
with reasons, recommended actions, exposure detection (2xx with a body
on sensitive paths), STIX 2.1 export, FCrDNS for search engine bots,
optional Tor exit list.

Data: 30-day retention, twelve ranges plus custom from/to, an on-disk
event log (daily files, hourly gzip members, size cap, corruption and
disk-full tolerant), /events, /period, /metrics with stable per-hour
metrics, an extended /ip/{ip}, and peer /period merged on the hub.

Interface: layout system with fixed card sizes, range picker in the
URL, IP analysis page, Replay page, Geography down to state and city
(Natural Earth admin-1), Live page redesigned with stable metrics and a
reusable attack map. Demo data and documentation screenshots.

Security: bounded and deadline-limited period computations, linear
campaign clustering, singleflight caches, sanitized peer studies, event
query budgets, gzip bomb guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:45:59 -03:00

588 lines
42 KiB
CSS

/* Urutau design system.
One vocabulary of surfaces, lines, text, status and chart colors. Every rule
below consumes these tokens: no component invents its own color, its own
font size or its own card. Dark is the identity theme (the original Urutau
palette); light swaps the values only. The theme is chosen before the first
paint by /i18n.js (loaded in <head>), never by a component. */
:root {
/* surfaces, from the application background to the highest element */
--surface-base: #070d14;
--surface-sunken: #050a10;
--surface-panel: #0d1926;
--surface-raised: #13232f;
--surface-overlay: #172b3b;
/* lines and text */
--line: #223546;
--line-strong: #36506a;
--ink: #e8f2f4;
--ink-muted: #9db3bd;
--ink-faint: #7f96a1;
--heading: #f2f8fa;
/* brand */
--accent: #38bdf8;
--accent-soft: #0f2f45;
--on-accent: #04121c;
--signal: #2ee27a;
--rail: #060b11;
--rail-ink: #c4d4db;
--rail-ink-muted: #7f96a1;
--rail-line: #16242f;
--rail-active: #12303f;
--lead-bg: #0c2a3d;
--lead-bg-2: #0b1f30;
--lead-ink: #eef7fa;
--lead-ink-muted: #b4cdd6;
/* status: color with meaning only (danger, warning, ok, info) */
--ok: #34d399;
--ok-soft: #0e3326;
--warn: #f0b35b;
--warn-soft: #3a2b0e;
--danger: #f87171;
--danger-soft: #3d1619;
--info: #60a5fa;
--info-soft: #112c4a;
/* categorical palette for charts: fixed order, series n keeps its color */
--viz-1: #58a6ff;
--viz-2: #3fb950;
--viz-3: #d29922;
--viz-4: #f85149;
--viz-5: #bc8cff;
--viz-6: #39c5cf;
--viz-7: #ff9b4a;
--viz-8: #8b9eb0;
/* event categories, mapped onto the palette */
--cat-ok: var(--viz-2);
--cat-ssh-ok: var(--viz-2);
--cat-notfound: var(--viz-8);
--cat-scanner: var(--viz-3);
--cat-bruteforce: var(--viz-7);
--cat-exploit: var(--viz-4);
--cat-ssh-fail: var(--viz-1);
--cat-ssh-probe: var(--viz-5);
--cat-ban: var(--viz-6);
/* type */
--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
/* space and shape */
--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 28px;
--radius: 10px;
--radius-sm: 7px;
--shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .28);
--scrim: rgba(2, 6, 10, .62);
--rail-w: 232px;
--grid-gap: 16px;
--topbar-h: 64px;
--h-metric: 112px; --h-list: 280px; --h-chart: 220px; --row-h: 32px; --row-h-touch: 40px; --side-w: 320px;
--seq-1: #12354d; --seq-2: #17608a; --seq-3: #1f8fc0; --seq-4: #38bdf8; --seq-5: #b5ecff;
--untrusted-bg: var(--surface-sunken);
--focus-ring: 0 0 0 2px var(--surface-base), 0 0 0 4px var(--accent);
color-scheme: dark;
/* compatibility aliases for scripts written against the first version */
--bg: var(--surface-base); --bg-2: var(--surface-sunken); --panel: var(--surface-panel); --text: var(--ink);
--muted: var(--ink-muted); --field: var(--surface-raised); --accent-2: var(--warn);
--sev-critical: var(--danger); --sev-high: var(--viz-7); --sev-medium: var(--warn); --sev-low: var(--ok); --sev-info: var(--ink-faint);
}
:root[data-theme="light"] {
--surface-base: #eff3f7;
--surface-sunken: #e2eaf0;
--surface-panel: #ffffff;
--surface-raised: #f4f7fa;
--surface-overlay: #ffffff;
--line: #d6e0e7;
--line-strong: #aebfcb;
--ink: #0f1f26;
--ink-muted: #46606b;
--ink-faint: #5f747d;
--heading: #08222d;
--accent: #0369a1;
--accent-soft: #dcecf7;
--on-accent: #ffffff;
--signal: #16a34a;
--ok: #15803d;
--ok-soft: #dcf3e4;
--warn: #8f5600;
--warn-soft: #fbefd0;
--danger: #c01f2f;
--danger-soft: #fbe4e6;
--info: #1d62c9;
--info-soft: #e1ecfb;
--viz-1: #1f6feb;
--viz-2: #1a7f37;
--viz-3: #9a6700;
--viz-4: #cf222e;
--viz-5: #8250df;
--viz-6: #1b7c83;
--viz-7: #bc4c00;
--viz-8: #6b7f8e;
--shadow: 0 1px 2px rgba(15, 31, 38, .08), 0 8px 24px rgba(15, 31, 38, .07);
--scrim: rgba(15, 31, 38, .45);
--seq-1: #dcecf7; --seq-2: #9ccbe8; --seq-3: #4f9fd0; --seq-4: #0a78b5; --seq-5: #064a73;
color-scheme: light;
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
--surface-base: #eff3f7; --surface-sunken: #e2eaf0; --surface-panel: #ffffff; --surface-raised: #f4f7fa; --surface-overlay: #ffffff;
--line: #d6e0e7; --line-strong: #aebfcb; --ink: #0f1f26; --ink-muted: #46606b; --ink-faint: #5f747d; --heading: #08222d;
--accent: #0369a1; --accent-soft: #dcecf7; --on-accent: #ffffff; --signal: #16a34a;
--ok: #15803d; --ok-soft: #dcf3e4; --warn: #8f5600; --warn-soft: #fbefd0; --danger: #c01f2f; --danger-soft: #fbe4e6; --info: #1d62c9; --info-soft: #e1ecfb;
--viz-1: #1f6feb; --viz-2: #1a7f37; --viz-3: #9a6700; --viz-4: #cf222e; --viz-5: #8250df; --viz-6: #1b7c83; --viz-7: #bc4c00; --viz-8: #6b7f8e;
--shadow: 0 1px 2px rgba(15, 31, 38, .08), 0 8px 24px rgba(15, 31, 38, .07); --scrim: rgba(15, 31, 38, .45);
--seq-1: #dcecf7; --seq-2: #9ccbe8; --seq-3: #4f9fd0; --seq-4: #0a78b5; --seq-5: #064a73;
color-scheme: light;
}
}
/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 16px; background: var(--surface-base); }
body {
margin: 0; min-height: 100vh; background: var(--surface-base); color: var(--ink);
font: 400 .9375rem/1.5 var(--font-sans); overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 2px; }
button, select, input { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, select:focus-visible, input:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
[hidden] { display: none !important; }
.mono { font-family: var(--font-mono); font-size: .875rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }
/* ---------------------------------------------------------------- controls */
.btn, select, input[type="text"], input[type="number"], input[type="password"], input[type="search"] {
background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; min-height: 36px;
}
.btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover:not(:disabled), select:hover { border-color: var(--line-strong); background: var(--surface-overlay); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.btn.primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.08); }
.btn.icon { width: 36px; padding: 0; }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-raised); }
.seg button { background: transparent; border: 0; padding: 6px 14px; min-height: 34px; cursor: pointer; color: var(--ink-muted); font-weight: 500; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button:hover { color: var(--ink); background: var(--surface-overlay); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-muted); min-height: 36px; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.linkish { color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; text-align: left; }
/* ---------------------------------------------------------------- shell */
.app { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, var(--rail) calc(var(--rail-w) - 1px), var(--rail-line) calc(var(--rail-w) - 1px), var(--rail-line) var(--rail-w), transparent var(--rail-w)); }
.rail {
position: sticky; top: 0; height: 100vh; background: var(--rail); border-right: 1px solid var(--rail-line);
display: flex; flex-direction: column; padding: var(--s-4) var(--s-3); gap: var(--s-4); overflow-y: auto;
}
.rail-brand { display: flex; align-items: center; gap: var(--s-3); padding: 4px var(--s-2); color: var(--rail-ink); text-decoration: none; }
.rail-brand img, .top-brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand-name { font: 700 1.25rem/1 var(--font-display); letter-spacing: .02em; color: #f2f8fa; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding: 8px var(--s-3); border-radius: var(--radius-sm);
color: var(--rail-ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent;
}
.nav-item:hover { background: var(--rail-line); }
.nav-item[aria-current="page"] { background: var(--rail-active); color: #fff; border-left-color: var(--accent); }
.nav-ico { width: 20px; height: 20px; flex: none; display: inline-flex; }
.nav-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail-foot { margin-top: auto; padding: var(--s-2); color: var(--rail-ink-muted); font-size: .8125rem; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s-3); padding: 0 var(--s-6); height: var(--topbar-h);
background: var(--surface-base); border-bottom: 1px solid var(--line);
}
.top-brand { display: none; }
.topbar h1 { font: 700 1.375rem/1.2 var(--font-display); color: var(--heading); margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.conn { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: .8125rem; margin-right: var(--s-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-faint); display: inline-block; flex: none; }
.dot.on { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 25%, transparent); }
.dot.off { background: var(--danger); }
.slice { padding: var(--s-3) var(--s-6) 0; display: flex; flex-direction: column; gap: var(--s-2); }
.slice-ctl { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.slice-ctl select { max-width: 100%; }
.slice-txt { color: var(--ink-muted); font-size: .875rem; }
.slice-txt strong { color: var(--ink); font-weight: 600; }
main#view { padding: var(--s-4) var(--s-6) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); max-width: 1480px; width: 100%; outline: none; }
.err-banner { margin: var(--s-3) var(--s-6) 0; background: var(--danger-soft); border: 1px solid var(--danger); color: var(--ink); border-radius: var(--radius-sm); padding: 8px 12px; }
.shell-foot { margin-top: auto; padding: var(--s-5) var(--s-6) var(--s-6); color: var(--ink-faint); font-size: .8125rem; text-align: center; }
.shell-foot div { margin-top: 4px; }
.tabbar { display: none; }
.more-sheet { display: none; }
/* ---------------------------------------------------------------- primitives */
.lead {
position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 26px; color: var(--lead-ink);
background: linear-gradient(135deg, var(--lead-bg), var(--lead-bg-2)); border: 1px solid var(--line-strong);
display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-5); align-items: center;
}
.lead::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 0 0 44px color-mix(in srgb, var(--accent) 6%, transparent), 0 0 0 88px color-mix(in srgb, var(--accent) 4%, transparent); pointer-events: none; }
.lead h2 { font: 700 1.5rem/1.2 var(--font-display); max-width: 44ch; color: var(--lead-ink); position: relative; z-index: 1; overflow-wrap: anywhere; }
.lead p { margin-top: 8px; color: var(--lead-ink-muted); max-width: 70ch; position: relative; z-index: 1; overflow-wrap: anywhere; }
.lead .pulse { width: 20px; height: 20px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 9px color-mix(in srgb, var(--signal) 18%, transparent); position: relative; z-index: 1; }
.lead.tone-danger .pulse { background: var(--danger); box-shadow: 0 0 0 9px color-mix(in srgb, var(--danger) 20%, transparent); }
.lead.tone-neutral .pulse { background: var(--ink-faint); box-shadow: none; }
.panel { background: var(--surface-panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; }
.panel-h { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) 0; flex-wrap: wrap; }
.panel-h h2 { font: 700 1rem/1.3 var(--font-display); color: var(--heading); margin-right: auto; }
.panel-h .acts { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.panel .hint { padding: 2px var(--s-4) 0; color: var(--ink-muted); font-size: .875rem; }
.panel-b { padding: var(--s-3) var(--s-4) var(--s-4); min-width: 0; flex: 1; }
.grid { display: grid; gap: var(--s-4); }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }
.grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.main-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid > * { min-width: 0; }
.stat { background: var(--surface-panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); padding: var(--s-3) var(--s-4) var(--s-4); box-shadow: var(--shadow); min-width: 0; }
.stat .l { color: var(--ink-muted); font-size: .875rem; font-weight: 600; }
.stat .v { font: 800 1.875rem/1.1 var(--font-display); color: var(--heading); margin-top: 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat .s { color: var(--ink-faint); font-size: .875rem; margin-top: 4px; }
.stat.tone-danger { border-top-color: var(--danger); } .stat.tone-danger .v { color: var(--danger); }
.stat.tone-warn { border-top-color: var(--warn); } .stat.tone-warn .v { color: var(--warn); }
.stat.tone-ok { border-top-color: var(--ok); } .stat.tone-ok .v { color: var(--ok); }
.stat.tone-info { border-top-color: var(--info); } .stat.tone-info .v { color: var(--info); }
.empty { color: var(--ink-muted); padding: var(--s-4) 0; }
.empty strong { display: block; color: var(--ink); font-weight: 600; }
.note { color: var(--ink-muted); font-size: .875rem; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8125rem; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; background: var(--surface-raised); color: var(--ink-muted); }
.badge.tone-danger { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 55%, transparent); }
.badge.tone-warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.badge.tone-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.badge.tone-info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 55%, transparent); }
.chip { display: inline-block; margin: 0 4px 2px 0; padding: 0 7px; border-radius: 6px; background: var(--surface-raised); border: 1px solid var(--line); font-size: .8125rem; white-space: nowrap; }
.cat { display: inline-block; padding: 0 8px; border-radius: 6px; font-size: .8125rem; font-weight: 600; color: var(--on-accent); background: var(--ink-faint); white-space: nowrap; }
.cat.c-notfound { background: var(--cat-notfound); } .cat.c-scanner { background: var(--cat-scanner); } .cat.c-bruteforce { background: var(--cat-bruteforce); }
.cat.c-exploit { background: var(--cat-exploit); } .cat.c-ssh-fail { background: var(--cat-ssh-fail); } .cat.c-ssh-probe { background: var(--cat-ssh-probe); }
.cat.c-ban { background: var(--cat-ban); } .cat.c-ssh-ok, .cat.c-ok { background: var(--cat-ok); }
.t-banned { color: var(--warn); font-weight: 600; }
/* bars (top-N lists) */
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.bar-row:first-child { border-top: 0; padding-top: 0; }
.bar-row .k { overflow-wrap: anywhere; }
.bar-row .n { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.bar-row .sub { grid-column: 1 / -1; color: var(--ink-muted); font-size: .8125rem; overflow-wrap: anywhere; }
.bar-row .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--surface-raised); overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; background: var(--accent); }
/* charts */
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.tip { position: absolute; pointer-events: none; background: var(--surface-overlay); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 10px; font-size: .8125rem; z-index: 5; min-width: 140px; box-shadow: var(--shadow); }
.tip div { display: flex; justify-content: space-between; gap: 12px; }
.axis { fill: var(--ink-faint); font-size: 11px; font-family: var(--font-sans); }
.gridline { stroke: var(--line); stroke-width: 1; }
.hover-col { fill: transparent; }
.hover-col:hover { fill: color-mix(in srgb, var(--ink) 8%, transparent); }
.b-notfound { fill: var(--cat-notfound); } .b-scanner { fill: var(--cat-scanner); } .b-bruteforce { fill: var(--cat-bruteforce); }
.b-exploit { fill: var(--cat-exploit); } .b-ssh-fail { fill: var(--cat-ssh-fail); } .b-ssh-probe { fill: var(--cat-ssh-probe); } .b-ban { fill: var(--cat-ban); }
.b-treq { fill: var(--accent); fill-opacity: .38; } .b-tpages { fill: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: var(--s-2); }
.legend button, .legend span.li { background: none; border: 0; padding: 4px 0; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: .875rem; }
.legend button { cursor: pointer; }
.legend button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.sw { width: 11px; height: 11px; border-radius: 3px; display: inline-block; background: var(--ink-faint); }
.sw.b-notfound { background: var(--cat-notfound); } .sw.b-scanner { background: var(--cat-scanner); } .sw.b-bruteforce { background: var(--cat-bruteforce); }
.sw.b-exploit { background: var(--cat-exploit); } .sw.b-ssh-fail { background: var(--cat-ssh-fail); } .sw.b-ssh-probe { background: var(--cat-ssh-probe); } .sw.b-ban { background: var(--cat-ban); }
.sw.b-treq { background: color-mix(in srgb, var(--accent) 38%, transparent); } .sw.b-tpages { background: var(--accent); }
/* map */
.mapbox { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.map svg { width: 100%; height: auto; display: block; }
.mapc { fill: var(--surface-raised); stroke: var(--line); stroke-width: .6; }
.mapc.hit { fill: var(--danger); }
.map.good .mapc.hit { fill: var(--accent); }
/* tables */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 600 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); padding: 8px 10px; white-space: nowrap; border-bottom: 2px solid var(--line-strong); }
th button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }
th button:hover { color: var(--ink); }
th[aria-sort="ascending"] button::after { content: " \25B2"; font-size: .7em; }
th[aria-sort="descending"] button::after { content: " \25BC"; font-size: .7em; }
td { padding: 7px 10px; border-top: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
tr.row { cursor: pointer; }
tr.row:hover td, tr.row:focus-visible td { background: var(--surface-raised); }
td.nw, td.nw * { white-space: nowrap; overflow-wrap: normal; }
.origin { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td small { display: block; color: var(--ink-muted); font-size: .8125rem; overflow-wrap: anywhere; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-bottom: var(--s-3); }
.toolbar input[type="text"], .toolbar input[type="search"] { flex: 1 1 180px; min-width: 0; }
.toolbar input[type="number"] { width: 90px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); margin-top: var(--s-3); color: var(--ink-muted); font-size: .875rem; flex-wrap: wrap; }
.pager .btns { display: flex; gap: var(--s-2); align-items: center; }
/* feed */
.feed { list-style: none; padding: 0; max-height: 420px; overflow-y: auto; }
.feed li { padding: 7px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 8px; align-items: baseline; }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed .t { color: var(--ink-muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.feed .what { grid-column: 1 / -1; color: var(--ink-muted); font-size: .875rem; overflow-wrap: anywhere; }
.feed li.empty { display: block; }
/* hosts and sources */
.hosts { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.host { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); background: var(--surface-raised); }
.host h3 { font: 700 1rem/1.3 var(--font-display); display: flex; align-items: center; gap: 8px; color: var(--heading); overflow-wrap: anywhere; }
.host .meta { color: var(--ink-muted); font-size: .875rem; margin-top: 2px; overflow-wrap: anywhere; }
.host dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; margin: 10px 0 0; font-size: .875rem; }
.host dd { text-align: right; font-variant-numeric: tabular-nums; }
.host dt { color: var(--ink-muted); }
.st-following { color: var(--ok); } .st-waiting, .st-backfill { color: var(--warn); } .st-error { color: var(--danger); } .st-disabled { color: var(--ink-muted); }
.kv { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 6px var(--s-4); }
.kv dt { color: var(--ink-muted); } .kv dd { overflow-wrap: anywhere; }
/* drawer */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; }
aside#detail {
position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--surface-panel); border-left: 1px solid var(--line-strong);
box-shadow: var(--shadow); z-index: 50; padding: var(--s-4); overflow-y: auto; overflow-x: hidden;
}
aside#detail .dh { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); }
aside#detail h2 { font: 700 1.25rem/1.2 var(--font-mono); color: var(--heading); margin-right: auto; overflow-wrap: anywhere; }
aside#detail .kv { margin: var(--s-3) 0; grid-template-columns: 112px minmax(0, 1fr); }
aside#detail ul { padding-left: 16px; }
aside#detail li { overflow-wrap: anywhere; margin-bottom: 2px; }
/* ---------------------------------------------------------------- login */
.login { min-height: 100vh; display: grid; place-items: center; padding: var(--s-4); }
.login .panel { width: min(400px, 100%); padding: 26px 22px; text-align: center; }
.login img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto; }
.login h1 { margin: 10px 0 2px; font: 700 1.5rem/1.2 var(--font-display); color: var(--heading); }
.login p { color: var(--ink-muted); margin: 0 0 16px; }
.login form { display: grid; gap: 10px; }
.login .msg { color: var(--danger); min-height: 1.4em; }
.login .controls { display: flex; justify-content: center; gap: var(--s-2); margin-top: 14px; }
/* ---------------------------------------------------------------- responsive */
@media (max-width: 1199px) {
.app { --rail-w: 68px; }
.rail { padding: var(--s-3) var(--s-2); align-items: center; }
.brand-name, .nav-label, .rail-foot { display: none; }
.nav-item { justify-content: center; padding: 8px; border-left: 0; width: 44px; }
.nav-item[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
.grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
.grid.g2, .grid.g3, .grid.main-side, .mapbox { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
.app { display: block; padding-bottom: 68px; }
.rail { display: none; }
.app { background: none; }
:root { --topbar-h: 56px; }
.topbar { padding: 0 var(--s-4); gap: var(--s-2); }
.top-brand { display: inline-flex; }
.top-brand img { width: 30px; height: 30px; }
.topbar h1 { font-size: 1.125rem; }
.conn span:not(.dot) { display: none; }
.conn { margin-right: 0; }
.slice { padding: var(--s-3) var(--s-4) 0; }
main#view { padding: var(--s-3) var(--s-4) var(--s-5); gap: var(--s-4); }
.err-banner { margin: var(--s-3) var(--s-4) 0; }
.shell-foot { padding: var(--s-4); }
.lead { padding: 18px; grid-template-columns: 1fr; }
.lead .pulse { display: none; }
.lead h2 { font-size: 1.25rem; }
.grid.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.stat { padding: var(--s-3); } .stat .v { font-size: 1.5rem; }
.tabbar {
display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
background: var(--rail); border-top: 1px solid var(--rail-line); padding: 4px 4px max(4px, env(safe-area-inset-bottom));
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border: 0; background: none; color: var(--rail-ink); text-decoration: none; font-size: .75rem; border-radius: var(--radius-sm); cursor: pointer; padding: 4px 2px; }
.tab .nav-ico svg { width: 22px; height: 22px; }
.tab span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab[aria-current="page"], .tab[aria-expanded="true"] { background: var(--rail-active); color: #fff; }
.more-sheet { position: fixed; left: 0; right: 0; bottom: 68px; z-index: 31; background: var(--surface-overlay); border-top: 1px solid var(--line-strong); border-radius: 14px 14px 0 0; padding: var(--s-3); box-shadow: var(--shadow); }
.more-sheet:not([hidden]) { display: block; }
.more-sheet a { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 8px var(--s-3); color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.more-sheet a[aria-current="page"] { background: var(--accent-soft); }
.more-sheet .nav-ico { color: var(--accent); }
.tbl-wrap { overflow: visible; }
table.stack thead { display: none; }
table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
table.stack tr { border-top: 1px solid var(--line); padding: 8px 0; }
table.stack tr:first-child { border-top: 0; }
table.stack td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
table.stack td::before { content: attr(data-label); color: var(--ink-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; flex: none; }
table.stack td > * { min-width: 0; }
table.stack td.nw, table.stack td.nw * { white-space: normal; }
table.stack tr.row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 8px 10px; margin: 6px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-raised); }
table.stack tr.row td { display: block; text-align: left; min-width: 0; padding: 0; }
table.stack tr.row td::before { display: block; margin-bottom: 0; }
table.stack tr.row td:first-child { grid-column: 1 / -1; font-weight: 600; }
table.stack tr.row td:first-child::before { display: none; }
table.stack tr.row td:nth-child(4), table.stack tr.row td:nth-child(5) { grid-column: 1 / -1; }
.origin { max-width: none; white-space: normal; }
.kv { grid-template-columns: 1fr; gap: 0; }
.kv dt { margin-top: 8px; }
aside#detail .kv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* ================================================================ layout system
Breakpoints: 560 / 768 / 1024 / 1440. Every grid child may shrink (min-width: 0),
mono text breaks anywhere, no card has a fixed pixel width. */
.grid-12 { display: grid; gap: var(--grid-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.grid-12 > * { min-width: 0; grid-column: span 12; }
.grid-12 .span-2 { grid-column: span 2; } .grid-12 .span-3 { grid-column: span 3; } .grid-12 .span-4 { grid-column: span 4; }
.grid-12 .span-6 { grid-column: span 6; } .grid-12 .span-8 { grid-column: span 8; } .grid-12 .span-12 { grid-column: span 12; }
.kpi-row { display: contents; }
.grid-12 > .kpi-row > .card-metric { grid-column: span 2; min-width: 0; }
@media (max-width: 1199px) {
.grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid-12 .span-2, .grid-12 .span-3, .grid-12 .span-4, .grid-12 .span-6, .grid-12 > .kpi-row > .card-metric { grid-column: span 4; }
.grid-12 .span-8, .grid-12 .span-12 { grid-column: span 8; }
}
@media (max-width: 767px) {
:root { --grid-gap: 12px; }
.grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 .span-3, .grid-12 .span-4, .grid-12 .span-6, .grid-12 .span-8, .grid-12 .span-12 { grid-column: span 4; }
.grid-12 .span-2, .grid-12 > .kpi-row > .card-metric { grid-column: span 2; }
}
.mono, td, .k, .what, .origin, dd { overflow-wrap: anywhere; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* metric card */
.stat, .card-metric { background: var(--surface-panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); padding: var(--s-3) var(--s-4); box-shadow: var(--shadow); min-width: 0; min-height: var(--h-metric); display: flex; flex-direction: column; gap: 2px; }
.cm-label { color: var(--ink-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; }
.cm-value { font: 800 1.875rem/1.1 var(--font-display); color: var(--heading); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.cm-sub { color: var(--ink-faint); font-size: .8125rem; }
.cm-delta { font-size: .8125rem; font-weight: 600; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.cm-delta.bad { color: var(--danger); } .cm-delta.good { color: var(--ok); }
.cm-spark { width: 100%; height: 24px; margin-top: auto; display: block; }
.cm-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.card-metric.tone-danger { border-top-color: var(--danger); } .card-metric.tone-danger .cm-value { color: var(--danger); }
.card-metric.tone-warn { border-top-color: var(--warn); } .card-metric.tone-warn .cm-value { color: var(--warn); }
.card-metric.tone-ok { border-top-color: var(--ok); } .card-metric.tone-ok .cm-value { color: var(--ok); }
.card-metric.tone-info { border-top-color: var(--info); } .card-metric.tone-info .cm-value { color: var(--info); }
/* list / chart / map cards */
.panel-h { min-height: 36px; }
.panel-f { padding: var(--s-2) var(--s-4); border-top: 1px solid var(--line); font-size: .875rem; }
.card-list .panel-b { flex: none; height: var(--h-list); overflow-y: auto; }
.card-list .feed { max-height: none; overflow: visible; }
.card-chart .chart-wrap { min-height: var(--h-chart); }
.card-map .map { aspect-ratio: 2 / 1; }
.card-map .map svg { height: 100%; }
@media (max-width: 767px) { .card-map .map { aspect-ratio: 4 / 3; } .mapbox { grid-template-columns: 1fr; } }
.bucket-note { margin-left: auto; }
/* states */
.state-empty { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) 0; color: var(--ink-muted); }
.state-empty .se-ico { width: 28px; height: 28px; flex: none; color: var(--ink-faint); }
.state-empty .se-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.state-empty .se-txt { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.state-empty strong { color: var(--ink); }
.state-error { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); background: var(--danger-soft); border: 1px solid var(--danger); border-radius: var(--radius-sm); grid-column: 1 / -1; margin-bottom: var(--s-3); }
.skeleton { border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--surface-raised), var(--surface-overlay), var(--surface-raised)); background-size: 200% 100%; animation: sk 1.4s linear infinite; min-height: 96px; }
.card-metric.skeleton { min-height: var(--h-metric); border-top-color: var(--line); }
.lead-skel { min-height: 100px; }
.card-list .skeleton { height: 100%; } .card-chart .skeleton { height: var(--h-chart); } .card-map .skeleton { aspect-ratio: 2 / 1; }
@keyframes sk { to { background-position: -200% 0; } }
/* popover, sheet, chips */
.popover { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: min(380px, calc(100vw - 32px)); background: var(--surface-overlay); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.popover[hidden] { display: none; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface-overlay); border-top: 1px solid var(--line-strong); border-radius: 14px 14px 0 0; padding: var(--s-4); box-shadow: var(--shadow); max-height: 85vh; overflow-y: auto; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.chip-btn { min-height: var(--row-h); padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-raised); cursor: pointer; font-variant-numeric: tabular-nums; }
.chip-btn:hover { border-color: var(--line-strong); }
.chip-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.range-picker { position: relative; display: inline-flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.rp-title { color: var(--ink-muted); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.rp-custom { display: grid; gap: var(--s-2); }
.rp-custom label { display: grid; gap: 2px; font-size: .875rem; color: var(--ink-muted); }
.rp-custom input { width: 100%; }
.rp-err { color: var(--danger); min-height: 1.2em; font-size: .875rem; }
.rp-scrim { display: none; }
@media (max-width: 767px) {
.rp-shortcuts { display: none; }
.rp-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; z-index: 60; border-radius: 14px 14px 0 0; max-height: 85vh; overflow-y: auto; padding: var(--s-4); }
.rp-scrim:not([hidden]) { display: block; z-index: 55; }
.chip-btn { min-height: var(--row-h-touch); }
}
/* tables as cards, grouped tables, untrusted text, chips */
.tbl-group td { background: var(--surface-raised); font-weight: 600; color: var(--ink-muted); }
.untrusted { font-family: var(--font-mono); font-size: .8125rem; background: var(--untrusted-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; overflow-wrap: anywhere; white-space: pre-wrap; min-width: 0; display: block; }
.untrusted[data-label]::before { content: attr(data-label); display: block; font: 600 11px var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 4px; }
.chip-mitre { display: inline-block; padding: 1px 9px; border: 1px solid color-mix(in srgb, var(--viz-5) 60%, transparent); background: color-mix(in srgb, var(--viz-5) 14%, transparent); border-radius: 6px; font: 600 .8125rem var(--font-mono); overflow-wrap: anywhere; }
.timeline { list-style: none; padding: 0 0 0 14px; border-left: 2px solid var(--line-strong); display: grid; gap: var(--s-3); }
.timeline > li { position: relative; min-width: 0; }
.timeline > li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.heatmap { display: grid; gap: 2px; min-width: 0; }
.heatmap > i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--seq-1); }
.heatmap > i.s2 { background: var(--seq-2); } .heatmap > i.s3 { background: var(--seq-3); } .heatmap > i.s4 { background: var(--seq-4); } .heatmap > i.s5 { background: var(--seq-5); }
.session-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); padding: var(--s-3) var(--s-4); min-width: 0; display: grid; gap: var(--s-2); }
.ext-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ip-toc { display: flex; flex-wrap: wrap; gap: var(--s-2); position: sticky; top: var(--topbar-h); z-index: 10; background: var(--surface-base); padding: var(--s-2) 0; }
.ip-toc a { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-muted); font-size: .875rem; }
.ip-toc a:hover { color: var(--ink); border-color: var(--line-strong); }
/* IP verdict (drawer and the full IP page) */
.ip-verdict { border: 1px solid var(--line); border-left: 4px solid var(--ink-faint); border-radius: var(--radius); padding: var(--s-3) var(--s-4); background: var(--surface-raised); display: grid; gap: var(--s-2); min-width: 0; }
.ip-verdict.lv-hostile { border-left-color: var(--danger); } .ip-verdict.lv-suspicious { border-left-color: var(--warn); } .ip-verdict.lv-low { border-left-color: var(--ok); }
.iv-top { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.iv-score { font: 800 2rem/1 var(--font-display); color: var(--heading); } .iv-max { color: var(--ink-faint); }
.iv-origin { overflow-wrap: anywhere; }
.score-bar { height: 6px; border-radius: 3px; background: var(--surface-sunken); overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--accent); }
.ip-verdict.lv-hostile .score-bar i { background: var(--danger); } .ip-verdict.lv-suspicious .score-bar i { background: var(--warn); }
/* drawer preview */
aside#detail { display: flex; flex-direction: column; gap: var(--s-3); }
.drawer-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.drawer-metrics .card-metric { min-height: 0; padding: var(--s-2); box-shadow: none; }
.drawer-metrics .cm-value { font-size: 1.25rem; }
.drawer-metrics .cm-label { font-size: 10px; letter-spacing: .04em; }
.drawer-sec h3 { font: 600 .8125rem var(--font-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); margin-bottom: 6px; }
.drawer-sec ul { padding-left: 16px; }
.mini-bars { width: 100%; height: 56px; display: block; } .mini-bars rect { fill: var(--accent); }
.drawer-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: auto; }
@media (max-width: 559px) { .drawer-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* toast */
.toasts { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 90; display: grid; gap: var(--s-2); pointer-events: none; }
.toast { background: var(--surface-overlay); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 14px; box-shadow: var(--shadow); }
/* touch rows */
@media (max-width: 767px) { .btn, select, input[type="text"], input[type="number"], input[type="search"], input[type="datetime-local"] { min-height: var(--row-h-touch); } }
input[type="datetime-local"] { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; min-height: 36px; }
.grid-12 { align-items: stretch; }
.rp-btn { flex: none; width: max-content; max-width: 100%; padding: 6px 14px; }
.range-picker { flex-wrap: nowrap; }
.card-map .mapbox { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1199px) { .card-map .mapbox { grid-template-columns: 1fr; } }
.rp-btn { gap: 8px; }
.rp-caret { flex: none; }
.rp-label { white-space: nowrap; }
@media (max-width: 767px) { .rp-btn { min-width: 0; max-width: 100%; } .rp-label { overflow: hidden; text-overflow: ellipsis; } .range-picker { min-width: 0; max-width: 100%; } }
.rp-btn { padding: 6px 12px; gap: 6px; }
.lead { overflow: clip; }
.mini-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; align-items: stretch; }
.mini-scale { display: flex; flex-direction: column; justify-content: space-between; height: 56px; font-size: 11px; color: var(--ink-faint); text-align: right; }
.mini-days { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.mini-plot { min-width: 0; }
.score-bar { position: relative; overflow: visible; }
.score-bar i { border-radius: 3px; }
.score-bar .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-muted); }
.iv-cuts { font-size: .75rem; }
.mini-days span { white-space: nowrap; }
.mini-days { font-size: 10px; }