/* Scoped to public company navigation and the client workspace. */
body.single-empresas .at-company-header .at-company-bar{display:grid!important;grid-template-columns:minmax(220px,340px) minmax(0,1fr)!important;align-items:center!important;gap:22px!important;min-height:96px!important;padding:12px 28px!important;max-width:1200px!important;width:100%!important;box-sizing:border-box!important}
body.single-empresas .at-company-header a.at-company-brand{width:auto!important;max-width:100%!important;min-width:0!important;flex:none!important;gap:14px!important}
body.single-empresas .at-company-header .atfx-logo-frame{flex:0 0 82px!important;width:82px!important;height:72px!important;padding:4px!important}
body.single-empresas .at-company-header .at-company-brand>span:not(.atfx-logo-frame){padding-left:14px!important;min-width:0!important}
body.single-empresas .at-company-header .at-company-brand>span:not(.atfx-logo-frame):first-child{border-left:0!important;padding-left:0!important}
body.single-empresas .at-company-header .at-company-brand strong{font:700 clamp(14px,1.3vw,18px)/1.3 system-ui!important;letter-spacing:-.3px!important;max-width:100%!important;overflow-wrap:anywhere!important}
body.single-empresas .at-company-header .at-company-brand small{font:400 11px/1.4 system-ui!important;margin-top:4px!important}
body.single-empresas .at-company-header .at-company-nav{width:auto!important;min-width:0!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:3px!important;flex-wrap:wrap!important}
body.single-empresas .at-company-header .at-company-nav>a{font:600 12px/1.4 system-ui!important;padding:10px!important;min-height:42px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:normal!important;text-align:center;border-radius:8px}
body.single-empresas .at-company-header .at-company-nav>a.at-company-action{padding:12px 16px!important;min-height:44px!important;max-width:100%;box-shadow:none!important}
body.single-empresas .atmn-toggle{display:none}
body.single-empresas .at-company-header :is(a,button):focus-visible{outline:3px solid var(--co-primary);outline-offset:3px}
/* Consistent sidebar sizing above its tablet breakpoint. */
@media(min-width:1101px){html.apv-panel body.at-client-page .at-client-sidebar{width:248px!important;padding:20px 14px!important;box-sizing:border-box!important}html.apv-panel body.at-client-page .at-client-main{margin-left:248px!important;width:calc(100% - 248px)!important;min-width:0!important;box-sizing:border-box!important}}
html.apv-panel body.at-client-page .at-client-sidebar .atci-identity{padding:4px 6px 16px!important;gap:7px!important;margin-bottom:10px!important}
html.apv-panel body.at-client-page .at-client-sidebar .atci-logo-box{height:88px!important;max-width:190px!important;padding:10px!important;border-radius:12px!important}
html.apv-panel body.at-client-page .at-client-sidebar .atci-company-name{font-size:14px!important;line-height:1.4!important;margin:2px 0!important;max-width:100%}
html.apv-panel body.at-client-page .at-client-sidebar .atci-subtitle{font-size:11px!important}
html.apv-panel body.at-client-page .at-client-sidebar .at-client-label{font-size:9px!important;margin:0 9px 10px!important;padding:8px 0!important}
html.apv-panel body.at-client-page .at-client-sidebar .acu-menu-search{width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:42px!important;margin-bottom:8px!important;padding:10px 12px!important}
html.apv-panel body.at-client-page .at-client-sidebar .acu-menu-group>summary{font:650 12px/1.4 system-ui!important;min-height:44px!important;padding:10px!important;box-sizing:border-box!important}
html.apv-panel body.at-client-page .at-client-sidebar nav.acu-panel-nav a.acu-menu-link{margin:2px 5px!important;padding:10px 12px 10px 22px!important;min-height:42px!important;width:auto!important;max-width:100%!important;box-sizing:border-box!important}
html.apv-panel body.at-client-page .at-client-sidebar nav.acu-panel-nav a.acu-menu-link>.acu-link-title{font:500 12px/1.5 system-ui!important;white-space:normal!important;overflow-wrap:anywhere!important}
html.apv-panel body.at-client-page .at-client-main :is(input,select,textarea,img,video,iframe){max-width:100%;box-sizing:border-box}
html.apv-panel body.at-client-page .at-client-main :is(.at-panel,.at-form-grid,.at-dashboard-head,.at-company-form,.at-real-section){min-width:0!important;box-sizing:border-box!important;max-width:100%}
@media(max-width:1100px){
 body.single-empresas .at-company-header .at-company-bar{grid-template-columns:minmax(0,1fr) auto!important;gap:10px 14px!important;min-height:88px!important;padding:10px 22px!important}
 body.single-empresas .at-company-header .at-company-brand{width:auto!important;max-width:100%!important;min-width:0!important}
 body.single-empresas .at-company-header .at-company-brand strong{font-size:16px!important;max-width:420px!important}
 body.single-empresas .at-company-header .at-company-nav{grid-column:1/-1;display:flex!important;width:100%!important;justify-content:flex-start!important;padding:10px 0!important;gap:7px!important}
 body.single-empresas .at-company-header.atmn-ready .atmn-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:10px 14px;background:var(--co-dark);color:var(--co-on-dark);border:1px solid #b7cbd5;border-radius:9px;font:650 12px/1.4 system-ui;cursor:pointer}
 body.single-empresas .at-company-header.atmn-ready:not(.atmn-open) .at-company-nav{display:none!important}
 body.single-empresas .at-company-header.atmn-ready.atmn-open .at-company-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;border-top:1px solid #dce7ed;margin-top:4px;padding-top:14px!important}
 body.single-empresas .at-company-header .at-company-nav>a{justify-content:flex-start!important;padding:12px 14px!important;min-height:44px!important;border:1px solid #e1eaf0;background:#f6f9fb;font-size:13px!important;overflow-wrap:anywhere}
 body.single-empresas .at-company-header .at-company-nav>a.at-company-action{grid-column:1/-1;justify-content:center!important}
 html.apv-panel body.at-client-page{height:auto!important;min-height:100dvh;overflow-y:visible!important}
 html.apv-panel body.at-client-page .at-client-sidebar{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;overflow:visible!important;padding:12px 16px!important;box-sizing:border-box!important}
 html.apv-panel body.at-client-page .at-client-main{position:static!important;margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:20px 18px calc(100px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
 html.apv-panel body.at-client-page .apm-menu{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 html.apv-panel body.at-client-page .apm-menu>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px!important;background:#163c57!important;border:1px solid #6f9cb5!important;border-radius:10px;color:#fff!important;-webkit-text-fill-color:#fff!important;font:650 14px/1.4 system-ui!important;list-style:none;cursor:pointer;box-sizing:border-box}
 html.apv-panel body.at-client-page .apm-menu:not([open])>.apm-menu-content{display:none!important}
 html.apv-panel body.at-client-page .apm-menu[open]>.apm-menu-content{padding-top:14px;min-width:0}
 html.apv-panel body.at-client-page .apm-menu>summary::-webkit-details-marker{display:none}
 html.apv-panel body.at-client-page .apm-menu>summary:after{content:'⌄';font-size:18px}
 html.apv-panel body.at-client-page .apm-menu[open]>summary:after{content:'⌃'}
 html.apv-panel body.at-client-page .at-client-sidebar .atci-logo-box{height:76px!important;max-width:170px!important}
 html.apv-panel body.at-client-page .at-client-sidebar .atci-identity{padding-bottom:12px!important}
 html.apv-panel body.at-client-page .acu-panel-nav{display:block!important;grid-template-columns:none!important}
}
@media(max-width:700px){html.apv-panel body.at-client-page .at-client-main .at-form-grid,html.apv-panel body.at-client-page .at-client-main .at-client-actions,html.apv-panel body.at-client-page .at-client-main .at-stat-grid{grid-template-columns:minmax(0,1fr)!important}html.apv-panel body.at-client-page .at-client-main .at-dashboard-head{flex-wrap:wrap;gap:12px}html.apv-panel body.at-client-page .at-client-main .at-company-switch select{display:block;width:100%;margin:8px 0 0}html.apv-panel body.at-client-page .at-client-main :is(input,select,textarea){font-size:16px!important;min-width:0!important}html.apv-panel body.at-client-page .at-client-main :is(button,.at-btn){min-height:44px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere}}
@media(max-width:480px){body.single-empresas .at-company-header .at-company-bar{padding:10px 16px!important;gap:8px!important;min-height:80px!important}body.single-empresas .at-company-header .atfx-logo-frame{width:60px!important;flex-basis:60px!important;height:60px!important;padding:3px!important}body.single-empresas .at-company-header a.at-company-brand{gap:10px!important}body.single-empresas .at-company-header .at-company-brand>span:not(.atfx-logo-frame){padding-left:10px!important}body.single-empresas .at-company-header .at-company-brand strong{font-size:13px!important;line-height:1.35!important}body.single-empresas .at-company-header .at-company-brand small{font-size:10px!important}body.single-empresas .at-company-header.atmn-ready .atmn-toggle{min-width:60px;padding:10px;font-size:12px}body.single-empresas .at-company-header.atmn-ready.atmn-open .at-company-nav{grid-template-columns:minmax(0,1fr)!important}body.single-empresas .at-company-header .at-company-nav>a{grid-column:auto!important}html.apv-panel body.at-client-page .at-client-main{padding-inline:14px!important}}
@media(prefers-reduced-motion:reduce){body.single-empresas .at-company-header *,html.apv-panel body.at-client-page .at-client-sidebar *{transition:none!important;animation:none!important}}

@media(max-width:1100px){html.apv-panel body.at-client-page .at-client-sidebar>.atci-identity{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto auto;align-items:center!important;text-align:left!important;gap:3px 12px!important;border-bottom:0!important;padding:0!important;margin:0 0 12px!important}html.apv-panel body.at-client-page .at-client-sidebar>.atci-identity>.atci-logo-box{grid-column:1;grid-row:1/3;width:64px!important;height:64px!important;max-width:64px!important;padding:7px!important;border-radius:9px!important}html.apv-panel body.at-client-page .at-client-sidebar>.atci-identity>.atci-company-name{grid-column:2;align-self:end;font-size:14px!important;margin:0!important}html.apv-panel body.at-client-page .at-client-sidebar>.atci-identity>.atci-subtitle{grid-column:2;align-self:start;font-size:11px!important}html.apv-panel body.at-client-page .at-client-sidebar>.atci-identity>.atci-profile-link{display:none!important}html.apv-panel body.at-client-page .apm-table-scroll{max-width:100%;overflow-x:auto!important;box-sizing:border-box}html.apv-panel body.at-client-page .apm-table-scroll table{min-width:600px!important;width:100%!important}}
@media(max-width:1100px){html.apv-panel:has(body.at-client-page){height:auto!important;min-height:100%!important;max-height:none!important;overflow-y:auto!important}html.apv-panel body.at-client-page .at-client-sidebar-bottom{padding-bottom:12px!important}body.single-empresas .at-company-header .at-company-nav>a{touch-action:manipulation}}

/* Text labels are not icon slots: let labels fill the link on every viewport. */
html.apv-panel body.at-client-page .at-client-sidebar nav.acu-panel-nav a.acu-menu-link{min-width:0!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important;gap:8px!important}
html.apv-panel body.at-client-page .at-client-sidebar nav.acu-panel-nav a.acu-menu-link>span.acu-link-title{display:block!important;flex:1 1 0%!important;width:auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:left!important;box-sizing:border-box!important}
html.apv-panel body.at-client-page .at-client-sidebar .acu-menu-container,html.apv-panel body.at-client-page .at-client-sidebar .acu-panel-nav,html.apv-panel body.at-client-page .at-client-sidebar .acu-menu-group{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
