:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#182338;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.side{background:#fff;border-right:1px solid #e7ebf1;padding:25px 17px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}.logo{width:35px;height:35px;border-radius:10px;background:#19263d;color:white;display:grid;place-items:center}.navlabel{font-size:10px;letter-spacing:.13em;color:#9aa3b1;font-weight:800;margin:0 10px 8px}.nav{display:grid;gap:4px}.nav button{border:0;background:none;text-align:left;padding:11px 12px;border-radius:8px;color:#6e798c;font-size:12px;font-weight:650}.nav button.active,.nav button:hover{background:#eff3f8;color:#1a2941}.sidefoot{margin-top:auto;color:#9aa3b1;font-size:10px;line-height:1.7}.main{width:100%;max-width:1500px;margin:auto;padding:30px clamp(16px,4vw,48px)}.top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#909bad}.top h1{font-size:25px;letter-spacing:-.04em;margin:5px 0 0}.topright{display:flex;align-items:center;gap:9px}.agent{font-size:11px;color:#788497;background:white;border:1px solid #e6eaf0;padding:9px 11px;border-radius:8px}.led{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d49a43;margin-right:6px}.btn{border:0;border-radius:8px;background:#1b2940;color:white;padding:10px 14px;font-size:11px;font-weight:750}.btn:disabled{opacity:.4;cursor:not-allowed}.btn.light{background:white;border:1px solid #e2e7ee;color:#445169}.btn.danger{background:#fff0f0;color:#b33c3c;border:1px solid #f3dada}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat,.panel,.server{background:white;border:1px solid #e7ebf1;border-radius:12px}.stat{padding:16px}.stat small{font-size:10px;color:#8792a4;font-weight:650}.stat strong{display:block;font-size:25px;margin:8px 0 2px;letter-spacing:-.04em}.stat span,.muted{font-size:10px;color:#9aa3b1}.cols{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr);gap:14px}.panel{padding:18px;margin-bottom:14px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.panel h2{font-size:13px;margin:0}.servers{display:grid;gap:9px}.server{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.servermain{display:flex;align-items:center;gap:11px;min-width:0}.gameicon{width:36px;height:36px;border-radius:9px;background:#f0f3f8;display:grid;place-items:center;font-size:10px;font-weight:800;color:#59677f;flex-shrink:0}.server h3{font-size:12px;margin:0 0 4px}.server p{font-size:10px;color:#929cad;margin:0}.serveractions{display:flex;gap:6px;align-items:center}.pill{font-size:9px;padding:5px 8px;border-radius:20px;background:#f0f2f5;color:#778296;white-space:nowrap}.empty{padding:32px 15px;text-align:center}.emptyicon{width:44px;height:44px;border-radius:13px;background:#f0f3f8;display:grid;place-items:center;margin:0 auto 12px;color:#71809a;font-size:20px}.empty h3{font-size:13px;margin:0 0 6px}.empty p{font-size:11px;color:#929cad;max-width:320px;margin:0 auto 15px;line-height:1.6}.activity{display:grid;gap:13px}.event{display:flex;gap:9px;font-size:10px;color:#6e798c;line-height:1.5}.event i{width:6px;height:6px;border-radius:50%;background:#aab5c6;margin-top:4px;flex-shrink:0}.meter{margin:13px 0}.meterhead{display:flex;justify-content:space-between;font-size:10px;margin-bottom:6px}.track{height:5px;background:#eff2f6;border-radius:8px}.fill{height:100%;width:0;background:#9aa8bc;border-radius:8px}.detailhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.detailtitle{display:flex;align-items:center;gap:11px}.detailtitle h2{font-size:17px;margin:0 0 4px}.tabs{display:flex;gap:5px;border-bottom:1px solid #e9edf2;margin-bottom:15px;overflow:auto}.tabs button{border:0;background:none;padding:10px 12px;color:#7b8799;font-size:11px;white-space:nowrap}.tabs button.active{color:#1c2b43;border-bottom:2px solid #1c2b43;font-weight:750}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:6px;margin:10px 0}.field label{font-size:10px;color:#68758a;font-weight:700}.field input,.field select{width:100%;border:1px solid #e1e6ed;border-radius:7px;padding:10px;font-size:11px;background:white;color:#243149}.field small{font-size:9px;color:#9aa3b1}.modrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eef1f5}.modrow:last-child{border:0}.modname{font-size:11px;font-weight:700}.modmeta{font-size:9px;color:#929cad;margin-top:3px}.drop{border:1px dashed #ccd4df;border-radius:10px;padding:20px;text-align:center;color:#78859a;font-size:10px}.drop input{max-width:100%;margin-top:10px;font-size:10px}.console{background:#111b2b;color:#dce5f1;border-radius:9px;padding:13px;min-height:150px;max-height:240px;overflow:auto;font:10px/1.8 ui-monospace,monospace}.console .dim{color:#8291a7}.consoleform{display:flex;gap:7px;margin-top:9px}.consoleform input{flex:1;min-width:0;padding:9px;border:1px solid #e3e8ef;border-radius:7px;font-size:10px}.notice{background:#f7f8fa;border:1px solid #e9edf2;color:#68758a;border-radius:8px;padding:11px;font-size:10px;line-height:1.6;margin-bottom:12px}.modal{position:fixed;inset:0;background:#10182770;display:none;place-items:center;padding:15px;z-index:5}.modal.show{display:grid}.dialog{background:white;width:min(560px,100%);max-height:90vh;overflow:auto;border-radius:13px;padding:21px}.dialog h2{font-size:17px;margin:0 0 5px}.dialog p{font-size:10px;color:#8d98a9;margin:0 0 15px}.dialogfoot{display:flex;justify-content:flex-end;gap:7px;margin-top:17px}.hidden{display:none!important}
@media(max-width:900px){.app{grid-template-columns:1fr}.side{display:none}.cols{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.main{padding:22px 15px}}@media(max-width:540px){.top{align-items:flex-start;flex-direction:column}.topright{width:100%;justify-content:space-between}.grid2{grid-template-columns:1fr}.server{align-items:flex-start}.serveractions{flex-wrap:wrap;justify-content:flex-end}.stats{gap:8px}.stat{padding:12px}.stat strong{font-size:21px}.detailhead{align-items:flex-start;flex-direction:column}}
/* CurseForge explorer */
.curseforge{border:1px solid #e7ebf1;border-radius:12px;background:#fff;padding:18px;margin-bottom:18px}
.cursehead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.cursehead h3,.cursehead p{margin:0}.cursehead h3{font-size:13px}.cursehead p{font-size:10px;color:#929cad;margin-top:5px}
.cursefilters{display:grid;grid-template-columns:1.4fr 1fr .8fr .8fr auto;gap:9px;align-items:end}
.cursefilters .field{margin:0}.cursebutton{height:35px;white-space:nowrap}
.curse-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.curse-card{border:1px solid #e9edf2;border-radius:9px;padding:12px;min-width:0}
.curse-modtop{display:flex;gap:10px;align-items:center}.curse-modtop img,.curse-placeholder{width:42px;height:42px;border-radius:8px;object-fit:cover;background:#f0f3f8}
.curse-placeholder{display:grid;place-items:center;font-size:11px;font-weight:800;color:#728098}
.curse-modinfo{min-width:0}.curse-modinfo h4{font-size:11px;margin:0 0 4px}.curse-modinfo p,.curse-summary{font-size:9px;color:#8e99a9;margin:0;line-height:1.5}
.curse-summary{margin:10px 0;min-height:28px}.curse-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.curse-actions a{font-size:10px;color:#536681;text-decoration:none}.curse-actions a:hover{text-decoration:underline}
.curse-files{margin-top:10px;border-top:1px solid #eef1f5}.curse-file{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #eef1f5}.curse-file b{font-size:10px;display:block}.curse-file small{font-size:8px;color:#929cad;display:block;margin-top:3px}
.curse-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px}.curse-error{color:#b33c3c!important}
@media(max-width:900px){.cursefilters{grid-template-columns:1fr 1fr}.cursequery{grid-column:span 2}.cursebutton{width:100%}}
@media(max-width:540px){.curse-results{grid-template-columns:1fr}.cursefilters{grid-template-columns:1fr}.cursequery{grid-column:auto}.cursehead{flex-direction:column}}

/* Selects do catálogo dinâmico do Minecraft */
.cursefilters select,.field select{min-height:35px}

/* Diagnóstico preliminar de compatibilidade */
.compat-box{border:1px solid #e7ebf1;border-radius:10px;padding:13px;margin:12px 0 15px;background:#fbfcfe}
.compat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}
.compat-head h3{font-size:12px;margin:0 0 4px}
.compat-head p{font-size:10px;color:#7f8b9d;margin:0;line-height:1.5}
.compat-row{display:flex;align-items:flex-start;gap:9px;padding:9px 0;border-top:1px solid #edf0f4}
.compat-row b{display:block;font-size:10px}
.compat-row small{display:block;font-size:9px;color:#8792a3;line-height:1.5;margin-top:3px}
.compat-dot{width:8px;height:8px;border-radius:50%;margin-top:3px;flex-shrink:0;background:#aab4c2}
.compat-dot.check{background:#398b67}.compat-dot.review{background:#c58b37}.compat-dot.unknown{background:#9aa3b1}
.compat-foot{font-size:9px;line-height:1.5;color:#929cad;margin:10px 0 0}

/* Mensagens de conexão da API */
.notice.error{border-color:#efc7c7;background:#fff8f8;color:#9b3d3d}
#agentTokenOutput{font-size:11px;line-height:1.6;max-height:180px}

/* Integração Pterodactyl */
.ptero-status{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border:1px solid #e7ebf1;border-radius:10px;margin:14px 0;background:#fbfcfe}
.ptero-status small,.ptero-status span{display:block;color:#8792a4;font-size:10px}
.ptero-status strong{display:block;font-size:14px;margin:5px 0}
.ptero-actions{display:flex;gap:8px;flex-wrap:wrap}
.ptero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 16px}
.ptero-feature{padding:13px;border:1px solid #e7ebf1;border-radius:9px;display:grid;gap:5px}
.ptero-feature b{font-size:11px}.ptero-feature span{font-size:10px;line-height:1.5;color:#8792a4}
@media(max-width:540px){.ptero-status{align-items:flex-start;flex-direction:column}.ptero-grid{grid-template-columns:1fr}.topright{flex-wrap:wrap}}

/* Navegação lateral responsiva para celular */
.topheading{display:flex;align-items:center;gap:12px;min-width:0}
.mobile-menu-btn{display:none;width:40px;height:40px;flex:0 0 40px;border:1px solid #e2e7ee;border-radius:9px;background:#fff;color:#1b2940;font-size:20px;align-items:center;justify-content:center}
.side-backdrop{display:none}
@media(max-width:900px){
 .side{display:flex;position:fixed;z-index:20;inset:0 auto 0 0;width:min(290px,84vw);height:100dvh;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 35px #1422381c}
 .side.open{transform:translateX(0)}
 .side-backdrop{display:block;position:fixed;inset:0;background:#10182780;z-index:19;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
 .side-backdrop.show{opacity:1;visibility:visible}
 .mobile-menu-btn{display:inline-flex}
 .top{align-items:center;flex-direction:row}
 .topheading{flex:1}
 .topright{width:auto;justify-content:flex-end}
}
@media(max-width:540px){
 .top{align-items:flex-start;flex-direction:row}
 .topheading{align-items:center}
 .topright{width:auto;justify-content:flex-end}
 .topright .agent{display:none}
 .topright .btn{padding:9px 10px}
 .top h1{font-size:21px}
}

/* Gerenciamento individual de servidor */
.manager-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e7ebf1;border-radius:10px;background:#fbfcfe;margin-bottom:12px}
.manager-status small,.resource-card small{display:block;color:#8792a4;font-size:9px;font-weight:750;letter-spacing:.06em}
.manager-status strong{display:block;font-size:16px;text-transform:capitalize;margin-top:5px}
.resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.resource-card{padding:13px;border:1px solid #e7ebf1;border-radius:10px;background:#fff;min-width:0}
.resource-card strong{display:block;font-size:22px;margin:8px 0 3px}
.resource-card span{display:block;font-size:9px;color:#929cad;min-height:14px}
.resource-track{height:5px;background:#eff2f6;border-radius:10px;margin-top:12px;overflow:hidden}
.resource-track i{display:block;width:0;height:100%;background:#8d9bb0}
.manager-section{padding:14px;border:1px solid #e7ebf1;border-radius:10px;margin:12px 0}
.manager-section .panelhead{margin-bottom:10px}
.manager-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-status{align-items:flex-start;flex-direction:column}}
