/* step33: grouped menu (Chairside + partner portal). A computer gets dropdowns; a phone or tablet gets one "Menu" button with an expandable list. */
.m33{overflow:visible!important}
.m33-toggle{display:none}
.m33-list{display:flex;align-items:center;gap:2px;width:100%}
.m33 .m33-top,.m33 .m33-g>summary{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border-radius:10px;font-weight:700;font-size:14.5px;color:#34424f;text-decoration:none;cursor:pointer;list-style:none;white-space:nowrap;min-height:44px;box-sizing:border-box;flex:none}
.m33 .m33-g>summary::-webkit-details-marker{display:none}
.m33 .m33-g>summary::after{content:'';width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 0 0 2px;opacity:.55}
.m33 .m33-g[open]>summary::after{transform:rotate(-135deg);margin-top:3px}
.m33 .m33-top:hover,.m33 .m33-g>summary:hover{background:#F1F7F3}
.m33 .m33-top.on,.m33 .m33-g>summary.on{background:#E8F5EE;color:#1E6B42}
.m33-i{font-style:normal;font-size:17px;line-height:1}
.m33-g{position:relative}
.m33-sub{position:absolute;top:calc(100% + 6px);left:0;min-width:230px;background:#fff;border:1px solid #e1e9e4;border-radius:14px;box-shadow:0 12px 30px rgba(20,40,30,.16);padding:6px;z-index:60;display:flex;flex-direction:column}
.m33 .m33-sub a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:10px;color:#22313f;text-decoration:none;font-weight:600;font-size:15px;min-height:46px;box-sizing:border-box;flex:none;background:none}
.m33 .m33-sub a:hover{background:#F1F7F3}.m33 .m33-sub a.on{background:#E8F5EE;color:#1E6B42}
.m33 .cs-badge{margin-left:6px}
.m33 .m33-list>.cs-out,.m33 .m33-list>.pt-cta{margin-left:auto}
.m33 .m33-list>.cs-out{color:#8795a4}
@media (max-width:979px){
  .cs-nav.m33{display:block;padding:8px 10px;max-height:calc(100vh - 60px);overflow-y:auto!important}
  .m33-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;border:1px solid #d5e2da;background:#fff;border-radius:12px;font:inherit;font-weight:800;font-size:16px;color:#22313f;padding:0 14px;cursor:pointer}
  .m33-toggle .m33-burger{font-size:20px}
  .m33-list{display:none;flex-direction:column;align-items:stretch;gap:2px;padding-top:6px}
  .m33.m33-open .m33-list{display:flex}
  .m33 .m33-top,.m33 .m33-g>summary{display:flex;width:100%;min-height:52px;font-size:16px;padding:12px 14px}
  .m33 .m33-g>summary::after{margin-left:auto}
  .m33-sub{position:static;box-shadow:none;border:0;border-radius:0;padding:0 0 6px 40px;min-width:0}
  .m33 .m33-sub a{min-height:48px;font-size:15.5px}
  .m33 .m33-list>.cs-out,.m33 .m33-list>.pt-cta{margin-left:0}
}
/* partner portal: the menu sits in the green top bar */
.pt-nav.m33 .cs-badge{background:#C0392B;color:#fff;border-radius:10px;padding:0 6px;font-size:12px;font-weight:700;line-height:18px}
.pt-nav.m33 .m33-list>.m33-top,.pt-nav.m33 .m33-list>.m33-g>summary{color:#fff}
.pt-nav.m33 .m33-list>.m33-top:hover,.pt-nav.m33 .m33-list>.m33-g>summary:hover{background:rgba(255,255,255,.14)}
.pt-nav.m33 .m33-list>.m33-top.on,.pt-nav.m33 .m33-list>.m33-g>summary.on{background:rgba(255,255,255,.24);color:#fff}
.pt-nav.m33 .m33-list>.pt-cta{background:rgba(255,255,255,.18)}
@media (max-width:979px){
  .pt-nav.m33{position:static}
  .pt-nav.m33 .m33-toggle{width:auto;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.5);color:#fff}
  .pt-nav.m33.m33-open .m33-list{position:absolute;left:8px;right:8px;width:auto;box-sizing:border-box;top:100%;background:#fff;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.22);padding:8px;z-index:60}
  .pt-nav.m33 .m33-list>.m33-top,.pt-nav.m33 .m33-list>.m33-g>summary{color:#22313f}
  .pt-nav.m33 .m33-list>.m33-top.on,.pt-nav.m33 .m33-list>.m33-g>summary.on{background:#E8F5EE;color:#1E6B42}
  .pt-nav.m33 .m33-list>.pt-cta{background:#2E8B57;color:#fff}
  .pt-nav.m33 .m33-list>.pt-out{display:flex}
}
