*{box-sizing:border-box} :root{--navy:#102a43;--blue:#1769aa;--bg:#f4f7fb;--text:#172b4d;--muted:#6b7c93;--line:#e5ebf2;--white:#fff;--green:#138a62;--red:#c0392b}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#102a43,#1769aa)}.login-card{background:#fff;border-radius:20px;padding:34px;width:min(420px,100%);box-shadow:0 20px 70px #071b2c55;display:flex;flex-direction:column;gap:10px}.login-card h1{margin:8px 0 0;font-size:25px}.login-card p{margin:0 0 12px;color:var(--muted)}label{font-size:13px;font-weight:650;margin-top:7px}.login-card input,.field input,.field select,.field textarea,input,select,textarea{border:1px solid #d8e0e9;border-radius:9px;padding:11px 12px;background:#fff;color:var(--text);width:100%;outline:none}.login-card input:focus,input:focus,select:focus,textarea:focus{border-color:#4a90cf;box-shadow:0 0 0 3px #1769aa18}.login-card button,.primary{background:var(--blue);color:#fff;border-radius:9px;padding:12px 16px;font-weight:700;margin-top:12px}.brand-mark{height:48px;width:48px;border-radius:14px;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:27px;font-weight:800}.brand-mark.small{height:38px;width:38px;font-size:21px;border-radius:11px}.app-shell{min-height:100vh;display:flex}.sidebar{width:250px;background:var(--navy);color:#d9e5f1;padding:22px 14px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 24px}.brand b{display:block;color:#fff;letter-spacing:.3px}.brand small{color:#9fb3c8}.side-business{padding:10px 12px;margin-bottom:12px;background:#ffffff12;border-radius:9px;color:#fff;font-size:13px}nav{display:grid;gap:5px}.nav-item{background:transparent;color:#bfd0e0;text-align:left;padding:11px 12px;border-radius:9px;display:flex;gap:12px;align-items:center}.nav-item:hover,.nav-item.active{background:#ffffff1b;color:#fff}.logout{margin-top:auto;background:#ffffff12;color:#fff;padding:12px;border-radius:9px;text-align:left}.main{flex:1;min-width:0}.topbar{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 30px;position:sticky;top:0;z-index:5}.topbar h2{margin:1px 0;font-size:21px}.topbar small{color:var(--muted)}.user-chip{margin-left:auto;display:flex;align-items:center;gap:9px;font-weight:650}.avatar{height:34px;width:34px;border-radius:50%;display:grid;place-items:center;background:#e6f1fb;color:var(--blue)}.menu-toggle{display:none;background:transparent;font-size:22px}.content{padding:28px;max-width:1500px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.page-head h3{margin:0;font-size:20px}.page-head p{margin:3px 0;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat,.panel,.form-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px;box-shadow:0 3px 12px #102a4308}.stat small{color:var(--muted)}.stat strong{display:block;font-size:29px;margin-top:7px}.stat .icon{float:right;color:var(--blue);font-size:22px}.grid-two{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.panel h3{margin:0 0 15px;font-size:16px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px}table{width:100%;border-collapse:collapse;min-width:650px}th,td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--line);font-size:13px}th{background:#f8fafc;color:#66788a;font-weight:700}tr:last-child td{border-bottom:0}.muted{color:var(--muted)}.pill{display:inline-block;border-radius:99px;padding:4px 9px;background:#edf3f8;color:#526579;font-size:11px;font-weight:700}.pill.green{background:#e7f7f0;color:#13734f}.pill.orange{background:#fff4df;color:#9a6500}.pill.red{background:#ffeded;color:#b52d2d}.actions{display:flex;gap:8px;align-items:center}.secondary{background:#eaf1f8;color:#244766;border-radius:9px;padding:10px 13px;font-weight:650}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:flex;flex-direction:column;gap:5px}.field.full{grid-column:1/-1}.field label{margin:0}.checkline{display:flex;align-items:center;gap:9px;font-size:13px}.checkline input{width:auto}.empty{padding:30px;text-align:center;color:var(--muted)}.error{color:var(--red);font-size:13px}.loading{padding:30px;color:var(--muted)}.toast{position:fixed;right:20px;bottom:20px;background:#142f49;color:#fff;padding:12px 17px;border-radius:10px;box-shadow:0 10px 30px #0002;opacity:0;transform:translateY(10px);transition:.2s;z-index:20}.toast.show{opacity:1;transform:translateY(0)}.install{min-height:100vh;display:grid;place-items:center;background:var(--bg)}.install .login-card{box-shadow:0 8px 30px #102a4312}.toolbar{display:flex;gap:9px;flex-wrap:wrap}.toolbar input{max-width:260px}.notice{background:#edf6ff;border:1px solid #d4e9fb;color:#245478;border-radius:10px;padding:12px 14px;font-size:13px;margin-bottom:15px}@media(max-width:900px){.sidebar{width:220px}.content{padding:20px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.sidebar{position:fixed;z-index:10;left:-260px;top:0;bottom:0;transition:.2s;width:250px}.sidebar.open{left:0}.menu-toggle{display:block}.topbar{height:72px;padding:0 15px}.content{padding:16px}.stats{gap:9px}.stat{padding:14px}.stat strong{font-size:24px}.grid-two,.form-grid{grid-template-columns:1fr}.user-chip span:last-child{display:none}.page-head{align-items:flex-start;flex-direction:column}.login-card{padding:26px}}
