*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f2f5fa;color:#192b43}a{color:#1769aa;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:245px;background:linear-gradient(170deg,#102d51,#163f6e);color:white;flex-shrink:0;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:27px 22px;font-weight:800;font-size:18px;line-height:1.15}.brandmark{display:grid;place-items:center;background:linear-gradient(145deg,#29b3ed,#1974d2);border-radius:20px;color:#fff;font-size:48px;width:78px;height:78px;margin:0 auto 15px;box-shadow:0 12px 25px #1683bb33}.brandmark.small{width:44px;height:44px;border-radius:13px;font-size:26px;margin:0}.sidebar nav{padding:8px 12px;flex:1;overflow-y:auto}.sidebar nav a{display:flex;align-items:center;gap:14px;color:#d3e4f7;padding:12px 14px;border-radius:11px;margin-bottom:4px;font-weight:600}.sidebar nav a span{font-size:21px;width:25px;text-align:center}.sidebar nav a.active,.sidebar nav a:hover{background:#ffffff24;color:#fff}.sidebar-bottom{padding:18px 25px;border-top:1px solid #ffffff22;display:flex;flex-direction:column;gap:7px}.sidebar-bottom a{color:#fff}.workspace{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:68px;background:white;display:flex;align-items:center;gap:16px;padding:0 30px;box-shadow:0 1px 7px #18345410}.top-title{font-weight:750}.top-right{margin-left:auto;display:flex;align-items:center;gap:15px}.pill{font-size:12px;color:#18669b;background:#e9f5ff;border-radius:20px;padding:7px 11px;font-weight:700}.avatar{display:grid;place-items:center;background:#d6e8f9;color:#16578d;width:35px;height:35px;border-radius:50%;font-weight:800}.menu{display:none;border:0;background:transparent;font-size:23px}.content{width:100%;max-width:1500px;margin:0 auto;padding:28px 30px;flex:1}.page-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#6387a5;margin:0 0 5px}h1{font-size:26px;margin:0;font-weight:800}h2{font-size:18px;margin:0 0 15px}h3{font-size:16px;margin-top:25px}.btn{background:linear-gradient(110deg,#197dc1,#1764a7);color:#fff;border:0;border-radius:10px;padding:11px 17px;font-weight:750;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.btn:hover{filter:brightness(1.08)}.btn.secondary{background:#e7f0f9;color:#24567b}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.stat,.panel{background:#fff;border:1px solid #e4eaf3;border-radius:16px;box-shadow:0 5px 18px #203d5b08}.stat{padding:22px;display:flex;flex-direction:column;gap:10px}.stat small{color:#667d91;font-weight:700}.stat strong{font-size:25px;color:#123d64;overflow-wrap:anywhere}.stat span{color:#90a0ad;font-size:12px}.panel{padding:22px;margin-bottom:20px;min-width:0}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.panel-title h2{margin:0}.quick{display:flex;flex-wrap:wrap;gap:12px}.quick a{background:#eff7ff;padding:13px 16px;border-radius:10px;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px;background:#fff;padding:15px;border-radius:14px;border:1px solid #e4eaf3}.filters input,.filters select{width:auto;max-width:190px;min-width:125px}.filters input[name=q]{flex:1;min-width:160px}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{text-align:left;background:#f2f7fb;color:#45627a;font-size:12px;padding:13px 12px}td{padding:13px 12px;border-bottom:1px solid #edf0f4}tr:hover td{background:#f9fcff}.empty{text-align:center;color:#8899a7;padding:30px}.form-panel{max-width:790px;margin:0 auto}.form-panel form{display:grid;gap:16px}label{display:flex;flex-direction:column;gap:7px;font-weight:650;color:#425a70}input,select,textarea{border:1px solid #d9e3ed;border-radius:9px;background:#fff;color:#24394f;padding:11px 12px;min-height:44px;min-width:0;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #a2d4f6;border-color:#258fcb}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hint{font-size:13px;color:#688094;margin:0}.form-actions{display:flex;justify-content:flex-end}.back{display:inline-block;margin-bottom:20px}.success,.error{padding:12px 15px;border-radius:10px;margin-bottom:16px}.success{background:#e3f8ed;color:#146a42}.error{background:#fff0ee;color:#ad3a2b}.inline-form{display:flex;gap:12px;max-width:450px}.auth{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#3c94cf,#17345c 70%);padding:20px}.login{width:min(100%,450px);background:#fff;border-radius:22px;padding:35px;box-shadow:0 25px 80px #071b3855;text-align:center}.login h1{font-size:28px}.login p{color:#70849a}.login form{text-align:left;display:grid;gap:16px;margin-top:25px}.wide{width:100%;margin-top:5px}footer{text-align:center;color:#8395a7;font-size:12px;padding:20px}@media(max-width:1150px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.sidebar{position:fixed;z-index:50;left:-255px;transition:left .2s;box-shadow:8px 0 20px #132c3e33}.sidebar.open{left:0}.menu{display:block}.topbar{height:60px;padding:0 16px}.content{padding:18px 13px}.page-head{align-items:flex-start}.page-head h1{font-size:22px}.panel{padding:15px}.stat{padding:16px}.stat strong{font-size:20px}.filters input,.filters select{flex:1;min-width:130px;max-width:none}.form-panel{max-width:100%}}@media(max-width:430px){.cards{gap:9px}.stat{padding:12px}.stat strong{font-size:17px}.stat small{font-size:11px}.two{grid-template-columns:1fr}.page-head{flex-wrap:wrap}.actions{width:100%}.actions .btn{width:100%}.top-right .pill{display:none}.inline-form{flex-wrap:wrap}}@media print{body{background:white}.sidebar,.topbar,.no-print,footer,.quick,.back{display:none!important}.content{padding:0}.panel,.stat{box-shadow:none;border:0;padding:5px}.table-wrap{overflow:visible}table{font-size:10px;white-space:normal}th,td{padding:7px;border:1px solid #ddd}.cards{grid-template-columns:repeat(4,1fr)}.page-head{margin-bottom:10px}}
