/* v873 — hard fix: price page content must not run under the sidebar; restore red fee-page accents */
body.price-xxx-page-v871 .price-xxx-layout-v871{
  display:grid!important;
  grid-template-columns:minmax(0, calc(100% - 332px)) 304px!important;
  gap:28px!important;
  width:min(1120px, calc(100% - 32px))!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.price-xxx-page-v871 .price-xxx-main-v871,
body.price-xxx-page-v871 .price-xxx-main-v871 *,
body.price-xxx-page-v871 .fees-main-rail-v438G{
  box-sizing:border-box!important;
}
body.price-xxx-page-v871 .price-xxx-main-v871{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
body.price-xxx-page-v871 .price-xxx-main-v871 .section,
body.price-xxx-page-v871 .price-xxx-main-v871 .section > .container{
  max-width:100%!important;
  min-width:0!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.price-xxx-page-v871 .fees-matrix-wrap-v787DN,
body.price-xxx-page-v871 .urgent-table-wrap,
body.price-xxx-page-v871 .fee-card,
body.price-xxx-page-v871 .fees-check-section,
body.price-xxx-page-v871 .fees-check-section .grid.two{
  max-width:100%!important;
  min-width:0!important;
  width:100%!important;
}
body.price-xxx-page-v871 .fees-matrix-wrap-v787DN,
body.price-xxx-page-v871 .urgent-table-wrap{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  display:block!important;
}
body.price-xxx-page-v871 .price-xxx-sidebar-v871{
  grid-column:2!important;
  width:304px!important;
  max-width:304px!important;
  z-index:1!important;
}
body.price-xxx-page-v871 .price-xxx-main-v871{
  grid-column:1!important;
  z-index:0!important;
}

/* fee checker: compact, not a huge card that crosses the sidebar */
body.price-xxx-page-v871 .fees-check-section .grid.two{
  grid-template-columns:minmax(0,.85fr) minmax(260px,1.15fr)!important;
  gap:16px!important;
}
body.price-xxx-page-v871 .fees-check-section{
  background:transparent!important;
}
body.price-xxx-page-v871 .fees-check-section .card.fee-card{
  padding:14px!important;
  border:1px solid #cfd8e3!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* restore original red accents on fee page */
body.price-xxx-page-v871 .btn.red,
body.price-xxx-page-v871 .hero-actions .btn:not(.secondary),
body.price-xxx-page-v871 .fee-card .btn,
body.price-xxx-page-v871 .price-xxx-hero-actions-v871 .btn:not(.secondary),
body.price-xxx-page-v871 .price-xxx-sidebar-v871 .emergency-side-btn-v787FR{
  background:#e11d2e!important;
  border-color:#e11d2e!important;
  color:#fff!important;
}
body.price-xxx-page-v871 .btn.secondary,
body.price-xxx-page-v871 .price-xxx-hero-actions-v871 .btn.secondary{
  background:#fff!important;
  color:#0b63ce!important;
  border-color:#9cc3f5!important;
}
body.price-xxx-page-v871 .fees-matrix-quote-v787DN,
body.price-xxx-page-v871 .fees-matrix-manual-v787DN th,
body.price-xxx-page-v871 .fees-matrix-manual-v787DN td,
body.price-xxx-page-v871 .fees-table .manual,
body.price-xxx-page-v871 .price-alert,
body.price-xxx-page-v871 .text-red,
body.price-xxx-page-v871 td[data-label="Fee"] .request-quote{
  color:#e11d2e!important;
  font-weight:900!important;
}
body.price-xxx-page-v871 .fees-matrix-total-v787DN{
  color:inherit!important;
}

/* reduce table min-width enough for article column while preserving all data */
body.price-xxx-page-v871 .fees-matrix-v787DN{
  min-width:620px!important;
}
body.price-xxx-page-v871 .urgent-table{
  min-width:560px!important;
}
body.price-xxx-page-v871 .fees-matrix-v787DN th,
body.price-xxx-page-v871 .fees-matrix-v787DN td{
  padding:8px 9px!important;
  font-size:12.7px!important;
}
@media(max-width:980px){
  body.price-xxx-page-v871 .price-xxx-layout-v871{
    grid-template-columns:1fr!important;
    width:min(1120px, calc(100% - 24px))!important;
  }
  body.price-xxx-page-v871 .price-xxx-sidebar-v871{
    grid-column:1!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.price-xxx-page-v871 .fees-check-section .grid.two{
    grid-template-columns:1fr!important;
  }
}
