/* BMS2 / GVR shared UI standard — presentation only. */
:root{
  --gvr-ui-ink:#17202a;
  --gvr-ui-muted:#667085;
  --gvr-ui-border:#d0d5dd;
  --gvr-ui-border-soft:#e6eaf0;
  --gvr-ui-surface:#ffffff;
  --gvr-ui-surface-soft:#f8fafc;
  --gvr-ui-primary:#163a57;
  --gvr-ui-primary-hover:#0e2c43;
  --gvr-ui-focus:rgba(30,100,148,.16);
  --gvr-ui-radius:10px;
  --gvr-ui-shadow:0 8px 24px rgba(31,54,73,.07);
}
/* Shared authenticated content shell. Login page is deliberately excluded. */
.bms2-standard-body .main,
.b2-legacy-content{color:var(--gvr-ui-ink)}

.bms2-standard-body .main .card,
.b2-legacy-content .card,
.bms2-standard-body .main .mm-legacy__card,
.b2-legacy-content .mm-legacy__card,
.bms2-standard-body .main .sms-legacy__card,
.b2-legacy-content .sms-legacy__card{
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:var(--gvr-ui-surface);
  box-shadow:var(--gvr-ui-shadow);
}

.bms2-standard-body .main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.bms2-standard-body .main select,
.bms2-standard-body .main textarea,
.b2-legacy-content input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.b2-legacy-content select,
.b2-legacy-content textarea{
  min-height:42px;
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  padding:8px 10px;
  background:#fff;
  color:var(--gvr-ui-ink);
  font:inherit;
}
.bms2-standard-body .main textarea,
.b2-legacy-content textarea{min-height:96px;resize:vertical}
.bms2-standard-body .main input:focus,
.bms2-standard-body .main select:focus,
.bms2-standard-body .main textarea:focus,
.b2-legacy-content input:focus,
.b2-legacy-content select:focus,
.b2-legacy-content textarea:focus{
  outline:3px solid var(--gvr-ui-focus);
  outline-offset:0;
  border-color:#6d8faa;
}
.bms2-standard-body .main input[readonly],
.bms2-standard-body .main input:disabled,
.bms2-standard-body .main select:disabled,
.bms2-standard-body .main textarea:disabled,
.b2-legacy-content input[readonly],
.b2-legacy-content input:disabled,
.b2-legacy-content select:disabled,
.b2-legacy-content textarea:disabled{
  background:var(--gvr-ui-surface-soft);
  color:var(--gvr-ui-muted);
}

