/* ezdyndns — data-terminal style (dark). Fonts are self-hosted: the Traefik
   CSP is font-src 'self'. Every figure (IPs, hostnames, times, counts) is in
   IBM Plex Mono so digits stack; running text is Public Sans. */

@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
	color-scheme: dark;
	--ground: #171719;
	--surface: #131217;
	--raised: #212023;
	--border: #222224;
	--rule: #1b1a1f;
	--control: #3a3a3e;
	--text: #ffffff;
	--muted: #8a8c92;
	--faint: #8a8c92;
	--accent: #4a8ad6;
	--positive: #44a282;
	--negative: #e5566f;
	--warning: #d9a441;
	--pill-positive-bg: #1b2828; --pill-positive-ink: #5fc39c;
	--pill-negative-bg: #2c1a20; --pill-negative-ink: #e5566f;
	--pill-warning-bg: #2a2416; --pill-warning-ink: #d9a441;
	--pill-neutral-bg: #212023; --pill-neutral-ink: #bdbdc0;
	--shadow: 0 12px 28px rgba(0, 0, 0, .2);
	--radius-card: 6px;
	--radius-control: 999px;
	--row-height: 42px;
	--gap: 24px;
	--pad: 32px;
	--control-height: 34px;
	--fs-title: 26px;
	--fs-section: 20px;
	--fs-kpi: 20px;
	--fs-ip: 34px;
	--fs-body: 13px;
	--fs-small: 12px;
	--font: "Public Sans", system-ui, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ground); }
