:root { --bg: #f6f7f9; --card: #fff; --ink: #1b1f24; --muted: #6a737d; --line: #e1e4e8; --accent: #0b5cad; --warn: #b3261e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
header nav a { margin-left: 16px; }
main { max-width: 1200px; margin: 0 auto; padding: 16px; }
h1 { font-size: 22px; margin: 8px 0 16px; }
h2 { font-size: 16px; margin: 0 0 12px; }
a { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; overflow-x: auto; }
.narrow { max-width: 360px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; }
tr.off td { opacity: .5; }
td.url { max-width: 420px; word-break: break-all; }
td.warn, .err { color: var(--warn); font-weight: 600; }
.muted { color: var(--muted); font-size: 12px; }
.flash { background: #e8f3ff; border: 1px solid #b6d4f5; padding: 8px 12px; border-radius: 6px; }
label { display: block; margin: 0 0 10px; font-weight: 600; }
label.check { font-weight: 400; }
input:not([type=checkbox]):not([type=color]), textarea, select { display: block; width: 100%; margin-top: 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.inline input { display: inline-block; width: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 16px; }
button, .btn { display: inline-block; padding: 6px 12px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font: inherit; cursor: pointer; text-decoration: none; }
button.danger { background: #fff; color: var(--warn); border-color: var(--warn); }
.btnform { display: inline; }
.actions { white-space: nowrap; }
.actions button { padding: 2px 8px; font-size: 12px; }
.banners { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.banners figure { margin: 0; border: 1px solid var(--line); padding: 6px; border-radius: 6px; }
.banners img { display: block; max-width: 300px; height: auto; }
code { font-size: 12px; word-break: break-all; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 2px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--muted); }
.chip.on { border-color: #1a7f37; color: #1a7f37; font-weight: 600; }
