:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#172033;background:#f0f3f8;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{text-decoration:none;color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:240px;background:#173b68;color:#dce8f8;position:fixed;inset:0 auto 0 0;overflow:auto}.logo{display:flex;gap:12px;align-items:center;padding:20px 16px;border-bottom:1px solid #ffffff18}.logo>span,.brand-mark,.user>span{display:grid;place-items:center;background:#2563eb;color:white;border-radius:9px;font-weight:700}.logo>span{width:34px;height:34px}.logo div,.user div{display:flex;flex-direction:column}.logo small,.user small{color:#93b3d8}.nav-label{padding:14px 16px 5px;margin:0;color:#7195c2;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.sidebar nav a{display:block;padding:9px 18px;font-size:14px}.sidebar nav a:hover,.sidebar nav a.active{background:#2563eb;color:white}.workspace{margin-left:240px;min-width:0;width:calc(100% - 240px)}.topbar{height:64px;background:white;border-bottom:1px solid #dfe5ee;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.topbar>div,.user{display:flex;align-items:center;gap:12px}.topbar small{display:block;color:#64748b}.user>span{width:34px;height:34px}.user a{margin-left:12px;color:#dc2626;font-size:13px}.content{padding:28px;max-width:1500px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.page-head h1{margin:2px 0;font-size:26px}.page-head p{margin:0;color:#64748b}.crumb{font-size:12px!important;color:#2563eb!important}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:7px;padding:9px 14px;background:white;color:#334155;font-weight:600;cursor:pointer}.button.primary{background:#2563eb;border-color:#2563eb;color:white}.card{background:white;border:1px solid #e1e7ef;border-radius:10px;box-shadow:0 1px 3px #0000000d}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.kpi{padding:18px;display:flex;flex-direction:column}.kpi p{margin:0;color:#64748b}.kpi strong{font-size:24px;margin:8px 0}.kpi small{color:#16a34a}.filters{display:flex;gap:10px;padding:14px;border-bottom:1px solid #edf0f4}.filters input{max-width:280px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 14px;text-align:left;border-bottom:1px solid #edf0f4;white-space:nowrap;font-size:13px}th{background:#f8fafc;color:#475569;font-size:11px;text-transform:uppercase}tbody tr:hover{background:#f8fafc}.link-button{border:0;background:none;color:#2563eb;cursor:pointer}.alert{padding:12px 14px;border-radius:7px;margin:0 0 18px}.alert.error{background:#fef2f2;color:#b91c1c}.alert.success{background:#f0fdf4;color:#15803d}.form-card{padding:22px;margin-top:20px}.form-card h2{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stack{display:flex;flex-direction:column;gap:16px}.wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#475569}input,select{width:100%;border:1px solid #cbd5e1;border-radius:7px;padding:10px 12px;background:white;font:inherit}.actions{display:flex;justify-content:flex-end;gap:10px}.login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#173b68,#2563eb)}.login-card{width:min(420px,calc(100% - 32px));background:white;padding:36px;border-radius:14px;box-shadow:0 24px 60px #071a3480}.brand-mark{width:52px;height:52px;font-size:20px}.login-card h1{margin-bottom:0}.muted,.demo{color:#64748b}.demo{font-size:12px;border-top:1px solid #e2e8f0;padding-top:14px}@media(max-width:900px){.sidebar{width:190px}.workspace{margin-left:190px;width:calc(100% - 190px)}.kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.shell{display:block}.sidebar{position:static;width:100%;max-height:none}.sidebar nav{display:none}.workspace{margin:0;width:100%}.topbar{padding:10px 14px;height:auto}.user div,.user a,.topbar>div small{display:none}.content{padding:16px}.page-head{align-items:flex-start;gap:14px}.kpis,.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}}
