:root{--ink:#1a1a1a;--muted:#7a7a7a;--line:#e2e3ea;--surface:#fff;--bg:#242091;--brand:#f06544;--brand-dark:#d94f31;--brand-soft:#fff0eb}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,Arial,sans-serif}button{font:inherit}.shell{width:min(1500px,100%);margin:auto;padding:34px 42px 60px}.topbar{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.eyebrow{color:#5c6ac4;letter-spacing:.16em;font-size:11px;font-weight:800}h1{letter-spacing:-.04em;margin:5px 0 1px;font-size:34px;line-height:1.05}.topbar p,.report-title p{color:var(--muted);margin:0;font-size:13px}.sync{color:#566074;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-size:12px}.topbar-actions{align-items:center;gap:8px;display:flex}.top-action{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff30;border-radius:999px;padding:9px 13px}.top-action:hover{background:#ffffff24}.logout{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff30;border-radius:999px;padding:9px 13px}.logout:hover{background:#ffffff24}.sync i{background:#26a269;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block;box-shadow:0 0 0 3px #dff5e9}.filters{border:1px solid var(--line);background:#fff;border-radius:16px;align-items:stretch;gap:12px;padding:15px;display:flex;box-shadow:0 5px 20px #1d263b0a}.filters label{color:var(--muted);gap:6px;font-size:11px;font-weight:700;display:grid}.filters button{min-width:210px;color:var(--ink);cursor:pointer;background:#f8f9fb;border:1px solid #dfe3ea;border-radius:9px;justify-content:space-between;gap:18px;padding:10px 12px;font-size:12px;display:flex}.filters .refresh{color:#fff;background:#25324b;border-color:#25324b;align-self:end;min-width:auto;margin-left:auto}.week-picker{align-items:flex-end;gap:5px;display:flex}.week-picker button{justify-content:center;width:38px;min-width:38px}.week-picker input{min-width:145px;color:var(--ink);font:inherit;background:#f8f9fb;border:1px solid #dfe3ea;border-radius:9px;margin-top:6px;padding:9px 10px;display:block}.range-filters label input{min-width:145px;color:var(--ink);font:inherit;background:#f8f9fb;border:1px solid #dfe3ea;border-radius:9px;padding:9px 10px}.presets{flex-direction:column;justify-content:center;gap:6px;display:flex}.presets>span{color:var(--muted);font-size:10px;font-weight:700}.presets>div{gap:5px;display:flex}.presets button{min-width:auto;padding-inline:11px}.presets button:hover{background:#f1f3fa;border-color:#8c98bd}.filter-summary{border-left:1px solid var(--line);flex-direction:column;justify-content:center;min-width:220px;padding:6px 12px;display:flex}.filter-summary span{color:var(--muted);font-size:10px;font-weight:700}.filter-summary strong{margin-top:5px;font-size:12px}.notice{color:#72571a;background:#fff9e9;border:1px solid #f0d997;border-radius:10px;margin:12px 0 -4px;padding:10px 13px;font-size:11px}.notice.error{color:#8c3434;background:#fff0f0;border-color:#efb7b7}.metric-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0;display:grid}.metric{--accent:#4f6bda;--soft:#eaf0ff;border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px;box-shadow:0 5px 20px #1d263b0a}.metric.violet{--accent:#7c5cce;--soft:#f0ebff}.metric.orange{--accent:#d87931;--soft:#fff0e3}.metric.green{--accent:#238a60;--soft:#e4f5ed}.metric-head{color:var(--muted);justify-content:space-between;font-size:12px;font-weight:800;display:flex}.metric-head b{color:var(--accent);background:var(--soft);border-radius:6px;padding:3px 7px}.metric-values{align-items:baseline;gap:7px;margin:14px 0 12px;display:flex}.metric-values strong{letter-spacing:-.04em;font-size:30px}.metric-values span,.metric small{color:var(--muted);font-size:11px}.track{background:#edf0f4;border-radius:20px;height:6px;margin-bottom:8px;overflow:hidden}.track i{background:var(--accent);border-radius:20px;height:100%;display:block}.report-card{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px #1d263b0d}.report-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.report-title h2{margin:0 0 3px;font-size:17px}.legend{color:#8992a2;font-size:10px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:1120px;font-size:12px}th,td{text-align:center;border-bottom:1px solid #edf0f4;border-right:1px solid #edf0f4;padding:12px 10px}th:first-child,td:first-child{text-align:left;background:inherit;min-width:190px;padding-left:22px;position:sticky;left:0}thead th{text-transform:uppercase;letter-spacing:.05em;font-size:10px}.groups th{color:#344057;font-size:11px}tbody tr{background:#fff}tbody tr:hover{background:#fbfcff}td strong{font-size:12px;display:block}td small{color:#8790a1;margin-top:3px;font-size:10px;display:block}.percent{border-radius:7px;min-width:43px;padding:4px 6px;font-weight:800;display:inline-block}.percent.good{color:#19724c;background:#e4f5ed}.percent.warn{color:#a16619;background:#fff1d8}.percent.bad{color:#a94545;background:#fdeaea}.percent.neutral{color:#8891a0;background:#f0f2f5}.total,.total td:first-child{background:#eef2fa}.empty{color:#7d8797;height:150px;text-align:center!important}.manager{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.plan-cell{color:#5665b1;background:#fafbff;font-weight:750}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#15203a66;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #e4e7ed;border-radius:18px;width:min(520px,100%);padding:24px;box-shadow:0 24px 80px #13203c30}.modal-head{justify-content:space-between;gap:20px;display:flex}.modal h2{margin:5px 0 0;font-size:20px}.close{color:#5b6474;cursor:pointer;background:#f0f2f5;border:0;border-radius:9px;width:34px;height:34px;font-size:24px;line-height:1}.plan-form{grid-template-columns:1fr 1fr;gap:13px;margin:22px 0;display:grid}.plan-form label{color:#697386;font-size:11px;font-weight:750}.plan-form input{width:100%;color:var(--ink);font:inherit;border:1px solid #dfe3ea;border-radius:9px;margin-top:6px;padding:11px 12px}.plan-form input:disabled{color:#a7adba;background:#f1f2f4}.hint{color:#7d8797;margin:-8px 0 18px;font-size:11px}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.modal-actions button{color:#465166;cursor:pointer;background:#fff;border:1px solid #dce1ea;border-radius:9px;padding:9px 14px}.modal-actions .primary{color:#fff;background:#25324b;border-color:#25324b}.sync.demo i{background:#e3a128;box-shadow:0 0 0 3px #fff0cd}@media (max-width:900px){.shell{padding:24px 16px}.topbar{flex-direction:column;align-items:flex-start}.filters{flex-direction:column;align-items:stretch}.filters button{width:100%}.filters .refresh{margin-left:0}.filter-summary{border-left:0;border-top:1px solid var(--line);padding:10px 4px}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:520px){.metric-grid{grid-template-columns:1fr}.sync{font-size:10px}h1{font-size:29px}}.login-shell{place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{background:#fff;border-radius:22px;width:min(430px,100%);padding:30px;box-shadow:0 24px 80px #0d0a573d}.login-card h1{margin:8px 0;font-size:30px}.login-card>p{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.5}.login-card form,.login-card label{gap:8px;display:grid}.login-card input{border:1px solid var(--line);width:100%;font:inherit;border-radius:10px;padding:13px 14px}.login-card form button{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:10px;margin-top:8px;padding:13px;font-weight:700}.login-error{color:#8c3434;background:#fff0f0;border-radius:9px;margin-bottom:14px;padding:10px 12px;font-size:12px}.eyebrow{color:var(--brand);letter-spacing:.14em;font-weight:700}h1{margin:6px 0 3px;font-size:36px;font-weight:650}.topbar h1{color:#fff}.topbar p{color:#d9d8ff}.sync{color:#fff;background:#ffffff14;border-color:#ffffff30}.sync i{background:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.filters{border-color:var(--line);border-radius:18px;flex-direction:column;gap:14px;padding:18px;box-shadow:0 8px 26px #2015ff0a}.filters button{border-color:var(--line);background:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:10px 16px;transition:all .18s}.filters .refresh{color:#fff;background:var(--brand);border-color:var(--brand);justify-content:center;align-self:end;min-width:170px;margin-left:0;font-weight:600}.filters .refresh:hover{background:var(--brand-dark);border-color:var(--brand-dark)}.filters .refresh:disabled{cursor:wait;opacity:.65}.range-filters label input{border-color:var(--line);background:#f8f8fb;border-radius:10px;width:100%;min-width:0;padding:11px 12px}.presets{gap:7px}.presets>div{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.presets button{width:100%}.presets button:hover{border-color:var(--brand);color:var(--brand-dark);background:var(--brand-soft)}.date-controls{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.metric{--metric-accent:#4f6bda;--soft:#eaf0ff;border-color:var(--line);border-radius:18px;box-shadow:0 8px 26px #13104d24}.metric.violet{--metric-accent:#7c5cce;--soft:#f0ebff}.metric.orange{--metric-accent:#d87931;--soft:#fff0e3}.metric.green{--metric-accent:#238a60;--soft:#e4f5ed}.metric-head{font-weight:700}.metric-head b{color:var(--metric-accent)}.track{background:#ededf5}.track i{background:var(--metric-accent)}.report-card{border-color:var(--line);box-shadow:0 10px 30px #13104d30}table{table-layout:fixed;min-width:1460px}.manager-col{width:220px}.metric-col{width:78px}th,td{border-color:#e8e9f0;padding-left:8px;padding-right:8px}thead{color:#626375;background:#f8f8fb}.groups th{color:#303146}.groups th:nth-child(2){box-shadow:inset 0 3px #4f6bda}.groups th:nth-child(3){box-shadow:inset 0 3px #7c5cce}.groups th:nth-child(4){box-shadow:inset 0 3px #d87931}.groups th:nth-child(5){box-shadow:inset 0 3px #238a60}.manager:hover strong{color:var(--brand-dark)}.plan-cell{color:var(--brand-dark);background:#f8f8ff}.modal-actions .primary{border-color:var(--brand);background:var(--brand)}.plan-month{color:var(--muted);gap:6px;margin-top:20px;font-size:11px;font-weight:750;display:grid}.plan-month input{width:100%;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe3ea;border-radius:9px;padding:11px 12px}.manual-fact-cell{color:var(--brand-dark);background:#fff8f5;font-weight:750}.manual-fact-cell button{width:100%;color:var(--brand-dark);cursor:pointer;background:#fff;border:1px dashed #f0a28f;border-radius:7px;padding:5px;font-weight:800}.manual-fact-cell button:hover{background:var(--brand-soft)}.combined-cell{color:#303f91;background:#f3f5ff;font-weight:850}.manager:disabled{cursor:default}.manager:disabled:hover strong{color:inherit}.history-modal{width:min(760px,100%)}.history-list{gap:9px;max-height:60vh;margin-top:20px;padding-right:4px;display:grid;overflow:auto}.history-list article{border:1px solid var(--line);background:#fafbfe;border-radius:11px;grid-template-columns:1fr auto;gap:5px 16px;padding:12px 14px;display:grid}.history-list article div{flex-direction:column;gap:3px;display:flex}.history-list article span,.history-list article small{color:var(--muted);font-size:10px}.history-list article p{color:#4c5668;grid-column:1;margin:0;font-size:12px}.history-list article small{grid-area:1/2/3;align-self:center}.history-empty{color:var(--muted);margin:24px 0 4px;font-size:12px}@media (max-width:900px){.date-controls{grid-template-columns:1fr 1fr}.filters .refresh{grid-column:1/-1;width:100%}}@media (max-width:560px){.date-controls{grid-template-columns:1fr}.filters .refresh{grid-column:auto}}
