/* The admin page's own rules. The rest is style.css, which every page of ours loads. */
header, main { max-width: 76rem; }
h2 { font: 600 1.15rem/1.3 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 1rem 0 0.4rem; color: var(--muted); }
nav.tabs { display: flex; margin: 0.2rem 0 0.8rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
#refresh { margin-left: auto; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.95rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.15rem 0.45rem; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.7rem; margin: 0.4rem 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 1rem; box-shadow: var(--shadow); }
.tile:hover { transform: translateY(-2px); }
.tile strong { display: block; font: 600 1.9rem/1.15 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.tile span { color: var(--muted); font-size: 0.86rem; }
td.problem, .tile.problem strong, p.problem { color: var(--bad); font-weight: 600; }
td.warning { color: var(--accent); }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.mono { font-family: ui-monospace, Menlo, monospace; font-size: 0.88rem; overflow-wrap: anywhere; }
td.center, th.center { text-align: center; }
tr.link { cursor: pointer; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 1.1rem; margin: 0.8rem 0; box-shadow: var(--shadow); animation: rise 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.card > .bar:first-child, .card h3:first-child { margin-top: 0; }
.card table { box-shadow: none; }
.grow { margin-right: auto; font-weight: 600; font-size: 1.05rem; }
.pill { display: inline-block; border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 0 0.6rem; font-size: 0.8rem; color: var(--muted); }
.pill.problem { border-color: var(--bad); color: var(--bad); background: transparent; }
button.danger { border-color: var(--bad); color: var(--bad); }
button.danger:hover:not(:disabled) { border-color: var(--bad); color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--card)); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 1.2rem; margin: 0.3rem 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
svg.spark { width: 100%; max-width: 22rem; height: 2.4rem; display: block; }
svg.spark rect { fill: var(--accent); }
svg.spark rect.none { fill: var(--line); }
.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.5rem 1.4rem; }
.series p { margin: 0; font-size: 0.9rem; }
ul#links-list { line-height: 2; }
pre.output { margin: 0.3rem 0 0; padding: 0.7rem 0.9rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; font: 0.88rem/1.5 ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 4.5rem; max-height: 24rem; overflow: auto; }
pre.output.problem { border-color: var(--bad); }
input[type="password"], input[type="number"] { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.28rem 0.5rem; }