.bms2-standard-body .main .button,
.bms2-standard-body .main .btn,
.bms2-standard-body .main .mm-legacy__button,
.bms2-standard-body .main .sms-legacy__button,
.b2-legacy-content .button,
.b2-legacy-content .btn,
.b2-legacy-content .mm-legacy__button,
.b2-legacy-content .sms-legacy__button{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  padding:8px 14px;
  background:#fff;
  color:#344054;
  font:inherit;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.bms2-standard-body .main .button:not(.button-secondary):not(.secondary):not([disabled]),
.b2-legacy-content .button:not(.button-secondary):not(.secondary):not([disabled]){
  background:var(--gvr-ui-primary);
  border-color:var(--gvr-ui-primary);
  color:#fff;
}
.bms2-standard-body .main .button:hover:not([disabled]),
.bms2-standard-body .main .btn:hover:not([disabled]),
.b2-legacy-content .button:hover:not([disabled]),
.b2-legacy-content .btn:hover:not([disabled]){filter:brightness(.97)}
.bms2-standard-body .main button[disabled],
.b2-legacy-content button[disabled]{opacity:.55;cursor:not-allowed}

.bms2-standard-body .main .table-wrap,
.bms2-standard-body .main .table-scroll,
.bms2-standard-body .main .mm-legacy__table-wrap,
.bms2-standard-body .main .sms-legacy__table-wrap,
.b2-legacy-content .table-wrap,
.b2-legacy-content .table-scroll,
.b2-legacy-content .mm-legacy__table-wrap,
.b2-legacy-content .sms-legacy__table-wrap{overflow:auto;border-radius:8px}

.bms2-standard-body .main .table,
.bms2-standard-body .main .metadata-table,
.bms2-standard-body .main .mm-legacy__table,
.bms2-standard-body .main .sms-legacy__table,
.bms2-standard-body .main .enquiry-table,
.b2-legacy-content .table,
.b2-legacy-content .metadata-table,
.b2-legacy-content .mm-legacy__table,
.b2-legacy-content .sms-legacy__table,
.b2-legacy-content .enquiry-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  color:#344054;
  font-size:.86rem;
}
.bms2-standard-body .main .table th,
.bms2-standard-body .main .metadata-table th,
.bms2-standard-body .main .mm-legacy__table th,
.bms2-standard-body .main .sms-legacy__table th,
.bms2-standard-body .main .enquiry-table th,
.b2-legacy-content .table th,
.b2-legacy-content .metadata-table th,
.b2-legacy-content .mm-legacy__table th,
.b2-legacy-content .sms-legacy__table th,
.b2-legacy-content .enquiry-table th{
  padding:10px 12px;
  background:var(--gvr-ui-surface-soft);
  color:#667085;
  font-size:.76rem;
  letter-spacing:.035em;
  text-transform:uppercase;
  font-weight:800;
  border-bottom:1px solid var(--gvr-ui-border-soft);
  text-align:left;
  white-space:nowrap;
}
.bms2-standard-body .main .table td,
.bms2-standard-body .main .metadata-table td,
.bms2-standard-body .main .mm-legacy__table td,
.bms2-standard-body .main .sms-legacy__table td,
.bms2-standard-body .main .enquiry-table td,
.b2-legacy-content .table td,
.b2-legacy-content .metadata-table td,
.b2-legacy-content .mm-legacy__table td,
.b2-legacy-content .sms-legacy__table td,
.b2-legacy-content .enquiry-table td{
  padding:10px 12px;
  border-bottom:1px solid #edf0f4;
  vertical-align:middle;
}
.bms2-standard-body .main .table tbody tr:hover td,
.bms2-standard-body .main .metadata-table tbody tr:hover td,
.bms2-standard-body .main .mm-legacy__table tbody tr:hover td,
.bms2-standard-body .main .sms-legacy__table tbody tr:hover td,
.bms2-standard-body .main .enquiry-table tbody tr:hover td,
.b2-legacy-content .table tbody tr:hover td,
.b2-legacy-content .metadata-table tbody tr:hover td,
.b2-legacy-content .mm-legacy__table tbody tr:hover td,
.b2-legacy-content .sms-legacy__table tbody tr:hover td,
.b2-legacy-content .enquiry-table tbody tr:hover td{background:#fbfcfd}

.bms2-standard-body .main .notice,
.b2-legacy-content .notice{
  border-radius:8px;
  padding:11px 13px;
  border:1px solid var(--gvr-ui-border-soft);
  background:#f8fafc;
  line-height:1.5;
}
.bms2-standard-body .main .muted,
.b2-legacy-content .muted{color:var(--gvr-ui-muted)}

.bms2-standard-body .main .money,
.b2-legacy-content .money{text-align:right;font-variant-numeric:tabular-nums}

@media(max-width:760px){
  .bms2-standard-body .main{padding-top:30px;padding-bottom:34px}
  .bms2-standard-body .main .card,
  .b2-legacy-content .card{border-radius:9px}
  .bms2-standard-body .main .table th,
  .bms2-standard-body .main .table td,
  .b2-legacy-content .table th,
  .b2-legacy-content .table td{padding:9px 10px}
}


/* Area-level normalization: preserve each leaf's business layout, normalize visual tokens. */
/* Main Menu + Vendor */
.b2-body .b2-legacy-content .mm-legacy__head,
.b2-body .b2-legacy-content .mm-legacy__panel,
.b2-body .b2-legacy-content .mm-legacy__modal-card,
.bms2-standard-body .main .mm-legacy__head,
.bms2-standard-body .main .mm-legacy__panel,
.bms2-standard-body .main .mm-legacy__modal-card{
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:var(--gvr-ui-shadow);
}
.b2-body .b2-legacy-content .mm-legacy__tabs a,
.bms2-standard-body .main .mm-legacy__tabs a{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:#344054;
}
.b2-body .b2-legacy-content .mm-legacy__tabs a[aria-current="page"],
.bms2-standard-body .main .mm-legacy__tabs a[aria-current="page"]{
  border-color:#9aabb9;
  background:#edf3f6;
  color:#163a57;
}
.b2-body .b2-legacy-content .mm-legacy__selector select,
.b2-body .b2-legacy-content .mm-legacy__field input,
.b2-body .b2-legacy-content .mm-legacy__field select,
.b2-body .b2-legacy-content .mm-legacy__field textarea,
.bms2-standard-body .main .mm-legacy__selector select,
.bms2-standard-body .main .mm-legacy__field input,
.bms2-standard-body .main .mm-legacy__field select,
.bms2-standard-body .main .mm-legacy__field textarea{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:var(--gvr-ui-ink);
}
.b2-body .b2-legacy-content .mm-legacy__button,
.bms2-standard-body .main .mm-legacy__button{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:#344054;
  min-height:40px;
}

/* Transaction family */
.b2-body .b2-legacy-content [class^="tx-"][class*="__header"],
.b2-body .b2-legacy-content [class^="tx-"][class*="__main-card"],
.b2-body .b2-legacy-content [class^="tx-"][class*="__primary"],
.b2-body .b2-legacy-content [class^="tx-"][class*="__detail"],
.b2-body .b2-legacy-content [class^="tx-"][class*="__panel"],
.b2-body .b2-legacy-content [class^="tx-"][class*="__add-panel"],
.bms2-standard-body .main [class^="tx-"][class*="__header"],
.bms2-standard-body .main [class^="tx-"][class*="__main-card"],
.bms2-standard-body .main [class^="tx-"][class*="__primary"],
.bms2-standard-body .main [class^="tx-"][class*="__detail"],
.bms2-standard-body .main [class^="tx-"][class*="__panel"],
.bms2-standard-body .main [class^="tx-"][class*="__add-panel"]{
  border-color:var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
}
.b2-body .b2-legacy-content [class^="tx-"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.b2-body .b2-legacy-content [class^="tx-"] select,
.b2-body .b2-legacy-content [class^="tx-"] textarea,
.bms2-standard-body .main [class^="tx-"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.bms2-standard-body .main [class^="tx-"] select,
.bms2-standard-body .main [class^="tx-"] textarea{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:var(--gvr-ui-ink);
}
.b2-body .b2-legacy-content [class^="tx-"] button,
.b2-body .b2-legacy-content [class^="tx-"] .btn,
.bms2-standard-body .main [class^="tx-"] button,
.bms2-standard-body .main [class^="tx-"] .btn{
  border-radius:8px;
  min-height:40px;
  font:inherit;
}
.b2-body .b2-legacy-content [class^="tx-"] table th,
.bms2-standard-body .main [class^="tx-"] table th{
  background:var(--gvr-ui-surface-soft);
  color:#667085;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.035em;
  border-bottom-color:var(--gvr-ui-border-soft);
}
.b2-body .b2-legacy-content [class^="tx-"] table td,
.bms2-standard-body .main [class^="tx-"] table td{border-bottom-color:#edf0f4}

/* Enquiry family */
.b2-body .b2-legacy-content .enquiry-card,
.b2-body .b2-legacy-content .enquiry-stat,
.bms2-standard-body .main .enquiry-card,
.bms2-standard-body .main .enquiry-stat{
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:var(--gvr-ui-shadow);
}
.b2-body .b2-legacy-content .enquiry-field input,
.b2-body .b2-legacy-content .enquiry-field select,
.bms2-standard-body .main .enquiry-field input,
.bms2-standard-body .main .enquiry-field select{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
}
.b2-body .b2-legacy-content .enquiry-table th,
.bms2-standard-body .main .enquiry-table th{
  background:var(--gvr-ui-surface-soft);
  color:#667085;
  border-bottom-color:var(--gvr-ui-border-soft);
}
.b2-body .b2-legacy-content .enquiry-table td,
.bms2-standard-body .main .enquiry-table td{border-bottom-color:#edf0f4}
.b2-body .b2-legacy-content .enquiry-alert,
.bms2-standard-body .main .enquiry-alert{border-radius:8px}

/* Report interactive family */
.b2-body .b2-legacy-content .filters .field input,
.b2-body .b2-legacy-content .filters .field select,
.bms2-standard-body .main .filters .field input,
.bms2-standard-body .main .filters .field select{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
}
.b2-body .b2-legacy-content .btn,
.bms2-standard-body .main .btn{
  min-height:40px;
  padding:8px 14px;
  border-radius:8px;
  border:1px solid var(--gvr-ui-primary);
  background:var(--gvr-ui-primary);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:700;
}
.b2-body .b2-legacy-content .btn.alt,
.bms2-standard-body .main .btn.alt{
  background:#fff;
  color:#344054;
  border-color:var(--gvr-ui-border);
}
.b2-body .b2-legacy-content .stat,
.bms2-standard-body .main .stat{
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:0 3px 12px rgba(31,54,73,.04);
}

/* SMS / preset family */
.b2-body .b2-legacy-content .sms-legacy__card,
.b2-body .b2-legacy-content .sms-preset__card,
.bms2-standard-body .main .sms-legacy__card,
.bms2-standard-body .main .sms-preset__card{
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:var(--gvr-ui-shadow);
}
.b2-body .b2-legacy-content .sms-legacy input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.b2-body .b2-legacy-content .sms-legacy select,
.b2-body .b2-legacy-content .sms-legacy textarea,
.b2-body .b2-legacy-content .sms-preset input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.b2-body .b2-legacy-content .sms-preset select,
.b2-body .b2-legacy-content .sms-preset textarea,
.bms2-standard-body .main .sms-legacy input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.bms2-standard-body .main .sms-legacy select,
.bms2-standard-body .main .sms-legacy textarea,
.bms2-standard-body .main .sms-preset input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.bms2-standard-body .main .sms-preset select,
.bms2-standard-body .main .sms-preset textarea{
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
}

/* Admin / database / profile common lists */
.b2-body .b2-legacy-content .data-row,
.bms2-standard-body .main .data-row{
  border-bottom-color:var(--gvr-ui-border-soft);
}
.b2-body .b2-legacy-content .pill,
.bms2-standard-body .main .pill{border-radius:999px}


/* Typography hierarchy shared by authenticated pages. */
.b2-body .b2-legacy-content h1,
.bms2-standard-body .main h1{
  margin:0 0 10px;
  color:#101828;
  font-size:1.55rem;
  line-height:1.22;
  letter-spacing:-.02em;
}
.b2-body .b2-legacy-content h2,
.bms2-standard-body .main h2{
  color:#182230;
  font-size:1.08rem;
  line-height:1.3;
}
.b2-body .b2-legacy-content label,
.bms2-standard-body .main label{
  color:#475467;
  font-size:.84rem;
  font-weight:700;
}
.b2-body .b2-legacy-content a:not(.button):not(.btn):not(.mm-legacy__button):not(.sms-legacy__button),
.bms2-standard-body .main a:not(.button):not(.btn):not(.mm-legacy__button):not(.sms-legacy__button){
  color:#215b7a;
}


/* Ownership Info — canonical search/filter arrangement. */
.b2-body .b2-legacy-content .ownership-info-search,
.bms2-standard-body .main .ownership-info-search{
  padding:20px 22px;
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:var(--gvr-ui-shadow);
}
.b2-body .b2-legacy-content .ownership-info-search__grid,
.bms2-standard-body .main .ownership-info-search__grid{
  display:grid;
  grid-template-columns:minmax(300px,2fr) minmax(180px,1fr) minmax(130px,.72fr) minmax(130px,.72fr);
  gap:14px 16px;
  align-items:end;
}
.b2-body .b2-legacy-content .ownership-info-search__field,
.bms2-standard-body .main .ownership-info-search__field{
  display:grid;
  gap:6px;
  min-width:0;
  margin:0;
}
.b2-body .b2-legacy-content .ownership-info-search__field>span,
.bms2-standard-body .main .ownership-info-search__field>span{
  color:#475467;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.025em;
}
.b2-body .b2-legacy-content .ownership-info-search input[type="search"],
.b2-body .b2-legacy-content .ownership-info-search select,
.bms2-standard-body .main .ownership-info-search input[type="search"],
.bms2-standard-body .main .ownership-info-search select{
  width:100%;
  min-height:42px;
  margin:0;
  padding:9px 11px;
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:var(--gvr-ui-ink);
  font:inherit;
}
.b2-body .b2-legacy-content .ownership-info-search input[type="search"]:focus,
.b2-body .b2-legacy-content .ownership-info-search select:focus,
.bms2-standard-body .main .ownership-info-search input[type="search"]:focus,
.bms2-standard-body .main .ownership-info-search select:focus{
  outline:0;
  border-color:#829ab6;
  box-shadow:0 0 0 3px rgba(49,93,145,.08);
}
.b2-body .b2-legacy-content .ownership-info-search__actions,
.bms2-standard-body .main .ownership-info-search__actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--gvr-ui-border-soft);
}
.b2-body .b2-legacy-content .ownership-info-search__actions .button,
.bms2-standard-body .main .ownership-info-search__actions .button{
  min-width:104px;
  min-height:40px;
  margin:0;
}
@media(max-width:980px){
  .b2-body .b2-legacy-content .ownership-info-search__grid,
  .bms2-standard-body .main .ownership-info-search__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .b2-body .b2-legacy-content .ownership-info-search__field--query,
  .bms2-standard-body .main .ownership-info-search__field--query{
    grid-column:1/-1;
  }
}
@media(max-width:640px){
  .b2-body .b2-legacy-content .ownership-info-search,
  .bms2-standard-body .main .ownership-info-search{padding:16px}
  .b2-body .b2-legacy-content .ownership-info-search__grid,
  .bms2-standard-body .main .ownership-info-search__grid{grid-template-columns:1fr}
  .b2-body .b2-legacy-content .ownership-info-search__field--query,
  .bms2-standard-body .main .ownership-info-search__field--query{grid-column:auto}
  .b2-body .b2-legacy-content .ownership-info-search__actions,
  .bms2-standard-body .main .ownership-info-search__actions{
    justify-content:stretch;
    flex-direction:column;
  }
  .b2-body .b2-legacy-content .ownership-info-search__actions .button,
  .bms2-standard-body .main .ownership-info-search__actions .button{width:100%}
}


/* Canonical shared search/filter arrangement — derived from approved Ownership Info UI. */
.b2-body .b2-legacy-content .bms2-filter,
.bms2-standard-body .main .bms2-filter{
  padding:20px 22px;
  border:1px solid var(--gvr-ui-border-soft);
  border-radius:var(--gvr-ui-radius);
  background:#fff;
  box-shadow:var(--gvr-ui-shadow);
}
.b2-body .b2-legacy-content .bms2-filter__grid,
.bms2-standard-body .main .bms2-filter__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px 16px;
  align-items:end;
}

.b2-body .b2-legacy-content .bms2-filter__grid--search-four,
.bms2-standard-body .main .bms2-filter__grid--search-four{
  grid-template-columns:minmax(300px,2fr) minmax(180px,1fr) minmax(130px,.72fr) minmax(130px,.72fr);
}
.b2-body .b2-legacy-content .bms2-filter__grid--three,
.bms2-standard-body .main .bms2-filter__grid--three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.b2-body .b2-legacy-content .bms2-filter__grid--collection-five,
.bms2-standard-body .main .bms2-filter__grid--collection-five{
  grid-template-columns:minmax(145px,.8fr) minmax(145px,.8fr) minmax(220px,1.25fr) minmax(220px,1.25fr) minmax(130px,.7fr);
}
.b2-body .b2-legacy-content .bms2-filter__field,
.bms2-standard-body .main .bms2-filter__field{
  display:grid;
  gap:6px;
  min-width:0;
  margin:0;
}
.b2-body .b2-legacy-content .bms2-filter__field>span,
.bms2-standard-body .main .bms2-filter__field>span,
.b2-body .b2-legacy-content .bms2-filter__field>label,
.bms2-standard-body .main .bms2-filter__field>label{
  color:#475467;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.025em;
}
.b2-body .b2-legacy-content .bms2-filter__field--wide,
.bms2-standard-body .main .bms2-filter__field--wide{grid-column:span 2}
.b2-body .b2-legacy-content .bms2-filter input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.b2-body .b2-legacy-content .bms2-filter select,
.b2-body .b2-legacy-content .bms2-filter textarea,
.bms2-standard-body .main .bms2-filter input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.bms2-standard-body .main .bms2-filter select,
.bms2-standard-body .main .bms2-filter textarea{
  width:100%;
  min-height:42px;
  margin:0;
  padding:9px 11px;
  border:1px solid var(--gvr-ui-border);
  border-radius:8px;
  background:#fff;
  color:var(--gvr-ui-ink);
  font:inherit;
}
.b2-body .b2-legacy-content .bms2-filter input:focus,
.b2-body .b2-legacy-content .bms2-filter select:focus,
.b2-body .b2-legacy-content .bms2-filter textarea:focus,
.bms2-standard-body .main .bms2-filter input:focus,
.bms2-standard-body .main .bms2-filter select:focus,
.bms2-standard-body .main .bms2-filter textarea:focus{
  outline:0;
  border-color:#829ab6;
  box-shadow:0 0 0 3px rgba(49,93,145,.08);
}
.b2-body .b2-legacy-content .bms2-filter__actions,
.bms2-standard-body .main .bms2-filter__actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--gvr-ui-border-soft);
}
.b2-body .b2-legacy-content .bms2-filter__actions .button,
.bms2-standard-body .main .bms2-filter__actions .button{
  min-width:104px;
  min-height:40px;
  margin:0;
}
@media(max-width:980px){
  .b2-body .b2-legacy-content .bms2-filter__grid,
  .bms2-standard-body .main .bms2-filter__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b2-body .b2-legacy-content .bms2-filter__field--wide,
  .bms2-standard-body .main .bms2-filter__field--wide{grid-column:1/-1}
}
@media(max-width:640px){
  .b2-body .b2-legacy-content .bms2-filter,
  .bms2-standard-body .main .bms2-filter{padding:16px}
  .b2-body .b2-legacy-content .bms2-filter__grid,
  .bms2-standard-body .main .bms2-filter__grid{grid-template-columns:1fr}
  .b2-body .b2-legacy-content .bms2-filter__field--wide,
  .bms2-standard-body .main .bms2-filter__field--wide{grid-column:auto}
  .b2-body .b2-legacy-content .bms2-filter__actions,
  .bms2-standard-body .main .bms2-filter__actions{justify-content:stretch;flex-direction:column}
  .b2-body .b2-legacy-content .bms2-filter__actions .button,
  .bms2-standard-body .main .bms2-filter__actions .button{width:100%}
}


