.mg-desktop-catalog{width:min(580px,calc(100vw - 32px));max-height:min(75vh,720px);overflow:auto}
.mg-catalog-links ul{margin:0;padding:0;list-style:none}
.mg-catalog-links .mg-catalog-sidebar__item{position:relative;border-bottom:1px solid #d7e1e9}
.mg-catalog-links .mg-catalog-sidebar__link{display:flex;align-items:center;min-height:44px;padding:10px 16px;white-space:normal;color:#17354d;text-decoration:none}
.mg-catalog-links .mg-catalog-sidebar__item--branch>.mg-catalog-sidebar__link{padding-right:60px}
.mg-catalog-links .mg-catalog-sidebar__children{padding-left:16px;background:#f5f8fc}
.mg-catalog-links .mg-catalog-sidebar__toggle{position:absolute;top:0;right:4px;width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;border:1px solid #a5b7c6;border-radius:6px}
.mg-catalog-links .mg-catalog-sidebar__toggle::-webkit-details-marker{display:none}
.mg-catalog-links .mg-catalog-sidebar__chevron{width:9px;height:9px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg)}
.mg-catalog-links details[open]>.mg-catalog-sidebar__toggle .mg-catalog-sidebar__chevron{transform:rotate(225deg)}
.mg-catalog-links a:focus-visible,.mg-catalog-links summary:focus-visible{outline:3px solid #125b97;outline-offset:-3px}
.mg-catalog-links a:hover{background:#edf4fa;color:#125b97;text-decoration:underline}

/* Task launcher: shared desktop/mobile component in the existing MGO palette. */
#dropdown-categories-menu.mg-service-launcher-trigger{font-size:16px;padding-right:28px;white-space:nowrap;text-transform:none}
#mg-desktop-catalog.mg-service-launcher-panel{width:390px!important;max-width:calc(100vw - 32px);max-height:calc(100dvh - 125px);overflow-y:auto;padding:0;border:1px solid #d7e1e9;border-radius:0 0 4px 4px;box-shadow:0 6px 18px #17354d26}
.mg-service-launcher{background:#fff;color:#172334;font:16px/1.35 Roboto,Arial,sans-serif;text-align:left;white-space:normal}
.mg-service-launcher .mg-service-launcher__intro{padding:20px 20px 10px}
.mg-service-launcher .mg-service-launcher__intro p{font-size:11px;letter-spacing:.08em;color:#54748d;margin:0 0 7px}
.mg-service-launcher .mg-service-launcher__intro h2{font:500 22px/1.25 Roboto,Arial,sans-serif;color:#17354d;margin:0;text-transform:none;letter-spacing:normal}
.mg-service-launcher .mg-service-launcher__intro h2::after{display:none}
.mg-service-launcher ul{padding:0;margin:0;list-style:none}
.mg-service-launcher .mg-service-launcher__tasks{padding:2px 10px 12px}
.mg-service-launcher .mg-service-launcher__action,.mg-service-launcher summary{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px;border:0;border-radius:4px;background:transparent;color:#17354d;font:400 16px/1.3 Roboto,Arial,sans-serif;text-decoration:none;cursor:pointer;list-style:none;width:100%}
.mg-service-launcher summary::-webkit-details-marker{display:none}
.mg-service-launcher summary::marker{content:''}
.mg-service-launcher .mg-service-launcher__action:hover,.mg-service-launcher summary:hover,.mg-service-launcher .mg-service-launcher__children a:hover{background:#edf4fa;color:#0758a2}
.mg-service-launcher .mg-service-launcher__icon{display:flex;align-items:center;justify-content:center;width:34px;height:38px;flex:0 0 34px;background:#edf4fa;border-radius:4px;color:#337ab7}
.mg-service-launcher .mg-service-launcher__icon:before{content:'';display:block;width:21px;height:21px;background:currentColor;-webkit-mask:var(--mg-icon) center/contain no-repeat;mask:var(--mg-icon) center/contain no-repeat}
.mg-service-launcher .mg-service-launcher__arrow{margin-left:auto;color:#64849b;font-size:19px}
.mg-service-launcher .mg-service-launcher__chevron{margin-left:auto;flex:0 0 8px;height:8px;border-right:1.5px solid #64849b;border-bottom:1.5px solid #64849b;transform:rotate(45deg);margin-right:5px}
.mg-service-launcher details[open]>summary .mg-service-launcher__chevron{transform:rotate(225deg)}
.mg-service-launcher .mg-service-launcher__children{padding:0 10px 8px 56px}
.mg-service-launcher .mg-service-launcher__children a{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 8px;color:#125b97;font:400 15px/1.3 Roboto,Arial,sans-serif;border-radius:3px;text-decoration:none}
.mg-service-launcher .mg-service-launcher__equipment{border-top:1px solid #d7e1e9;margin:0 20px;padding:10px 0 14px}
.mg-service-launcher .mg-service-launcher__catalog{background:#edf4fa;min-height:58px;font-weight:500}
.mg-service-launcher .mg-service-launcher__catalog small{display:block;font-size:12px;line-height:1.3;font-weight:400;margin-top:3px;color:#54748d}
.mg-service-launcher .mg-service-launcher__equipment .mg-service-launcher__icon{background:transparent}
.mg-service-launcher .mg-service-launcher__help{padding:16px 20px;border-top:1px solid #d7e1e9;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#54748d}
.mg-service-launcher .mg-service-launcher__help a{color:#125b97;white-space:nowrap;text-decoration:none;font-size:14px}
.mg-service-launcher :is(a,summary):focus-visible,#dropdown-categories-menu.mg-service-launcher-trigger:focus-visible{outline:2px solid #125b97!important;outline-offset:2px}
#navbarOffcanvasLg .mg-service-launcher-mobile{padding:0;border-bottom:1px solid #d7e1e9}
#navbarOffcanvasLg .mg-service-launcher-mobile a{height:auto;white-space:normal}
/* Keep the mobile task list compact enough to leave room for the site links.
   The next native menu row already contains the phone/contact choices. */
@media(max-width:991.98px){
 #navbarOffcanvasLg .mg-service-launcher__intro{padding:6px 8px 8px}
 #navbarOffcanvasLg .mg-service-launcher__intro p{display:none}
 #navbarOffcanvasLg .mg-service-launcher__intro h2{font-size:20px}
 #navbarOffcanvasLg .mg-service-launcher__tasks{padding:0 0 4px}
 #navbarOffcanvasLg .mg-service-launcher__action,#navbarOffcanvasLg .mg-service-launcher summary{min-height:44px;padding:6px 8px;gap:10px;line-height:1.25}
 #navbarOffcanvasLg .mg-service-launcher__icon{width:28px;height:28px;flex-basis:28px}
 #navbarOffcanvasLg .mg-service-launcher__icon:before{width:19px;height:19px}
 #navbarOffcanvasLg .mg-service-launcher__action>span:nth-child(2),#navbarOffcanvasLg .mg-service-launcher summary>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
 #navbarOffcanvasLg .mg-service-launcher__children{padding:0 8px 4px 38px}
 #navbarOffcanvasLg .mg-service-launcher__equipment{margin:0 8px;padding:6px 0 8px}
 #navbarOffcanvasLg .mg-service-launcher__catalog{min-height:50px}
 #navbarOffcanvasLg .mg-service-launcher__help{display:none}
}
