:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#e4eaf5;background:#0e1320;font-size:15px}*{box-sizing:border-box}body{margin:0}.layout{max-width:1120px;margin:0 auto;padding:38px 24px 60px}.header{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:#84b0fc}h1{font-size:36px;margin:5px 0 6px;letter-spacing:-.045em}h2{font-size:19px;letter-spacing:-.02em;margin:0 0 12px}.sub,p,small{color:#a8b4c8}p{line-height:1.65}.sub{margin:0}.actions,.qr-actions{display:flex;gap:9px;flex-wrap:wrap}button,.button,.actions>a{font:inherit;cursor:pointer;padding:11px 15px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;line-height:1.3;text-decoration:none;border:1px solid #3b465f;color:#e8edf8;background:#252e41}button:hover,.button:hover,.actions>a:hover{background:#343f56}button:disabled{cursor:wait;opacity:.55}.primary{background:#4f7df0;border-color:#4f7df0;color:white;font-weight:650}.primary:hover{background:#6b91f2}.secondary{background:#1b2332}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:16px}.stat,.panel{background:#181f2f;border:1px solid #2c364b;border-radius:14px;padding:24px}.stat{display:flex;flex-direction:column;gap:8px}.stat>span{font-size:13px;color:#a8b4c8}.stat strong{font-size:23px;letter-spacing:-.02em}.stat strong.big{font-size:31px;color:#91b9ff}.stat small{font-size:12px}.cols{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-bottom:16px}.panel{margin-bottom:16px}.panel h2 small{font-size:12px;font-weight:normal}.panel>p{margin-top:0}label{display:block;color:#b9c8db;font-size:13px;margin:14px 0 7px}input{width:100%;height:44px;border:1px solid #485268;border-radius:9px;padding:11px 12px;background:#0f1522;color:#fff;font:inherit;margin-bottom:14px}.reserved{border-top:1px solid #334057;padding-top:20px;margin-top:22px;display:flex;flex-direction:column;align-items:flex-start;gap:11px}.reserved>span{font-size:12px;color:#aeb8ca}.reserved strong{font-size:28px;color:#9fcbff}.reserved img{border-radius:9px;background:white;padding:2px}.reserved small{font-size:12px;line-height:1.5}.line{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2c364b;padding:15px 0;gap:16px}.line span{color:#a9b8cc}.info{font-size:13px;margin:20px 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:640px}th{text-align:left;color:#8fa0ba;font-size:12px;letter-spacing:.04em;text-transform:uppercase}th,td{padding:13px 9px;border-bottom:1px solid #2d3647}td{font-size:13px}a{color:#9fc0ff}.notice{border:1px solid #6180b4;background:#1e314d;padding:13px 15px;border-radius:10px;margin-bottom:16px;white-space:pre-line}.notice.error{border-color:#986465;background:#4b292c}.issue{display:flex;align-items:start;justify-content:space-between;gap:12px;border-top:1px solid #343b4d;padding:12px 0}.issue small{display:block;margin-top:4px}footer{font-size:12px;color:#6f7e97;padding-top:6px}.hidden{display:none!important}@media(max-width:770px){.overview,.cols{grid-template-columns:1fr}.header{align-items:flex-start;flex-direction:column}.layout{padding:24px 13px}h1{font-size:30px}.stat,.panel{padding:18px}}

/* History backfill panel */
.archive-preview { border-top: 1px solid var(--border, #2b3850); margin-top: 18px; padding-top: 18px; }
.archive-summary { margin: 12px 0; line-height: 1.8; }
.archive-progress { margin-top: 16px; font-size: 0.92rem; color: #9bb3d6; }
#archive-confirm { width: min(280px, 100%); }
#archive-start:disabled { opacity: .5; cursor: not-allowed; }

/* v0.5: rejestr usunięć i filtrowanie */
.registry-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.registry-title h2{flex:1;min-width:180px}.registry-title label{margin:0}.registry-title select{min-width:160px;padding:10px;border-radius:8px;border:1px solid #465064;background:#172033;color:#f3f6fc}.deleted-row{opacity:.75}
