:root{--navy:#132342;--red:#dd3d52;--bg:#f3f5fa;--ink:#24324b;--muted:#6e7b90;--line:#e1e6ef;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}a{color:#245bad;text-decoration:none}a:hover{text-decoration:underline}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;background:var(--red);color:#fff;border:0;border-radius:9px;cursor:pointer;font:600 14px system-ui;text-decoration:none}button.secondary,.button.secondary{background:#e9eef7;color:var(--navy)}button.danger{background:#b52338}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;border:1px solid #cbd3e0;border-radius:8px;padding:10px 12px;color:var(--ink);background:white;font:14px system-ui;min-height:42px}input:focus,select:focus,textarea:focus{outline:3px solid #d9e5fa;border-color:#4678bd}input[type=checkbox]{width:19px;min-height:19px;vertical-align:middle}textarea{min-height:100px;resize:vertical}label{display:block;font-weight:600;margin-bottom:15px}label small{font-weight:400;color:var(--muted)}label input,label select,label textarea{display:block;margin-top:7px}h1,h2,h3{color:var(--navy);line-height:1.25}h1{font-size:29px;margin:0 0 12px}h2{font-size:19px}p{margin:8px 0 17px}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:var(--navy);color:#fff;overflow:auto;padding:26px 17px;z-index:2}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 22px;border-bottom:1px solid #ffffff20}.brand strong{font-size:18px}.brand small{display:block;color:#adbedb}.logo{width:44px;height:44px;object-fit:contain;flex-shrink:0}.brand-icon{font-size:24px;background:var(--red);border-radius:11px;padding:5px 12px}.sidebar nav{margin-top:18px}.sidebar nav a{display:block;border-radius:7px;padding:8px 12px;margin:2px 0;color:#c6d2e7;font-size:13px}.sidebar nav a:hover,.sidebar nav a.active{background:#ffffff13;color:white;text-decoration:none}.nav-section{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#829bbf;margin:21px 12px 8px}.main{margin-left:255px}.topbar{padding:17px 32px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.topbar small{color:var(--muted)}.content{padding:30px 32px 50px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--red);display:block;margin-bottom:10px}.muted{color:var(--muted)}.card{background:#fff;border:1px solid var(--line);padding:23px;border-radius:14px;margin-bottom:22px;box-shadow:0 3px 14px #172a4610}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stat{padding:22px}.stat strong{display:block;font-size:33px;color:var(--navy)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.span2{grid-column:1/-1}.alert{background:#e8f4ed;border:1px solid #b8ddc5;border-radius:9px;padding:13px 16px;margin-bottom:18px}.alert.error{background:#fdf0f1;border-color:#edc0c6}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#5c6b83;background:#f5f7fb;font-weight:650;white-space:nowrap}th,td{padding:12px 13px;border-bottom:1px solid var(--line);vertical-align:top}td{max-width:350px;overflow-wrap:anywhere}td input{min-width:85px}tbody tr:hover{background:#fafbfe}.row-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.row-actions form{margin:0}.row-actions button{font-size:12px;padding:6px 10px}.badge{display:inline-block;background:#edf2fb;color:#2e5792;border-radius:6px;padding:3px 8px;font-size:11px}.badge.red{background:#fcebed;color:#b02338}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.toolbar input,.toolbar select{width:auto;max-width:400px}.toolbar form{display:flex;gap:8px}.empty{text-align:center;padding:40px;color:var(--muted)}.login{display:grid;place-items:center;min-height:100vh;padding:30px;background:linear-gradient(130deg,#10203e,#243957)}.login-box{background:white;border-radius:18px;max-width:520px;width:100%;padding:36px;box-shadow:0 25px 80px #0003}.login-box button{width:100%;margin-top:6px}.steps{counter-reset:step;list-style:none;padding:0}.steps li{padding:10px 0;border-bottom:1px solid var(--line)}.steps li::before{counter-increment:step;content:counter(step);display:inline-grid;place-items:center;width:25px;height:25px;background:#edf1f9;color:#23416d;border-radius:7px;margin-right:12px}.small{font-size:12px}.footer{color:var(--muted);font-size:11px;margin-top:32px}.score{font-size:20px;font-weight:700}.inline{display:inline}.mobile-toggle{display:none}.password-box{max-width:650px}.progress{height:8px;background:#ebeff6;border-radius:8px;overflow:hidden}.progress i{display:block;height:100%;background:#2a8b68}.nowrap{white-space:nowrap}@media(max-width:1000px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:22px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{display:none;width:255px}.sidebar.open{display:block}.main{margin-left:0}.topbar{padding:14px 18px}.content{padding:22px 16px}.mobile-toggle{display:inline-flex}.page-head{display:block}.page-head>.toolbar{margin-top:15px}.grid{grid-template-columns:1fr}.span2{grid-column:auto}.cards{gap:10px}.stat{padding:15px}.login-box{padding:25px}.card{padding:18px}h1{font-size:25px}}
