:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1b2c40;background:#f3f6fa;font-size:14px;--blue:#2563eb;--muted:#718096;--line:#e4eaf2}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{transition:.16s}button{border:0;background:var(--blue);color:white;border-radius:9px;padding:11px 17px;font-weight:600;cursor:pointer;display:inline-flex;gap:8px;align-items:center;justify-content:center}button:hover{filter:brightness(.95);transform:translateY(-1px)}button:disabled{opacity:.55;cursor:wait}.secondary{background:white;color:#344962;border:1px solid var(--line)}.text-button{background:transparent;color:#64748b;padding:8px}.icon-button{background:transparent;color:#65778e;font-size:20px;padding:6px 10px}input,select,textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dbe3ed;border-radius:8px;margin-top:7px;background:#fff;color:#1b2c40}input:focus,select:focus,textarea:focus{outline:3px solid #dbeafe;border-color:#93b4ff}label{display:block;font-size:13px;font-weight:600;margin-bottom:17px}textarea{min-height:86px;resize:vertical}small,.muted{color:var(--muted)}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;letter-spacing:-.5px}.brand b{color:#7dd3fc}.logo{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#3b82f6;color:white;width:38px;height:38px;font-size:24px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:radial-gradient(ellipse at top right,#2059a1,transparent 65%),#102744;color:white;padding:46px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#7da1d0}.login h1{font-size:clamp(35px,3.5vw,56px);line-height:1.13;letter-spacing:-2px;margin:24px 0}.login-story p{color:#b7c9df;line-height:1.9;max-width:370px}.story-cards{display:flex;gap:27px;margin-top:38px;color:#90b9ee;font-size:12px;line-height:2.4}.story-cards b{color:#e2edfa}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-form>div{width:355px}.login-form h2{font-size:29px;letter-spacing:-1px;margin-bottom:10px}.login-form p{color:#7b8a9d}.login-form form{margin-top:32px}.login-form button{width:100%;justify-content:space-between;padding:14px 18px;margin-bottom:20px}.login-form small{display:block;text-align:center}.shell{display:flex;min-height:100vh}aside{width:249px;background:#12243c;color:#d5dfed;padding:28px 19px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.tenant{padding:24px 12px 21px;border-bottom:1px solid #ffffff12;margin-bottom:20px}.tenant small{font-size:9px;letter-spacing:1.6px;display:block;margin-bottom:8px;color:#7490af}.tenant strong{font-size:13px}.nav-label{font-size:10px;letter-spacing:1.4px;color:#7088a7;margin:23px 12px 10px}nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:5px 0;color:#a5b8d1;text-decoration:none;border-radius:9px;font-size:13px}nav a.active{background:#25539a;color:white;box-shadow:0 4px 12px #0001}nav a:hover{background:#ffffff0c}nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.aside-foot{margin-top:auto;padding:25px 9px 0;color:#6f89a9;font-size:10px}.dot{display:inline-block;width:6px;height:6px;background:#34d399;border-radius:50%;margin-right:4px}.main{margin-left:249px;width:calc(100% - 249px)}header{height:81px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:12px}header small{display:block;font-size:9px;letter-spacing:1.5px;margin-bottom:4px}header strong{font-size:13px}.user-chip{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:12px}.user-chip>span{background:#eaf1ff;color:#365db0;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:700}main{padding:30px 34px;min-height:calc(100vh - 133px)}h1{font-size:25px;letter-spacing:-.7px;margin:0 0 8px}h2{font-size:16px;margin:0 0 18px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-head p{margin:0;color:#7a8ba0;font-size:13px;line-height:1.7}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;display:flex;gap:14px;align-items:center}.stat-icon{padding:11px;background:#edf3ff;border-radius:11px;color:#3b70cc}.stat-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8}.stat strong{font-size:29px;display:block;letter-spacing:-1px;margin:5px 0}.stat small{font-size:11px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:22px;margin-bottom:20px;box-shadow:0 3px 7px #10274403}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.card-top h2{margin:0}.tag{display:inline-block;background:#edf3ff;color:#3564ab;border-radius:6px;font-size:11px;padding:5px 8px;white-space:nowrap}.tag.warn{background:#fff4dc;color:#ae7a16}.tag.good{background:#e7f7ef;color:#26815a}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;color:#8b99ad;letter-spacing:.8px;text-transform:uppercase;background:#f8fafc;font-weight:600}th,td{padding:14px 13px;border-bottom:1px solid #eef2f7;vertical-align:middle}td small{display:block;margin-top:5px}tr:last-child td{border-bottom:0}.empty{text-align:center;padding:42px 25px;color:#8a9aad;line-height:1.8}.notice{background:#eff5ff;color:#58749a;padding:14px 18px;border:1px solid #dce9fd;border-radius:10px;font-size:12px;line-height:1.7;margin-bottom:20px}.notice.amber{background:#fffaf0;border-color:#f7e7c4;color:#977234}.toolbar{display:flex;gap:12px;margin-bottom:17px;align-items:center;flex-wrap:wrap}.toolbar input{margin:0;max-width:340px}.toolbar select{margin:0;max-width:260px}.split{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-actions button{min-height:65px;justify-content:flex-start;background:#f7faff;color:#365981;border:1px solid #e2ebf9;padding:15px}.quick-actions button small{display:block;font-size:10px;font-weight:400;margin-top:5px}.error{color:#c44747!important;font-size:12px;line-height:1.6}.success{color:#238354}footer{padding:14px 34px;color:#96a3b5;font-size:10px}footer span{margin:0 7px}dialog{border:0;border-radius:16px;padding:0;width:min(620px,calc(100vw - 24px));max-height:90vh;box-shadow:0 24px 100px #081d4166;color:#1b2c40}dialog::backdrop{background:#142c4d77;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:21px 25px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0}#dialogBody{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:12px}#toast{position:fixed;bottom:24px;right:28px;background:#183553;color:white;padding:14px 20px;border-radius:10px;display:none;box-shadow:0 5px 30px #0002;z-index:1000}.mono{font-family:Consolas,monospace;font-size:11px}#toggle{display:none}.balance-note{padding:12px;border-radius:8px;background:#f4f7fc;margin-bottom:17px;color:#5e7899;font-size:12px}button.small{padding:7px 11px;font-size:11px}.intro{background:linear-gradient(110deg,#1b4171,#295d9b);border:0;color:white;padding:26px 28px}.intro p{color:#b9d2f0;max-width:540px;font-size:12px;line-height:1.8}.intro .eyebrow{color:#82b7f5}.intro h2{font-size:21px;margin:10px 0}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media(max-width:800px){aside{display:none;z-index:10;width:240px;box-shadow:0 0 0 100vw #10274466}aside.open{display:flex}.main{width:100%;margin:0}#toggle{display:block}header{padding:0 17px}main{padding:23px 17px}.page-head{align-items:flex-start;flex-direction:column}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:24px}.login{display:block}.login-story{display:none}.login-form{min-height:100vh}.form-grid{grid-template-columns:1fr}.user-chip #userName{max-width:105px}.card{padding:17px}th,td{padding:12px 9px}}

input[type=checkbox]{width:auto;display:inline-block;margin:0 7px 0 0;vertical-align:middle}
