* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
       color: #1c1c1e; background: #f5f5f6; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
header { background: #c00000; color: #fff; }
.bar { display: flex; align-items: center; gap: 18px; height: 46px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: .4px; }
nav { display: flex; gap: 14px; flex: 1; }
nav a { color: #ffd9d9; text-decoration: none; }
nav a:hover { color: #fff; }
main { padding: 20px 16px 48px; }
h1 { font-size: 20px; margin: 8px 0 16px; }
h2 { font-size: 16px; margin: 20px 0 8px; }
.flash { background: #fff6d6; border: 1px solid #e5cf7a; padding: 8px 12px;
         border-radius: 6px; margin-bottom: 12px; }
.error { background: #ffe1e1; border: 1px solid #e08b8b; padding: 8px 12px;
         border-radius: 6px; margin-bottom: 12px; }
.card { background: #fff; border: 1px solid #e2e2e5; border-radius: 8px;
        padding: 16px 18px; margin-bottom: 16px; }
label { display: block; margin: 10px 0 4px; font-weight: 600; }
input[type=text], input[type=password], input[type=search], select {
  width: 100%; max-width: 420px; padding: 7px 9px; border: 1px solid #c8c8cc;
  border-radius: 6px; font-size: 14px; }
button, .btn { background: #c00000; color: #fff; border: 0; border-radius: 6px;
  padding: 8px 16px; font-size: 14px; cursor: pointer; text-decoration: none;
  display: inline-block; }
button:hover, .btn:hover { background: #a30000; }
.btn.secondary { background: #6b6b70; }
.linklike { background: none; border: none; color: #ffd9d9; cursor: pointer;
            padding: 0; font-size: 14px; }
.linklike:hover { color: #fff; background: none; }
.inline { display: inline; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { border: 1px solid #e2e2e5; padding: 6px 8px; text-align: left;
         vertical-align: top; }
th { background: #c00000; color: #fff; position: sticky; top: 0; }
tr:nth-child(even) td { background: #fafafa; }
td.num { text-align: right; white-space: nowrap; }
td.mono, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.muted { color: #6b6b70; }
.small { font-size: 12px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
           margin-bottom: 14px; }
.filters > div { min-width: 220px; }
pre.report { background: #1c1c1e; color: #d7f7d7; padding: 14px; border-radius: 8px;
             overflow-x: auto; white-space: pre-wrap; }
.stats { display: flex; gap: 22px; flex-wrap: wrap; }
.stat b { font-size: 22px; display: block; color: #c00000; }
.login-box { max-width: 380px; margin: 8vh auto 0; }
.badge { background: #ffe1e1; color: #a30000; border-radius: 4px;
         padding: 1px 6px; font-size: 12px; }
