*{box-sizing:border-box}body{margin:0;background:#eef2f7;color:#172033;font-family:Tahoma,Arial,sans-serif;font-size:14px}a{text-decoration:none;color:inherit}.app{display:flex;min-height:100vh}aside{width:250px;background:#f8fafc;border-left:1px solid #d8dee8;padding:16px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;margin-bottom:18px}.logo{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#2f80ed,#12b76a);display:flex;align-items:center;justify-content:center;color:white;font-weight:900}.brand h1{font-size:16px;margin:0}.brand p{font-size:11px;margin:3px 0;color:#667085}nav a{display:block;padding:10px 12px;border-radius:10px;margin:3px 0;color:#344054;border:1px solid transparent}nav a:hover,nav a.active{background:#e8f1ff;border-color:#b8d6ff;color:#175cd3}main{flex:1;padding:18px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;background:white;border:1px solid #d8dee8;border-radius:14px;padding:14px 18px;margin-bottom:14px}header h2{margin:0 0 4px;font-size:20px}header span{color:#667085;font-size:12px}.card{background:white;border:1px solid #d8dee8;border-radius:14px;padding:16px;margin-bottom:14px;box-shadow:0 4px 14px rgba(16,24,40,.04)}.card-title{font-weight:800;font-size:17px;margin-bottom:12px}.grid{display:grid;gap:12px}.cols-4{grid-template-columns:repeat(4,1fr)}.cols-2{grid-template-columns:repeat(2,1fr)}.stat{background:white;border:1px solid #d8dee8;border-radius:14px;padding:18px}.stat b{display:block;font-size:28px;margin-top:6px}.stat span{color:#667085}.table-wrap{overflow:auto;border:1px solid #d8dee8;border-radius:12px}table{width:100%;min-width:900px;border-collapse:collapse;background:white}th,td{padding:10px;border-bottom:1px solid #edf0f5;text-align:right;white-space:nowrap}th{background:#f3f6fb}.badge{display:inline-block;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.active,.ok{background:#dcfae6;color:#067647}.expired,.danger{background:#fee4e2;color:#b42318}.online{background:#d1e9ff;color:#175cd3}.btn{display:inline-flex;border:0;border-radius:10px;background:#e8f1ff;color:#175cd3;padding:9px 12px;font-weight:700;cursor:pointer;margin:2px}.primary{background:#2f80ed;color:white}.success{background:#12b76a;color:white}.danger{background:#f04438;color:white}.warn{background:#fdb022;color:#432}input,select,textarea{width:100%;border:1px solid #d8dee8;border-radius:10px;background:white;padding:10px;font-family:inherit}label{display:block;font-weight:700;margin:8px 0 6px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.flash{padding:12px;border-radius:12px;margin-bottom:12px;border:1px solid}.flash.ok{background:#ecfdf3;border-color:#abefc6;color:#067647}.flash.err{background:#fef3f2;border-color:#fecdca;color:#b42318}.flash.warn{background:#fffaeb;border-color:#fedf89;color:#93370d}.notice{background:#eef4ff;border:1px solid #b2ccff;color:#175cd3;padding:12px;border-radius:12px;margin-bottom:12px}@media(max-width:900px){.app{display:block}aside{width:auto;height:auto;position:static}.cols-4,.cols-2,.form-grid{grid-template-columns:1fr}main{padding:10px}header{display:block}}
