:root { --brand: #DC2F55; --bg: #F3F5F9; --line: #DCE2EC; --text: #141F33; --muted: #53607A; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
a { color: #A81F3F; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 20px; color: #fff; background: linear-gradient(135deg, #BB2848, #DC2F55 60%, #E25474); }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.bar nav a { color: #fff; text-decoration: none; padding: 5px 10px; border-radius: 8px; }
.bar nav a.on { background: rgba(255, 255, 255, .22); }
main { max-width: 1120px; margin: 0 auto; padding: 16px 20px 48px; }
h1 { font-size: 24px; margin: 8px 0 16px; }
h2 { font-size: 17px; margin: 24px 0 10px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card p { margin: 0 0 8px; }
.card.narrow { width: 100%; max-width: 360px; }
.card.table { padding: 0; overflow-x: auto; }
.card.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats b { display: block; font-size: 28px; color: var(--brand); }
.stats span { color: var(--muted); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; color: var(--muted); }
td.place { white-space: normal; min-width: 220px; }
code { font-size: 14px; font-weight: 600; }
.muted { color: var(--muted); font-size: 13px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }
.tag.good { color: #15803D; background: #15803D1A; }
.tag.bad { color: #DC2626; background: #DC26261A; }
.tag.muted-tag { color: var(--muted); background: #53607A1A; }
.error { color: #DC2626; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.card.row label { margin: 0; }
input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: var(--text); border: 1px solid var(--line); border-radius: 10px; background: #F6F8FB; }
button { padding: 10px 18px; font: inherit; font-weight: 600; color: #fff; background: var(--brand); border: 0; border-radius: 10px; cursor: pointer; }
button.small { padding: 5px 12px; font-size: 13px; }
button.link { padding: 0; font-weight: 500; background: none; text-decoration: underline; }
