:root{--ink:#182943;--muted:#718096;--primary:#2563eb;--primary-dark:#1e40af;--line:#e5ebf3;--surface:#fff;--bg:#f5f8fc;--teal:#0f9f99;--purple:#7555d9;--amber:#ca8a04;--red:#dc4545;--radius:16px;--shadow:0 8px 30px rgba(25,50,90,.055)}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-dark)}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{height:auto;min-height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:32px;padding:12px max(24px,calc((100vw - 1440px)/2));position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(27,55,90,.025)}.brand{display:flex;align-items:center;gap:11px;min-width:228px;color:var(--ink)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#3478f6,#22b5b0);color:#fff;font-size:22px;font-weight:800;box-shadow:0 5px 12px #2563eb2b}.brand-mark.big{width:52px;height:52px;font-size:28px;border-radius:17px}.brand strong{display:block;font-size:17px;letter-spacing:-.4px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.2px}.nav{display:flex;align-items:center;gap:4px;flex:1}.nav-link{padding:9px 11px;border-radius:9px;color:#69788e;font-weight:600;font-size:12px;white-space:nowrap}.nav-link:hover,.nav-link.active{background:#edf4ff;color:#2059c9}.user-menu{display:flex;align-items:center;gap:10px;margin-left:auto;white-space:nowrap}.avatar{height:35px;width:35px;border-radius:50%;display:grid;place-items:center;background:#e4edff;color:#2059c9;font-weight:800}.user-label b,.user-label small{display:block}.user-label b{font-size:12px}.user-label small{color:var(--muted);font-size:10px}.logout-link{font-size:12px;color:#6b7890;margin-left:7px}.mobile-menu{display:none;border:1px solid var(--line);background:white;border-radius:8px;padding:7px 10px;color:var(--ink)}.container{max-width:1440px;width:100%;padding:30px 28px 55px;margin:auto;min-height:calc(100vh - 138px)}.footer{border-top:1px solid var(--line);padding:18px 20px;text-align:center;color:#91a0b2;font-size:11px;background:#fff}.footer span{padding:0 8px;color:#c2cbd6}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:4px 0 25px}.page-heading h1{font-size:27px;line-height:1.22;letter-spacing:-.8px;margin:4px 0 6px;font-weight:760}.page-heading p{margin:0}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#5d7ba4}.muted{color:var(--muted)}.back-link{font-size:12px;font-weight:700;color:#67809f;display:inline-block;margin-bottom:7px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:10px 15px;font-weight:700;font-size:12px;transition:background .15s,border .15s,transform .15s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--primary);color:white;box-shadow:0 5px 12px #2563eb25}.btn-primary:hover{background:var(--primary-dark);color:#fff}.btn-outline{background:#fff;border-color:#dce5f0;color:#415875}.btn-outline:hover{background:#f7faff;border-color:#b8c8dc}.btn-quiet{background:transparent;color:#77869a}.btn-danger{background:#dc4545;color:#fff}.btn-danger:hover{background:#b91c1c;color:#fff}.btn-block{width:100%}.panel,.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{padding:22px;margin-bottom:22px}.panel h2{font-size:15px;letter-spacing:-.2px;margin:0 0 2px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-heading p{font-size:11px;margin:2px 0 0}.panel-heading>a{font-size:11px;font-weight:750;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.stat-card{padding:19px 21px;min-height:136px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#63748b;font-size:12px;font-weight:650}.stat-card>strong{display:block;font-size:32px;letter-spacing:-1.4px;line-height:1.35;margin:7px 0 3px}.stat-card>small{color:#8a99ac;font-size:10px}.stat-icon{height:35px;width:35px;border-radius:11px;display:grid;place-items:center;font-size:17px;font-weight:800}.stat-icon.purple,.backup-icon.purple{background:#f0eaff;color:#7555d9}.stat-icon.blue{background:#e8f0ff;color:#2d69dc}.stat-icon.teal{background:#e0f8f4;color:#0f9f99}.stat-icon.amber,.backup-icon.amber{background:#fff5db;color:#bc8500}.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin-bottom:22px}.dashboard-grid .panel{min-width:0;min-height:302px}.bar-chart{height:205px;display:flex;align-items:stretch;gap:clamp(7px,2vw,24px);padding:8px 8px 0;border-bottom:1px solid var(--line)}.bar-item{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px}.bar-value{color:#547099;font-size:11px;font-weight:800}.bar-track{height:145px;width:min(35px,75%);background:#f1f5fa;display:flex;align-items:flex-end;border-radius:7px 7px 0 0;overflow:hidden}.bar-fill{width:100%;min-height:6px;background:linear-gradient(180deg,#4a8cf5,#2c65d9);border-radius:7px 7px 0 0}.bar-label{font-size:10px;color:#8392a8;text-align:center;white-space:nowrap}.status-summary{display:flex;flex-direction:column;gap:17px;padding:8px 0}.status-line>div:first-child{display:flex;align-items:center;gap:8px;color:#465a72;font-size:12px}.status-line b{margin-left:auto;color:var(--ink)}.status-line small{display:block;color:#9ba6b5;font-size:10px;margin-top:3px}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.good{background:#0f9f99}.attention{background:#e6a52b}.urgent{background:#db5555}.progress{height:6px;border-radius:8px;background:#f0f3f7;margin-top:7px;overflow:hidden}.progress span{height:100%;display:block;border-radius:8px}.progress-good{background:#24b2a3}.progress-attention{background:#eab343}.progress-urgent{background:#e15d62}.table-panel{padding:0;overflow:hidden}.table-panel>.panel-heading{padding:22px 22px 0}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;white-space:normal}thead th{background:#f8fafd;color:#76869c;text-align:left;font-size:10px;letter-spacing:.35px;font-weight:800;text-transform:uppercase;padding:13px 18px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;white-space:nowrap}tbody td{padding:14px 18px;border-bottom:1px solid #edf1f6;color:#5a6b81;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdff}tbody td>b{font-size:12px;color:#243a56;font-weight:750}.sub-cell{display:block;font-size:10px;color:#96a2b3;margin-top:2px;max-width:280px}.table-action{border:0;background:none;color:#2664d8;font-size:11px;font-weight:750;padding:2px 3px;white-space:nowrap}.table-action:hover{text-decoration:underline}.danger-link{color:#d74444}.action-cell{white-space:nowrap}.action-cell form{display:inline}.right{text-align:right}.table-foot{background:#fbfcfe;border-top:1px solid #edf1f6;padding:12px 18px;color:#91a0b1;font-size:10px}.badge{display:inline-flex;align-items:center;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:750;white-space:nowrap}.badge-green{background:#e6f8f0;color:#138459}.badge-amber{background:#fff5dc;color:#ad7800}.badge-red{background:#ffebec;color:#c23c43}.badge-blue{background:#e9f1ff;color:#2b62cb}.badge-gray{background:#f0f2f5;color:#78879a}.filter-bar{display:flex;align-items:flex-end;gap:9px;padding:18px 20px;flex-wrap:nowrap}.table-panel .filter-bar{border-bottom:1px solid #edf1f6}.filter-bar input,.filter-bar select,.field input,.field select,.field textarea,.filter-bar>input{border:1px solid #dfe7f0;border-radius:9px;background:#fff;color:#354a63;outline:none;min-height:39px;padding:9px 11px;font-size:12px;width:100%;transition:border .15s,box-shadow .15s}.filter-bar input:focus,.filter-bar select:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#77a3f9;box-shadow:0 0 0 3px #2563eb12}.filter-bar>input{min-width:150px;flex:1}.search-field{flex:1;min-width:180px}.filter-bar select{width:auto;min-width:135px}.filter-bar.wrap{flex-wrap:wrap}.compact-field{display:flex;flex-direction:column;gap:3px;min-width:135px}.compact-field span{font-size:10px;color:#8795a9;font-weight:700}.compact-field input{width:145px}.form-panel{padding:27px;max-width:960px}.form-panel form>h2{margin:0;font-size:17px}.form-note{font-size:11px;color:#8291a5;margin:5px 0 20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;margin:0 0 19px}.field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#435670;font-size:12px;font-weight:700}.field>span{font-size:11px}.field em{font-style:normal;color:#d74444}.field small{font-size:10px;color:#8593a5;font-weight:400}.field textarea{resize:vertical;min-height:90px;line-height:1.5}.form-grid+.field{margin-top:5px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;padding-top:20px;border-top:1px solid #edf1f6}.alert{padding:12px 15px;border:1px solid transparent;border-radius:11px;font-size:12px;margin-bottom:20px}.alert-success{color:#126f51;background:#e8f8f0;border-color:#c9efdf}.alert-error{color:#a82d36;background:#fff0f1;border-color:#ffd5d8}.alert-warning{color:#8b5e02;background:#fff8e6;border-color:#f8e7b7}.empty-state{padding:35px 15px;text-align:center;color:#8594a7}.empty-icon{font-size:28px;color:#90b0e6;margin-bottom:3px}.empty-state h3{font-size:14px;color:#435a76;margin:0 0 5px}.empty-state p{font-size:11px;margin:0}.report-sheet{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.report-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding-bottom:20px}.report-logo{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;background:#eaf2ff;color:#2464d9;font-size:24px}.report-heading h2{margin:0 0 2px;font-size:19px;letter-spacing:-.4px}.report-heading p{margin:0;font-size:13px;font-weight:750;color:#3566b4}.report-heading small{display:block;margin-top:5px;font-size:10px;color:#8c9aae}.report-meta{display:flex;justify-content:space-between;gap:15px;font-size:11px;padding:16px 0;color:#75859a}.report-meta b{color:#405674}.report-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.report-stat-grid>div{padding:13px;border:1px solid #e9eef5;background:#fbfcff;border-radius:11px}.report-stat-grid small,.report-stat-grid b,.report-stat-grid span{display:block}.report-stat-grid small{font-size:10px;color:#7889a0}.report-stat-grid b{font-size:24px;margin:3px 0;color:#213c60}.report-stat-grid span{font-size:10px;color:#93a0b0}.report-disclaimer{margin-top:20px;padding-top:12px;border-top:1px solid #edf1f6;font-size:10px;color:#8e9bad}.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}.backup-card{padding:24px}.backup-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#e9f2ff;color:#2d68db;font-size:21px;margin-bottom:14px}.backup-card h2{font-size:16px;margin-bottom:7px}.backup-card p{font-size:12px;color:#7b8ba0;min-height:58px}.backup-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:17px 0;padding:13px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.backup-meta span{font-size:10px;color:#93a0b0}.backup-meta b{font-size:11px;color:#425a78}.restore-panel{margin-bottom:22px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:18px}.section-title .backup-icon{margin:0}.section-title p{margin:4px 0 0;font-size:11px}.checklist{display:flex;flex-direction:column;gap:15px;margin-top:17px}.checklist>div{display:flex;align-items:flex-start;gap:12px}.checklist>div>span{width:27px;height:27px;border-radius:9px;background:#edf3ff;color:#2863d0;display:grid;place-items:center;font-size:11px;font-weight:800;flex-shrink:0}.checklist p{margin:0;font-size:12px;color:#435873}.checklist small{color:#8594a7}.security-note{display:flex;gap:12px;background:#f6f9fe;padding:14px 18px;border-bottom:1px solid #eaf0f7;font-size:11px;color:#76879d}.security-note b{color:#315a98;white-space:nowrap}.narrow-panel{max-width:580px}.login-page{min-height:100vh;background:radial-gradient(ellipse at 15% 20%,#e2edff 0%,transparent 38%),radial-gradient(ellipse at 90% 80%,#def7f3 0%,transparent 34%),#f7f9fd;display:flex;align-items:center;justify-content:center;padding:32px 16px}.login-wrap{width:100%;max-width:430px}.login-brand{display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:25px}.login-brand strong{display:block;font-size:24px;letter-spacing:-.8px}.login-brand span:not(.brand-mark){display:block;font-size:11px;color:#7b8ba0;margin-top:2px}.login-card{padding:31px 32px 25px;background:#fff;border:1px solid #e3eaf4;border-radius:20px;box-shadow:0 24px 70px #213f6812}.login-card .eyebrow{margin-bottom:8px}.login-card h1{font-size:25px;letter-spacing:-.8px;margin:0 0 5px}.login-card>p{font-size:12px;margin:0 0 22px}.login-card form>.field{margin-bottom:15px}.captcha-row{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:13px;margin:19px 0 21px}.captcha-label{display:block;font-size:10px;color:#657993;font-weight:750;margin-bottom:7px}.captcha-code{display:flex;align-items:center;justify-content:center;min-height:43px;border:1px dashed #9cb3d5;border-radius:10px;background:repeating-linear-gradient(135deg,#f2f6ff,#f2f6ff 7px,#eaf1ff 7px,#eaf1ff 14px);color:#2559a7;letter-spacing:5px;font-size:20px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:900;transform:rotate(-1deg)}.captcha-input input{text-transform:uppercase}.login-note{display:flex;gap:8px;align-items:center;border-top:1px solid #edf1f6;padding-top:17px;margin:21px 0 0!important;color:#8a98aa;font-size:10px!important}.login-note span{font-size:13px}.login-foot{text-align:center;font-size:10px;color:#8d9aad;margin-top:17px}.login-card .btn{min-height:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){.topbar{gap:16px;padding-left:18px;padding-right:18px}.brand{min-width:185px}.nav-link{padding:8px 8px;font-size:11px}.user-label{display:none}.dashboard-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.topbar{flex-wrap:wrap;gap:10px;position:relative}.brand{flex:1}.mobile-menu{display:block;order:2}.user-menu{order:3;margin-left:0}.nav{order:4;display:none;flex-basis:100%;flex-wrap:wrap;padding:8px 0 2px;border-top:1px solid var(--line)}.nav.is-open{display:flex}.user-label{display:block}.container{padding:23px 17px 40px}.filter-bar{flex-wrap:wrap}.filter-bar>input,.search-field{min-width:calc(50% - 8px)}.filter-bar select{flex:1}.compact-field{flex:1}}
@media(max-width:600px){.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}.page-heading h1{font-size:24px}.page-heading>.btn{width:100%}.stats-grid{gap:11px}.stat-card{padding:14px;min-height:122px}.stat-card>strong{font-size:27px}.stat-top{font-size:11px}.stat-icon{width:30px;height:30px}.dashboard-grid{gap:13px}.panel{padding:16px}.table-panel{padding:0}.table-panel>.panel-heading{padding:17px 16px 0}.filter-bar{padding:14px;gap:8px}.filter-bar>input,.search-field{flex-basis:100%;min-width:100%}.filter-bar select,.compact-field{min-width:calc(50% - 5px);flex:1}.compact-field input{width:100%}.form-panel{padding:18px}.form-grid{grid-template-columns:1fr;gap:14px}.form-actions .btn{flex:1}.backup-grid{grid-template-columns:1fr;gap:13px}.backup-card p{min-height:0}.report-sheet{padding:14px}.report-heading{align-items:flex-start}.report-heading h2{font-size:15px}.report-meta{flex-direction:column;gap:5px}.report-stat-grid{gap:6px}.report-stat-grid>div{padding:8px}.report-stat-grid small{font-size:9px}.report-stat-grid b{font-size:20px}.report-stat-grid span{font-size:9px}.login-card{padding:25px 21px}.login-brand strong{font-size:22px}.user-label{display:none}.logout-link{margin-left:0}.brand{min-width:auto}.brand small{font-size:9px}.action-cell{white-space:nowrap}.table-action{padding:4px 5px}thead th,tbody td{padding:12px 13px}}
@media print{body{background:lab(88.93% 2.04 0.71);color:#111;font-size:10pt}.topbar,.footer,.no-print,.filter-bar,.alert,.page-heading,.report-stat-grid~*{display:none!important}.container{max-width:none;width:100%;padding:0;margin:0}.report-sheet{border:0;box-shadow:none;padding:0;border-radius:0}.report-heading{border-bottom:2px solid #333}.report-heading h2{color:#111}.report-meta{color:#333}.report-stat-grid>div{background:#fff;border:1px solid #aaa}.report-stat-grid small,.report-stat-grid span{color:#444}table{font-size:9pt}thead th{background:#eee!important;color:#111;border-color:#999;padding:8px 6px}tbody td{color:#222;border-color:#ccc;padding:8px 6px}.sub-cell{color:#555}.report-disclaimer{color:#444}.table-scroll{overflow:visible}tr{break-inside:avoid}a{color:#111;text-decoration:none}.empty-state{padding:15px}}

.inline-form{display:inline;margin:0}.logout-link{border:0;background:transparent;padding:0;font:inherit;color:#6b7890;font-size:12px;cursor:pointer}.logout-link:hover{color:#1e40af;text-decoration:underline}
.login-page{background:linear-gradient(rgba(247,249,253,.52),rgba(247,249,253,.52)),url("img/bg.png") center/cover fixed}
.demo-access{margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.demo-toggle{border:0;background:none;padding:0;color:var(--primary);font-size:12px;font-weight:700}
.demo-toggle:hover{text-decoration:underline}
.demo-accounts{margin-top:12px;padding:13px;border:1px solid #dfe7f0;border-radius:10px;background:#f8fafd;color:#52647b;font-size:12px}
.demo-accounts p{margin:0 0 8px}
.demo-account-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}
.demo-fill{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 10px;border:1px solid #dfe7f0;border-radius:8px;background:#fff;color:#52647b;text-align:left;font-size:11px}
.demo-fill:hover{border-color:#9bb9ed;background:#f5f8ff}
.demo-fill span{font-weight:700}
.demo-accounts code{color:#243a56;font-size:11px}
.demo-accounts small{display:block;color:var(--muted);font-size:10px}
.report-filters{align-items:flex-end}
.report-filters .compact-field{min-width:145px;flex:1}
.report-filters .compact-field:nth-child(2){min-width:190px}
.print-review{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 70px rgba(18,38,70,.25);background:#f5f8fc}
.print-review::backdrop{background:rgba(13,28,49,.58)}
.print-review-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#fff;border-bottom:1px solid var(--line)}
.print-review-toolbar h2{margin:0;font-size:16px}
.print-review-toolbar>div{display:flex;gap:8px}
.print-review-content{padding:20px;overflow:auto}
.print-review-content .report-sheet{max-width:100%;margin:0}
@media(max-width:600px){.report-filters .compact-field,.report-filters .compact-field:nth-child(2){min-width:100%}.print-review-content{padding:10px}.print-review-toolbar{align-items:flex-start;flex-direction:column}}
@media print{.print-review{display:none!important}}
@media print{.report-stat-grid~*{display:block!important}}
