:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#253344;background:#f3f4f6;font-synthesis:none;--navy:#172b45;--border:#dce1e7;--muted:#617083}*{box-sizing:border-box}body{margin:0}a{color:#294868}button,input{font:inherit}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7192ba}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}p{line-height:1.65;color:var(--muted)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-weight:750;font-size:23px;letter-spacing:-.5px}.brand small{font-size:11px;letter-spacing:2px;display:block;color:#b6c4d5;margin-top:3px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border:1px solid #62748b;border-radius:12px;background:#ffffff0a;color:#fff;font-size:26px;font-weight:650}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.7px;color:#617083}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:44px;padding:12px 18px;border:1px solid #bbc6d3;border-radius:9px;text-decoration:none;background:white;color:var(--navy);font-weight:650;font-size:14px}.button.primary{background:#233b59;border-color:#233b59;color:#fff}.button:hover{background:#e9eef3}.button.primary:hover{background:#172b45}.button.wide{width:100%;justify-content:space-between}.subtle{font-size:13px;color:#627083}.notice{padding:14px 17px;border:1px solid #cbd5df;background:#edf1f5;border-radius:9px;line-height:1.5}.notice.error{background:#fff0f0;border-color:#ebc2c7;color:#92283a}.notice.success{background:#edf7f0;border-color:#bedcc8;color:#24673f}label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}input{display:block;width:100%;border:1px solid #b9c4d1;border-radius:8px;padding:12px 13px;color:#253344;background:white;min-height:46px;margin-bottom:20px}.login-page{min-height:100vh;display:grid;place-items:center;padding:36px}.login-layout{display:grid;grid-template-columns:1fr 1fr;width:min(100%,1060px);min-height:610px;background:white;border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 20px 80px #172b450b}.login-intro{background:var(--navy);color:#fff;padding:46px;display:flex;flex-direction:column;justify-content:space-between}.login-intro .eyebrow{color:#b3c2d4;margin-bottom:20px}.login-intro h1{font-size:43px;line-height:1.18;letter-spacing:-1.5px;font-weight:650;margin-bottom:23px}.login-intro p{color:#c6d2df;max-width:320px}.intro-footer{color:#a7b8cc;font-size:12px;letter-spacing:.6px}.login-form{padding:60px;display:flex;align-items:center}.login-form>div{width:100%}.login-form h2{font-size:29px;letter-spacing:-.7px;margin:12px 0}.login-form p{font-size:14px}.login-form form{margin-top:30px}.login-help{margin:22px 0 24px}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--navy);color:#e6edf5;padding:29px 18px 18px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 12px 29px}.workspace-label{font-size:10px;letter-spacing:1.7px;color:#9badc2;padding:20px 13px 15px;border-top:1px solid #ffffff12}.sidebar nav{flex:1;overflow-y:auto}.menu-link{display:flex;gap:13px;align-items:center;min-height:43px;padding:10px 13px;margin:3px 0;text-decoration:none;border-radius:8px;color:#c4d0df;font-size:13px;font-weight:550}.menu-link>span{font-size:21px;width:20px;text-align:center;line-height:1}.menu-link:hover{background:#ffffff09;color:white}.menu-link.active{background:#30445f;color:#fff;box-shadow:inset 3px 0 0 #c4d1e1}.menu-group{display:block;font-size:9px;letter-spacing:1.7px;color:#91a5bd;padding:23px 13px 7px}.sidebar-footer{display:flex;align-items:center;gap:11px;border-top:1px solid #ffffff15;padding:20px 9px 2px;margin-top:18px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#344960;font-size:14px}.sidebar-footer strong{font-size:12px;display:block;max-width:110px;overflow-wrap:anywhere}.sidebar-footer small{display:block;font-size:10px;color:#a8b9cb;margin-top:4px}.sidebar-footer form{margin-left:auto}.logout{border:0;background:transparent;color:#c4d0df;font-size:23px;padding:8px}.erp-main{margin-left:250px;min-height:100vh}.topbar{height:78px;display:flex;align-items:center;gap:12px;padding:0 34px;background:white;border-bottom:1px solid var(--border);font-size:13px}.breadcrumb{color:#8995a3;margin-right:9px}.company-name{margin-left:auto;color:#667588;max-width:360px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-link{border-left:1px solid var(--border);padding-left:20px;margin-left:8px;text-decoration:none;color:#344b65;font-size:12px}#menu-toggle{display:none}.home-view{padding:44px 40px;max-width:1390px;margin:auto}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.welcome h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin-bottom:9px}.welcome p:last-child{font-size:14px;margin-bottom:0}.workspace-pill{background:#e9edf2;border:1px solid #dce2e9;color:#607086;font-size:11px;padding:9px 13px;border-radius:30px;white-space:nowrap}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.module-card{position:relative;border:1px solid var(--border);border-radius:14px;padding:28px;background:white;box-shadow:0 4px 14px #172b4503}.module-icon{position:absolute;right:27px;top:27px;width:48px;height:48px;display:grid;place-items:center;background:#f0f3f6;color:#556c86;border-radius:12px;font-size:27px}.module-label{font-size:10px;letter-spacing:1.7px;color:#6a7b8e;margin:10px 0 18px}.module-card h2{font-size:25px;letter-spacing:-.6px;margin-bottom:12px;padding-right:38px}.module-card p{font-size:13px;max-width:390px;min-height:64px;margin-bottom:18px}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:#826124;margin:0 0 24px}.connection:before{content:'';width:6px;height:6px;background:#d8a640;border-radius:50%}.connection.connected{color:#39734f}.connection.connected:before{background:#399761}.module-card .button{font-size:12px;min-height:42px}.quick-section{margin-top:35px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-title h2{font-size:17px;letter-spacing:-.2px;margin:0}.section-title>span{font-size:11px;color:#84909e}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.quick-grid a{background:#fff;border:1px solid var(--border);border-radius:11px;padding:20px;text-decoration:none;color:#304359;transition:border-color .15s}.quick-grid a:hover{border-color:#8d9eb2}.quick-grid a>span{font-size:24px;display:block;margin-bottom:17px;color:#657b95}.quick-grid strong{display:block;font-size:12px;margin-bottom:7px}.quick-grid small{display:block;font-size:11px;color:#7a8797;line-height:1.5}.home-note{display:flex;gap:11px;align-items:center;margin-top:28px;border-top:1px solid #dfe4ea;padding-top:23px}.home-note span{color:#8798aa}.home-note p{margin:0;font-size:11px;color:#7c8b9b}.module-frame{display:block;border:0;width:100%;height:calc(100vh - 78px);height:calc(100dvh - 78px);background:#f3f4f6}#frame-status{position:fixed;right:24px;bottom:15px;padding:12px 18px;background:#fff;border:1px solid var(--border);border-radius:9px;font-size:13px;box-shadow:0 4px 20px #172b4510}.account-page{padding:30px 25px;max-width:1050px;margin:auto}.account-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.account-top h1{margin:7px 0;font-size:29px;letter-spacing:-.6px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-card{padding:27px;background:white;border:1px solid var(--border);border-radius:13px}.account-card h2{font-size:20px}.account-card p{font-size:13px}.account-card label{font-size:13px}.account-card input{font-size:14px}.account-card .button{font-size:13px}.account-card details summary{cursor:pointer;color:#304f73;font-size:13px;padding:12px 0}.account-card details form{margin-top:15px}.standalone-back{font-size:13px}.connection-card{padding:14px 0 5px;border-top:1px solid var(--border)}.login-form .notice{font-size:13px}
@media(min-width:1600px){.home-view{padding-top:60px}.module-card{padding:34px}.module-card p{min-height:48px}}@media(max-width:1100px){.sidebar{width:220px}.erp-main{margin-left:220px}.home-view{padding:32px 25px}.quick-grid{grid-template-columns:repeat(2,1fr)}.company-name{max-width:180px}.module-card h2{font-size:22px}.login-form{padding:40px}}@media(max-width:760px){.sidebar{transform:translateX(-100%);width:250px;transition:transform .2s}.menu-open .sidebar{transform:translateX(0);box-shadow:15px 0 50px #172b4535}.erp-main{margin-left:0}.topbar{height:65px;padding:0 18px}.company-name,.breadcrumb{display:none}.account-link{margin-left:auto}.home-view{padding:28px 18px}.welcome{align-items:flex-start}.welcome h1{font-size:28px}.workspace-pill{display:none}.module-grid,.account-grid{grid-template-columns:1fr}.module-card p{min-height:0}.module-frame{height:calc(100vh - 65px);height:calc(100dvh - 65px)}#menu-toggle{display:block;border:0;background:transparent;color:#253b56;padding:8px;font-size:20px}.login-page{padding:18px}.login-layout{grid-template-columns:1fr;max-width:470px;min-height:0}.login-intro{padding:25px}.login-intro>div,.intro-footer{display:none}.login-form{padding:32px}.account-page{padding:23px 17px}.section-title>span{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{.sidebar,.topbar{display:none}.erp-main{margin:0}.module-frame{height:auto}}

/* ERP horizontal: áreas na primeira faixa e módulos na segunda. */
#erp-shell .erp-main{margin-left:0;height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#erp-shell .erp-header{flex:none;background:#fff;border-bottom:1px solid var(--border)}
#erp-shell .topbar{height:auto;min-height:68px;padding:12px 28px;background:var(--navy);color:#e6edf5;border:0;flex-wrap:wrap}
#erp-shell .topbar .brand{font-size:20px;flex-shrink:0}
#erp-shell .topbar .brand-mark{width:36px;height:36px;font-size:23px}
#erp-shell .company-name{color:#c4d0df;max-width:40%;display:block}
#erp-shell .account-link{color:#e6edf5;border-color:#ffffff25;margin-left:0;padding-left:16px;white-space:nowrap}
#erp-shell .topbar form{margin:0}
#erp-shell .category-nav{display:flex;flex-wrap:wrap;gap:6px;padding:8px 28px;background:var(--navy)}
#erp-shell .category-nav button{border:0;border-radius:7px;background:transparent;color:#c4d0df;padding:11px 16px;min-height:44px;font-size:13px;font-weight:600}
#erp-shell .category-nav button:hover{background:#263c57;color:#fff}
#erp-shell .category-nav button[aria-pressed="true"]{background:#fff;color:var(--navy)}
#erp-shell .module-menu{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 28px;border-bottom:1px solid var(--border)}
#erp-shell .menu-link{color:#52657c;margin:0;padding:10px 14px;min-height:42px}
#erp-shell .menu-link:hover{background:#f0f3f6;color:var(--navy)}
#erp-shell .menu-link.active{background:#e9eef5;color:var(--navy);box-shadow:inset 0 -2px 0 #30445f}
#erp-shell .view-context{padding:9px 30px;font-size:12px;color:#52657c}
#erp-shell #workspace{flex:1;min-height:0;overflow:auto;position:relative}
#erp-shell #module-views{height:100%}
#erp-shell #module-views:empty{display:none}
#erp-shell #workspace:has(#home-view:not([hidden])) #module-views{display:none}
#erp-shell .module-frame{height:100%;min-height:0}
#erp-shell #frame-status{z-index:30}
@media(max-width:760px){
#erp-shell .topbar{padding:10px 14px;gap:10px}
#erp-shell .company-name{order:4;max-width:100%;width:100%;font-size:12px}
#erp-shell .account-link{margin-left:auto;padding-left:10px}
#erp-shell .category-nav{padding:6px 10px;gap:4px}
#erp-shell .category-nav button{padding:10px 12px;flex:1 0 auto}
#erp-shell .module-menu{padding:7px 10px;gap:3px}
#erp-shell .menu-link{padding:10px;min-height:44px}
#erp-shell .view-context{padding:8px 20px}
}
@media print{#erp-shell .erp-header{display:none}#erp-shell .erp-main{height:auto;overflow:visible}#erp-shell #workspace{overflow:visible}#erp-shell .module-frame{height:auto}}

/* Cabeçalho compacto com submenus sobre a área de trabalho. */
#erp-shell .erp-header{position:relative;z-index:40}
#erp-shell .topbar{min-height:50px;height:50px;padding:5px 22px;flex-wrap:nowrap;gap:12px}
#erp-shell .topbar .brand{font-size:18px;gap:9px}
#erp-shell .topbar .brand small{display:inline;margin-left:5px;font-size:10px}
#erp-shell .topbar .brand-mark{width:30px;height:30px;font-size:21px;border-radius:8px}
#erp-shell .category-nav{padding:0 18px;gap:5px;flex-wrap:nowrap}
#erp-shell .category-nav button,#erp-shell .category-home{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 13px;color:#c4d0df;background:transparent;border:0;border-radius:6px 6px 0 0;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
#erp-shell .category-nav .active,#erp-shell .category-nav button[aria-expanded="true"]{background:#fff;color:var(--navy)}
#erp-shell .category-home:hover{background:#263c57;color:#fff}
#erp-shell .nav-dropdown{position:relative}
#erp-shell .module-menu{position:absolute;top:100%;left:0;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;width:220px;max-width:calc(100vw - 24px);max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px);overflow-y:auto;gap:2px;padding:6px;background:#fff;border:1px solid var(--border);border-radius:0 0 9px 9px;box-shadow:0 10px 24px #172b4526}
#erp-shell .menu-link{min-height:38px;padding:9px 12px;font-size:13px}
#erp-shell .view-context{padding:5px 24px;line-height:18px;font-size:11px}
@media(max-width:760px){
#erp-shell .topbar{padding:5px 12px;gap:7px}
#erp-shell .company-name{display:none}
#erp-shell .category-nav{padding:0 8px;gap:2px;justify-content:space-between}
#erp-shell .category-nav button,#erp-shell .category-home{padding:8px 7px;font-size:12px;min-height:44px;gap:3px}
#erp-shell .nav-dropdown:last-child .module-menu{left:auto;right:0}
#erp-shell .nav-dropdown:nth-last-child(2) .module-menu{left:auto;right:0}
#erp-shell .menu-link{min-height:44px}
#erp-shell .view-context{padding:4px 16px}
}

/* Marca MIX APPs: quatro cores e cantos externos arredondados. */
.brand img.brand-mark{display:block;flex:none;object-fit:contain;border:0;border-radius:0;background:transparent;padding:0}
.brand>span{white-space:nowrap}
#erp-shell .topbar img.brand-mark{border:0;border-radius:0;background:transparent}

/* Menus da retaguarda, com cinco áreas utilizáveis em telas pequenas. */
@media(max-width:420px){#erp-shell .category-nav{gap:0;padding:0 4px}#erp-shell .category-nav button,#erp-shell .category-home{font-size:11px;padding:8px 5px;gap:2px}#erp-shell .module-menu{width:250px}}
.account-settings{position:relative;margin-left:auto}.account-gear{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border);border-radius:9px;background:#fff;color:#33465d;cursor:pointer;font-size:25px}.account-settings .module-menu{left:auto;right:0;min-width:220px;z-index:100}.account-settings .module-menu>button{display:block;width:100%;text-align:left;padding:12px 16px;border:0;background:white;color:inherit;font:inherit;cursor:pointer}.account-settings .module-menu>button:hover{background:#edf3f8}.account-settings .module-menu>button[hidden]{display:none}.account-settings .account-gear:focus-visible{outline:2px solid #147896;outline-offset:2px}
/* Faixa superior no padrão visual da retaguarda. */
#erp-shell .erp-header{background:#192d46;border:0}
#erp-shell .topbar{display:grid;grid-template-columns:minmax(235px,1fr) minmax(0,2fr) minmax(180px,1fr);height:48px;min-height:48px;padding:5px 16px;gap:18px;background:#192d46}
#erp-shell .topbar .brand{font-size:18px;gap:10px;letter-spacing:-.4px}
#erp-shell .topbar img.brand-mark{width:26px;height:26px}
#erp-shell .topbar .brand small{font-size:9px;letter-spacing:2px;margin-left:6px;color:#c0cee0}
#erp-shell .company-name{margin:0;max-width:100%;width:100%;text-align:center;text-transform:uppercase;font-size:14px;letter-spacing:.5px;font-weight:750;color:#b9c8db}
#erp-shell .topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
#erp-shell .account-settings{margin:0;min-width:0}
#erp-shell .account-gear{display:flex;align-items:center;gap:8px;width:auto;max-width:220px;height:36px;padding:5px 9px;border:1px solid #576b83;border-radius:8px;background:transparent;color:#c1cede;font-size:13px}
#erp-shell .account-gear:hover,#erp-shell .account-gear[aria-expanded=true]{background:#2b415d;border-color:#8395ac}
#erp-shell .account-person{width:21px;height:21px;flex:none}
#erp-shell .account-display-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:130px}
#erp-shell .account-gear-symbol{font-size:17px;line-height:1}
#erp-shell .account-chevron{font-size:16px}
#erp-shell .account-settings .module-menu{left:auto;right:0;margin-top:4px;border-radius:8px;text-align:left}
#erp-shell .account-settings .module-menu>a,#erp-shell .account-settings .module-menu>button{padding:11px 12px;text-decoration:none;color:#33465d;font-size:13px;border-radius:5px}
#erp-shell .account-settings .module-menu>a:hover{background:#edf3f8}
#erp-shell .topbar .logout{font-size:21px;padding:6px;color:#b9c8db;min-width:32px}
#erp-shell .category-nav{background:#192d46;padding:0 10px;gap:5px}
#erp-shell .category-nav button,#erp-shell .category-home{min-height:38px;padding:9px 13px;font-size:13px}
#erp-shell .view-context{display:none}
@media(max-width:1000px){#erp-shell .topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:12px}#erp-shell .company-name{font-size:12px}#erp-shell .account-display-name{max-width:90px}}
@media(max-width:760px){#erp-shell .topbar{grid-template-columns:1fr auto;padding:5px 12px;gap:6px}#erp-shell .company-name{display:none}#erp-shell .topbar .brand small{font-size:8px;letter-spacing:1px}#erp-shell .account-display-name,#erp-shell .account-person{display:none}#erp-shell .account-gear{gap:4px;padding:5px 7px}#erp-shell .topbar-actions{gap:3px}#erp-shell .category-nav{padding:0 6px;gap:2px}#erp-shell .category-nav button,#erp-shell .category-home{min-height:44px;padding:8px 7px;font-size:12px}}
@media(max-width:420px){#erp-shell .topbar{padding:5px 10px}#erp-shell .topbar .brand{font-size:16px;gap:7px}#erp-shell .topbar .brand small{display:none}#erp-shell .category-nav{padding:0 4px;gap:0}#erp-shell .category-nav button,#erp-shell .category-home{font-size:11px;padding:8px 5px}}
#erp-shell .topbar{grid-template-columns:minmax(235px,1fr) minmax(0,2fr) auto}
#erp-shell .topbar-actions{gap:12px}
#erp-shell .topbar-icon{position:relative;display:grid;place-items:center;width:32px;height:36px;padding:6px;border:0;border-radius:6px;background:transparent;color:#c1cede;cursor:pointer}
#erp-shell .topbar-icon:hover,#erp-shell .topbar-icon[aria-expanded=true]{background:#2b415d}
#erp-shell .topbar-icon svg{width:19px;height:19px}
#erp-shell .notification-count{position:absolute;right:0;top:0;min-width:13px;height:14px;line-height:14px;text-align:center;padding:0 3px;border-radius:8px;background:#00b8e8;color:#fff;font-size:10px}
#erp-shell .topbar-alert .module-menu{left:auto;right:0;width:260px;border-radius:8px;padding:16px;white-space:normal}
#erp-shell .topbar-alert .module-menu strong{font-size:14px;color:#253344}
#erp-shell .topbar-alert .module-menu p{font-size:13px;margin:8px 0 0;line-height:1.5}
#erp-shell .account-gear{max-width:270px;font-size:12px;gap:9px}
#erp-shell .account-display-name{max-width:190px}
@media(max-width:1000px){#erp-shell .topbar{grid-template-columns:auto minmax(0,1fr) auto}#erp-shell .topbar-actions{gap:6px}#erp-shell .account-display-name{max-width:135px}}
@media(max-width:760px){#erp-shell .topbar{grid-template-columns:1fr auto}#erp-shell .topbar-actions{gap:3px}#erp-shell .topbar-alert .module-menu{position:fixed;top:48px;right:12px;left:auto}}
@media(max-width:420px){#erp-shell .topbar-actions{gap:1px}#erp-shell .topbar-icon{width:28px}#erp-shell .topbar .brand{font-size:15px}}
#erp-shell .account-settings .module-menu{margin-top:0}

.login-form #company-code{width:150px;max-width:100%;box-sizing:border-box}
/* Menus com ícones e navegação expansível no celular. */
#erp-shell .erp-menu-icon{width:18px;height:18px;flex:none}#erp-shell .category-nav>.nav-dropdown>.module-menu{width:265px}#erp-shell .category-nav .menu-link{display:flex;gap:10px}#erp-shell #mobile-nav-toggle{display:none}
@media(max-width:760px){#erp-shell #mobile-nav-toggle{display:flex;align-items:center;gap:8px;width:100%;height:44px;padding:10px 16px;background:var(--navy);color:#dbe6ef;border:0;font-size:14px;font-weight:600}#erp-shell .category-nav{display:none;position:absolute;top:100%;left:12px;right:12px;padding:10px;background:white;border:1px solid var(--border);border-radius:10px;box-shadow:0 14px 30px #172b4530;max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);overflow:auto}#erp-shell.mobile-nav-open .category-nav{display:flex;flex-direction:column;align-items:stretch;gap:0}#erp-shell .category-nav>.nav-dropdown{border-bottom:1px solid #edf1f5}#erp-shell .category-nav>.nav-dropdown:last-child{border-bottom:0}#erp-shell .category-nav button,#erp-shell .category-home{width:100%;color:#284762;justify-content:flex-start;gap:10px;min-height:46px;font-size:14px;border-radius:6px;padding:12px}#erp-shell .category-nav button>span:last-child{margin-left:auto}#erp-shell .category-nav button[aria-expanded=true],#erp-shell .category-nav .active{background:#edf5fb;color:#174468}#erp-shell .category-nav>.nav-dropdown>.module-menu{position:static;box-shadow:none;border:0;border-radius:0;width:100%;max-width:none;max-height:none;padding:0 4px 8px 26px}#erp-shell .category-nav .menu-link{min-height:44px;padding:12px;white-space:normal;font-size:13px}}

#frame-status{position:fixed;inset:0;z-index:10000;margin:0;padding:20px;background:rgba(16,32,50,.45);display:flex;align-items:center;justify-content:center;text-align:center;color:#20364f}
.frame-loading-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 38px;border-radius:16px;background:#fff;box-shadow:0 15px 50px #0003;max-width:100%}.frame-loading-card strong{font-size:23px}.frame-loading-card small{font-size:14px;color:#617083}.frame-loading-spinner{width:42px;height:42px;border:4px solid #dce7ef;border-top-color:#075581;border-radius:50%;animation:frame-loading-spin .8s linear infinite}@keyframes frame-loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.frame-loading-spinner{animation:none}}

/* Mantém as áreas do ERP acessíveis em telas intermediárias. */
@media(min-width:761px){#erp-shell .category-nav{flex-wrap:wrap}}

#erp-shell .menu-planned{display:flex;align-items:center;gap:10px;padding:12px 16px;color:#748295;cursor:default}#erp-shell .menu-planned small{display:block;font-size:11px;font-weight:400;margin-top:2px}#erp-shell .account-settings .module-menu>a{display:flex;align-items:center;gap:8px}

.terminal-settings-submenu summary{cursor:pointer;padding:12px 18px;list-style:none;color:#344e69}.terminal-settings-submenu summary::after{content:"›";float:right}.terminal-settings-submenu[open] summary::after{content:"⌄"}.terminal-settings-submenu>a{padding-left:42px!important}

/* Settings submenu: each destination occupies its own row. */
#erp-shell .terminal-settings-submenu{min-width:0;width:100%}
#erp-shell .terminal-settings-submenu summary{display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:13px;line-height:1.4;list-style:none}
#erp-shell .terminal-settings-submenu summary::-webkit-details-marker{display:none}
#erp-shell .terminal-settings-submenu summary::after{float:none;margin-left:auto;flex:none}
#erp-shell .terminal-settings-submenu summary .erp-menu-icon{width:22px;height:22px;flex:none}
#erp-shell .terminal-settings-submenu>a{display:block;box-sizing:border-box;width:100%;padding:11px 12px 11px 44px!important;white-space:normal;overflow-wrap:normal;line-height:1.45;text-decoration:none;color:#33465d;font-size:13px;border-radius:5px}
#erp-shell .terminal-settings-submenu>a:hover,#erp-shell .terminal-settings-submenu>a:focus-visible{background:#edf3f8}
#erp-shell .account-gear-symbol{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;line-height:1}
#erp-shell .account-gear-symbol .erp-menu-icon{width:24px;height:24px}
#erp-shell .account-settings .module-menu{max-width:calc(100vw - 24px);max-height:calc(100dvh - 80px);overflow-y:auto}