/* Aging Ledger local structure normalization. */
.b2-body .b2-legacy-content .aging-ledger-page,
.bms2-standard-body .main .aging-ledger-page{
  display:grid;
  gap:18px;
}
.b2-body .b2-legacy-content .aging-ledger-page .button-row,
.bms2-standard-body .main .aging-ledger-page .button-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.b2-body .b2-legacy-content .aging-ledger-page .grid,
.bms2-standard-body .main .aging-ledger-page .grid{
  display:grid;
  gap:14px 16px;
}
.b2-body .b2-legacy-content .aging-ledger-page .grid-4,
.bms2-standard-body .main .aging-ledger-page .grid-4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.b2-body .b2-legacy-content .aging-ledger-page .card,
.bms2-standard-body .main .aging-ledger-page .card{
  padding:18px 20px;
}
@media(max-width:900px){
  .b2-body .b2-legacy-content .aging-ledger-page .grid-4,
  .bms2-standard-body .main .aging-ledger-page .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .b2-body .b2-legacy-content .aging-ledger-page .grid-4,
  .bms2-standard-body .main .aging-ledger-page .grid-4{grid-template-columns:1fr}
  .b2-body .b2-legacy-content .aging-ledger-page .button-row .button,
  .bms2-standard-body .main .aging-ledger-page .button-row .button{width:100%}
}