body {
	background: var(--ground);
	color: var(--text);
	font: 400 var(--fs-body)/1.55 var(--font);
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
.mono, code, time { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.dash { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }

/* ---------- controls ---------- */
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .6; }
.primary, .ghost {
	height: var(--control-height);
	padding: 0 16px;
	border-radius: var(--radius-control);
	font-weight: 500;
	white-space: nowrap;
	transition: background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}
.primary { background: var(--text); color: #0d0d0f; border: 1px solid var(--text); }
.primary:hover { background: #d9d9dc; border-color: #d9d9dc; }
.ghost { background: transparent; border: 1px solid var(--control); }
.ghost:hover { border-color: #5a5a60; background: var(--raised); }
.primary:active, .ghost:active, .text-btn:active { transform: scale(.97); }
.ghost.danger, .text-btn.danger { color: var(--negative); }
.ghost.danger { border-color: #4a2a33; }
.ghost.danger:hover { border-color: var(--negative); background: var(--pill-negative-bg); }
.text-btn {
	background: none; border: 0; padding: 4px 2px; color: var(--text);
	border-bottom: 1px solid transparent; transition: border-color .15s var(--ease);
}
.text-btn:hover { border-bottom-color: var(--accent); }
.icon-btn {
	width: var(--control-height); height: var(--control-height);
	display: grid; place-items: center;
	background: transparent; border: 1px solid var(--control); border-radius: 999px; color: var(--muted);
	font-size: 18px; line-height: 1;
}
.icon-btn:hover { color: var(--text); border-color: #5a5a60; }

input, select {
	height: var(--control-height);
	background: var(--surface);
	border: 1px solid var(--control);
	border-radius: 6px;
	padding: 0 10px;
	min-width: 0;
}
input::placeholder { color: #75777d; }
input:hover, select:hover { border-color: #55555b; }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--accent); }

/* The style's one selection mark: a 1px accent line as wide as the label. */
.seg { display: inline-flex; gap: 16px; height: var(--control-height); align-items: stretch; }
.seg label { position: relative; display: flex; align-items: center; cursor: pointer; color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { padding: 0 1px; transition: color .15s var(--ease); }
.seg label:hover span { color: var(--text); }
.seg input:checked + span { color: var(--text); }
.seg input:checked + span::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent);
}
.seg input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }

/* ---------- shell ---------- */
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { width: 22px; height: 22px; color: var(--accent); flex: none; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.scope { color: var(--muted); font-size: var(--fs-small); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--control); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.topbar {
	position: sticky; top: 0; z-index: 5;
	height: 56px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 0 var(--pad);
	background: var(--ground);
	border-bottom: 1px solid var(--border);
}
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.canvas { padding: 28px var(--pad) 64px; }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--gap); }
h1 { font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.finding { margin-top: 6px; font-size: 15px; color: var(--text); min-height: 1.55em; }
.finding .mono { font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* Cards darker than the ground, separated by a lightness step and one soft shadow. */
.panel {
	background: var(--surface);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow);
	padding: 20px 24px 22px;
	min-width: 0;
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-title { font-size: 16px; font-weight: 600; }
.sub-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 6px; }
.fresh { color: var(--muted); font-size: var(--fs-small); display: inline-flex; align-items: center; gap: 6px; }
.fresh time, .fresh .mono { color: var(--text); font-size: var(--fs-small); }
.empty { color: var(--muted); padding: 12px 14px; border: 1px dashed var(--control); border-radius: 6px; }
.hint { color: var(--muted); font-size: var(--fs-small); margin-top: 10px; }

/* status signal dot */
.sig { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; background: var(--muted); }
.sig-live { background: var(--positive); }
.sig-stale, .sig-failing { background: var(--negative); }
.finding .sig { margin-right: 8px; vertical-align: 1px; }

/* ---------- public IP ---------- */
.ip-block { padding: 4px 0 2px; }
.ip-value { font-size: var(--fs-ip); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.ip-meta { color: var(--muted); margin-top: 4px; }

/* ---------- tables ---------- */
table.data { width: 100%; border-collapse: collapse; }
.data th {
	text-align: left; font-weight: 400; font-size: var(--fs-small); color: var(--muted);
	padding: 0 10px 8px; white-space: nowrap; border-bottom: 1px solid var(--border);
}
.data td { padding: 0 10px; height: var(--row-height); border-bottom: 1px solid var(--rule); vertical-align: middle; }
.data th:first-child, .data td:first-child { padding-left: 0; }
.data th:last-child, .data td:last-child { padding-right: 0; }
.data tr:last-child td { border-bottom: 0; }
.data .num { text-align: right; }
.data td.mono, .data time { font-size: 12.5px; }
.data.compact td { height: 32px; }
.data .act { text-align: right; width: 1%; }

.rec-name, .row-sub time { white-space: nowrap; }
.records .ident { width: 34%; padding-top: 7px; padding-bottom: 7px; }
.records .ident .rec-name { display: block; }
.records .ident .mono { color: var(--text); }
.row-sub { display: block; color: var(--muted); font-size: var(--fs-small); line-height: 1.4; }
#domains { overflow-x: auto; }
.row-note { color: var(--negative); font-size: var(--fs-small); line-height: 1.4; }

/* last-24-pushes strip: grey is fine, red is the signal */
.ticks { display: inline-flex; gap: 2px; align-items: center; height: 16px; vertical-align: middle; }
.ticks i { width: 4px; height: 14px; border-radius: 1px; background: var(--raised); }
.ticks i.ok { background: #5d6067; }
.ticks i.fail { background: var(--negative); }
/* a cycle that sent nothing (held, or push-on-change with the IP unchanged) */
.ticks i.skip { background: transparent; box-shadow: inset 0 0 0 1px #5d6067; }

/* ---------- pills ---------- */
.pill {
	display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 4px;
	font-size: var(--fs-small); font-weight: 500; white-space: nowrap; flex: none;
}
.pill-current { background: var(--pill-positive-bg); color: var(--pill-positive-ink); }
.pill-failing { background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
.pill-pending { background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
.pill-paused, .pill-new, .pill-neutral { background: var(--pill-neutral-bg); color: var(--pill-neutral-ink); }
.pill-held { background: var(--pill-negative-bg); color: var(--pill-negative-ink); box-shadow: inset 0 0 0 1px var(--negative); }
.pill-waiting { background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
.pill-btn { border: 0; cursor: pointer; font: inherit; font-size: var(--fs-small); }
.pill-btn:hover { filter: brightness(1.2); }
.pill-btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.type-tag { font: 500 10.5px/1 var(--mono); color: var(--muted); border: 1px solid var(--control); border-radius: 3px; padding: 2px 4px; vertical-align: 1px; }
.row-reply { font-size: var(--fs-small); line-height: 1.4; margin-top: 2px; }
.row-reply.ok { color: var(--positive); }
.row-reply.bad { color: var(--negative); }
.data .act { white-space: nowrap; }
.data .act .text-btn + .text-btn { margin-left: 12px; }
.log tr.is-skip td { color: var(--muted); }

/* ---------- topology ---------- */
.span-5#hero, .topo { align-self: stretch; }
.topo { position: relative; display: flex; flex-direction: column; }
.topo-stage { position: relative; flex: 1; min-height: 260px; display: none; }
.topo.is-3d .topo-stage { display: block; }
.topo.is-3d .topo-fallback { display: none; }
.topo-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.topo-label {
	position: absolute; left: 0; top: 0; pointer-events: none; white-space: nowrap;
	font: 400 12px/1.3 var(--mono); color: var(--text);
	transform: translate(-50%, -50%);
	will-change: transform;
}
.topo-label small { display: block; font: 400 11px/1.3 var(--font); color: var(--muted); }
.topo-label.home { font-size: 13px; font-weight: 500; text-align: center; }
.topo-label .l-short { display: none; }
.narrow .topo-label .l-full { display: none; }
.narrow .topo-label .l-short { display: inline; }
.topo-label.state-failing small, .topo-label.state-held small { color: var(--negative); }
.topo-fallback svg { width: 100%; height: 300px; display: block; }
.topo-fallback .link { stroke: #4a4c52; stroke-width: 1; }
.topo-fallback .link-failing, .topo-fallback .link-held { stroke: var(--negative); stroke-dasharray: 3 3; }
.topo-fallback .link-paused, .topo-fallback .link-new { stroke: var(--control); stroke-dasharray: 2 4; }
.topo-fallback .node { fill: var(--positive); }
.topo-fallback .node-failing, .topo-fallback .node-held { fill: var(--negative); }
.topo-fallback .node-pending, .topo-fallback .node-waiting { fill: var(--warning); }
.topo-fallback .node-paused, .topo-fallback .node-new { fill: var(--muted); }
.topo-fallback .home { fill: var(--text); }
.topo-fallback text { font: 400 12px var(--mono); fill: var(--text); }
.topo-fallback .home-label { font-weight: 500; font-size: 13px; }
.topo-json { display: none; }

.legend { display: flex; gap: 14px; list-style: none; color: var(--muted); font-size: var(--fs-small); flex-wrap: wrap; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sw-current { background: var(--positive); }
.sw-pending { background: var(--warning); }
.sw-failing { background: var(--negative); }
.sw-paused { background: var(--muted); }

/* ---------- services ---------- */
.svc-list { list-style: none; }
.svc-list li {
	display: grid; grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"main pill"
		"actions actions";
	gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.svc-list li:first-child { padding-top: 0; }
.svc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-main { grid-area: main; min-width: 0; }
.svc-name { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-meta { color: var(--muted); font-size: var(--fs-small); }
.svc-list .pill { grid-area: pill; align-self: start; }
.svc-actions { grid-area: actions; display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.svc-actions .ghost { height: 30px; padding: 0 14px; }

/* ---------- log ---------- */
.log-filter { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.log-filter select { min-width: 220px; }
.log-count { color: var(--muted); font-size: var(--fs-small); margin-bottom: 8px; }
.log-frame { max-height: 452px; overflow: auto; }
.log thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.log td:first-child { width: 160px; white-space: nowrap; }
.log td.detail { color: var(--muted); max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log tr.is-fail td.detail { color: var(--text); }
.log tr.is-new td { background: rgba(74, 138, 214, .08); transition: background 1.6s var(--ease); }

/* ---------- dialog ---------- */
dialog {
	margin: auto; border: 0; padding: 0; color: var(--text);
	background: var(--surface); border-radius: 8px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
	width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
}
dialog::backdrop { background: rgba(8, 8, 10, .72); }
.sheet { padding: 22px 24px 24px; }
.sheet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sheet-head h2 { font-size: 18px; font-weight: 600; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-head .pill + .icon-btn { margin-left: 4px; }
.sheet-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.sheet-section { margin-top: 22px; padding-top: 4px; border-top: 1px solid var(--border); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
.field input, .field select { width: 100%; }
.field[hidden] { display: none; }
.form-result { min-height: 1.4em; margin-top: 12px; font-size: var(--fs-small); color: var(--negative); }
.form-result:empty { margin-top: 0; min-height: 0; }
.rec-list { list-style: none; margin-bottom: 12px; }
.rec-list li { border-bottom: 1px solid var(--rule); padding: 9px 0; }
.rec-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rec-actions { display: inline-flex; align-items: flex-start; gap: 14px; }
.rec-edit summary { list-style: none; cursor: pointer; }
.rec-edit summary::-webkit-details-marker { display: none; }
.rec-edit[open] { flex-basis: 100%; }
.rec-line:has(.rec-edit[open]) .rec-actions { flex-basis: 100%; flex-direction: column; }
.add-record { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rec-edit .add-record { margin-top: 10px; }
.add-record > .field { flex: 1 1 140px; }
.add-record > .form-result { flex-basis: 100%; }
.field-grid-3 { grid-template-columns: 1fr 1fr minmax(0, 0.8fr); }
.danger-zone .ghost { margin-top: 12px; }

/* ---------- toolbox ---------- */
.tool-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 18px; }
.tool-form .field { flex: 1 1 180px; }
.tool-form .field.narrow { flex: 0 1 130px; }
.tool-form[hidden] { display: none; }
.tool-tabs { margin-bottom: 16px; }
.tool-out:empty::before { content: "Results appear here."; color: var(--muted); }
.tool-out .htmx-request, .tool-out.htmx-request { opacity: .5; }
.tool-verdict { margin: 4px 0 10px; }
.tool-verdict.ok { color: var(--positive); }
.tool-verdict.warn { color: var(--warning); }
.tool-verdict.bad { color: var(--negative); }
.tool-table td { height: auto; padding-top: 8px; padding-bottom: 8px; vertical-align: top; }
.val { font-size: 12.5px; line-height: 1.5; }
.tool-table tr.is-differs td:nth-child(2) .val { color: var(--warning); }
.tool-kind { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.val.wrap { white-space: pre-wrap; word-break: break-all; background: var(--raised); border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.tool-block h4 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.tool-notes { list-style: none; font-size: var(--fs-small); line-height: 1.5; }
.tool-notes li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--muted); }
.tool-notes li.note-ok::before { background: var(--positive); }
.tool-notes li.note-warn::before { background: var(--warning); }
.tool-notes li.note-bad::before { background: var(--negative); }
span.note-bad { color: var(--negative); font-size: var(--fs-small); }
.log-tools { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- lock screen ---------- */
#lockscreen { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.lock-panel { width: min(420px, 100%); background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; }
.lock-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 22px 0 8px; }
.lock-panel p { color: var(--muted); margin-bottom: 20px; }
.lock-panel .mono { color: var(--text); font-size: 12px; }
.lock-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
#lockstate { font-size: var(--fs-small); color: var(--muted); }
#lockstate.error { color: var(--negative); }

.gated { display: none; }
body.authed .gated { display: block; }
body.authed #lockscreen { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
	.span-5, .span-7, .span-8, .span-4 { grid-column: span 12; }
	.log td.detail { max-width: 260px; }
	.topo-stage { flex: none; height: 300px; }
	/* tablet: the 24-cycle strip gives way to the actions; the sub-line keeps the last good push */
	.records th:nth-child(5), .records td:nth-child(5) { display: none; }
}

/* ---------- phone: tables become two-line rows ---------- */
@media (max-width: 640px) {
	:root { --pad: 16px; --gap: 16px; --fs-ip: 28px; --fs-body: 14px; }
	.data td.mono, .data time, .fresh time, .fresh .mono { font-size: 13px; }
	.row-sub, .svc-meta, .row-note { font-size: 13px; }
	.topbar { height: 52px; }
	.scope { display: none; }
	.canvas { padding-top: 20px; }
	.title-row { flex-direction: column; align-items: stretch; gap: 12px; }
	h1 { font-size: 22px; }
	.finding { font-size: 14px; }
	.panel { padding: 16px; }
	.topo-stage, .topo-fallback svg { height: 260px; }
	.primary, .ghost { height: 44px; }
	.field-grid, .field-grid-3 { grid-template-columns: 1fr; }
	.add-record > .field { flex-basis: 100%; }
	input, select { height: 44px; }
	.log-filter { width: 100%; gap: 12px; }
	.log-filter { flex-wrap: wrap; }
	.log-filter select { flex: 1 1 160px; min-width: 0; }

	.data thead { display: none; }
	.data, .data tbody, .data tr, .data td { display: block; }
	.data tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
	.data tr:last-child { border-bottom: 0; }
	.data td { height: auto; border: 0; padding: 0; }

	.records tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
	.records td.ident { width: auto; grid-column: 1; }
	.records td:nth-child(2) { grid-column: 2; grid-row: 1; justify-self: end; }
	.records td:nth-child(3) { grid-column: 1; font-size: 12px; color: var(--muted); }
	.records td:nth-child(3)::before { content: "Points at "; font-family: var(--font); }
	.records td:nth-child(4) { grid-column: 2; grid-row: 2; justify-self: end; }
	.records td:nth-child(5) { grid-column: 1; }
	.records td.act { grid-column: 2; grid-row: 3; width: auto; justify-self: end; }
	.records .ident { padding: 0; }
	.records td:nth-child(5) { display: block; }

	.log tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
	.log td:first-child { width: auto; grid-column: 1; color: var(--muted); }
	.log td:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
	.log td:nth-child(2), .log td:nth-child(3) { grid-column: 1; }
	.log td.detail { grid-column: 1 / -1; max-width: none; white-space: normal; font-size: 12px; }
	.log td.detail:empty { display: none; }
	.log-frame { max-height: none; }
	.data.compact tr { display: grid; grid-template-columns: 1fr auto; }
	.data.compact td:first-child { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
	.tool-grid { grid-template-columns: 1fr; }
	.tool-table tr { display: block; }
	.tool-form .field.narrow { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; }
	.primary:active, .ghost:active, .text-btn:active { transform: none; }
}
