:root{--bg:#f4f7fb;--panel:#fff;--text:#14213d;--muted:#667085;--line:#e5eaf2;--green:#0f7a3a;--dark:#062617;--soft:#e9f9ef;--red:#c9302c;--amber:#b85c00;--blue:#175cd3;--shadow:0 20px 55px rgba(19,32,56,.08);--radius:24px}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.toast{position:fixed;right:24px;top:24px;z-index:50;background:#063f24;color:white;padding:14px 18px;border-radius:16px;box-shadow:var(--shadow);font-weight:700}.toast.danger{background:#a31515}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 460px;gap:34px;padding:42px;align-items:center;background:radial-gradient(circle at 20% 20%,#e4fff0 0,transparent 34%),linear-gradient(135deg,#f7fbff,#eef5f0)}.auth-brand-panel{background:linear-gradient(160deg,#052819,#0b3c24);color:white;border-radius:36px;padding:48px;min-height:680px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}.brand-mark{width:56px;height:56px;background:linear-gradient(135deg,#20c267,#0b7133);border-radius:18px;display:grid;place-items:center;color:white;font-weight:900}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#afe7c6;font-size:13px}.auth-brand-panel h1{font-size:58px;line-height:.95;margin:12px 0}.lead{font-size:18px;color:#dbeee4;line-height:1.65;max-width:660px}.brand-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}.brand-grid div{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:18px}.brand-grid strong,.brand-grid span{display:block}.brand-grid span{color:#cce5d6;margin-top:5px}.auth-card,.panel,.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.auth-card{padding:28px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#eef3f6;padding:6px;border-radius:18px;margin-bottom:22px}.tab-btn{border:0;background:transparent;padding:13px;border-radius:14px;font-weight:800;color:var(--muted)}.tab-btn.active{background:white;color:var(--green);box-shadow:0 6px 22px rgba(20,33,61,.08)}.auth-form{display:grid;gap:16px}.auth-form h2{font-size:30px;margin:0 0 6px}.auth-form label,.case-form label{display:grid;gap:8px;font-weight:800;color:#344054}.auth-form input,.case-form input,.case-form select,.case-form textarea,.filter-row input,.filter-row select,.inline-form textarea,.inline-form select,.inline-form input{width:100%;border:1px solid #d8e0ea;background:#fbfdff;border-radius:14px;padding:13px 14px;color:var(--text);outline:none}.auth-form input:focus,.case-form input:focus,.case-form select:focus,.case-form textarea:focus,.filter-row input:focus,.filter-row select:focus,.inline-form textarea:focus,.inline-form select:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(15,122,58,.1)}.primary,.soft,.logout{border:0;border-radius:16px;padding:13px 18px;font-weight:900}.primary{background:var(--green);color:white}.soft{background:#e9f9ef;color:#07652d}.logout{background:#fff2f2;color:#be1717;width:100%}.demo-creds{background:#f6f8fb;border:1px dashed #cbd5e1;border-radius:16px;padding:14px;color:#475467}.demo-creds p{margin:7px 0}.layout{display:grid;grid-template-columns:310px 1fr;min-height:100vh}.sidebar{background:#062617;color:white;padding:26px;display:flex;flex-direction:column;gap:24px;position:sticky;top:0;height:100vh}.brand-row{display:flex;gap:14px;align-items:center}.brand-row h2{font-size:20px;margin:0}.brand-row p,.user-card span{margin:4px 0 0;color:#bcd1c4}.user-card{background:rgba(255,255,255,.09);border-radius:22px;padding:18px}.user-card strong,.user-card span{display:block}nav{display:grid;gap:10px}.nav-btn{border:0;background:transparent;color:#d5e3db;text-align:left;padding:15px;border-radius:16px;font-weight:900;font-size:16px}.nav-btn.active,.nav-btn:hover{background:rgba(255,255,255,.11);color:white}.sidebar .logout{margin-top:auto}.main{padding:42px 34px 60px;overflow:hidden}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-head h1{font-size:46px;margin:0;letter-spacing:-.04em}.page-head p{font-size:17px;color:var(--muted);margin:10px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.stat-card{padding:26px}.stat-card span{display:block;color:var(--muted);font-weight:900}.stat-card strong{display:block;font-size:36px;margin-top:12px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{padding:24px}.panel h2{font-size:26px;margin:0 0 18px}.panel.wide{min-width:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:850px}th{text-align:left;color:#667085;text-transform:uppercase;letter-spacing:.08em;font-size:12px;padding:14px 12px;border-bottom:1px solid var(--line)}td{padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:top}td strong{display:block}td small{display:block;color:var(--muted);margin-top:4px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.badge.warning{background:#fff4e5;color:#ad4d00}.badge.info{background:#e8f1ff;color:var(--blue)}.badge.success{background:#e7f8ef;color:#08713a}.badge.danger{background:#fff0f0;color:#b42318}.badge.priority{background:#eef4ff;color:#175cd3}.activity-list{display:grid;gap:16px}.activity-item{display:grid;grid-template-columns:26px 1fr;gap:12px}.activity-item>span{width:26px;height:26px;border-radius:50%;background:#ddf8e8;position:relative}.activity-item>span:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--green);left:10.5px;top:10.5px}.activity-item strong{display:block}.activity-item p{margin:4px 0 0;color:var(--muted)}.empty{padding:28px;text-align:center;color:var(--muted);background:#f8fafc;border:1px dashed #d8e0ea;border-radius:18px}.filter-row{display:flex;gap:12px;margin-bottom:16px}.filter-row input{flex:1}.case-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-form .full{grid-column:1/-1}.form-panel{max-width:980px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.case-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:22px;color:var(--muted);font-weight:800}.description{line-height:1.7;color:#344054;background:#f8fafc;border-radius:18px;padding:18px}.messages{display:grid;gap:12px}.msg{background:#f8fafc;border:1px solid #edf1f7;border-radius:18px;padding:16px}.msg strong span{color:var(--muted);font-weight:700}.msg p{line-height:1.6}.msg small,.timeline p{color:var(--muted)}.action-panel{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;display:grid;gap:14px}.inline-form{display:grid;gap:12px}.proof-list{display:grid;gap:12px}.proof-list a{display:block;text-decoration:none;color:var(--text);background:#f8fafc;border:1px solid #edf1f7;border-radius:16px;padding:14px}.proof-list small{display:block;color:var(--muted);margin-top:5px}.metric-line{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.metric-line span{color:var(--muted);font-weight:800}.metric-line strong{font-size:24px}.installer{display:grid;place-items:center;min-height:100vh;background:var(--bg)}.install-card{width:min(680px,92vw);background:white;border-radius:28px;padding:34px;box-shadow:var(--shadow)}.install-card h1{margin-top:0}.danger{color:#b42318}.install-card .primary{display:inline-block;text-decoration:none;margin-top:12px}@media(max-width:1100px){.auth-shell{grid-template-columns:1fr}.auth-brand-panel{min-height:auto}.layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.stats-grid,.content-grid,.performance-grid,.detail-grid{grid-template-columns:1fr}.case-form{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:38px}}@media(max-width:640px){.auth-shell,.main{padding:20px}.auth-brand-panel{padding:28px;border-radius:28px}.auth-brand-panel h1{font-size:42px}.brand-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr}.filter-row{flex-direction:column}}
