/* LEGAL CENTRE — Final V2 operational polish
   Screen-only readability + mobile resilience for active customer/admin modules.
   Print/PDF styles remain controlled by their document pages. */

@media screen {
  /* Dashboard */
  .mbv2-title small,.mbv2-top-tools a,.mbv2-regs-head b,.mbv2-regs-head span,
  .mbv2-reg,.mbv2-reg b,.mbv2-reg-empty,.mbv2-action small,.mbv2-stat span,
  .mbv2-stat em,.mbv2-stat .go,.mbv2-section-head p,.mbv2-section-head a,
  .mbv2-code,.mbv2-tag,.mbv2-progress span,.mbv2-open,.mbv2-service-row small,
  .mbv2-service-row a,.mbv2-note b,.mbv2-note p,.mbv2-disclaimer{font-size:12px!important;line-height:1.45!important}
  .mbv2-title p,.mbv2-health p,.mbv2-action p,.mbv2-empty{font-size:14px!important;line-height:1.6!important}
  .mbv2-service-row b{font-size:14px!important}.mbv2-tag{padding:6px 10px!important}

  /* Application workspace */
  .lcw-k,.lcw-progress-top,.lcw-metric span,.lcw-side small,.lcw label,
  .lcw input[type=file],.lcw select,.lcw-btn,.lcw-doc a,.lcw-payment,.lcw-pill,
  .lcw-trust span,.lcw-trust a,.lcw-check small,.lcw-event small{font-size:12px!important;line-height:1.45!important}
  .lcw-sub,.lcw-side p,.lcw-head p,.lcw-choice p,.lcw-paybox p,.lcw-note p{font-size:14px!important;line-height:1.6!important}
  .lcw-choice h3,.lcw-doc b,.lcw-history h3,.lcw-check b,.lcw-event b{font-size:14px!important}
  .lcw-next small{font-size:11.5px!important}.lcw-next p{font-size:14px!important}
  .lcw-event{position:relative;padding-left:24px!important}.lcw-event:before{content:"";position:absolute;left:3px;top:18px;width:8px;height:8px;border-radius:50%;background:#0b704b;box-shadow:0 0 0 5px #e9f6ef}
  .lcw-events{position:relative}.lcw-events:after{content:"";position:absolute;left:30px;top:82px;bottom:22px;width:1px;background:#dce8e1;pointer-events:none}

  /* Billing suite screens */
  .lb-kicker,.lb-btn,.businessbar span,.businessbar select,.stat span,.stat small,
  .tbl th,.tbl td,.lb-badge,.lb-view,.quick strong,.quick span,.lb-summary-row strong,
  .lb-summary-row span,.lb-empty,.lb-setup p,.lb-msg,.lb-nav a{font-size:12px!important;line-height:1.45!important}
  .lb-sub{font-size:14px!important}.tbl th{letter-spacing:.05em!important}.lb-nav a{min-height:42px!important}

  .lcu-k,.lcu-sub,.lcu-nav a,.lcu-step b,.lcu-step span,.lcu-purpose-k,.lcu-purpose-note,
  .lcu-market small,.lcu-mode,.lcu-card.export-card h2:before,.lcu label,.lcu-table th,
  .lcu-add,.lcu-save,.lcu-tip,.lcu-taxhelp,.lcu-hs-opt strong,.lcu-hs-opt span,
  .lcu-incoterm-intro,.lcu-location-field small,.lcu-loc-option strong,.lcu-loc-option span,
  .lcu-incoterm-summary,.lcu-country-field small,.lcu-country-option{font-size:12px!important;line-height:1.45!important}
  .lcu input,.lcu select,.lcu textarea{font-size:13px!important}.lcu-msg{font-size:13px!important}.lcu-nav a{min-height:42px!important}
  body.lcu-export-mode .export-simple-head th,
  body.lcu-export-mode .export-simple-head .export-subhead-row th,
  body.lcu-export-mode .lcu-items-card .lcu-table input,
  body.lcu-export-mode .lcu-items-card .lcu-table select{font-size:11px!important;line-height:1.35!important}

  .bd .btn,.bd .meta,.bd .kicker,.bd .dno,.bd .status,.bd .smalltitle,.bd .date span,
  .bd .date strong,.bd .tbl th,.bd .tbl td,.bd .idesc,.bd .notes,.bd .row,.bd .paybox p,
  .bd .sig div,.bd .footnote,.bd .paystat span,.bd .paystat strong,.bd .payhistory th,
  .bd .payhistory td,.bd .receiptbtn{font-size:11.5px!important;line-height:1.45!important}

  .lcp .k,.lcp .sub,.lcp .btn,.lcp .hero .label,.lcp label,.lcp input,.lcp select,
  .lcp textarea,.lcp .save,.lcp .msg,.lcp .tbl th,.lcp .tbl td,.lcp .badge,
  .lcp .empty,.lcp .note{font-size:12px!important;line-height:1.45!important}

  .lcr-btn,.lcr-small,.lcr-k,.lcr-paid,.lcr-meta span,.lcr-label,.lcr-meta strong,
  .lcr-box p,.lcr-amount span,.lcr-table td,.lcr-summary span,.lcr-summary strong,
  .lcr-note,.lcr-signbox strong,.lcr-foot{font-size:11.5px!important;line-height:1.45!important}

  .lbi-k,.lbi-sub,.lbi-back,.lbi label,.lbi-btn,.lbi-note,.lbi-msg,.lbi-table th,
  .lbi-table td,.lbi-badge,.lbi-empty,.lbi-nav a{font-size:12px!important;line-height:1.45!important}
  .lbi input,.lbi select,.lbi textarea{font-size:13px!important}.lbi-nav a{min-height:42px!important}

  /* Compliance + tools */
  .cc-k,.cc .stat span,.cc .task,.cc .task small,.cc .mini,.cc label,.cc input,.cc select,
  .cc textarea,.cc .empty,.cc .notice{font-size:12px!important;line-height:1.45!important}
  .lccc-k,.lccc-field label,.lccc-btn,.lccc-count,.lccc-top,.lccc-tag,.lccc-note{font-size:12px!important;line-height:1.45!important}
  .lct-kicker,.lct-pill,.lct-field label,.lct-btn,.lct-result,.lct-comp small,.lct-note,.lct-link small{font-size:12px!important;line-height:1.45!important}
  .lcgst-k,.lcgst-pill,.lcgst-title small,.lcgst-field label,.lcgst-help,.lcgst-detect,
  .lcgst-total small,.lcgst-break,.lcgst-mini,.lcgst-btn,.lcgst-note,.lcgst-howgrid p{font-size:12px!important;line-height:1.45!important}

  /* Auth screens */
  .lca-kicker,.lca-point,.lca-foot,.lca-eyebrow,.lca-alert,.lca-label,.lca-show,
  .lca-btn,.lca-switch,.lca-mini,.lca-note{font-size:12px!important;line-height:1.5!important}
  .lca input{font-size:14px!important}

  /* Admin navigation badges stay compact but legible. */
  .lc-admin-badge{font-size:10px!important;min-width:18px!important;height:18px!important}
}

@media screen and (max-width:760px){
  .mbv2-wrap,.lcw-wrap,.lbw,.lcuw,.lcpw,.lbi-wrap,.lcr-wrap{width:min(100% - 20px,1180px)!important}
  .mbv2-card,.lcw-card,.lb-card,.lcu-card,.lbi-card{border-radius:18px!important}
  .mbv2-section,.mbv2-health,.mbv2-action{padding:18px!important}
  .mbv2-service-links{grid-template-columns:1fr!important}
  .lcw-main,.lcw-side{padding-left:20px!important;padding-right:20px!important}
  .lcu-flow{grid-template-columns:1fr 1fr!important}.lcu-market-grid{grid-template-columns:1fr!important}
  .lb-grid{grid-template-columns:1fr!important}.stats{grid-template-columns:1fr 1fr!important}
  .lcp .grid{grid-template-columns:1fr!important}.lcp .full{grid-column:auto!important}
  .lcr-meta{grid-template-columns:1fr 1fr!important}.lcr-grid{grid-template-columns:1fr!important}.lcr-box:first-child{border-right:0!important}
  .lc-admin-badge{font-size:10px!important;min-width:18px!important;height:18px!important}
}

@media screen and (max-width:480px){
  .stats{grid-template-columns:1fr!important}.lcr-meta{grid-template-columns:1fr!important}
  .mbv2-stats{grid-template-columns:1fr!important}
}


/* FINAL MOBILE NO-SIDE-SCROLL — shared customer billing navigation */
@media screen and (max-width:760px){
  .bcw,.lcp-wrap,.lbi-wrap,.lbw,.lcuw,.bd .bdw{max-width:100%!important;min-width:0!important}
  .bc-nav,.lcp-nav,.lbi-nav,.lcu-nav{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:7px!important;width:100%!important;max-width:100%!important;overflow:visible!important
  }
  .bc-nav a,.lcp-nav a,.lbi-nav a,.lcu-nav a{
    width:100%!important;min-width:0!important;white-space:normal!important;
    text-align:center!important;padding:7px 8px!important;line-height:1.3!important
  }
  .bc-nav a.bc-nav-create,.lcp-nav a.lcp-nav-create,.lbi-nav a.lbi-nav-create{
    grid-column:1/-1!important;margin-left:0!important
  }
  .lb-doc-filters{flex-wrap:wrap!important;overflow:visible!important}
  #lcuHsPortal{min-width:0!important;max-width:calc(100vw - 20px)!important}
}
