:root { color-scheme: light; --bg: #f3f3f1; --card: #fcfcfb; --border: #dddcd7; --text: #0b0b0b; --muted: #6d6c67; --accent: #2a78d6; --error: #b3261e; }
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; --bg: #111110; --card: #1a1a19; --border: #34332f; --text: #f0efec; --muted: #9d9c93; --accent: #3987e5; --error: #f07167; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, sans-serif; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--border); }
h1 { font-size: 18px; margin: 0; } h2 { font-size: 15px; margin: 0 0 8px; }
main { max-width: 1000px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.narrow { max-width: 420px; margin: 40px auto; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
input, select, button { font: inherit; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
button { cursor: pointer; } button.link { border: 0; background: none; color: var(--accent); padding: 0; }
.muted { color: var(--muted); } .error { color: var(--error); }
.probe { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tile { border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.tile .k { font-size: 12px; color: var(--muted); } .tile .v { font-size: 18px; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; max-height: 360px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: 13px; }
th, td { text-align: right; padding: 4px 8px; border-bottom: 1px solid var(--border); } th:first-child, td:first-child { text-align: left; }
