@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700&display=swap');
:root{--bg:#f4f7fb;--ink:#142033;--muted:#708096;--nav:#0d1728;--accent:#5b7cfa;--green:#16b982;--line:#e4eaf2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}aside{position:fixed;inset:0 auto 0 0;width:230px;background:var(--nav);color:white;padding:30px 20px;display:flex;flex-direction:column}.brand{font:700 21px Manrope;margin-bottom:45px}.brand span{display:inline-grid;place-items:center;background:linear-gradient(135deg,#5b7cfa,#11c6a0);width:35px;height:35px;border-radius:10px;margin-right:9px}nav{display:grid;gap:8px}nav a{color:#9eabc0;text-decoration:none;padding:12px 14px;border-radius:9px;font-weight:600}nav a:hover{background:#18253a;color:white}.logout{margin-top:auto;background:transparent;color:#9eabc0;border:0;padding:12px 14px;cursor:pointer;text-align:left;width:100%}main{margin-left:230px;padding:0 42px 55px}header{height:104px;display:flex;align-items:center;justify-content:space-between}header small,.eyebrow{letter-spacing:.15em;color:var(--accent);font-size:10px;font-weight:700}h1{font:700 25px Manrope;margin:5px 0}.owner{background:white;border:1px solid var(--line);padding:10px 16px;border-radius:30px}.hero{padding:38px;background:linear-gradient(130deg,#14243f,#263d67);color:white;border-radius:18px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 45px #20325326}.hero h2{font:700 30px Manrope;margin:9px 0}.hero p{color:#adbad0}.button,.form button,.auth-card button{display:inline-block;border:0;background:var(--accent);color:white;padding:12px 18px;border-radius:9px;text-decoration:none;font-weight:700;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0}.stats article,.panel{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px #2032530a}.stats article{padding:23px}.stats small{color:var(--muted);font-weight:700}.stats strong{font:700 27px Manrope;display:block;margin:10px 0}.stats span{font-size:13px;color:var(--green)}.panel{overflow:hidden}.panel-head,.actions{display:flex;align-items:center;justify-content:space-between;padding:22px 25px}.panel-head h3{margin:0}.panel-head a,.row-actions a,.form-actions a{color:var(--accent);text-decoration:none}table{width:100%;border-collapse:collapse}th,td{padding:16px 24px;border-top:1px solid var(--line);text-align:left;font-size:14px}th{color:var(--muted);font-size:11px;letter-spacing:.06em}.badge{display:inline-block;padding:5px 9px;border-radius:20px;background:#edf1f7;font-size:11px;text-transform:capitalize}.badge.online,.badge.active{background:#e6faf4;color:#087d59}.badge.error,.badge.offline{background:#fff0f0;color:#c84a4a}.empty{text-align:center;color:var(--muted);padding:40px}.row-actions{display:flex;gap:14px}.row-actions form{display:inline}.row-actions button{border:0;background:none;color:#d05b5b;cursor:pointer}.actions{padding:0 0 20px}.actions p{color:var(--muted)}.form{padding:28px;max-width:920px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;gap:7px;font-weight:600;font-size:13px;margin-bottom:18px}input,select,textarea{width:100%;border:1px solid #d9e1ec;border-radius:9px;padding:12px;font:inherit;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #5b7cfa25;border-color:var(--accent)}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px}.flash,.errors{padding:13px 17px;border-radius:9px;margin-bottom:18px}.flash{background:#e6faf4;color:#087d59}.errors{background:#fff0f0;color:#b53e3e}.auth{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#293f69,#0d1728 65%)}.auth-card{background:white;padding:38px;width:min(440px,calc(100% - 30px));border-radius:18px;box-shadow:0 25px 80px #0005}.auth-card h1{font:700 27px Manrope}.auth-card p{color:var(--muted);margin-bottom:28px}.auth-card button{width:100%;margin-top:5px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}@media(max-width:900px){aside{position:static;width:100%;height:auto}.brand{margin-bottom:15px}nav{grid-template-columns:repeat(4,1fr)}main{margin:0;padding:0 18px 35px}.stats{grid-template-columns:1fr 1fr}.hero{align-items:flex-start;gap:20px}.grid{grid-template-columns:1fr}table{display:block;overflow:auto}}@media(max-width:540px){nav{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr}.hero{display:block}.hero .button{margin-top:12px}}
