@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');
:root{--bg:#f4f6fb;--ink:#17243b;--muted:#78849a;--navy:#101d35;--blue:#315eea;--line:#e8edf5;--green:#159b72;--red:#c94343}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:flex}.sidebar{width:250px;background:var(--navy);color:#d9e2f3;padding:26px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:11px;padding:4px 8px 36px}.brand b{display:block;color:#fff;font:800 14px Manrope,sans-serif;letter-spacing:.2px}.brand small{display:block;color:#8796b2;font-size:11px;margin-top:3px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#527cff,#2446bd);display:grid;place-items:center;color:#fff;font:800 15px Manrope;box-shadow:0 7px 18px #07142c}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:13px 14px;border-radius:10px;color:#aebbd1;font-weight:600;display:flex;gap:12px}.sidebar nav a.active,.sidebar nav a:hover{background:#1c2d4d;color:#fff}.side-bottom{margin-top:auto;border-top:1px solid #293957;padding:18px 4px 0;display:flex;align-items:center;gap:9px;font-size:12px}.side-bottom a{margin-left:auto;color:#aebbd1}.user-dot{width:29px;height:29px;border-radius:50%;background:#315eea;display:grid;place-items:center;color:white;font-weight:800}.main{margin-left:250px;width:calc(100% - 250px);padding:28px 38px 50px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#8995aa}.topbar h1{font:800 27px Manrope;margin:5px 0 0}.status{font-size:12px;color:#68758b;background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:30px}.status i{display:inline-block;width:7px;height:7px;background:#20b785;border-radius:50%;margin-right:6px}.welcome{background:linear-gradient(110deg,#172b50,#315eea);color:#fff;border-radius:17px;padding:27px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 12px 30px #243d741c}.welcome h2{font:800 22px Manrope;margin:8px 0}.welcome p{color:#d5def2;margin:0}.light{color:#b7c8ff}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:15px}.stat-card{padding:20px}.stat-card span{color:var(--muted);font-size:12px;font-weight:600}.stat-card strong{display:block;font:800 29px Manrope;margin:9px 0 3px}.stat-card strong small{font-size:14px;color:#9aa5b7}.stat-card em{font-style:normal;color:#9aa5b7;font-size:11px}.panel{padding:23px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.panel-head h2{font:800 16px Manrope;margin:0}.panel-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.text-link{color:var(--blue);font-weight:700;font-size:12px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--blue);color:white;padding:11px 16px;font:700 12px 'DM Sans';cursor:pointer}.button:hover{filter:brightness(.95)}.button-light{background:white;color:#2449c5}.button-secondary{background:#edf1f8;color:#52617a}.full{width:100%;margin-top:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.7px;color:#9aa5b7;text-transform:uppercase;padding:12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #f0f2f7;font-size:12px}tbody tr:last-child td{border-bottom:0}.subline{display:block;color:#98a3b5;font-size:11px;margin-top:4px}.pill{display:inline-block;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700}.pill.active{background:#e5f7f0;color:#13815f}.pill.paused{background:#fff2e1;color:#a96c19}.empty{text-align:center;padding:38px 15px}.empty-icon{margin:auto;width:48px;height:48px;border-radius:14px;background:#eef2ff;color:#315eea;display:grid;place-items:center;font-size:23px}.empty h3{font:700 15px Manrope;margin:13px 0 5px}.empty p{color:var(--muted);font-size:12px;margin:0 0 17px}.notice{background:#eef3ff;border:1px solid #dce6ff;color:#4a5f91;padding:15px 17px;border-radius:11px;font-size:12px}.alert{padding:12px 14px;border-radius:9px;margin-bottom:16px;font-size:12px}.alert.success{background:#e7f8f1;color:#137452}.alert.error{background:#fff0f0;color:#a63838}.form-panel{max-width:900px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full,.form-actions.full{grid-column:1/-1}label{font-size:11px;font-weight:700;color:#58667d}input,select,textarea{width:100%;border:1px solid #dfe5ef;border-radius:8px;padding:11px 12px;font:13px 'DM Sans';color:var(--ink);background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#7390f7;box-shadow:0 0 0 3px #315eea14}textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:7px}.actions{display:flex;align-items:center;gap:13px}.actions form{margin:0}.link-danger{border:0;background:none;color:var(--red);font:700 12px 'DM Sans';cursor:pointer;padding:0}.auth-bg{min-height:100vh;background:radial-gradient(circle at 15% 15%,#dce6ff,transparent 35%),#f3f6fc;display:grid;place-items:center;padding:20px}.auth-card{width:min(100%,420px);background:white;padding:34px;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px #1a315515}.center{justify-content:center;padding:0 0 28px}.auth-card h1{font:800 22px Manrope;margin:0 0 7px}.muted,.tiny{color:var(--muted);font-size:12px;line-height:1.6}.auth-card form{display:grid;gap:9px;margin-top:22px}.auth-card label{margin-top:5px}.tiny{text-align:center;margin-top:18px;font-size:10px}.auth-card .alert{margin-top:15px}@media(max-width:850px){.sidebar{width:70px;padding:20px 9px}.brand{padding:4px 4px 30px}.brand>span:last-child,.sidebar nav a span,.side-bottom>span:not(.user-dot),.side-bottom a{display:none}.sidebar nav a{justify-content:center;font-size:18px}.side-bottom{justify-content:center}.main{margin-left:70px;width:calc(100% - 70px);padding:22px 18px}.welcome{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:1fr}.topbar h1{font-size:22px}.status{display:none}}@media(max-width:560px){.form-grid{grid-template-columns:1fr}.field.full,.form-actions.full{grid-column:auto}.panel{padding:16px}.topbar{margin-bottom:17px}.welcome{padding:22px}.welcome h2{font-size:19px}}
