/* ============================================================
   LEGAL CENTRE — MOBILE WORKSPACE NAVIGATOR V7
   Opaque, crash-free, one selector + one scrollable sheet.
   ============================================================ */
.lcmv7-slot,.lcmv7-overlay{display:none}
@media(max-width:900px){
  html body .lcws-side,html body .lcp3-sidebar{display:none!important}
  html body .lcws-shell,html body .lcav5-shell{grid-template-columns:1fr!important;gap:0!important;min-width:0!important}

  html body .lcmv7-slot{
    position:sticky!important;top:66px!important;z-index:640!important;display:block!important;
    width:100%!important;min-width:0!important;height:58px!important;min-height:58px!important;max-height:58px!important;
    margin:4px 0 16px!important;padding:0!important;isolation:isolate!important;overflow:visible!important
  }
  html body .lcmv7-trigger{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
    width:100%!important;height:58px!important;min-height:58px!important;max-height:58px!important;
    margin:0!important;padding:8px 9px 8px 15px!important;border:1px solid rgba(60,60,67,.13)!important;
    border-radius:18px!important;background:#fff!important;color:#1d1d1f!important;
    box-shadow:0 7px 22px rgba(24,30,27,.07)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    opacity:1!important;transform:none!important;translate:none!important;cursor:pointer!important;overflow:hidden!important
  }
  .lcmv7-trigger-copy{display:block;min-width:0}
  .lcmv7-trigger-kicker{display:block;margin:0 0 2px;color:#087443;font-size:9px;line-height:1.1;font-weight:780;letter-spacing:.09em;text-transform:uppercase}
  .lcmv7-trigger-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1d1d1f;font-size:15px;line-height:1.25;font-weight:680}
  .lcmv7-trigger-control{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#f1f1f3;color:#3a3a3c}
  .lcmv7-trigger-control svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

  html body .lcmv7-overlay{position:fixed!important;inset:0!important;z-index:20050!important;display:block!important;visibility:hidden!important;pointer-events:none!important}
  html body .lcmv7-overlay.is-open{visibility:visible!important;pointer-events:auto!important}
  html body .lcmv7-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;background:rgba(0,0,0,.13)!important;opacity:0!important;transition:opacity .18s ease!important}
  html body .lcmv7-overlay.is-open .lcmv7-backdrop{opacity:1!important}

  html body .lcmv7-sheet{
    position:absolute!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
    display:flex!important;flex-direction:column!important;height:min(680px,calc(100dvh - 82px - env(safe-area-inset-bottom,0px)))!important;
    min-height:0!important;max-height:calc(100dvh - 82px - env(safe-area-inset-bottom,0px))!important;
    border:1px solid rgba(60,60,67,.12)!important;border-radius:28px!important;background:#f7f7f9!important;
    box-shadow:0 28px 80px rgba(0,0,0,.22)!important;overflow:hidden!important;
    transform:translateY(calc(100% + 24px))!important;transition:transform .22s cubic-bezier(.2,.78,.2,1)!important
  }
  html body .lcmv7-overlay.is-open .lcmv7-sheet{transform:translateY(0)!important}

  .lcmv7-grabber{flex:0 0 auto;width:36px;height:4px;margin:8px auto 4px;border-radius:99px;background:#c9c9ce}
  .lcmv7-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:7px 10px 9px 15px;border-bottom:1px solid rgba(60,60,67,.10);background:#f7f7f9}
  .lcmv7-head-copy small{display:block;color:#087443;font-size:8px;font-weight:820;letter-spacing:.09em;text-transform:uppercase}
  .lcmv7-head-copy strong{display:block;margin-top:3px;max-width:calc(100vw - 110px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1d1d1f;font-size:16px}
  .lcmv7-close{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;background:#e9e9ed;color:#3a3a3c;font-size:20px}

  html body .lcmv7-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-y!important;scrollbar-width:none!important;padding:10px 8px calc(18px + env(safe-area-inset-bottom,0px))!important}
  .lcmv7-scroll::-webkit-scrollbar{display:none!important}
  .lcmv7-group{margin:0 0 12px}
  .lcmv7-group-title{margin:0 10px 6px;color:#8e8e93;font-size:8px;font-weight:780;letter-spacing:.09em;text-transform:uppercase}
  .lcmv7-group-card{overflow:hidden;border:1px solid rgba(60,60,67,.08);border-radius:18px;background:#fff}
  .lcmv7-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 20px;align-items:center;gap:10px;min-height:52px;padding:6px 12px;border-bottom:1px solid rgba(60,60,67,.08);color:#242a27!important;background:#fff!important;text-decoration:none!important}
  .lcmv7-row:last-child{border-bottom:0}
  .lcmv7-row.is-active{background:#edf6f1!important;color:#075335!important}
  .lcmv7-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f3f4f3;color:#53615a}
  .lcmv7-row.is-active .lcmv7-icon{background:#dceee4;color:#087443}
  .lcmv7-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .lcmv7-row-label{min-width:0;font-size:12px;font-weight:680;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .lcmv7-meta{display:inline-grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border:1px solid rgba(60,60,67,.10);border-radius:9px;background:#f6f6f7;color:#77777c;font-size:8px;font-weight:760}
  .lcmv7-chevron{color:#aaaeb0;font-size:17px}
  .lcmv7-row.is-active .lcmv7-chevron{color:#087443;font-size:13px;font-weight:800}
  html body.lcmv7-page-locked{overflow:hidden!important}

  /* Dashboard direct Billing Home card: first-class, not hidden behind menu. */
  .lcav5-foundation .lcw7-billing-home-card{
    background:linear-gradient(180deg,#f5fbf7 0%,#fff 100%)!important;
    border-color:rgba(8,116,67,.18)!important
  }
  .lcav5-foundation .lcw7-billing-home-card strong{color:#087443!important;white-space:nowrap!important}
}
@media(max-width:480px){
  html body .lcmv7-slot{top:64px!important;margin-bottom:14px!important}
  html body .lcmv7-sheet{left:6px!important;right:6px!important;bottom:calc(6px + env(safe-area-inset-bottom,0px))!important;height:calc(100dvh - 76px - env(safe-area-inset-bottom,0px))!important;max-height:calc(100dvh - 76px - env(safe-area-inset-bottom,0px))!important;border-radius:26px!important}
}
@media(prefers-reduced-motion:reduce){html body .lcmv7-sheet,html body .lcmv7-backdrop{transition:none!important}}
