@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";:root{color:#172033;font-synthesis:none;background:#f8fafc;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}.shell{grid-template-columns:230px 1fr;min-height:100vh;display:grid}aside{color:#dce7f6;background:#0b1931;flex-direction:column;width:230px;padding:24px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 8px 28px;font-size:19px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#2563eb;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}nav{gap:6px;display:grid}nav a{color:#b8c7dc;border-radius:9px;align-items:center;gap:13px;height:46px;padding:0 13px;font-size:14px;font-weight:500;text-decoration:none;display:flex}nav a svg{width:19px}nav a:hover,nav a.active{color:#fff;background:#173d78}.system-state{border:1px solid #263c5b;border-radius:10px;gap:10px;margin-top:auto;padding:15px 12px;display:flex}.system-state i{background:#16a36a;border-radius:50%;width:9px;height:9px;margin-top:4px}.system-state div{display:grid}.system-state strong{font-size:13px}.system-state span{color:#9db0c9;margin-top:3px;font-size:10px}.logout{color:#9db0c9;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:17px 12px 0;display:flex}.logout svg{width:16px}.content{grid-column:2;min-width:0;padding:28px 32px 50px}header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}h1{color:#111b2d;margin:0;font-size:25px}header p,.panel-title p{color:#718096;margin:5px 0 0;font-size:13px}.header-actions{color:#718096;align-items:center;gap:18px;font-size:12px;display:flex}.header-actions button{color:#172033;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:9px;align-items:center;gap:8px;height:40px;padding:0 14px;display:flex}.header-actions svg{width:16px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.metric,.panel{background:#fff;border:1px solid #e1e7ee;border-radius:12px}.metric{align-items:flex-start;gap:15px;min-height:125px;padding:20px;display:flex}.metric-icon{color:#2563eb;background:#edf3ff;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.metric-icon.green{color:#0d9f69;background:#eaf9f3}.metric-icon svg{width:21px}.metric div:last-child{display:grid}.metric span{color:#64748b;font-size:12px;font-weight:600}.metric strong{color:#101a2e;margin:4px 0;font-size:25px}.metric small{color:#8492a5;font-size:11px}.main-grid{grid-template-columns:minmax(0,2.1fr) minmax(260px,.85fr);gap:16px;margin-bottom:16px;display:grid}.panel{padding:18px}.panel-title{justify-content:space-between;align-items:flex-start;display:flex}.panel-title h2{margin:0;font-size:15px}.panel-title>span{color:#64748b;background:#f6f8fb;border-radius:6px;padding:6px 9px;font-size:11px}.chart{grid-template-columns:28px 1fr;height:245px;margin-top:18px;display:grid}.chart-y{color:#94a3b8;flex-direction:column;justify-content:space-between;padding:0 0 22px;font-size:9px;display:flex}.chart svg{background:repeating-linear-gradient(#0000 0 calc(25% - 1px),#eef2f6 25%);border-bottom:1px solid #e7ebf0;width:100%;height:100%}.activity-list{margin:11px -18px -18px}.activity-row{border-top:1px solid #edf0f4;grid-template-columns:8px 1fr auto;align-items:center;gap:10px;padding:13px 18px;display:grid}.activity-row i{background:#e2a008;border-radius:50%;width:7px;height:7px}.activity-row i.completed{background:#0ca36a}.activity-row i.assigned,.activity-row i.running{background:#2563eb}.activity-row div{min-width:0;display:grid}.activity-row strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.activity-row span,.activity-row time{color:#8492a5;margin-top:3px;font-size:9px}.nodes-panel{margin-bottom:16px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;margin-top:12px;font-size:11px}th{color:#718096;text-align:left;border-bottom:1px solid #e8edf2;padding:10px 8px;font-weight:600}td{color:#334155;border-bottom:1px solid #eef2f5;padding:12px 8px}.node-name{color:#172033;align-items:center;gap:8px;font-weight:600;display:flex}.node-name svg{color:#64748b;width:16px}.status{align-items:center;gap:6px;display:inline-flex}.status i{background:#ef4444;border-radius:50%;width:6px;height:6px}.status.online{color:#0b9965}.status.online i{background:#10b981}.status.inattivo{color:#a66c00}.status.inattivo i{background:#e4a11b}.lower-grid{grid-template-columns:1.5fr 1fr;gap:16px;display:grid}.resource-stats{grid-template-columns:repeat(3,1fr);margin-top:22px;display:grid}.resource-stats>div{border-right:1px solid #e8edf2;padding:0 20px;display:grid}.resource-stats>div:first-child{padding-left:0}.resource-stats>div:last-child{border:0}.resource-stats span{color:#718096;align-items:center;gap:7px;font-size:10px;display:flex}.resource-stats svg{width:15px}.resource-stats strong{margin-top:7px;font-size:20px}.credit-panel{color:#fff;background:#0e9667;border:0;justify-content:space-between;align-items:center;display:flex}.credit-panel div{display:grid}.credit-panel span,.credit-panel small{opacity:.8;font-size:10px}.credit-panel strong{margin:5px 0;font-size:29px}.credit-panel>svg{opacity:.35;width:48px;height:48px}.error-banner,.loading{border-radius:9px;margin-bottom:16px;padding:14px}.error-banner{color:#8b5b00;background:#fff4e5;border:1px solid #f4d49a}.loading{background:#fff;border:1px solid #e1e7ee}.empty{text-align:center;color:#8492a5;padding:30px;font-size:12px}.login-page{background:#f4f7fb;place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{background:#fff;border:1px solid #dfe6ee;border-radius:16px;width:min(400px,100%);padding:34px;box-shadow:0 24px 70px #1428461a}.login-card .brand-mark{margin-bottom:20px}.login-card h1{font-size:26px}.login-card>p{color:#718096;margin:7px 0 28px}.login-card label{gap:8px;font-size:12px;font-weight:600;display:grid}.login-card input{border:1px solid #cfd8e3;border-radius:8px;outline:none;height:46px;padding:0 13px}.login-card input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dfe9ff}.login-card button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;width:100%;height:46px;margin-top:18px;font-weight:700}.login-error{color:#b42318;margin-top:11px;font-size:12px}@media (width<=1050px){.metrics{grid-template-columns:repeat(2,1fr)}.main-grid{grid-template-columns:1fr}.activity-list{grid-template-columns:repeat(2,1fr);display:grid}}@media (width<=760px){.shell{display:block}aside{flex-direction:row;align-items:center;width:auto;height:auto;padding:14px 16px;display:flex;position:static}.brand{margin-right:auto;padding:0}.brand span,aside nav,.system-state{display:none}.logout{padding:0}.content{padding:20px 16px}header{align-items:flex-start}.header-actions>span{display:none}.metrics{grid-template-columns:1fr 1fr}.lower-grid,.resource-stats{grid-template-columns:1fr}.resource-stats>div{border:0;border-bottom:1px solid #e8edf2;padding:12px 0}.activity-list{display:block}}@media (width<=480px){.metrics{grid-template-columns:1fr}.metric{min-height:auto}.header-actions button{font-size:0}.header-actions button svg{margin:0}.resource-stats{grid-template-columns:1fr}}
