:root{
  --navy:#061523;--navy-2:#081b2c;--navy-3:#0b2237;--panel:#0b1d30;--panel-2:#10283e;
  --line:#1e3b56;--line-soft:#dbe5ef;--text:#f7fbff;--muted:#9fb5c9;--ink:#0b1930;
  --blue:#0d73ff;--blue-2:#0a5fe0;--green:#17c982;--purple:#7a3ff2;--orange:#ff9b16;--red:#ff3d5f;
  --gold:#f0ac38;--white:#fff;--bg:#f6f9fd;--shadow:0 14px 34px rgba(14,42,70,.08);
}
*{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{background:var(--bg)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.hidden{display:none!important}.icon-svg{width:1em;height:1em;display:block}.muted{color:#748ba0}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.ok{color:#31d88f}.warn{color:#f5b83f}.danger{color:#ff5d73}

/* SUPER ADMIN SHELL */
.admin-body{background:#f5f8fc;color:var(--ink)}
.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--bg)}
.sidebar{height:100vh;position:sticky;top:0;overflow:auto;background:linear-gradient(180deg,#071523 0%,#092239 100%);border-right:1px solid #173650;padding:14px 12px 20px;color:#fff;z-index:40;scrollbar-width:thin;scrollbar-color:#254966 transparent}
.brand{display:flex;gap:12px;align-items:center}.admin-brand{padding:2px 8px 16px}.brand-mark{width:54px;height:54px;display:grid;place-items:center;color:var(--gold)}.brand-mark .icon-svg{width:51px;height:51px;stroke-width:1.55}.brand-name{font-weight:800;font-size:26px;line-height:1;letter-spacing:-.7px}.brand-name span{color:#f3b33f}.brand-sub{font-size:9px;letter-spacing:.55px;color:#d9e6f3;margin-top:5px}.brand-badge{display:inline-flex;margin-top:7px;padding:4px 12px;border-radius:5px;background:#1280ff;color:#fff;font-size:10px;font-weight:800;letter-spacing:.25px}
.nav{display:grid;gap:3px}.nav a{min-height:42px;display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:7px;color:#c9daea;font-size:13px;transition:.18s ease}.nav a:hover{background:#0d2c47;color:#fff}.nav a.active{background:linear-gradient(90deg,#0e64ef,#167cff);color:#fff;box-shadow:0 9px 24px rgba(13,105,244,.25)}.nav-ico{width:22px;height:22px;display:grid;place-items:center;color:#a8c8ea;flex:0 0 22px}.nav a.active .nav-ico{color:#fff}.nav-ico .icon-svg{width:20px;height:20px}.nav-section{display:none}.nav-bottom{margin-top:16px;padding-top:14px;border-top:1px solid #1b3a55}
.main{min-width:0;background:#f7f9fc;color:var(--ink)}
.topbar{height:72px;position:sticky;top:0;z-index:35;display:grid;grid-template-columns:minmax(320px,520px) 1fr auto;align-items:center;gap:18px;padding:0 20px;background:linear-gradient(90deg,#071523 0%,#051421 54%,#061726 100%);border-bottom:1px solid #173650;color:#fff;box-shadow:0 2px 12px rgba(4,20,34,.08)}
.top-search-wrap{position:relative;min-width:0}.search{display:flex;align-items:center}.panel-search{height:40px;border:1px solid #214b70;border-radius:7px;background:#0d2943;padding:0 10px 0 12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.015);transition:.18s}.panel-search:focus-within{border-color:#397cc1;box-shadow:0 0 0 3px rgba(30,120,255,.12)}.search-ico{width:20px;height:20px;color:#b8d3ec;display:grid;place-items:center;flex:0 0 20px;margin-right:10px}.search-ico .icon-svg{width:18px;height:18px}.panel-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.panel-search input::placeholder{color:#c0d0df}.kbd{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #346186;background:#0b2238;border-radius:5px;color:#d1e1ee;font-size:10px;padding:3px 7px;margin-left:10px}
.search-results{display:none;position:absolute;left:0;right:0;top:48px;background:#0c1d2e;border:1px solid #294863;border-radius:10px;box-shadow:0 18px 45px rgba(0,0,0,.35);padding:8px;max-height:420px;overflow:auto;z-index:80}.search-results.open{display:block}.search-results-title{padding:8px 9px 7px;color:#7893aa;text-transform:uppercase;font-size:9px;letter-spacing:.9px;font-weight:800}.search-result-item{display:grid;grid-template-columns:30px 1fr 16px;align-items:center;gap:9px;color:#dfeaf4;padding:9px;border-radius:7px;font-size:12px}.search-result-item:hover,.search-result-item.keyboard-active{background:#123553;color:#fff}.search-result-icon{width:30px;height:30px;border-radius:7px;background:#0f2b44;color:#65a7ff;display:grid;place-items:center}.search-result-icon .icon-svg{width:16px;height:16px}.search-result-arrow{color:#718aa0}.search-empty{display:none;padding:20px;text-align:center;color:#8399ad;font-size:12px}
.top-actions{justify-self:end;display:flex;align-items:center;gap:10px;min-width:0}.top-clock{min-width:205px;text-align:center;padding:0 12px}.clock-date{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#dce8f2;white-space:nowrap}.clock-calendar{color:#a9d0ff;display:grid;place-items:center}.clock-calendar .icon-svg{width:15px;height:15px}.clock-time{font-size:22px;font-weight:800;line-height:1.05;letter-spacing:.2px;margin-top:1px}.clock-zone{font-size:9px;color:#aebfd0}.top-separator{width:1px;height:42px;background:#19364e;margin:0 2px}.top-action-btn{position:relative;width:38px;height:38px;border:0;border-radius:8px;background:transparent;color:#bed5e9;display:grid;place-items:center;cursor:pointer;transition:.16s}.top-action-btn:hover{background:#102b43;color:#fff}.top-action-btn .icon-svg{width:21px;height:21px}.badge-dot{position:absolute;right:0;top:0;min-width:17px;height:17px;border-radius:9px;background:#ff3047;border:2px solid #061523;color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;padding:0 3px}.top-user{margin-left:4px;min-width:174px;display:grid;grid-template-columns:38px 1fr 16px;align-items:center;gap:9px;border:0;border-left:1px solid #183650;background:transparent;color:#fff;text-align:left;padding:0 0 0 16px;cursor:pointer}.top-user:hover .details strong{color:#8fc3ff}.avatar{border-radius:50%;display:grid;place-items:center;font-weight:800}.top-avatar{width:38px;height:38px;background:linear-gradient(135deg,#3c63e9,#5576f0);border:1px solid #6687f7;color:#fff;font-size:11px}.top-user .details{min-width:0}.top-user .details strong{display:block;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-user .details small{display:block;margin-top:3px;color:#a8bfd2;font-size:10px;white-space:nowrap}.top-user-chevron{color:#96aec2;font-size:17px}
.content{padding:16px 18px 28px;min-height:calc(100vh - 72px)}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}.page-head h1{margin:0;color:#0a1830;font-size:26px;letter-spacing:-.5px}.page-head p{margin:3px 0 0;color:#536c86;font-size:14px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #d8e3ef;background:#fff;padding:8px 10px;border-radius:7px;color:#2a4967;font-size:11px}

/* CORE CONTENT COMPONENTS */
.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.stat{border-radius:8px;padding:14px;color:#fff;min-height:102px;position:relative;overflow:hidden;box-shadow:0 9px 20px rgba(14,39,65,.09)}.stat:after{content:"";position:absolute;width:92px;height:92px;border-radius:50%;background:rgba(255,255,255,.07);right:-25px;bottom:-36px}.stat .ico{font-size:25px;opacity:.96}.stat .value{font-size:24px;font-weight:800;margin-top:5px}.stat .label{font-size:13px}.stat .sub{font-size:10px;margin-top:4px;opacity:.9}.blue{background:linear-gradient(135deg,#0869fb,#1795ff)}.green{background:linear-gradient(135deg,#12b76a,#23d09f)}.purple{background:linear-gradient(135deg,#6d30f6,#9852ff)}.orange{background:linear-gradient(135deg,#ff8a09,#ffb920)}.red{background:linear-gradient(135deg,#ef294e,#ff526c)}
.grid-3{display:grid;grid-template-columns:1.25fr 1fr .9fr;gap:12px}.grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}.card{background:#fff;border:1px solid #dbe5ef;border-radius:9px;box-shadow:0 4px 16px rgba(19,48,78,.045);min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #edf2f7}.card-head h2{font-size:14px;margin:0;color:#10243e}.card-body{padding:14px}.card-link{font-size:10px;color:#0d6efd;font-weight:700}.core-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.core-pill{background:#0c1d2f;border:1px solid #1c3a57;color:#fff;border-radius:8px;padding:10px 11px}.core-pill .mini{font-size:9px;color:#8fa9bf}.core-pill .big{font-weight:700;margin-top:3px;font-size:13px}
.upload{border:1px dashed #8aa6be;border-radius:9px;padding:24px;text-align:center;background:#f8fbff}.upload .big-icon{font-size:38px;color:#3585ff}.upload h3{margin:8px 0 4px;font-size:15px}.upload p{margin:0;color:#69809a;font-size:11px}.file-input{margin:14px auto 0;max-width:420px}.file-input input{width:100%}.btn-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.btn{border:0;border-radius:7px;padding:10px 14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px}.btn .icon-svg{width:16px;height:16px}.btn-primary{background:#096dff;color:#fff}.btn-success{background:#19bf77;color:#fff}.btn-light{background:#edf3f9;color:#264461;border:1px solid #d4e0ec}.btn-danger{background:#e73f55;color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-sm{padding:7px 10px;font-size:11px}
.alert{padding:10px 12px;border-radius:8px;margin-bottom:12px;font-size:12px}.alert-success{background:#e8fbf3;border:1px solid #bfeeda;color:#126c4a}.alert-error{background:#fff0f2;border:1px solid #ffd0d7;color:#a72338}.alert-info{background:#edf6ff;border:1px solid #cce2ff;color:#1c5c97}.alert-warning{background:#fff8e8;border:1px solid #ffe5ad;color:#8d5c00}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:11px}.table th,.table td{padding:9px 8px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle}.table th{color:#5e7389;font-weight:700;background:#fbfdff}.table td{color:#213851}.status{display:inline-flex;padding:4px 8px;border-radius:6px;font-weight:700;font-size:9px}.status-active{background:#dff8ed;color:#13724f}.status-update{background:#e8f2ff;color:#155ca3}.status-failed{background:#ffe8ec;color:#b1243b}.tag{display:inline-flex;padding:3px 6px;border-radius:5px;background:#edf3fa;color:#3e5a75;font-size:9px}.preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.preview-item{background:#f7faff;border:1px solid #dfebf5;border-radius:8px;padding:10px}.preview-item .k{font-size:9px;color:#70869b}.preview-item .v{font-weight:800;color:#163657;margin-top:3px;word-break:break-word;font-size:12px}.checkline{display:flex;align-items:flex-start;gap:8px;margin-top:12px;color:#35516d;font-size:11px}.checkline input{margin-top:2px}.logs{max-height:360px;overflow:auto;background:#061523;color:#d8e9f7;border-radius:8px;padding:10px}.log-row{display:grid;grid-template-columns:125px 75px 100px 1fr;gap:8px;padding:6px 3px;border-bottom:1px solid #173650;font-size:10px}.log-row:last-child{border-bottom:0}.log-level-ERROR{color:#ff7182}.log-level-WARNING{color:#ffc85c}.log-level-INFO{color:#7bd3ff}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid.one-column{grid-template-columns:1fr;max-width:640px}.field{margin-bottom:13px}.field label{display:block;font-size:11px;color:#c9d9e7;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid #38536e;background:#142a3f;color:#fff;padding:12px;border-radius:8px;outline:0}.light-field{margin:0}.light-field label{color:#405d78}.light-field input{background:#fff;color:#15314f;border-color:#d8e4ef}.account-page-card{max-width:850px}

/* OFFCANVAS */
.offcanvas-backdrop{position:fixed;inset:0;background:rgba(0,12,24,.56);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.2s;z-index:90}.offcanvas-backdrop.show{opacity:1;visibility:visible}.offcanvas{position:fixed;top:0;right:0;width:min(410px,94vw);height:100vh;background:#081827;color:#e9f3fb;border-left:1px solid #254159;box-shadow:-20px 0 50px rgba(0,0,0,.35);transform:translateX(105%);transition:transform .25s ease;z-index:100;display:flex;flex-direction:column}.offcanvas.open{transform:translateX(0)}.offcanvas-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 20px 17px;border-bottom:1px solid #1b354d}.offcanvas-head h2{margin:2px 0 0;font-size:21px}.offcanvas-eyebrow{font-size:9px;color:#5da3ff;font-weight:800;letter-spacing:1.2px}.offcanvas-close{width:34px;height:34px;border:1px solid #2b4a64;border-radius:8px;background:#0d2235;color:#c4d8e9;display:grid;place-items:center;cursor:pointer}.offcanvas-close:hover{background:#173650;color:#fff}.offcanvas-close .icon-svg{width:18px;height:18px}.account-summary{display:flex;align-items:center;gap:13px;margin:18px 18px 12px;padding:15px;border:1px solid #203c55;border-radius:10px;background:#0c2033}.account-avatar{width:54px;height:54px;background:linear-gradient(135deg,#3e62e8,#6e55ee);border:1px solid #708af5;color:#fff}.account-summary strong{display:block;font-size:14px}.account-summary span:not(.avatar){display:block;color:#b2c7d8;font-size:11px;margin-top:3px}.account-summary small{display:block;color:#6e8aa3;font-size:10px;margin-top:3px}.offcanvas-menu{display:grid;gap:5px;padding:8px 16px}.offcanvas-menu a{display:grid;grid-template-columns:42px 1fr 15px;align-items:center;gap:10px;padding:11px;border-radius:9px;color:#d9e8f4;border:1px solid transparent}.offcanvas-menu a:hover{background:#0c2236;border-color:#1f405b}.offcanvas-menu-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;background:#102840}.offcanvas-menu-icon .icon-svg{width:20px;height:20px}.blue-icon{color:#4d9cff}.green-icon{color:#39d68f}.purple-icon{color:#9f6aff}.offcanvas-menu a strong{display:block;font-size:12px}.offcanvas-menu a small{display:block;color:#7893a9;font-size:10px;margin-top:2px}.offcanvas-menu a b{color:#668198;font-size:18px;font-weight:400}.offcanvas-footer{margin-top:auto;padding:16px;border-top:1px solid #1a344c;background:#071522}.drawer-logout{width:100%;height:42px;border:1px solid #5d2e3d;border-radius:8px;background:#271621;color:#ff7186;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:700;cursor:pointer}.drawer-logout .icon-svg{width:18px;height:18px}.notification-toolbar{padding:13px 16px 7px;border-bottom:1px solid #19344c}.drawer-tabs{display:flex;gap:4px;background:#061522;border:1px solid #1d3952;border-radius:8px;padding:4px}.drawer-tab{flex:1;border:0;border-radius:6px;background:transparent;color:#7893aa;padding:7px 5px;font-size:10px;font-weight:700;cursor:pointer}.drawer-tab.active{background:#126cf4;color:#fff}.drawer-tab span{display:inline-grid;place-items:center;min-width:16px;height:16px;border-radius:9px;background:rgba(255,255,255,.18);font-size:9px}.mark-all{margin:9px 0 1px auto;border:0;background:transparent;color:#6daeff;font-size:10px;font-weight:700;display:flex;align-items:center;gap:5px;cursor:pointer}.mark-all .icon-svg{width:14px;height:14px}.notification-list{flex:1;overflow:auto;padding:8px 10px}.notification-item{display:grid;grid-template-columns:8px 1fr;gap:9px;padding:12px 10px;border-bottom:1px solid #183249}.notification-item:hover{background:#0b2033;border-radius:8px}.notification-dot{width:7px;height:7px;border-radius:50%;background:#506b82;margin-top:5px}.notification-item.unread .notification-dot{background:#2384ff;box-shadow:0 0 0 4px rgba(35,132,255,.12)}.notification-content strong{font-size:11px;color:#e6f0f8}.notification-content p{margin:4px 0;color:#93aabc;font-size:10px;line-height:1.4}.notification-content small{color:#617e95;font-size:9px}.notification-item.read{opacity:.72}.notification-footer{padding:14px 16px}.btn-drawer-primary{height:40px;border-radius:8px;background:#126df4;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px}.btn-drawer-primary .icon-svg{width:14px;height:14px}.empty-state{height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6f8aa0;text-align:center}.empty-state>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#0d263b;color:#6ba9ff;margin-bottom:10px}.empty-state>span .icon-svg{width:24px;height:24px}.empty-state strong{color:#c8dae8;font-size:12px}.empty-state small{margin-top:4px;font-size:10px}.notification-center-list{padding:0}.notification-center-item{display:grid;grid-template-columns:9px 1fr auto;gap:12px;align-items:start;padding:14px;border-bottom:1px solid #eef2f6}.notification-center-item:last-child{border-bottom:0}.notification-center-item strong{font-size:12px;color:#16334f}.notification-center-item p{margin:4px 0;color:#607991;font-size:11px}.notification-center-item small{color:#8195a8;font-size:9px}.notification-center-item.read{opacity:.78}.light-empty{height:300px}.light-empty>span{background:#e9f3ff;color:#2079f4}.light-empty strong{color:#244461}

/* LOGIN — FIDELIDADE À REFERÊNCIA */
.login-body{min-height:100vh;background:#071523;color:#fff;overflow:auto}.login-shell.superadmin-login{min-height:100vh;display:grid;grid-template-columns:minmax(570px,50.91vw) minmax(650px,1fr);background:#071523}.login-visual{min-height:100vh;background-image:url('/assets/images/superadmin-login-left.jpg');background-size:cover;background-position:left top;background-repeat:no-repeat;position:relative}.login-panel{min-height:100vh;background:radial-gradient(circle at 70% -15%,rgba(43,79,108,.22),transparent 37%),linear-gradient(180deg,#0a1a2a 0%,#071624 100%);display:flex;align-items:flex-start;padding:24px 27px 34px 40px;overflow:auto}.login-card{width:100%;max-width:690px;margin:0 auto;position:relative}.restricted{margin-left:auto;width:212px;height:66px;border:1px solid #744149;background:rgba(58,27,34,.76);border-radius:12px;color:#ff8a86;display:flex;align-items:center;gap:10px;padding:11px 14px}.restricted>span{width:31px;height:31px;display:grid;place-items:center}.restricted .icon-svg{width:28px;height:28px}.restricted strong{display:block;font-size:13px}.restricted small{display:block;color:#ff7d78;font-size:11px;margin-top:3px}.login-heading{margin-top:53px}.login-heading h1{margin:0;font-size:31px;line-height:1.15;letter-spacing:-.45px}.login-heading p{margin:5px 0 0;color:#b7c8d7;font-size:17px}.login-time-card{margin-top:29px;height:114px;border:1px solid #28445d;background:#0d2032;border-radius:12px;padding:20px 23px;display:grid;grid-template-columns:1fr 1px 1.15fr;gap:25px;align-items:center}.date-block,.clock-block{display:flex;align-items:center;gap:15px}.time-icon{width:48px;height:48px;color:#3a92ff;display:grid;place-items:center}.time-icon .icon-svg{width:42px;height:42px;stroke-width:1.7}.date-block strong{display:block;font-size:16px}.date-block span:not(.time-icon){display:block;color:#c6d4df;font-size:14px;margin-top:7px}.clock-block .time{font-size:31px;line-height:1;font-weight:800;display:block;letter-spacing:.6px}.clock-block span:not(.time-icon){display:block;color:#c4d3df;font-size:12px;margin-top:7px}.time-divider{width:1px;height:66px;background:#31516a}.login-alert{margin:12px 0 -10px}.auth-box{margin-top:22px;border:1px solid #2a475f;background:#0b1f31;border-radius:12px;padding:22px 23px}.login-field{min-height:73px;border:1px solid #36536c;background:#142b40;border-radius:10px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:0 13px;margin-bottom:18px;color:#9bb7d2}.field-icon{width:34px;height:42px;display:grid;place-items:center;color:#89acd0}.field-icon .icon-svg{width:23px;height:23px}.field-copy{min-width:0;display:block}.field-copy small{display:block;color:#a9bdd0;font-size:12px;margin-bottom:4px}.field-copy input{width:100%;border:0;background:transparent;color:#fff;outline:0;font-size:16px;padding:0}.field-copy input::placeholder{color:#fff;opacity:.95}.password-toggle{width:42px;height:42px;border:1px solid #24507a;border-radius:8px;background:#113c69;color:#739dcd;display:grid;place-items:center;cursor:pointer}.password-toggle:hover{color:#fff}.password-toggle .icon-svg{width:21px;height:21px}.auth-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 1px 0;color:#c8d6e2;font-size:12px}.remember-line{display:flex;align-items:center;gap:9px}.remember-line input{appearance:none;width:22px;height:22px;border:1px solid #50708c;border-radius:5px;background:#0f2436;position:relative;cursor:pointer}.remember-line input:checked{background:#1878ff;border-color:#1878ff}.remember-line input:checked:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:14px;font-weight:900}.auth-actions a{color:#43a0ff;text-decoration:underline;text-underline-offset:2px}.login-submit{margin-top:25px;width:100%;height:73px;border:0;border-radius:12px;background:linear-gradient(90deg,#0e6df9 0%,#0e79ff 72%,#0a6df0 100%);box-shadow:0 12px 28px rgba(8,105,247,.22);color:#fff;display:grid;grid-template-columns:40px 1fr 30px;align-items:center;padding:0 20px;font-size:19px;font-weight:800;cursor:pointer}.login-submit:hover{filter:brightness(1.04)}.login-submit .icon-svg{width:25px;height:25px}.login-submit b{font-size:32px;font-weight:300}.secure-divider{display:flex;align-items:center;gap:12px;margin:32px 0 23px;color:#a7b9c9;font-size:12px}.secure-divider:before,.secure-divider:after{content:"";height:1px;background:#29455c;flex:1}.secure-divider span{white-space:nowrap;display:flex;align-items:center;gap:8px}.secure-divider .icon-svg{width:15px;height:15px}.security-row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;border:1px solid #1d394f;border-radius:12px;padding:28px 15px 24px;background:rgba(5,20,32,.16);text-align:center}.security-item{display:flex;flex-direction:column;align-items:center;border:0;padding:0;color:#d9e5ef;font-size:12px}.security-icon{height:38px;display:grid;place-items:center;margin-bottom:8px}.security-icon .icon-svg{width:31px;height:31px;stroke-width:1.7}.security-item strong{font-size:12px}.security-item small{display:block;color:#a4b7c7;font-size:11px;margin-top:5px}.secure-green .security-icon{color:#33d58f}.secure-blue .security-icon{color:#4299ff}.secure-purple .security-icon{color:#9c54ff}.secure-orange .security-icon{color:#f3a12d}

.mobile-toggle{display:none}
@media(max-width:1260px){.topbar{grid-template-columns:minmax(260px,430px) 1fr auto}.top-clock{min-width:170px}.stat-grid{grid-template-columns:repeat(3,1fr)}.grid-3{grid-template-columns:1fr 1fr}.grid-3>.card:last-child{grid-column:1/-1}.core-strip{grid-template-columns:repeat(2,1fr)}.login-shell.superadmin-login{grid-template-columns:46vw 1fr}.login-visual{background-position:center top}.login-panel{padding-left:28px}.login-heading{margin-top:38px}}
@media(max-width:1020px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-280px;width:260px;transition:left .22s ease;box-shadow:none}.sidebar.open{left:0;box-shadow:12px 0 30px rgba(0,0,0,.32)}.mobile-toggle{display:grid}.topbar{grid-template-columns:38px minmax(230px,1fr) auto;padding:0 12px;gap:10px}.top-clock{display:none}.top-separator{display:none}.top-user{min-width:48px;width:48px;padding-left:9px}.top-user .details,.top-user-chevron{display:none}.content{padding:14px}.grid-2,.grid-3{grid-template-columns:1fr}.grid-3>.card:last-child{grid-column:auto}.preview{grid-template-columns:repeat(2,1fr)}.login-shell.superadmin-login{grid-template-columns:1fr}.login-visual{display:none}.login-panel{padding:24px 18px}.login-card{max-width:720px}.restricted{margin-left:auto}.login-heading{margin-top:25px}}
@media(max-width:680px){.topbar{grid-template-columns:38px 1fr auto}.panel-search{height:38px}.kbd{display:none}.top-actions{gap:3px}.top-action-btn:nth-of-type(3){display:none}.stat-grid{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.core-strip{grid-template-columns:1fr}.preview{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.login-panel{padding:18px 12px 25px}.restricted{width:190px;height:58px}.login-heading h1{font-size:27px}.login-heading p{font-size:14px}.login-time-card{height:auto;grid-template-columns:1fr;gap:14px;padding:17px}.time-divider{width:100%;height:1px}.clock-block .time{font-size:27px}.auth-box{padding:16px}.login-field{min-height:65px}.auth-actions{align-items:flex-start;flex-direction:column}.login-submit{height:62px;font-size:17px}.security-row{grid-template-columns:1fr 1fr;gap:24px 10px}.secure-divider span{white-space:normal;text-align:center}.notification-center-item{grid-template-columns:8px 1fr}.notification-center-item .status{grid-column:2}}

/* Core updater manual flow v0.1.0-dev.15 */
.manual-update-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.manual-step{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dce7f1;border-radius:10px;background:#fff;color:#60768d;min-height:66px}.manual-step>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf3f9;border:1px solid #d6e2ed;font-weight:800;color:#5d748d;flex:0 0 auto}.manual-step strong{display:block;font-size:12px;color:#294761}.manual-step small{display:block;font-size:9px;margin-top:2px;color:#7f92a4}.manual-step.current{border-color:#2c82ff;box-shadow:0 0 0 2px rgba(44,130,255,.08);background:#f4f9ff}.manual-step.current>span{background:#0b72ff;color:#fff;border-color:#0b72ff}.manual-step.done{border-color:#b9ead5;background:#f3fcf8}.manual-step.done>span{background:#1abf7a;color:#fff;border-color:#1abf7a}.manual-update-grid{align-items:start}.manual-stage-head{display:flex;gap:12px;align-items:flex-start;margin:2px 0 16px}.stage-number{width:38px;height:38px;border-radius:10px;background:#eaf3ff;color:#0872ff;display:grid;place-items:center;font-size:16px;font-weight:900;flex:0 0 auto}.manual-stage-head h3{margin:1px 0 4px;font-size:15px;color:#163657}.manual-stage-head p{margin:0;color:#687f94;font-size:11px;line-height:1.55}.manual-upload{padding:30px 20px}.manual-upload .big-icon{display:flex;justify-content:center}.manual-upload .big-icon .icon-svg{width:44px;height:44px}.manual-file-picker{display:inline-flex;margin-top:14px;position:relative;overflow:hidden}.manual-file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.manual-file-picker span{display:inline-flex;padding:9px 13px;border-radius:7px;background:#eaf3ff;color:#1768c8;border:1px solid #cde0f5;font-size:11px;font-weight:800}.manual-file-name{font-size:10px;color:#607a91;margin-top:9px;word-break:break-all}.manual-package-summary{display:grid;grid-template-columns:minmax(0,1fr) 120px 150px;gap:8px;margin-bottom:16px}.manual-package-summary>div{padding:10px;border:1px solid #e0eaf3;background:#f9fbfd;border-radius:8px;min-width:0}.summary-label{display:block;font-size:9px;color:#71869a;margin-bottom:3px}.manual-package-summary strong{display:block;font-size:11px;color:#1f3d59;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.manual-status{font-size:10px!important}.status-uploaded,.status-validation_failed{color:#8a5b00!important}.status-validated{color:#116c49!important}.status-installing{color:#155ca3!important}.status-completed{color:#0d7b50!important}.status-failed{color:#b1243b!important}.manual-preview .preview-item.full{grid-column:1/-1}.manual-description{margin:10px 0 16px;padding:10px 12px;border-left:3px solid #2f84ff;background:#f4f8fd;color:#4f6780;font-size:11px;line-height:1.5;border-radius:0 7px 7px 0}.manual-confirm{padding:12px;border:1px solid #cfe2f7;border-radius:8px;background:#f6faff}.manual-confirm strong{color:#193c5d}.manual-discard{margin-top:10px}.manual-rules{display:grid;gap:10px}.manual-rules>div{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start;padding:10px;border:1px solid #e4edf5;border-radius:8px;background:#fbfdff}.manual-rules>div>span{width:27px;height:27px;border-radius:7px;background:#eaf3ff;color:#0b72ff;display:grid;place-items:center;font-weight:900;font-size:11px}.manual-rules p{margin:0;color:#5f768d;font-size:10px;line-height:1.45}.manual-rules strong{color:#244761}.manual-result{display:flex;gap:12px;align-items:center;padding:14px;border-radius:10px;margin-bottom:14px}.manual-result .result-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}.manual-result .result-icon .icon-svg{width:22px;height:22px}.manual-result h3{margin:0 0 3px;font-size:15px}.manual-result p{margin:0;font-size:11px}.manual-result.success{background:#eefbf5;border:1px solid #bfead6;color:#176b4d}.manual-result.success .result-icon{background:#1abf7a;color:#fff}.manual-result.failed{background:#fff1f3;border:1px solid #ffd1d8;color:#9c2940}.manual-result.failed .result-icon{background:#e44d62;color:#fff}.btn.is-busy{opacity:.7;pointer-events:none}.btn.is-busy:after{content:"";width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:coreUpdateSpin .7s linear infinite}@keyframes coreUpdateSpin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.manual-update-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-package-summary{grid-template-columns:1fr 1fr}.manual-package-summary>div:first-child{grid-column:1/-1}}
@media(max-width:620px){.manual-update-steps{grid-template-columns:1fr}.manual-package-summary{grid-template-columns:1fr}.manual-package-summary>div:first-child{grid-column:auto}.manual-step{min-height:auto}.manual-update-grid{display:block}.manual-update-grid>.card+ .card{margin-top:12px}.manual-preview{grid-template-columns:1fr 1fr}}

/* Core updater v3 — validation report */
.validation-report{margin:12px 0 16px;border:1px solid #cfe3f6;border-radius:10px;background:#fbfdff;overflow:hidden}.validation-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f2f8ff;border-bottom:1px solid #dbe9f6}.validation-report-head strong{display:block;color:#163b5c;font-size:12px}.validation-report-head small{display:block;color:#71869a;font-size:9px;margin-top:2px}.validation-check-list{display:grid}.validation-check{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf3f8}.validation-check:last-child{border-bottom:0}.validation-check-icon{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;background:#e7f8f1;color:#15945f}.validation-check-icon .icon-svg{width:15px;height:15px}.validation-check strong{display:block;color:#294761;font-size:10px}.validation-check small{display:block;color:#7b8fa2;font-size:9px;margin-top:2px;line-height:1.35}.validation-pass{font-size:9px;font-weight:900;color:#168255;background:#e9f9f2;border:1px solid #c8eedc;border-radius:999px;padding:4px 7px}.package-files{margin:12px 0 16px;border:1px solid #dfeaf4;border-radius:9px;background:#fbfdff}.package-files summary{cursor:pointer;padding:10px 12px;color:#244761;font-size:10px;font-weight:800}.package-files summary span{color:#8294a5;font-weight:600}.package-file-list{max-height:240px;overflow:auto;border-top:1px solid #e8f0f7}.package-file-list>div{display:flex;align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid #eff4f8;font-size:9px;color:#536d84}.package-file-list>div:last-child{border-bottom:0}.package-file-list .icon-svg{width:13px;height:13px;color:#2d7ee8;flex:0 0 auto}.package-file-list code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px;word-break:break-all}.install-ready{margin-top:18px;padding-top:14px;border-top:1px dashed #d8e5f1}.btn-install-core{min-width:190px;justify-content:center}.validation-approved{margin-top:2px}
@media(max-width:620px){.validation-report-head{align-items:flex-start}.validation-check{grid-template-columns:26px minmax(0,1fr)}.validation-pass{grid-column:2;justify-self:start}.package-file-list{max-height:190px}}


/* Core updater automático v0.1.0-dev.34 */
.automatic-update-steps .manual-step strong{font-size:12px}
.btn-auto-core-update{min-width:230px;justify-content:center}
.automatic-install-divider{height:1px;background:linear-gradient(90deg,transparent,#cfe0ee,transparent);margin:18px 0}
.automatic-processing{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #cfe2f7;border-radius:10px;background:#f4f9ff;color:#24547f}
.automatic-processing strong{display:block;font-size:12px}
.automatic-processing small{display:block;margin-top:3px;color:#6d8297;font-size:10px;line-height:1.45}
.automatic-spinner{width:28px;height:28px;border:3px solid #b8d6f8;border-top-color:#0b72ff;border-radius:50%;animation:coreUpdateSpin .8s linear infinite;flex:0 0 auto}

.auto-update-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(3,15,27,.78);backdrop-filter:blur(5px)}
.auto-update-modal{width:min(560px,100%);background:#fff;border:1px solid #dce8f3;border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.32);padding:26px;color:#173956;text-align:center}
.auto-update-brand{font-size:11px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#0b72ff;margin-bottom:12px}
.auto-update-loader{width:54px;height:54px;margin:0 auto 16px;border:5px solid #dcecff;border-top-color:#0b72ff;border-radius:50%;animation:coreUpdateSpin .8s linear infinite}
.auto-update-modal h3{margin:0 0 7px;font-size:20px;color:#143754}
.auto-update-modal>p{margin:0 auto 18px;max-width:440px;color:#657c91;font-size:11px;line-height:1.55}
.auto-update-stage-list{display:grid;gap:8px;text-align:left}
.auto-stage{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e2eaf2;border-radius:9px;background:#fbfdff;opacity:.62}
.auto-stage>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf3f8;color:#60778d;font-size:11px;font-weight:900}
.auto-stage strong{display:block;font-size:11px;color:#27465f}
.auto-stage small{display:block;margin-top:2px;color:#7e91a3;font-size:9px}
.auto-stage.active{opacity:1;border-color:#7db6ff;background:#f3f8ff;box-shadow:0 0 0 2px rgba(20,116,255,.07)}
.auto-stage.active>span{background:#0b72ff;color:#fff}
.auto-stage.done{opacity:1;border-color:#bde9d6;background:#f3fcf7}
.auto-stage.done>span{background:#19bb78;color:#fff}
.auto-update-note{margin-top:15px;padding:9px 10px;border-radius:8px;background:#eef8ff;color:#4d6f8e;font-size:9px}
@media(max-width:620px){.auto-update-modal{padding:20px 14px}.auto-update-modal h3{font-size:17px}.btn-auto-core-update{width:100%;min-width:0}}

/* =========================================================
   DireitoEAD Core v0.1.0-dev.34 — Super Admin reference UI
   ========================================================= */
.top-user-chevron{display:grid;place-items:center;width:18px;height:18px;transition:transform .18s ease;color:#a8c3dc}.top-user-chevron .icon-svg{width:14px;height:14px}.top-user:hover .top-user-chevron{transform:translateY(2px);color:#fff}
.module-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.module-upload-box{border:1px dashed #91aac1;border-radius:11px;background:#f7fbff;padding:26px 18px;text-align:center;margin-bottom:12px}.module-upload-icon{width:58px;height:58px;border-radius:14px;background:#eaf3ff;color:#1472ff;display:grid;place-items:center;margin:0 auto 10px}.module-upload-icon .icon-svg{width:29px;height:29px}.module-upload-box h3{margin:0 0 5px;font-size:15px}.module-upload-box p{margin:0 auto 14px;color:#6e8298;font-size:11px;max-width:460px}.file-button{display:inline-block;position:relative;overflow:hidden;margin:0 0 8px}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-button span{display:inline-flex;background:#0b72ff;color:#fff;border-radius:7px;padding:9px 13px;font-size:11px;font-weight:800}.module-preview-card{margin-bottom:14px}

/* Dashboard — dark reference */
.route-dashboard .main{background:#061421;color:#eaf3fb}.route-dashboard .content{background:radial-gradient(circle at 40% -10%,rgba(17,73,118,.2),transparent 34%),#061421}.route-dashboard .dash-head h1{color:#fff}.route-dashboard .dash-head p{color:#b1c4d4}.dash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.dash-head h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.45px}.dash-head p{margin:4px 0 0;font-size:13px}.dash-status-strip{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;min-width:min(650px,56vw)}.dash-status-strip>span{position:relative;display:grid;grid-template-columns:28px 1fr auto;grid-template-rows:auto auto;gap:1px 8px;align-items:center;min-height:56px;padding:8px 10px;background:#0d2134;border:1px solid #173852;border-radius:8px;box-shadow:0 7px 20px rgba(0,0,0,.12)}.dash-status-strip .icon-svg{grid-row:1/3;width:21px;height:21px;color:#80baff}.dash-status-strip small{font-size:8px;color:#91a9bd}.dash-status-strip strong{font-size:11px;color:#fff}.dash-status-strip b{grid-column:3;grid-row:1/3;align-self:center;font-size:8px;color:#27e58f;background:#143f35;border:1px solid #1e7659;padding:4px 6px;border-radius:999px}.dash-status-strip b.online{background:none;border:0;padding:0;color:#22e58d;font-size:12px}
.dash-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.dash-stat{position:relative;display:grid;grid-template-columns:52px 1fr;gap:9px;align-items:center;min-height:92px;border-radius:9px;padding:12px 14px;color:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.18)}.dash-stat:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-45px;bottom:-55px;background:rgba(255,255,255,.07)}.dash-stat>span{width:46px;height:46px;border-radius:9px;background:rgba(255,255,255,.1);display:grid;place-items:center;z-index:1}.dash-stat>span .icon-svg{width:27px;height:27px}.dash-stat strong{font-size:23px;line-height:1}.dash-stat p{font-size:12px;margin:4px 0 2px}.dash-stat small{font-size:9px;opacity:.87}.dash-stat.blue{background:linear-gradient(135deg,#0755c9,#0878ff)}.dash-stat.green{background:linear-gradient(135deg,#087a59,#10b87f)}.dash-stat.purple{background:linear-gradient(135deg,#5223a7,#8738e8)}.dash-stat.orange{background:linear-gradient(135deg,#8c4c11,#bb721a)}.dash-stat.red{background:linear-gradient(135deg,#8b163c,#b71d49)}
.dash-grid-main{display:grid;grid-template-columns:1.45fr .9fr .9fr .9fr;gap:12px;margin-bottom:12px}.dash-grid-bottom{display:grid;grid-template-columns:1.2fr .95fr 1.05fr;gap:12px;margin-bottom:12px}.dash-grid-footer{display:grid;grid-template-columns:1.05fr .85fr 1.05fr;gap:12px}.dash-panel{background:linear-gradient(180deg,#0a1c2d,#081827);border:1px solid #173650;border-radius:9px;color:#dce8f3;box-shadow:0 9px 25px rgba(0,0,0,.15);min-width:0;overflow:hidden}.dash-panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 12px;border-bottom:1px solid #17344b}.dash-panel-head h2{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;color:#f4f8fc}.dash-panel-head h2 .icon-svg{width:17px;height:17px;color:#6eafff}.dash-panel-head h2 small{font-size:9px;font-weight:500;color:#91a7ba}.dash-panel-head>a,.dash-panel-head>span,.dash-panel-head>div a{font-size:9px;color:#6cb0ff}.dash-panel-head>div{display:flex;gap:6px;flex-wrap:wrap}.dash-chart-line{height:180px;padding:16px 13px 8px;color:#28df93;position:relative;background:linear-gradient(180deg,rgba(5,35,56,.1),rgba(2,13,23,.18))}.dash-line-svg{width:100%;height:135px;filter:drop-shadow(0 4px 9px rgba(25,220,145,.1))}.dash-axis{display:flex;justify-content:space-between;color:#7590a5;font-size:8px;border-top:1px solid #1a354a;padding-top:5px}.dash-donut-row{display:flex;align-items:center;justify-content:center;gap:18px;padding:18px 12px}.dash-donut{--pct:70;position:relative;width:116px;height:116px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:conic-gradient(#2ca5ff calc(var(--pct)*1%),#f34b9b 0 75%,#182f43 0);box-shadow:inset 0 0 0 1px #1c3c57}.dash-donut:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#091b2b;border:1px solid #1c3c57}.dash-donut strong,.dash-donut small{position:relative;z-index:1;grid-column:1;grid-row:1}.dash-donut strong{font-size:17px;color:#fff;margin-top:-10px}.dash-donut small{font-size:8px;color:#a9bdce;margin-top:20px}.dash-donut.green-donut{background:conic-gradient(#25dc93 calc(var(--pct)*1%),#1a3348 0)}.dash-legend{display:grid;gap:7px;min-width:90px}.dash-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:5px;align-items:center;font-size:9px;color:#a6b9c9}.dash-legend strong{color:#fff}.legend-dot{width:7px;height:7px;border-radius:50%;background:#2ca5ff}.legend-dot.d2{background:#25d994}.legend-dot.d3{background:#f8ba3e}.legend-dot.d4{background:#ff4b69}.legend-dot.d5{background:#8b59ff}.dash-actions{min-width:0}.dash-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:10px}.dash-action-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;border-radius:8px;background:#10263a;border:1px solid #1d3c56;color:#c4d7e8;font-size:9px;text-align:center;transition:.17s}.dash-action-grid a:hover{border-color:#2d78c4;background:#123151;color:#fff;transform:translateY(-1px)}.dash-action-grid .icon-svg{width:21px;height:21px;color:#6dabff}.core-update-panel{min-height:265px}.core-step-row{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 10px;color:#91a5b6;font-size:8px}.core-step-row b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#126ff4;color:#fff}.dash-dropzone{margin:0 12px 12px;border:1px dashed #365a76;border-radius:8px;min-height:166px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;text-align:center;background:#071725}.dash-dropzone>span{color:#73afff}.dash-dropzone>span .icon-svg{width:35px;height:35px}.dash-dropzone strong{font-size:12px;margin-top:8px;color:#fff}.dash-dropzone small{display:block;max-width:430px;margin:5px 0 12px;color:#8098aa;font-size:9px;line-height:1.45}.dash-primary,.dash-secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:8px 11px;background:#0d71ff;color:#fff;font-size:9px;font-weight:800}.dash-secondary{background:#102840;border:1px solid #33506a}.dash-primary.wide{width:calc(100% - 24px);margin:12px}.dash-primary.mini,.dash-secondary.mini{padding:6px 8px}.dash-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:10px 12px 0}.dash-tabs>*{padding:7px;text-align:center;border-radius:5px;border:1px solid #1c3b55;font-size:8px;color:#8ea7ba}.dash-tabs b{background:#0b68e9;border-color:#0b74ff;color:#fff}.dash-muted{color:#849caf;font-size:9px;line-height:1.5;padding:0 12px}.dash-module-list{padding:7px 12px 12px}.dash-module-list>div{display:grid;grid-template-columns:24px 1fr auto auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #173348;font-size:9px}.dash-module-list>div:last-child{border-bottom:0}.dash-module-list>div>span{color:#6aa9ff}.dash-module-list .icon-svg{width:17px;height:17px}.dash-module-list strong{color:#e8f1f9}.dash-module-list small{color:#8ea5b6}.dash-module-list b{color:#25db91;font-size:8px;background:#0c3b30;padding:3px 6px;border-radius:999px}.dash-table{padding:6px 11px 11px}.dash-table>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #163248;font-size:9px}.dash-table>div:last-child{border-bottom:0}.dash-table>div>span{color:#b6c9d8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-table>div>b{font-size:7px;border-radius:999px;padding:3px 5px}.dash-table .success{color:#2ae297;background:#0b3e31}.dash-table .failure{color:#ff7185;background:#451724}.dash-table small{color:#7890a3}.logs-compact>div{grid-template-columns:90px 52px 1fr}.server-health-list{padding:8px 11px}.server-health-list>div{display:grid;grid-template-columns:1fr 8px auto;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid #163248;font-size:9px;color:#b7cad9}.server-health-list i{width:7px;height:7px;border-radius:50%}.server-health-list i.pass{background:#25dd92}.server-health-list i.warn{background:#f5b841}.server-health-list i.fail{background:#ff506c}.server-health-list strong{font-size:8px;color:#d7e3ed}

/* Sistema */
.system-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.system-kpi{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #dce7f1;border-radius:10px;box-shadow:var(--shadow)}.system-kpi-icon{width:44px;height:44px;border-radius:10px;background:#eaf3ff;color:#0b72ff;display:grid;place-items:center;flex:0 0 auto}.system-kpi-icon .icon-svg{width:23px;height:23px}.system-kpi small,.system-kpi em{display:block;font-style:normal}.system-kpi small{font-size:9px;color:#7b8fa2}.system-kpi strong{display:block;margin:2px 0;color:#102b44;font-size:14px}.system-kpi em{font-size:9px;color:#6d8498}.system-action-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px;margin-bottom:14px}.system-feature-lead{display:flex;gap:13px;margin-bottom:14px}.system-feature-lead>span{width:48px;height:48px;border-radius:11px;background:#eaf3ff;color:#0b72ff;display:grid;place-items:center;flex:0 0 auto}.system-feature-lead .icon-svg{width:25px;height:25px}.system-feature-lead strong{font-size:13px;color:#193854}.system-feature-lead p{margin:4px 0 0;font-size:10px;color:#70869a;line-height:1.5}.system-report-card{margin-top:14px}.system-report-card .card-head>div small{display:block;margin-top:2px;color:#7e91a2;font-size:9px}.system-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.system-check{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;border:1px solid #e0e8f0;border-radius:8px;padding:9px}.system-check-state{width:30px;height:30px;border-radius:7px;display:grid;place-items:center}.system-check-state .icon-svg{width:16px;height:16px}.system-check strong{font-size:10px;color:#24435f}.system-check p{margin:2px 0;color:#71869a;font-size:9px}.system-check small{display:block;color:#8a9aa9;font-size:8px}.system-check>b{font-size:8px}.system-check.check-pass .system-check-state{background:#e9f9f1;color:#14905c}.system-check.check-pass>b{color:#15915e}.system-check.check-warn .system-check-state{background:#fff6df;color:#c07c00}.system-check.check-warn>b{color:#b27400}.system-check.check-fail .system-check-state{background:#fff0f2;color:#d33b53}.system-check.check-fail>b{color:#c6334a}.module-health-row{border:1px solid #e0e9f1;border-radius:9px;margin-bottom:8px;overflow:hidden;background:#fff}.module-health-row summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:10px 12px}.module-health-row summary::-webkit-details-marker{display:none}.module-health-row summary strong{display:block;color:#183852;font-size:11px}.module-health-row summary small{display:block;margin-top:3px;color:#7c90a2;font-size:8px}.module-health-details{border-top:1px solid #e8eef4;background:#fbfdff;padding:10px 12px}.module-health-details h4{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:#607990;margin:10px 0 6px}.module-health-details h4:first-child{margin-top:0}.diagnostic-line{display:grid;grid-template-columns:45px 1fr;gap:8px;padding:7px 0;border-bottom:1px solid #eef3f7;font-size:9px;color:#4b6478}.diagnostic-line:last-child{border-bottom:0}.diagnostic-line>span{font-size:7px;font-weight:900}.diagnostic-line.pass>span{color:#178b5c}.diagnostic-line.warn>span{color:#b87900}.diagnostic-line.fail>span{color:#d23c55}.diagnostic-line small{display:block;margin-top:3px;color:#7f92a4}.root-scan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.root-scan-grid h3{font-size:10px;color:#294a66;margin:0 0 8px}.root-file-list{border:1px solid #e1e9f1;border-radius:8px;background:#fbfdff;overflow:hidden;max-height:240px;overflow-y:auto}.root-file-list>div{display:grid;grid-template-columns:20px 1fr auto;gap:7px;align-items:center;padding:8px;border-bottom:1px solid #edf2f6}.root-file-list>div:last-child{border-bottom:0}.root-file-list .icon-svg{width:14px;height:14px}.root-file-list code{font-size:8px;color:#3d576f;overflow:hidden;text-overflow:ellipsis}.root-file-list small{font-size:7px;color:#8193a4}.root-file-list.removable>div>span{color:#df4c62}.root-file-list.preserved>div>span{color:#16a66d}.root-file-list.unknown>div>span{color:#d49316}.root-clean-form{margin-top:14px;padding-top:12px;border-top:1px dashed #dbe6ef}.cleanup-result{margin-top:12px;padding:9px 10px;border-radius:7px;background:#effaf5;color:#1b7053;font-size:9px}.btn-danger{background:#e9425e;color:#fff}

/* Integrações / Asaas */
.integration-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.integration-card{display:grid;grid-template-columns:58px 1fr 24px;gap:13px;align-items:center;background:#fff;border:1px solid #dce6ef;border-radius:11px;padding:16px;box-shadow:var(--shadow);transition:.17s}.integration-card:hover{transform:translateY(-2px);border-color:#83b9fa}.integration-logo{width:58px;height:58px;border-radius:13px;display:grid;place-items:center;font-size:21px;font-weight:900}.asaas-mark{background:linear-gradient(135deg,#1683ff,#0b59cd);color:#fff}.integration-card strong{font-size:14px;color:#173650}.integration-card p{margin:4px 0 8px;color:#71869a;font-size:10px;line-height:1.45}.integration-arrow{color:#79a2c8}.integration-arrow .icon-svg{width:18px;height:18px}.asaas-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:14px}.asaas-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.payment-switches{display:grid;gap:8px}.switch-row{position:relative;display:grid;grid-template-columns:1fr 46px;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e1e9f1;border-radius:9px;cursor:pointer;background:#fbfdff}.switch-row:has(.switch-payment-icon){grid-template-columns:36px 1fr 46px}.switch-row strong{display:block;color:#294760;font-size:10px}.switch-row small{display:block;margin-top:2px;color:#7c90a3;font-size:8px}.switch-row input{position:absolute;opacity:0;pointer-events:none}.switch-row>i{width:42px;height:23px;border-radius:99px;background:#c9d6e2;position:relative;transition:.18s}.switch-row>i:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.18s}.switch-row input:checked~i{background:#13bd79}.switch-row input:checked~i:after{transform:translateX(19px)}.master-switch{margin-top:12px;background:#f0f7ff;border-color:#cfe2fb}.switch-payment-icon{width:32px;height:32px;border-radius:8px;background:#edf4ff;color:#1979ed;display:grid;place-items:center}.switch-payment-icon .icon-svg{width:17px;height:17px}.asaas-status-grid{margin-top:14px}

/* Full updater result paths */
.update-file-results{margin-top:14px;border:1px solid #d7e5f0;border-radius:10px;background:#fbfdff;overflow:hidden}.update-file-results summary{cursor:pointer;padding:11px 13px;font-size:10px;font-weight:800;color:#244864;background:#f3f8fc}.update-file-results-list{max-height:390px;overflow:auto;border-top:1px solid #e1ebf3}.update-file-result{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;padding:8px 11px;border-bottom:1px solid #edf3f7;font-size:9px}.update-file-result:last-child{border-bottom:0}.update-file-result>span{font-size:7px;font-weight:900}.update-file-result.success>span{color:#138d5c}.update-file-result.deleted>span{color:#b87900}.update-file-result.failed>span{color:#d33c55}.update-file-result code{display:block;color:#38566f;word-break:break-all;font-size:8px}.update-file-result small{display:block;color:#8193a3;margin-top:2px;font-size:8px}

@media(max-width:1320px){.dash-status-strip{min-width:0;grid-template-columns:repeat(2,1fr)}.dash-grid-main{grid-template-columns:1.4fr 1fr 1fr}.dash-actions{grid-column:1/-1}.dash-action-grid{grid-template-columns:repeat(6,1fr)}.dash-grid-bottom{grid-template-columns:1fr 1fr}.dash-grid-bottom>section:last-child{grid-column:1/-1}.system-kpi-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.dash-head{display:block}.dash-status-strip{margin-top:12px}.dash-stat-grid{grid-template-columns:repeat(2,1fr)}.dash-stat-grid .dash-stat:last-child{grid-column:1/-1}.dash-grid-main,.dash-grid-bottom,.dash-grid-footer{grid-template-columns:1fr}.dash-actions,.dash-grid-bottom>section:last-child{grid-column:auto}.dash-action-grid{grid-template-columns:repeat(3,1fr)}.system-action-grid,.asaas-layout{grid-template-columns:1fr}.root-scan-grid{grid-template-columns:1fr}.integration-catalog{grid-template-columns:1fr 1fr}.module-action-grid{grid-template-columns:1fr}}
@media(max-width:720px){.dash-status-strip{grid-template-columns:1fr}.dash-stat-grid{grid-template-columns:1fr}.dash-stat-grid .dash-stat:last-child{grid-column:auto}.dash-action-grid{grid-template-columns:repeat(2,1fr)}.system-kpi-grid,.system-check-grid,.integration-catalog{grid-template-columns:1fr}.asaas-actions .btn{width:100%;justify-content:center}}

/* Core dev.27 — fluxo automático de módulos */
.module-auto-process-card{margin-bottom:14px}.module-auto-process-card .card-head small{display:block;margin-top:3px;color:#74899e;font-size:10px}.module-auto-preview{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:14px}.module-validation-report{margin-top:14px}.module-validation-report h3{margin:0 0 10px;font-size:13px;color:#183a5b}.module-security-card{margin-bottom:14px}.module-auto-action-grid .card{min-width:0}.module-auto-modal .auto-update-brand{letter-spacing:.02em}.module-result-preview{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}.automatic-processing{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #cfe2f7;border-radius:10px;background:#f5faff;color:#1f4d78}.automatic-processing .spinner{width:26px;height:26px;border:3px solid #bfdbf9;border-top-color:#0b72ff;border-radius:50%;animation:coreUpdateSpin .8s linear infinite;flex:0 0 auto}.automatic-processing strong,.automatic-processing small{display:block}.automatic-processing small{margin-top:3px;color:#68829a;font-size:10px}
@media(max-width:1150px){.module-auto-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.module-result-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.module-auto-preview,.module-result-preview{grid-template-columns:1fr 1fr}.module-auto-action-grid{grid-template-columns:1fr}.module-validation-report .system-check-grid{grid-template-columns:1fr}}
@media(max-width:460px){.module-auto-preview,.module-result-preview{grid-template-columns:1fr}}
/* dev.28 - versão física/sincronização e histórico de módulos */
.dash-status-strip .version-detail{display:block;margin-top:3px;font-size:8px;font-style:normal;color:#ffbe6b;line-height:1.3;max-width:210px}
.module-history-error{max-width:360px;white-space:normal;word-break:break-word;font-size:10px;line-height:1.45}
.validation-ready{margin-bottom:12px}.module-auto-process-card form[data-auto-module-install]{display:flex;justify-content:flex-end}
@media(max-width:700px){.module-auto-process-card form[data-auto-module-install] .btn{width:100%}.module-history-error{max-width:none}}

/* dev.32 — rastreabilidade e console técnico de módulos */
.table-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.inline-form{display:inline-flex;margin:0}.btn-compact{min-height:30px;padding:6px 10px;font-size:11px;border-radius:7px}.module-detail-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.module-detail-kpi{background:#fff;border:1px solid #dce6f1;border-radius:12px;padding:15px;box-shadow:0 8px 24px rgba(19,45,78,.045);display:flex;flex-direction:column;gap:4px}.module-detail-kpi small{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#7890a8;font-weight:800}.module-detail-kpi strong{font-size:18px;color:#0c1e3b}.module-detail-kpi span{font-size:11px;color:#657b91}.section-mini-title{font-size:12px;margin:14px 0 8px;color:#223a55}.logs .log-row small{display:block;margin-top:3px;color:#7890a8}.module-history-error{max-width:460px;white-space:normal}.card-head>div>small{display:block;margin-top:2px;color:#7890a8;font-size:11px}
@media(max-width:1200px){.module-detail-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.module-detail-kpis{grid-template-columns:1fr 1fr}.table-actions{min-width:170px}}@media(max-width:520px){.module-detail-kpis{grid-template-columns:1fr}.btn-compact{width:100%}.table-actions,.inline-form{width:100%}}

/* Module installer v3 — persistent visible workflow */
.module-live-console{margin-top:14px;border:1px solid #cfe0f3;border-radius:14px;background:linear-gradient(180deg,#f9fcff 0%,#f3f8fd 100%);padding:16px;box-shadow:0 8px 22px rgba(17,54,88,.07)}
.module-live-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.module-live-top strong{display:block;font-size:14px;color:#173650}.module-live-top small{display:block;margin-top:4px;color:#6d8398;font-size:10px;line-height:1.45}.module-progress-track{height:10px;border-radius:999px;background:#e2ebf5;overflow:hidden;margin-top:14px}.module-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d6efd,#18b77d);transition:width .35s ease}.module-progress-meta{display:flex;justify-content:space-between;margin-top:6px;color:#58718a;font-size:9px}.module-live-stages{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.module-live-stages>div{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center;border:1px solid #dce7f2;border-radius:10px;padding:9px;background:#fff;color:#73879a;transition:.18s}.module-live-stages>div>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef4fa;color:#66819b;font-weight:800;font-size:10px}.module-live-stages strong{display:block;font-size:10px;color:#3e5b72}.module-live-stages small{display:block;font-size:8px;margin-top:2px}.module-live-stages>div.active{border-color:#79aff8;background:#f0f7ff;box-shadow:0 0 0 2px rgba(13,110,253,.06)}.module-live-stages>div.active>span{background:#0d6efd;color:#fff}.module-live-stages>div.done{border-color:#bfe9d6;background:#f1fbf6}.module-live-stages>div.done>span{background:#18b77d;color:#fff}.module-live-events{margin-top:14px;max-height:210px;overflow:auto;border:1px solid #d9e4ef;border-radius:10px;background:#071b2e;padding:8px}.module-live-event{display:grid;grid-template-columns:120px 100px 70px 1fr;gap:8px;align-items:start;padding:7px 8px;border-bottom:1px solid rgba(255,255,255,.07);font-size:9px;color:#c7d5e4}.module-live-event:last-child{border-bottom:0}.module-live-event b{color:#75b5ff}.module-live-event em{font-style:normal;color:#5cdd9b;font-weight:700}.module-live-event.is-failed em{color:#ff7b89}.module-live-event p{margin:0;line-height:1.4}.module-live-actions{align-items:center}.module-job-event-history{margin-top:14px}.module-job-event-history h3{font-size:11px;color:#294760;margin:0 0 8px}.module-engine-card .system-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.asaas-core-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#edf6ff;color:#1766b8;font-size:9px;font-weight:800;border:1px solid #cfe3f8}
@media(max-width:900px){.module-live-stages{grid-template-columns:1fr 1fr}.module-live-event{grid-template-columns:1fr}.module-engine-card .system-check-grid{grid-template-columns:1fr}}
@media(max-width:560px){.module-live-stages{grid-template-columns:1fr}.module-live-top{display:block}.module-live-top .status{display:inline-flex;margin-top:8px}.module-live-actions{display:grid;grid-template-columns:1fr}.module-live-actions .btn,.module-live-actions form,.module-live-actions form .btn{width:100%}}
