@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--ink:#101e3a;--muted:#6e7b95;--line:#e3e8f1;--blue:#5964ec;--bg:#f4f6fb;--shadow:0 8px 25px rgba(33,45,90,.035)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,Arial,sans-serif;color:var(--ink);font-size:14px}a{text-decoration:none;color:inherit}button,input,select{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:#111b39;color:#abb8d9;display:flex;flex-direction:column;padding:25px 16px;min-height:100vh;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;color:#fff;padding:4px 7px 25px}.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--blue);color:#fff;font-weight:800;font-size:23px}.brand b{display:block;font-size:15px}.brand small{display:block;color:#a0afd0;font-size:11px;margin-top:4px}.navlabel{padding:25px 14px 12px;letter-spacing:.14em;font-size:10px;font-weight:800;color:#64769e}.nav{display:flex;align-items:center;gap:12px;padding:13px 16px;margin-bottom:4px;border-radius:12px;color:#b9c5e2;font-weight:600}.nav span{font-size:13px}.nav.active,.nav:hover{background:#273359;color:#fff}.nav.active{box-shadow:inset 3px 0 var(--blue)}.navbottom{margin-top:auto;padding:20px 13px 0;border-top:1px solid #293554;display:flex;flex-direction:column;gap:17px}.navbottom a{color:#bacaff}.navbottom span{font-size:9px;letter-spacing:.1em;color:#7281a4}.main{min-width:0}.topbar{height:112px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:26px 42px}.eyebrow{font-size:10px;color:#4b59d7;font-weight:800;letter-spacing:.13em}.topbar h1{font-size:25px;line-height:1.2;margin:10px 0 0}.user{display:flex;align-items:center;gap:11px}.user span{width:42px;height:42px;border-radius:50%;background:#eef1ff;color:#4a55d7;display:grid;place-items:center;font-weight:800}.user b{font-size:12px}.content{padding:32px 42px;max-width:1640px;margin:auto}.notice{border:1px solid #dbe2f9;border-radius:13px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 18px;color:#596a8b;margin-bottom:24px;font-size:12px}.notice b{color:#24396b}.notice form{margin:0}.reset{border:0;background:#eef0ff;color:#4e58d8;padding:10px 13px;border-radius:9px;font-weight:700;white-space:nowrap}.reset:hover{background:#dfe3ff}.flash{padding:13px 16px;border-radius:10px;background:#eef9f0;color:#257443;margin-bottom:22px}.welcome{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:26px}.welcome h2{font-size:24px;letter-spacing:-.6px;margin:0 0 8px}.welcome p{color:var(--muted);margin:0;line-height:1.6;max-width:700px}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:11px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;white-space:nowrap}.btn.primary{background:#5562ea;color:#fff}.btn.primary:hover{background:#4754d6}.btn.outline{background:#fff;border-color:#d9dfee;color:#33466b}.btn.outline:hover{background:#f7f8ff}.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:30px}.stat,.module,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.stat{padding:21px}.stat span{display:block;color:var(--muted);font-size:12px;font-weight:600}.stat strong{display:block;font-size:27px;font-weight:800;letter-spacing:-.8px;white-space:nowrap;margin:13px 0 6px}.stat small{color:#7182a3}.sectiontitle{display:flex;align-items:end;justify-content:space-between;margin:15px 0}.sectiontitle h2{font-size:19px}.sectiontitle span{font-size:12px;color:var(--muted)}.modulegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.module{padding:23px;transition:.2s}.module:hover{transform:translateY(-3px);border-color:#bcc5ff;box-shadow:0 14px 30px rgba(60,75,150,.09)}.modicon{width:39px;height:39px;background:#edf0ff;color:#4e60dd;border-radius:11px;display:grid;place-items:center;font-size:22px}.module h3{font-size:15px;margin:17px 0 9px}.module p{font-size:12px;line-height:1.6;color:var(--muted)}.module b{display:block;margin-top:19px;color:#4a59dd;font-size:12px}.panel{overflow:hidden;margin-bottom:24px}.panelhead{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px}.panelhead h3{margin:0 0 5px;font-size:16px}.panelhead small{color:var(--muted)}.panelhead a,.report a{color:#4d59dd;font-size:12px;font-weight:700}.count{color:#5263d8;background:#edf0ff;padding:3px 9px;border-radius:20px;font-size:11px}.panelhead input{border:1px solid #dce2ef;background:#fff;border-radius:10px;padding:11px 13px;width:min(290px,100%);outline:0}.panelhead input:focus{border-color:#6975ed}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{background:#f9fafd;color:#75809a;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:800;padding:17px 21px;border-bottom:1px solid var(--line)}td{padding:18px 21px;border-bottom:1px solid #edf0f5;font-size:12px;color:#35425c}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcff}td:first-child{font-weight:700}.state{padding:5px 8px;border-radius:15px;background:#f0f3fc;color:#445b91}.statusform select{border:1px solid #d8e0f0;border-radius:7px;background:#f4f6ff;color:#4157af;padding:7px;max-width:155px;font-size:11px;font-weight:700}.rowactions{display:flex;align-items:center;gap:10px}.rowactions form{margin:0}.textbtn{border:0;background:transparent;color:#4d5bd9;font-weight:700;font-size:11px;padding:5px}.textbtn:hover{text-decoration:underline}.textbtn.danger{color:#d25764}.tablefoot{border-top:1px solid #eff0f5;padding:17px 22px;color:#8b96ab;font-size:11px}.reportgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.report{padding:26px}.report h3{margin:0;color:#334563;font-size:15px}.report strong{font-size:32px;display:block;margin:18px 0 3px}.report p{color:var(--muted);font-size:12px}.bar{background:#edf0fa;height:9px;border-radius:20px;margin:22px 0}.bar span{height:100%;display:block;background:linear-gradient(90deg,#6570ed,#9198f5);border-radius:20px}.modal{display:none;position:fixed;inset:0;background:rgba(7,18,44,.55);z-index:40;overflow:auto;padding:22px;align-items:center;justify-content:center}.modal.show{display:flex}.modalcard{width:min(720px,100%);background:#fff;border-radius:18px;box-shadow:0 28px 85px rgba(0,0,0,.2);max-height:95vh;overflow:auto}.modalhead{padding:22px 27px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}.modalhead h2{font-size:20px;margin:0 0 7px}.modalhead p{margin:0;color:var(--muted);font-size:12px}.close{border:0;background:#edf0f8;width:34px;height:34px;border-radius:50%;font-size:23px;color:#465674}.formgrid{padding:24px 27px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.formgrid label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#344765}.formgrid input,.formgrid select{border:1px solid #dbe0eb;border-radius:10px;height:42px;padding:10px 12px;width:100%;outline:none;background:#fff;color:#182949}.formgrid input:focus,.formgrid select:focus{border-color:#656fe2}.formgrid input[readonly]{background:#f5f6fa}.modalfooter{padding:18px 27px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}footer{padding:28px 42px;text-align:center;font-size:11px;color:#7e8ba5}@media(max-width:1150px){.statgrid{grid-template-columns:repeat(2,1fr)}.modulegrid,.reportgrid{grid-template-columns:repeat(2,1fr)}.topbar,.content{padding-left:25px;padding-right:25px}}@media(max-width:780px){.shell{display:block}.sidebar{min-height:auto;height:auto;position:relative;padding:12px;flex-direction:row;overflow-x:auto;gap:4px;align-items:center}.brand{padding:4px 12px 4px 0;min-width:145px}.brand small{display:none}.mark{width:34px;height:34px}.navlabel,.navbottom{display:none}.nav{white-space:nowrap;margin:0;padding:10px}.nav span{font-size:11px}.topbar{height:auto;min-height:93px;padding:18px}.user b{display:none}.content{padding:18px}.welcome{align-items:flex-start;flex-direction:column;gap:18px}.statgrid,.modulegrid,.reportgrid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:14px}.stat strong{font-size:20px}.notice{align-items:start;flex-direction:column}.panelhead{align-items:start;flex-direction:column}.panelhead input{width:100%}.formgrid{grid-template-columns:1fr}.actions{width:100%}.actions .btn{flex:1}footer{padding:24px}}@media(max-width:480px){.statgrid,.modulegrid,.reportgrid{grid-template-columns:1fr}.topbar h1{font-size:20px}.welcome h2{font-size:21px}}@media print{.sidebar,.topbar .user,.notice,.actions,.rowactions,.modal,.textbtn,.reset,.panelhead input,footer{display:none!important}.shell{display:block}.content{padding:0}.panel,.stat{box-shadow:none}.main{width:100%}.topbar{padding:10px}.tablewrap{overflow:visible}table{white-space:normal}td,th{padding:9px 7px;font-size:10px}}