/* BMS2 shared searchable-select standard. Presentation only; native select remains form authority. */
.b2-search-select{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
}
select.b2-search-select__native{
  position:absolute!important;
  width:1px!important;
  min-width:0!important;
  height:1px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
}
.b2-search-select__input{
  width:100%;
  min-width:0;
  min-height:42px;
  border:1px solid var(--gvr-ui-border,#d0d5dd);
  border-radius:8px;
  padding:8px 36px 8px 10px!important;
  background:#fff;
  color:var(--gvr-ui-ink,#17202a);
  font:inherit;
  cursor:text;
}
.b2-search-select::after{
  content:"";
  position:absolute;
  right:13px;
  top:50%;
  width:7px;
  height:7px;
  border-right:2px solid #667085;
  border-bottom:2px solid #667085;
  transform:translateY(-65%) rotate(45deg);
  transform-origin:center;
  pointer-events:none;
  transition:transform .12s ease;
}
.b2-search-select.is-open::after{
  transform:translateY(-30%) rotate(225deg);
}
.b2-search-select__input:focus{
  outline:3px solid var(--gvr-ui-focus,rgba(30,100,148,.16))!important;
  outline-offset:0;
  border-color:#6d8faa!important;
}
.b2-search-select.is-disabled::after{opacity:.45}
.b2-search-select__input:disabled{
  background:var(--gvr-ui-surface-soft,#f8fafc)!important;
  color:var(--gvr-ui-muted,#667085)!important;
  cursor:not-allowed;
}
.b2-search-select__listbox,
.b2-search-select__empty{
  position:absolute;
  z-index:10050;
  left:0;
  right:0;
  top:calc(100% + 5px);
  display:none;
  border:1px solid var(--gvr-ui-border,#d0d5dd);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 30px rgba(31,54,73,.16);
}
.b2-search-select.is-open .b2-search-select__listbox:not(:empty){display:block}
.b2-search-select.is-open .b2-search-select__empty:not([hidden]){
  display:block;
  padding:10px 12px;
  color:var(--gvr-ui-muted,#667085);
  font-size:.86rem;
}
.b2-search-select__listbox{
  max-height:280px;
  overflow:auto;
  overscroll-behavior:contain;
  padding:5px;
}
.b2-search-select__option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:36px;
  padding:8px 9px;
  border-radius:6px;
  color:#344054;
  cursor:pointer;
}
.b2-search-select__option:hover,
.b2-search-select__option.is-active{
  background:#eef4f8;
  color:#163a57;
}
.b2-search-select__option[aria-selected="true"]{
  font-weight:700;
}
.b2-search-select__option-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.b2-search-select__option-group{
  flex:0 0 auto;
  color:#667085;
  font-size:.72rem;
  font-weight:600;
}
@media (max-width:640px){
  .b2-search-select__listbox{max-height:240px}
}
