/* MES three-color brand system */
:root{--mes-blue:#2563EB;--mes-green:#0D9488;--mes-navy:#14263D}
.brand .symbol{background:linear-gradient(135deg,var(--mes-blue),var(--mes-green))!important;color:#fff!important}
.brand>span:last-child{color:var(--mes-navy);font-weight:800}
.brand small{color:#475569}
a:focus-visible,button:focus-visible{outline:3px solid var(--mes-green)!important;outline-offset:3px}
.nav-cta,.button:not(.secondary):not(.green){background:var(--mes-blue);border-color:var(--mes-blue)}
.button.green{background:var(--mes-green);border-color:var(--mes-green)}
::selection{background:#CCFBF1;color:var(--mes-navy)}

/* Consistent MES brand mark and responsive footer */
.brand .brand-logo{width:92px;height:46px;object-fit:contain;flex-shrink:0}
.brand>span:last-child{min-width:0}
.foot{flex-wrap:wrap;gap:20px}
.foot>div{min-width:0;overflow-wrap:anywhere}
.foot a{display:inline-block;min-height:32px}
@media(max-width:650px){.brand .brand-logo{width:70px;height:38px}.brand small{font-size:8px;letter-spacing:.04em}.foot{align-items:flex-start}}

/* MultiEasySolutions enterprise palette: navy / royal blue / teal */
:root{--mes-navy:#14263D;--mes-blue:#2563EB;--mes-green:#0D9488;--brand-primary:#2563EB;--brand-accent:#0D9488;--brand-ink:#14263D}
body{color:var(--mes-navy)}
a:hover{color:var(--mes-blue)}
.btn,.nav-cta,.button:not(.secondary):not(.green){background-color:var(--mes-blue);border-color:var(--mes-blue)}
.btn:hover,.nav-cta:hover,.button:not(.secondary):not(.green):hover{background-color:#1D4ED8;border-color:#1D4ED8}
.button.green,.btn.green{background-color:var(--mes-green);border-color:var(--mes-green)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--mes-blue);outline-offset:2px}
::selection{background:#CCFBF1;color:var(--mes-navy)}

/* Corporate homepage navigation and responsive components */
.header .links{gap:clamp(12px,2vw,30px);align-items:center}
.header .links a{font-size:13px;font-weight:700;white-space:nowrap}
.header .links .nav-contact{background:#2563EB;color:#fff!important;padding:11px 17px;border-radius:11px;box-shadow:0 5px 15px #2563EB26}
.header .links .nav-contact:hover{background:#1D4ED8;color:#fff!important}
.hero .gradient{background:linear-gradient(110deg,#93C5FD 8%,#5EEAD4 90%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero .eyebrow{color:#99F6E4}
.card,.platform{border-radius:18px;border-color:#DCE6EE}
.card a{color:#2563EB;font-weight:750}
.card a:hover{color:#0D9488}
@media(max-width:900px){.header .links{gap:0}.header .links a{font-size:15px;white-space:normal}.header .links .nav-contact{margin:10px 14px;text-align:center;display:block}}

/* Restore complete navigation without clipping on desktop */
.header .nav{height:auto;min-height:70px;flex-wrap:wrap;gap:8px 24px;padding-top:8px;padding-bottom:8px}
.header .links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 17px;max-width:100%;line-height:1.4}
.header .links a{font-size:12px;padding:7px 0;white-space:nowrap}
@media(max-width:900px){.header .nav{min-height:70px}.header .links{display:none;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0;max-width:none}.header .links.open{display:flex}.header .links a{padding:12px 16px;font-size:15px;white-space:normal}}

/* Full navigation retained in accessible dropdown groups */
.header .nav{flex-wrap:nowrap;min-height:76px}
.header .mes-nav{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(10px,1.6vw,24px);overflow:visible}
.header .mes-nav>a{white-space:nowrap}
.mes-nav-group{position:relative;flex:0 0 auto}
.mes-nav-group summary{list-style:none;cursor:pointer;color:#213550;font-size:13px;font-weight:700;padding:10px 2px;white-space:nowrap}
.mes-nav-group summary::-webkit-details-marker{display:none}
.mes-nav-group summary span{color:#0D9488;margin-left:3px}
.mes-nav-group summary:hover,.mes-nav-group[open] summary{color:#2563EB}
.mes-nav-group summary:focus-visible{outline:3px solid #0D9488;outline-offset:3px;border-radius:5px}
.mes-nav-panel{position:absolute;top:calc(100% + 8px);left:0;min-width:225px;background:#fff;border:1px solid #DCE6EE;border-radius:14px;box-shadow:0 16px 36px #14263D24;padding:8px;z-index:100}
.mes-nav-panel a{display:block;padding:12px 13px!important;color:#14263D!important;border-radius:8px;white-space:nowrap;font-size:13px!important}
.mes-nav-panel a:hover,.mes-nav-panel a:focus-visible{background:#EFF6FF;color:#2563EB!important}
@media(max-width:900px){.header .nav{flex-wrap:nowrap}.header .mes-nav{display:none;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0;max-height:calc(100dvh - 70px);overflow-y:auto}.header .mes-nav.open{display:flex}.mes-nav-group{width:100%}.mes-nav-group summary{padding:13px 16px;font-size:15px}.mes-nav-panel{position:static;box-shadow:none;border:0;border-left:3px solid #0D9488;border-radius:0;margin:0 16px 8px;padding:0 0 0 8px;min-width:0}.mes-nav-panel a{white-space:normal}.header .mes-nav .nav-contact{margin:10px 14px}}

/* Accessible mobile navigation touch target */
.header .menu{min-width:44px;min-height:44px;align-items:center;justify-content:center;cursor:pointer;border-radius:10px}
.header .menu:focus-visible{outline:3px solid #0D9488;outline-offset:3px}
@media(max-width:900px){.header .menu{display:inline-flex}}
/* Mobile hero: keep message and action visible without excessive scrolling */
@media(max-width:600px){
 .hero .hero-grid{min-height:0;padding:38px 0 30px;gap:18px}
 .hero .visual{min-height:210px!important;display:flex;align-items:center;justify-content:center}
 .hero .orb{width:min(220px,65vw);height:auto;aspect-ratio:1;box-shadow:0 0 30px #0D948855,inset 0 0 40px #2563EB55}
 .hero .orb strong{font-size:clamp(14px,4vw,19px)}
 .hero h1{font-size:clamp(34px,9vw,46px);line-height:1.1}
 .hero p{font-size:16px;line-height:1.55}
}
/* Inner-page responsive header and services hero */
@media(max-width:620px){
 header .top{gap:8px;padding-top:12px;padding-bottom:12px}
 header .top nav{gap:2px 12px}
 header .top nav a{min-height:40px;font-size:12px}
 .hero .hero-grid{min-height:0;gap:12px}
 .hero .hero-grid>div:first-child{padding-top:30px}
 .hero .visual{height:195px;min-height:0}
 .hero h1{font-size:clamp(34px,9vw,42px);line-height:1.12}
 .hero p{font-size:16px;line-height:1.55}
}
/* Shared inner-page navigation keyboard and touch accessibility */
header .top nav a:focus-visible{outline:3px solid #0D9488;outline-offset:3px;border-radius:5px}
@media(max-width:620px){header .top nav a{min-height:44px;display:inline-flex;align-items:center}header .top nav{row-gap:2px}}
/* Shared inner-page navigation */
.mes-shared-header .top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:78px;flex-wrap:nowrap}
.mes-shared-header .mes-inner-nav{display:flex;align-items:center;gap:clamp(10px,1.3vw,20px);flex-wrap:nowrap}
.mes-shared-header .mes-inner-nav>a{white-space:nowrap}
.mes-inner-group{position:relative}.mes-inner-group summary{cursor:pointer;list-style:none;font-weight:700;font-size:13px;white-space:nowrap;padding:12px 2px;color:#14263D}.mes-inner-group summary::-webkit-details-marker{display:none}.mes-inner-group summary span{color:#0D9488}
.mes-inner-panel{position:absolute;left:0;top:100%;z-index:120;min-width:240px;padding:8px;border:1px solid #DCE6EE;background:#fff;border-radius:12px;box-shadow:0 16px 35px #14263D25}.mes-inner-panel a{display:block!important;white-space:nowrap;padding:11px 12px!important;color:#14263D!important;min-height:44px;border-radius:7px}.mes-inner-panel a:hover,.mes-inner-panel a:focus-visible{background:#EFF6FF;color:#2563EB!important}
.mes-inner-group summary:focus-visible,.mes-inner-toggle:focus-visible{outline:3px solid #0D9488;outline-offset:3px}
.mes-inner-toggle{display:none;min-width:44px;min-height:44px;border:1px solid #CBD5E1;border-radius:10px;background:#fff;color:#14263D;font-size:24px;cursor:pointer}
@media(max-width:1050px){.mes-shared-header .top{position:relative;flex-direction:row;align-items:center;min-height:76px;padding:12px 0}.mes-inner-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.mes-shared-header .mes-inner-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:110;flex-direction:column;align-items:stretch;gap:0;background:#fff;padding:12px;border:1px solid #DCE6EE;border-radius:12px;box-shadow:0 16px 35px #14263D25;max-height:calc(100dvh - 90px);overflow-y:auto}.mes-shared-header .mes-inner-nav.is-open{display:flex}.mes-shared-header .mes-inner-nav>a{display:flex;align-items:center;min-height:44px;padding:10px 12px}.mes-inner-group summary{padding:12px;font-size:15px}.mes-inner-panel{position:static;box-shadow:none;border:0;border-left:3px solid #0D9488;border-radius:0;margin:0 12px 8px;min-width:0}.mes-inner-panel a{white-space:normal}}

/* Brand wordmark inspired by approved visual reference */
.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-family:Inter,Arial,sans-serif!important;font-weight:850!important;letter-spacing:-.045em!important;color:#0b2243!important;line-height:1.05!important;white-space:nowrap}
.header .brand .mes-brand-accent,.mes-shared-header .brand .mes-brand-accent{color:#0878df!important}
.header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{display:block!important;color:#34445e!important;letter-spacing:.28em!important;font-size:clamp(8px,.75vw,11px)!important;font-weight:550!important;margin-top:5px!important;line-height:1.2!important}
@media(max-width:430px){.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:clamp(15px,4.3vw,20px)!important}.header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{font-size:8px!important;letter-spacing:.2em!important}}

/* Premium corporate wordmark and descriptor */
.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{display:flex!important;flex-direction:column;align-items:flex-start;letter-spacing:-.055em!important}
.header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{font-style:normal;letter-spacing:.33em!important;font-weight:500!important;margin-top:4px!important}
.header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{display:block;font-size:clamp(7px,.7vw,10px);font-weight:450;font-style:normal;letter-spacing:.025em;line-height:1.4;color:#65748b;margin-top:4px;white-space:nowrap}
.header .brand .mes-brand-tagline b,.mes-shared-header .brand .mes-brand-tagline b{color:#0878df;font-weight:600}
@media(max-width:600px){.header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{font-size:7px;letter-spacing:0}.header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{letter-spacing:.22em!important}}
/* Mobile brand: one horizontal wordmark, compact logo and aligned menu */
.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{display:block!important;white-space:nowrap!important;flex:0 1 auto;min-width:0}
.header .brand .mes-brand-wordmark .mes-brand-accent,.mes-shared-header .brand .mes-brand-wordmark .mes-brand-accent{display:inline!important}
.header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{display:block!important}
@media(max-width:620px){
 .header .container.nav,.mes-shared-header .wrap.top{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:8px!important;padding-top:12px!important;padding-bottom:12px!important}
 .header .brand,.mes-shared-header .brand{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;min-width:0!important}
 .header .brand img,.mes-shared-header .brand img{width:64px!important;height:58px!important;object-fit:contain!important;flex:0 0 64px!important}
 .header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:clamp(15px,4.5vw,20px)!important;line-height:1.1!important;letter-spacing:-.055em!important}
 .header .brand .mes-brand-wordmark small,.mes-shared-header .brand .mes-brand-wordmark small{font-size:8px!important;letter-spacing:.23em!important;margin-top:5px!important}
 .header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{font-size:clamp(6px,1.6vw,8px)!important;letter-spacing:-.01em!important;white-space:nowrap!important;margin-top:4px!important}
 .header .menu,.mes-inner-toggle{flex:0 0 44px!important;width:44px!important;height:44px!important;margin-left:auto!important}
}
@media(max-width:365px){.header .brand img,.mes-shared-header .brand img{width:53px!important;flex-basis:53px!important}.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:14px!important}.header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{font-size:6px!important}}

/* Inline legal suffix, never a second row */
.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{display:inline!important;font-size:.49em!important;letter-spacing:-.02em!important;font-weight:650!important;color:#40526c!important;vertical-align:baseline!important;white-space:nowrap!important}
.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{white-space:nowrap!important}
@media(max-width:620px){.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:clamp(14px,3.7vw,18px)!important}.header .brand img,.mes-shared-header .brand img{width:55px!important;flex-basis:55px!important;height:50px!important}.header .brand,.mes-shared-header .brand{gap:6px!important}.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-size:.45em!important}}
/* Final responsive header typography: correct mobile readability and brand balance */
@media(max-width:620px){
 .header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:clamp(16px,4.7vw,20px)!important;letter-spacing:-.06em!important;line-height:1.13!important}
 .header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-size:.47em!important;font-weight:700!important;color:#52617a!important}
 .header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{font-size:clamp(7px,1.95vw,9px)!important;line-height:1.3!important;margin-top:5px!important}
 .header .brand img,.mes-shared-header .brand img{width:58px!important;flex-basis:58px!important;height:52px!important}
 .header .brand,.mes-shared-header .brand{gap:8px!important}
}
@media(max-width:375px){
 .header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{font-size:clamp(14px,4.25vw,16px)!important}
 .header .brand .mes-brand-tagline,.mes-shared-header .brand .mes-brand-tagline{font-size:7px!important}
 .header .brand img,.mes-shared-header .brand img{width:53px!important;flex-basis:53px!important;height:50px!important}
 .header .brand,.mes-shared-header .brand{gap:6px!important}
}
/* Final legible legal suffix and consistent brand scale */
.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-size:.62em!important;font-weight:700!important;letter-spacing:-.025em!important;color:#42536e!important}
@media(max-width:620px){.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-size:.56em!important}.header .brand .mes-brand-wordmark,.mes-shared-header .brand .mes-brand-wordmark{letter-spacing:-.065em!important}}
/* Brand legal suffix: identical font, weight and size to company name */
.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-family:inherit!important;font-size:1em!important;font-weight:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;color:inherit!important;vertical-align:baseline!important}
@media(max-width:620px){.header .brand .mes-brand-legal,.mes-shared-header .brand .mes-brand-legal{font-size:1em!important}}

/* Refined shared brand header: tighter rhythm and clearer hierarchy */
.mes-shared-header{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #e5edf7;
  box-shadow:0 4px 18px rgba(20,38,61,.055);
}
.mes-shared-header .top{
  gap:clamp(12px,2vw,22px);
}
.mes-shared-header .brand{
  gap:10px;
}
.mes-shared-header .brand-logo{
  width:84px;
  height:54px;
  filter:drop-shadow(0 2px 3px rgba(20,38,61,.08));
}
.header .brand .mes-brand-tagline,
.mes-shared-header .brand .mes-brand-tagline{
  margin-top:3px!important;
  line-height:1.25!important;
  letter-spacing:.015em!important;
  color:#687991!important;
}
.mes-inner-toggle,
.header .menu{
  border:1px solid #d9e7f7;
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#f3f8ff 100%);
  color:#0878df;
  box-shadow:0 3px 10px rgba(8,120,223,.08);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.mes-inner-toggle:hover,
.header .menu:hover{
  background:#eaf4ff;
  border-color:#b9d8f8;
  box-shadow:0 5px 14px rgba(8,120,223,.13);
  transform:translateY(-1px);
}
@media(max-width:620px){
  .header .container.nav,
  .mes-shared-header .wrap.top{
    gap:8px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
  .header .brand,
  .mes-shared-header .brand{
    gap:9px!important;
  }
  .header .brand img,
  .mes-shared-header .brand img{
    width:56px!important;
    height:48px!important;
    flex-basis:56px!important;
  }
  .header .brand .mes-brand-wordmark,
  .mes-shared-header .brand .mes-brand-wordmark{
    font-size:clamp(15px,4.5vw,20px)!important;
    line-height:1.08!important;
    letter-spacing:-.052em!important;
  }
  .header .brand .mes-brand-tagline,
  .mes-shared-header .brand .mes-brand-tagline{
    margin-top:3px!important;
    font-size:clamp(7px,1.8vw,8.5px)!important;
    letter-spacing:0!important;
    line-height:1.2!important;
  }
  .mes-inner-toggle,
  .header .menu{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    border-radius:12px!important;
  }
}
@media(max-width:375px){
  .header .brand,
  .mes-shared-header .brand{gap:7px!important}
  .header .brand img,
  .mes-shared-header .brand img{
    width:52px!important;
    flex-basis:52px!important;
  }
  .header .brand .mes-brand-wordmark,
  .mes-shared-header .brand .mes-brand-wordmark{
    font-size:clamp(14px,4.2vw,16px)!important;
  }
  .header .brand .mes-brand-tagline,
  .mes-shared-header .brand .mes-brand-tagline{
    font-size:7px!important;
  }
}

/* Prevent the full navigation from clipping at narrow desktop widths */
@media(min-width:901px) and (max-width:959px){
  .header .nav{position:relative;min-height:76px;flex-wrap:nowrap}
  .header .menu{display:inline-flex;flex:0 0 44px;min-width:44px;min-height:44px}
  .header .links{
    display:none;
    position:absolute;
    top:calc(100% - 1px);
    left:0;
    right:0;
    z-index:110;
    flex-direction:column;
    align-items:stretch;
    flex-wrap:nowrap;
    gap:0;
    max-width:none;
    max-height:calc(100dvh - 90px);
    overflow-y:auto;
    padding:12px;
    background:#fff;
    border:1px solid #dce6ee;
    border-radius:0 0 14px 14px;
    box-shadow:0 16px 35px rgba(20,38,61,.15);
  }
  .header .links.open{display:flex}
  .header .links>a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:11px 14px;
    font-size:15px;
    white-space:normal;
  }
  .header .links .nav-contact{margin:8px 10px;text-align:center}
  .header .mes-nav-group{width:100%}
  .header .mes-nav-group summary{padding:12px 14px;font-size:15px}
  .header .mes-nav-panel{
    position:static;
    min-width:0;
    margin:0 14px 8px;
    border:0;
    border-left:3px solid #0d9488;
    border-radius:0;
    box-shadow:none;
  }
  .header .mes-nav-panel a{white-space:normal}
}

/* Desktop balance for the brand lockup and hero eyebrow */
@media(min-width:1200px){
  .header .nav{min-height:88px}
  .header .brand{gap:12px}
  .header .brand img{
    width:110px!important;
    height:58px!important;
    flex-basis:110px!important;
  }
  .header .brand .mes-brand-wordmark{
    font-size:20px!important;
    line-height:1.1!important;
    letter-spacing:-.045em!important;
  }
  .header .brand .mes-brand-tagline{
    margin-top:4px!important;
    font-size:11px!important;
    line-height:1.25!important;
    letter-spacing:.015em!important;
  }
  .hero .eyebrow{
    gap:8px;
    padding:8px 12px;
    font-size:10px;
    letter-spacing:1.6px;
  }
  .hero .eyebrow:before{width:7px;height:7px}
}

/* Unified MES navigation: single-open dropdowns, consistent destinations and compact panels */
.mes-nav-group,.mes-inner-group{position:relative;flex:0 0 auto}
.mes-nav-panel,.mes-inner-panel{
  position:absolute;top:calc(100% + 8px);right:0;left:auto;z-index:220;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;
  gap:3px 8px;width:min(520px,calc(100vw - 32px));
  max-height:calc(100dvh - 110px);overflow:auto;padding:10px;
  background:#fff;border:1px solid #dce6ee;border-radius:14px;
  box-shadow:0 16px 36px rgba(20,38,61,.16)
}
.mes-nav-panel a,.mes-inner-panel a{
  display:flex!important;align-items:center;min-height:44px;padding:10px 12px!important;
  border-radius:8px;color:#14263d!important;font-size:13px!important;
  line-height:1.3;white-space:normal
}
.mes-nav-panel a:hover,.mes-nav-panel a:focus-visible,
.mes-inner-panel a:hover,.mes-inner-panel a:focus-visible{
  background:#eff6ff;color:#2563eb!important
}
.mes-nav-group[open] summary,.mes-inner-group[open] summary{color:#2563eb}
.mes-footer-nav{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;
  margin-top:14px;font-size:13px;font-weight:650
}
.mes-footer-nav a{color:#cbd8e8}
.mes-footer-nav a:hover,.mes-footer-nav a:focus-visible{color:#fff;text-decoration:underline}
@media(max-width:1050px){
  .mes-inner-panel{
    position:static;right:auto;left:auto;width:auto;max-height:none;overflow:visible;
    grid-template-columns:1fr;margin:0 12px 10px;padding:0 0 0 8px;
    border:0;border-left:3px solid #0d9488;border-radius:0;box-shadow:none
  }
}
@media(max-width:959px){
  .mes-nav-panel{
    position:static;right:auto;left:auto;width:auto;max-height:none;overflow:visible;
    grid-template-columns:1fr;margin:0 12px 10px;padding:0 0 0 8px;
    border:0;border-left:3px solid #0d9488;border-radius:0;box-shadow:none
  }
  .mes-nav-panel a,.mes-inner-panel a{white-space:normal}
}

/* Keep the existing contact column styling after adding footer navigation */
.foot>div:last-of-type{display:flex;flex-direction:column;gap:6px;font-size:13px}

/* Respect native details state while enabling the compact grid when open */
.mes-nav-group:not([open])>.mes-nav-panel,
.mes-inner-group:not([open])>.mes-inner-panel{display:none}
.mes-nav-group[open]>.mes-nav-panel,
.mes-inner-group[open]>.mes-inner-panel{display:grid}
