/* DocArms mobile navigation: four primary destinations and secondary actions in a drawer. */
@media(max-width:899px){
 body:not(.docarms-public) .wrap{padding:10px 14px calc(78px + env(safe-area-inset-bottom))}
 body:not(.docarms-public) .top{display:flex;align-items:center;gap:10px;margin-bottom:18px}
 body:not(.docarms-public) .brand{min-width:0;gap:10px}
 body:not(.docarms-public) .brand .mark{width:44px;height:44px;flex:none;background:#fff;border-color:#d4e1d6}
 body:not(.docarms-public) .brand h1{font-size:21px}
 body:not(.docarms-public) .brand p{font-size:11px;line-height:1.3}
 .da-top-actions{display:flex;align-items:center;gap:8px;flex:none}
 .da-toolbar-help{display:flex;align-items:center}
 .da-menu-toggle{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:48px;min-height:46px;padding:7px 10px;border:1px solid #cbd9cf;border-radius:14px;background:#fff;color:#234b36;font:700 13px/1 system-ui,sans-serif;box-shadow:0 2px 8px rgba(24,55,36,.08);cursor:pointer}
 #signout{display:none!important}
 #bottomnav{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;grid-auto-flow:column;align-items:center;gap:0;padding:5px 5px calc(5px + env(safe-area-inset-bottom));min-height:calc(64px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #d7e1d9;box-shadow:0 -5px 18px rgba(35,61,43,.08);backdrop-filter:blur(14px)}
 #bottomnav .sidebar-brand{display:none!important}
 #bottomnav [data-nav="account"],#bottomnav #professionalNavAccess{display:none!important}
 #bottomnav .navbtn{min-width:0;width:100%;min-height:52px;margin:0;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#607168;font-size:11px;font-weight:750;line-height:1.15;white-space:nowrap}
 #bottomnav .navbtn>span:last-child{max-width:100%;white-space:nowrap}
 #bottomnav .navbtn .navico{font-size:21px;line-height:1.05}
 #bottomnav .navbtn.active,#bottomnav .navbtn.active .navico{color:#187546}
 #bottomnav .navbadge{min-width:17px;height:17px;background:#a53b32;color:#fff;font-size:10px}
 #view-account{padding-bottom:18px}
 #accountSignout{position:relative;display:block;margin:18px 0 0;min-height:52px;background:#eaf3ed;border:1px solid #b7d2bf;color:#234b36;font-size:15px;font-weight:780}
 #daToolbarHelpSlot #helpInboxButton:not(.hidden){position:relative!important;inset:auto!important;transform:none!important;width:auto!important;min-width:44px!important;max-width:205px!important;height:44px!important;min-height:44px!important;padding:8px 11px!important;border-radius:14px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;background:#e7f3eb!important;border:1px solid #b9d9c3!important;color:#24563a!important;box-shadow:none!important;font-size:13px!important;line-height:1.2!important}
 #daToolbarHelpSlot #helpInboxButton:not(.hidden)::before{content:none!important;display:none!important}
 body:has(#view-account:not(.hidden)) #helpInboxButton,body:has(#view-service:not(.hidden)) #helpInboxButton,body:has(#view-help:not(.hidden)) #helpInboxButton{display:none!important}
}
@media(min-width:900px){.da-menu-toggle,.da-mobile-menu-backdrop,.da-mobile-menu{display:none!important}}

.da-mobile-menu-backdrop{position:fixed;inset:0;z-index:118;background:rgba(22,40,29,.34);backdrop-filter:blur(2px)}
.da-mobile-menu{position:fixed;z-index:119;inset:0 auto 0 0;width:min(360px,88vw);height:100dvh;overflow-y:auto;padding:22px 18px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;background:#fff;color:#1d2b23;box-shadow:18px 0 44px rgba(25,47,33,.18)}
.da-menu-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 18px;border-bottom:1px solid #e2e9e3}
.da-menu-eyebrow{display:block;color:#668072;font-size:10px;font-weight:850;letter-spacing:.12em}
.da-menu-header h2{margin:4px 0 0;font-size:25px;line-height:1.15;color:#1d2b23}
.da-menu-close{display:grid;place-items:center;width:46px;height:46px;border:1px solid #d4e0d6;border-radius:14px;background:#f8faf8;color:#31513e;cursor:pointer}
.da-menu-links{display:grid;gap:5px;padding:14px 0}
.da-menu-link{width:100%;min-height:50px;display:flex;align-items:center;gap:13px;padding:9px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:#314b3a;text-align:left;font:650 15px/1.3 system-ui,sans-serif;cursor:pointer}
.da-menu-link:hover,.da-menu-link:focus-visible{background:#f0f6f1;border-color:#dae6dc}
.da-menu-link.active{background:#e9f4ec;border-color:#c7dece;color:#17683e;font-weight:800}
.da-menu-icon{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:9px;background:#eff5f0;color:#25794c;font-size:19px;font-weight:800}
.da-menu-divider{height:1px;background:#e3e9e4;margin:7px 3px}
.da-menu-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 6px;border-radius:99px;background:#a53b32;color:#fff;font-size:11px;font-weight:800}
.da-help-icon{border-radius:50%;border:1px solid #a9cbb3;background:#eef7f0;font-size:16px}
.da-menu-footnote{margin:auto 5px 0;padding-top:14px;border-top:1px solid #e3e9e4;color:#748178;font-size:12px;line-height:1.4}
body.docarms-public :is(.da-menu-toggle,.da-mobile-menu-backdrop,.da-mobile-menu){display:none!important}
@media(max-width:899px){.da-mobile-menu{max-height:100vh;max-height:100dvh}}

@media(max-width:360px){
 #bottomnav .navbtn{height:54px!important;min-height:54px!important;max-height:54px!important;padding:4px 0!important;gap:3px!important}
 #bottomnav .navbtn>span:last-child{font-size:14px!important;line-height:1.1!important;white-space:nowrap!important;letter-spacing:-.3px!important}
 #daToolbarHelpSlot #helpInboxButton:not(.hidden){position:relative!important;width:auto!important;min-width:0!important;max-width:calc(100vw - 112px)!important;padding:7px 9px!important;font-size:12px!important}
 #daToolbarHelpSlot #helpInboxButton:not(.hidden)::before{content:none!important;display:none!important}
 #daToolbarHelpSlot #helpInboxButton .navbadge{font-size:9px!important;right:0!important;top:-2px!important}
}

/* A ajuda precisa ter rótulo legível também nos telefones estreitos. */
@media(max-width:899px){
 #daToolbarHelpSlot #helpInboxButton:not(.hidden){width:auto!important;min-width:0!important;max-width:min(205px,calc(100vw - 112px))!important;white-space:normal!important;line-height:1.2!important}
 #daToolbarHelpSlot #helpInboxButton .da-whatsapp-label{display:inline!important;font-size:12px!important;font-weight:800!important;white-space:normal!important;text-align:center!important}
 #daToolbarHelpSlot #helpInboxButton img{width:20px;height:20px;flex:none}
}
