header.ms-unified-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff}.ms-unified-header .brand{flex-shrink:0}.ms-unified-header .mundo-logo{width:116px}.ms-unified-header .brand small{max-width:250px;font-size:12px}.ms-system-menu{display:flex;align-items:center;justify-content:flex-end;flex:1;flex-wrap:wrap;gap:4px;font:13px/1.4 Arial,sans-serif;letter-spacing:0}.ms-system-menu>a,.ms-menu-group>button{display:block;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#084b8d;text-decoration:none;white-space:nowrap;font:600 13px/1.4 Arial,sans-serif;cursor:pointer}.ms-system-menu a:hover,.ms-system-menu a[aria-current=page],.ms-menu-group>button:hover{background:#e9f9fc}.ms-menu-group{position:relative}.ms-submenu{display:none;position:absolute;top:100%;left:0;min-width:225px;padding:7px;border:1px solid #c6e5eb;border-radius:10px;background:#fff;box-shadow:0 8px 24px #18304720;z-index:60}.ms-submenu a{display:block;padding:10px 12px;border-radius:7px;color:#183047;font:400 13px/1.4 Arial,sans-serif;text-decoration:none;white-space:nowrap}.ms-menu-group:hover>.ms-submenu,.ms-menu-group:focus-within>.ms-submenu,.ms-menu-group.is-open>.ms-submenu{display:block}.ms-system-menu a:focus-visible,.ms-menu-group>button:focus-visible{outline:3px solid #0891b2;outline-offset:2px}@media(max-width:1250px){.ms-system-menu{order:3;flex-basis:100%;justify-content:flex-start}.ms-unified-header .header-actions{margin-left:auto}}@media(max-width:580px){.ms-unified-header .mundo-logo{width:85px}.ms-system-menu>a,.ms-menu-group>button{padding:9px 7px;font-size:12px}.ms-submenu{min-width:205px}}
.ms-unified-header .mundo-logo img{width:100%;height:auto}

header.ms-unified-header .home-return{display:none!important}

header.ms-unified-header{padding:.7rem 5%;font:400 16px/1.5 Arial,Helvetica,sans-serif;margin:0;color:#084b8d;border-top:3px solid #06b6d4;border-bottom:1px solid #c6e5eb;box-shadow:0 3px 16px #07566a08}header.ms-unified-header .brand{display:flex;align-items:center;gap:1.3rem;font:700 18.4px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;color:#084b8d}header.ms-unified-header .brand>:not(.mundo-logo):not(.ms-brand-text){display:none!important}header.ms-unified-header .brand small{display:block;font:400 12px/1.5 Arial,sans-serif;color:#496b73;margin:0;max-width:250px}header.ms-unified-header .mundo-logo{width:116px;position:relative;aspect-ratio:1184/840;overflow:hidden;border-radius:8px;background:white;flex:none}header.ms-unified-header .mundo-logo img{position:absolute;left:0;top:-17.857143%;width:100%;height:auto;max-width:none}header.ms-unified-header .header-actions{display:flex;align-items:center;gap:16px;font:400 13px/1.5 Arial,sans-serif}header.ms-unified-header .account small{font-size:12px} @media(max-width:580px){header.ms-unified-header{padding:.6rem 5%}header.ms-unified-header .mundo-logo{width:85px}header.ms-unified-header .brand{gap:.8rem;font-size:16px}}

header.ms-unified-header>.header-actions,header.ms-unified-header>.account,header.ms-unified-header>#username{display:none!important}header.ms-unified-header .ms-account{display:flex;align-items:center;gap:16px;font:400 13px/1.5 Arial,sans-serif;white-space:nowrap}header.ms-unified-header .ms-account form{margin:0}header.ms-unified-header .ms-account button{font:400 13px/1.5 Arial,sans-serif;padding:9px 13px;background:white;border:1px solid #dce5ee;border-radius:8px;color:#183047;cursor:pointer}@media(max-width:1250px){header.ms-unified-header .ms-account{margin-left:auto}}@media(max-width:580px){header.ms-unified-header .ms-account>span{max-width:130px;overflow:hidden;text-overflow:ellipsis}}

header.users-standard-header{padding:18px 5%;gap:14px}header.users-standard-header .brand{font-size:20px}header.users-standard-header .brand small{font-size:13px}header.users-standard-header .mundo-logo img{object-fit:fill;object-position:initial}

header.ms-unified-header>.ms-legacy-account{display:none!important}header.ms-topbar.ms-unified-header{padding:18px 5%;gap:14px}header.ms-topbar.ms-unified-header .brand{font-size:20px}header.ms-topbar.ms-unified-header .brand small{font-size:13px}header.ms-topbar.ms-unified-header .mundo-logo img{object-fit:fill;object-position:initial}

/* Navegação e conteúdo para uso pelo toque */
.ms-mobile-toggle{display:none!important}
@media(max-width:700px){
html{scroll-padding-top:150px}body{overflow-wrap:break-word}
header.ms-unified-header,header.users-standard-header,header.ms-topbar.ms-unified-header,.home-page header.ms-unified-header{padding:10px 14px;gap:8px;position:sticky;top:0;max-width:100%;align-items:center}
header.ms-unified-header .brand,.home-page header.ms-unified-header .brand,header.users-standard-header .brand,header.ms-topbar.ms-unified-header .brand{flex:1;min-width:0;gap:9px;font-size:15px;letter-spacing:0}
header.ms-unified-header .brand .mundo-logo{width:64px}
header.ms-unified-header .brand .ms-brand-text{min-width:0}
header.ms-unified-header .brand small,.home-page header.ms-unified-header .brand small,header.users-standard-header .brand small,header.ms-topbar.ms-unified-header .brand small{font-size:10px;line-height:1.4;max-width:220px}
header.ms-unified-header .ms-account{gap:6px;margin:0;font-size:12px}
header.ms-unified-header .ms-account>span{display:none}
header.ms-unified-header .ms-account>span{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:580px){header.ms-unified-header .ms-account>span{max-width:90px}}
header.ms-unified-header .ms-account button{min-height:44px;padding:9px 11px}
header.ms-unified-header .ms-mobile-toggle{display:block!important;order:2;width:100%;text-align:left;border:1px solid #c6e5eb;background:#e9f9fc;color:#084b8d;padding:10px 14px;min-height:44px;border-radius:9px;font:600 14px Arial,sans-serif}
header.ms-unified-header .ms-system-menu{display:none;order:3;flex-basis:100%;width:100%;max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;padding:4px 0;gap:4px;align-items:stretch;flex-direction:column;flex-wrap:nowrap}
header.ms-mobile-open .ms-system-menu{display:flex}
.ms-system-menu>a,.ms-menu-group>button{width:100%;text-align:left;min-height:44px;padding:12px 14px;font-size:14px}
.ms-menu-group{width:100%}.ms-menu-group .ms-submenu{position:static;min-width:0;box-shadow:none;margin:3px 0 6px 12px;border-radius:8px}.ms-submenu a{min-height:44px;white-space:normal;font-size:14px}.ms-menu-group:hover>.ms-submenu,.ms-menu-group:focus-within>.ms-submenu{display:none}.ms-menu-group.is-open>.ms-submenu{display:block}
main,.home-page .home-layout main,.workspace{width:100%;max-width:100%;padding:20px 14px 100px;min-width:0}
main h1{font-size:26px;letter-spacing:-.5px}main h2{font-size:19px}
main button,main a.primary,main .actions>a{min-height:44px;white-space:normal}main input:not([type=checkbox]):not([type=radio]),main select,main textarea,#ms-chat input:not([type=checkbox]),#ms-chat select,#ms-chat textarea{font-size:16px;max-width:100%;min-width:0;min-height:44px}main textarea{min-height:100px}main input[type=checkbox],main input[type=radio]{min-width:20px;min-height:20px}
main .intro,main .section-heading,main .panel-heading{flex-wrap:wrap;gap:12px}main .intro{align-items:stretch}main .intro>.actions,main .panel-heading>.actions{width:100%}.actions,.editor-footer,.confirm-actions,.permission-buttons{flex-wrap:wrap;gap:8px}.actions>*,.editor-footer>button,.permission-buttons>button{flex:1 1 140px;max-width:100%}
main .grid,main .grid.four,main .item-grid,main .system-permissions,main .type-options,main .crm-inbox{grid-template-columns:minmax(0,1fr);gap:14px}main .grid>*,main .item-grid>*,main .filters>*,main .toolbar>*{min-width:0}main .wide{grid-column:1/-1}
main .form-section,main .record,.crm-page #fields,.crm-page #conversation{padding:18px 14px}main .entry-row,main .stop,main .details-card{padding:14px}main .entry-heading,main .stop-header{flex-wrap:wrap;gap:10px}main .entry-heading>h4{max-width:100%;overflow-wrap:anywhere}
main .filters,main .toolbar{gap:12px;padding-left:14px;padding-right:14px}main .filters label,main .toolbar label{width:100%;min-width:0;flex-basis:100%}.table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}main td,main th{padding:12px}main td:first-child{min-width:100px;max-width:180px}main .panel{min-width:0;border-radius:12px}.crm-table{max-width:100%;overflow:auto}.crm-board,.kanban-board{max-width:100%;scroll-snap-type:x proximity}.crm-column,.kanban-column{width:85vw;max-width:310px;min-width:0;flex:0 0 min(85vw,310px);scroll-snap-align:start}
main .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}main .metric{padding:14px;min-width:0}main .metric strong{font-size:23px}.areas{grid-template-columns:repeat(2,minmax(0,1fr))}.area{min-width:0;padding:12px}.area strong{font-size:22px}
.home-calendar .calendar-heading{flex-wrap:wrap;gap:12px;padding:18px 14px}.calendar-toolbar,.calendar-summary{padding-left:14px;padding-right:14px}.calendar-navigation{width:100%;gap:8px}.calendar-navigation label{flex:1;min-width:0}.calendar-grid{grid-template-columns:repeat(7,minmax(82px,1fr));overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.calendar-weekday{font-size:11px}.calendar-day{padding:6px;min-height:110px}.calendar-event{font-size:11px!important}
dialog{max-height:90dvh;overflow-y:auto;width:calc(100% - 24px);padding:18px}#signature{width:100%;height:180px}#photos{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card{padding:9px;min-width:0}.photo-card img{height:120px}.equipment-photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}
#equipment-toolbar,#question-toolbar{padding:10px 0;gap:8px}#equipment-toolbar>button,#question-toolbar>button{min-height:44px}
#ms-chat #chat-toggle{bottom:calc(16px + env(safe-area-inset-bottom));right:14px;min-height:48px;padding:11px 16px}#chat-panel{top:calc(var(--chat-top,130px) + 6px);bottom:calc(6px + env(safe-area-inset-bottom))}#chat-compose textarea{min-height:60px}footer{padding-bottom:90px}
}
@media(max-width:360px){header.ms-unified-header .brand{font-size:14px}header.ms-unified-header .brand .mundo-logo{width:50px}#photos{grid-template-columns:minmax(0,1fr)}}

.ms-library-page{background:#f3f6fa;color:#183047;font-family:Arial,Helvetica,sans-serif;--background:#f3f6fa;--foreground:#183047;--primary:#0861b9;--primary-foreground:#fff;--secondary:#edf3fa;--secondary-foreground:#183047;--muted:#f3f6fa;--muted-foreground:#62758a;--accent:#eaf3ff;--accent-foreground:#0861b9;--border:#dce5ee;--input:#dce5ee;--ring:#60a5fa;--card:#fff;--card-foreground:#183047;--popover:#fff;--popover-foreground:#183047}
.ms-library-page .shell{background:#f3f6fa;min-height:100vh;color:#183047}.ms-library-page .workspace{max-width:1600px;margin:auto;padding:24px 5%}.ms-library-page .workspace h1,.ms-library-page .workspace h2,.ms-library-page .workspace h3{color:#183047}.ms-library-page .eyebrow,.ms-library-page .file-icon,.ms-library-page .icon-actions,.ms-library-page .document-actions a{color:#0861b9}.ms-library-page .workspace p,.ms-library-page .helper,.ms-library-page .details dt,.ms-library-page .card-foot{color:#62758a}.ms-library-page .manual-card,.ms-library-page .team-panel,.ms-library-page .classification-summary{background:#fff;border-color:#dce5ee;border-radius:12px}.ms-library-page .category,.ms-library-page .count,.ms-library-page .file-icon{background:#edf3fa;color:#0861b9}.ms-library-page .upload-zone{background:#f3f6fa;border-color:#9bbac7}.ms-library-page .manual-card:hover{border-color:#0861b9}.ms-library-page header.ms-unified-header{padding:18px 5%;gap:14px}.ms-library-page header.ms-unified-header .brand{font-size:20px}.ms-library-page header.ms-unified-header .brand small{font-size:13px}.ms-library-page .navigation{flex-wrap:wrap;gap:12px}.ms-library-page .navigation [role=tablist]{flex-wrap:wrap;height:auto;gap:4px}.ms-library-page .navigation [role=tab]{min-height:44px}.ms-library-page .manual-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}
@media(max-width:700px){.ms-library-page header.ms-unified-header{padding:10px 14px;gap:8px}.ms-library-page header.ms-unified-header .brand{font-size:15px}.ms-library-page header.ms-unified-header .brand small{font-size:10px}.ms-library-page .workspace{padding:20px 14px 100px}.ms-library-page .heading,.ms-library-page .toolbar,.ms-library-page .classification-summary{flex-wrap:wrap;gap:12px}.ms-library-page .toolbar>*{width:100%;min-width:0}.ms-library-page .manual-grid{grid-template-columns:minmax(0,1fr)}.ms-library-page .navigation{align-items:stretch}.ms-library-page .navigation [role=tablist]{width:100%;justify-content:flex-start}.ms-library-page .classification-summary{padding:16px}.ms-library-page .repair-actions{flex-wrap:wrap}}

/* Keep the shared navigation visible above the library's component styles. */
.ms-library-page header.ms-unified-header{overflow:visible;height:auto;min-height:0}.ms-library-page header.ms-unified-header>.ms-system-menu{display:flex!important;visibility:visible;opacity:1;position:relative;z-index:60}.ms-library-page .ms-menu-group{overflow:visible}.ms-library-page .ms-menu-group>button{color:#084b8d;background:transparent}.ms-library-page .ms-system-menu a{color:#084b8d}
@media(max-width:700px){.ms-library-page header.ms-unified-header>.ms-system-menu{display:none!important}.ms-library-page header.ms-unified-header.ms-mobile-open>.ms-system-menu{display:flex!important}.ms-library-page header.ms-unified-header>.ms-mobile-toggle{display:block!important}}

@media(max-width:700px){header.ms-unified-header>.ms-mobile-toggle{width:auto;flex:0 0 auto;order:0;margin-left:auto}header.ms-unified-header>.ms-account{order:1}header.ms-unified-header>.ms-system-menu,.ms-library-page header.ms-unified-header>.ms-system-menu{position:absolute;right:14px;top:100%;width:max-content;max-width:calc(100vw - 28px);min-width:0;flex-basis:auto;background:white;padding:8px;border:1px solid #c6e5eb;border-radius:10px;box-shadow:0 8px 24px #18304725;max-height:calc(100dvh - 110px);align-items:stretch}header.ms-unified-header .ms-system-menu>a,.ms-menu-group>button{white-space:nowrap;width:auto}.ms-system-menu .ms-submenu{min-width:0}.ms-system-menu .ms-submenu a{white-space:nowrap}.ms-library-page header.ms-unified-header.ms-mobile-open>.ms-system-menu{position:absolute}}

/* Cabeçalho compacto: logo, menu central e conta */
header.ms-unified-header .ms-brand-text{display:none!important}
@media(min-width:701px){header.ms-unified-header>.ms-system-menu{order:0;flex:1 1 0;min-width:0;justify-content:center}header.ms-unified-header>.ms-account{margin-left:0}}

/* Menu lateral recolhível no computador. A barra abre ao passar o mouse ou ao navegar pelo teclado. */
@media(min-width:701px){
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)){padding-left:36px;transition:padding-left .2s ease}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)).ms-library-page header.ms-unified-header>.ms-system-menu{
 position:fixed!important;inset:0 auto 0 0!important;z-index:200!important;width:36px!important;height:100dvh!important;
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;
 gap:6px!important;padding:12px 3px!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box;
 background:#fff!important;border:0!important;border-right:1px solid #d5e3e8!important;border-top:3px solid #06b6d4!important;
 border-radius:0!important;box-shadow:4px 0 18px #102b4215!important;transition:width .2s ease,box-shadow .2s ease
}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu:hover,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu:focus-within,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)).ms-library-page header.ms-unified-header>.ms-system-menu:hover,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)).ms-library-page header.ms-unified-header>.ms-system-menu:focus-within{width:210px!important;box-shadow:8px 0 28px #102b4226!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu>a,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group>button{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:40px!important;padding:3px!important;gap:8px!important;overflow:hidden;text-align:left!important;border:1px solid transparent!important;border-radius:9px!important;box-sizing:border-box;color:#17334d!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within)>a,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within)>.ms-menu-group>button{justify-content:center!important;padding:0!important;gap:0!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within) .ms-menu-label,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within) .ms-menu-chevron{display:none!important;min-width:0!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu>a:hover,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu>a[aria-current=page],
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group>button:hover,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group.is-open>button{background:#eaf7f8!important;color:#075963!important;border-color:#cde4e7!important;box-shadow:none!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-icon{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;height:30px!important;font:800 17px/1 Arial,sans-serif!important;color:#06758a!important;background:#e6f7f8!important;border:1px solid #c8e9ec!important;border-radius:8px!important;opacity:1!important;visibility:visible!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-label{min-width:132px;opacity:0;white-space:nowrap;transition:opacity .08s ease;font:700 13px/1.3 Arial,sans-serif;color:#17334d!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-chevron{margin-left:auto;opacity:0;font-size:12px;color:#527781;transition:opacity .12s ease}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:hover .ms-menu-label,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:focus-within .ms-menu-label,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:hover .ms-menu-chevron,
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:focus-within .ms-menu-chevron{opacity:1!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group{position:relative!important;width:100%!important;flex:0 0 auto!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group .ms-submenu{position:static!important;min-width:0!important;margin:3px 0 3px 38px!important;padding:3px!important;box-shadow:none!important;background:#f6fbfc!important;border-color:#dcebed!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group .ms-submenu a{min-height:38px!important;padding:8px 10px!important;white-space:normal!important;font-size:13px!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within) .ms-submenu{display:none!important}
body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header{position:sticky;left:0;width:auto;max-width:none}
}
@media(max-width:700px){
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)){padding-left:0}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-icon{display:inline-grid;place-items:center;width:28px;margin-right:8px;color:#087f96}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-label{display:inline;opacity:1}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-chevron{float:right;margin-left:8px;opacity:1}
}
@media(prefers-reduced-motion:reduce){body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)),body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu,body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-label,body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-chevron{transition:none!important}}

/* Logo horizontal oficial: sem recorte e com cabeçalho compacto. */
header.ms-unified-header,header.users-standard-header,header.ms-topbar.ms-unified-header,.ms-library-page header.ms-unified-header{padding:.38rem 5%;gap:12px}
header.ms-unified-header .brand,header.users-standard-header .brand,header.ms-topbar.ms-unified-header .brand{gap:.85rem}
header.ms-unified-header .brand .mundo-logo,header.users-standard-header .brand .mundo-logo,header.ms-topbar.ms-unified-header .brand .mundo-logo,.ms-library-page header.ms-unified-header .mundo-logo{display:flex;align-items:center;justify-content:center;width:142px;height:48px;aspect-ratio:auto;padding:5px 8px;overflow:hidden;border-radius:7px;background:#fff}
header.ms-unified-header .brand .mundo-logo img,header.users-standard-header .brand .mundo-logo img,header.ms-topbar.ms-unified-header .brand .mundo-logo img,.ms-library-page header.ms-unified-header .mundo-logo img{position:static;inset:auto;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:center}
@media(max-width:700px){header.ms-unified-header,header.users-standard-header,header.ms-topbar.ms-unified-header,.ms-library-page header.ms-unified-header{padding:6px 14px}header.ms-unified-header .brand .mundo-logo,header.users-standard-header .brand .mundo-logo,header.ms-topbar.ms-unified-header .brand .mundo-logo,.ms-library-page header.ms-unified-header .mundo-logo{width:110px;height:38px;padding:4px 6px}}
@media(max-width:360px){header.ms-unified-header .brand .mundo-logo{width:96px;height:34px}}

/* Cabeçalho azul integral e logo branco. */
header.ms-unified-header,header.users-standard-header,header.ms-topbar.ms-unified-header,.ms-library-page header.ms-unified-header{background:#17334d!important;color:#fff!important}
header.ms-unified-header .brand .mundo-logo,header.users-standard-header .brand .mundo-logo,header.ms-topbar.ms-unified-header .brand .mundo-logo,.ms-library-page header.ms-unified-header .mundo-logo{background:transparent!important;border-radius:0!important}
header.ms-unified-header .mundo-logo img,header.users-standard-header .mundo-logo img,header.ms-topbar.ms-unified-header .mundo-logo img,.ms-library-page header.ms-unified-header .mundo-logo img{filter:brightness(0) invert(1)}

/* Submenus laterais no menu recolhido: a coluna principal não muda de posição. */
@media(min-width:701px){
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)).ms-library-page header.ms-unified-header>.ms-system-menu{overflow:visible!important}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group .ms-submenu{
  position:absolute!important;top:0!important;left:calc(100% + 8px)!important;width:max-content!important;min-width:230px!important;max-width:320px!important;
  margin:0!important;padding:7px!important;background:#fff!important;border:1px solid #c6e5eb!important;border-radius:10px!important;
  box-shadow:0 12px 30px #17334d25!important;z-index:240!important
 }
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group .ms-submenu::before{
  content:"";position:absolute;top:0;right:100%;width:9px;height:100%
 }
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group .ms-submenu a{
  min-height:40px!important;padding:9px 12px!important;white-space:nowrap!important;font-size:13px!important
 }
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-system-menu:not(:hover):not(:focus-within) .ms-submenu{display:none!important}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group:hover>.ms-submenu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group:focus-within>.ms-submenu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group.is-open>.ms-submenu{display:block!important}
}

/* A Home usa exatamente as mesmas medidas do cabeçalho de Cadastro. */
body.home-page header.topbar.ms-unified-header{
 padding:.38rem 5%!important;
 gap:12px!important;
 min-height:0!important;
 box-sizing:border-box!important
}
body.home-page header.topbar.ms-unified-header .brand{gap:.85rem!important}
body.home-page header.topbar.ms-unified-header .brand .mundo-logo{
 width:142px!important;height:48px!important;padding:5px 8px!important;box-sizing:border-box!important
}
@media(max-width:700px){
 body.home-page header.topbar.ms-unified-header{padding:6px 14px!important;gap:8px!important}
 body.home-page header.topbar.ms-unified-header .brand .mundo-logo{width:110px!important;height:38px!important;padding:4px 6px!important}
}

header.ms-unified-header .ms-account .ms-technician-area{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid #75d6de;border-radius:10px;background:#ffffff12;color:#fff;text-decoration:none;font:700 12px/1.3 Arial,Helvetica,sans-serif;white-space:nowrap;box-sizing:border-box}header.ms-unified-header .ms-account .ms-technician-area:hover,header.ms-unified-header .ms-account .ms-technician-area[aria-current=page]{background:#07828d;border-color:#89e7ec;color:#fff}header.ms-unified-header .ms-account .ms-technician-area:focus-visible{outline:3px solid #89e7ec;outline-offset:2px}@media(max-width:700px){header.ms-unified-header .ms-account .ms-technician-area{min-height:40px;padding:8px 10px}header.ms-unified-header .ms-account .ms-technician-area>span:last-child{display:none}}

/* Movimento mais calmo do menu e dos submenus. */
@media(min-width:701px){
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)){transition:padding-left .38s ease!important}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) header.ms-unified-header>.ms-system-menu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)).ms-library-page header.ms-unified-header>.ms-system-menu{transition:width .38s cubic-bezier(.22,.61,.36,1),box-shadow .38s ease!important}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-label,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-chevron{transition:opacity .24s ease .08s!important}
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group:hover>.ms-submenu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group:focus-within>.ms-submenu,
 body:is(.ms-side-menu,:has(.shell .manual-grid),:has(header.ms-topbar)) .ms-menu-group.is-open>.ms-submenu{animation:ms-submenu-soft-in .26s cubic-bezier(.22,.61,.36,1) both}
}
@keyframes ms-submenu-soft-in{from{opacity:0;transform:translateX(-7px)}to{opacity:1;transform:translateX(0)}}
