/* v787EP - compact side-by-side fee matrix for easier comparison. */
.fees-consolidated-intro-v787DN{max-width:920px}
.fees-consolidated-summary-v787DN{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 20px}
.fees-consolidated-summary-v787DN span{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #cfe0f1;border-radius:999px;background:#f5f9fd;color:#28445f;font-size:.82rem;font-weight:700}
.fees-matrix-wrap-v787DN{border:1px solid #bfd2e5;border-radius:16px;overflow:auto;background:#fff;box-shadow:0 12px 30px rgba(24,55,86,.07)}
.fees-matrix-v787DN{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;font-size:.94rem;table-layout:fixed}
.fees-matrix-v787DN th,.fees-matrix-v787DN td{padding:14px 10px;border-right:1px solid #d5e1ed;border-bottom:1px solid #d5e1ed;vertical-align:middle}
.fees-matrix-v787DN th:last-child,.fees-matrix-v787DN td:last-child{border-right:0}
.fees-matrix-v787DN tbody tr:last-child th,.fees-matrix-v787DN tbody tr:last-child td{border-bottom:0}
.fees-matrix-v787DN thead th{background:#1268ad;color:#fff;font-size:.93rem;font-weight:800;line-height:1.35;text-align:center}
.fees-matrix-v787DN thead th:first-child{width:34%;min-width:330px;text-align:left;position:sticky;left:0;z-index:3;white-space:nowrap}
.fees-matrix-v787DN tbody th{background:#f5f9fd;color:#0c3154;font-weight:800;line-height:1.45;text-align:left;position:sticky;left:0;z-index:2;white-space:nowrap}
.fees-matrix-v787DN tbody tr:nth-child(even) td{background:#fcfdff}
.fees-matrix-v787DN .fees-matrix-cell-v787EP{text-align:center;width:16.5%;padding-left:8px;padding-right:8px}
.fees-matrix-v787DN .fees-matrix-processing-v787EP{width:34%;min-width:330px;white-space:nowrap}
.fees-matrix-v787DN .fees-matrix-total-v787DN{display:inline-block;font-weight:800;color:#d51d45;white-space:nowrap;font-size:1rem}
.fees-matrix-v787DN .fees-matrix-quote-v787DN{text-align:center;color:#0c5f9f;font-weight:800}
.fees-matrix-v787DN .fees-matrix-manual-v787DN th,.fees-matrix-v787DN .fees-matrix-manual-v787DN td{background:#fffaf0}
.fees-inline-notes-v787DN{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.fees-inline-note-v787DN{padding:14px 15px;border:1px solid #d6e2ee;border-radius:14px;background:#f8fbfe;color:#39546e;font-size:.87rem;line-height:1.55}
.fees-inline-note-v787DN strong{display:block;color:#123b60;margin-bottom:4px}
.fees-subtable-v787DN{margin-top:18px}
.fees-subtable-v787DN .urgent-table-wrap{margin-top:14px}
.fees-subtable-v787DN h3{font-size:1.35rem;margin:0}
@media(max-width:1100px){
  .fees-matrix-v787DN{min-width:1040px}
}
@media(max-width:820px){
  .fees-inline-notes-v787DN{grid-template-columns:1fr}
  .fees-matrix-wrap-v787DN{border-radius:12px;margin-left:-2px;margin-right:-2px}
  .fees-matrix-v787DN{min-width:980px;font-size:.89rem}
  .fees-matrix-v787DN th,.fees-matrix-v787DN td{padding:12px 12px}
  .fees-matrix-v787DN thead th,.fees-matrix-v787DN tbody th{position:static}
}

/* Price-first ordering polish: the calculator now follows the primary matrix. */
#fee-checker{border-top:1px solid #d7e3ef;background:linear-gradient(180deg,#fbfdff 0%,#f5f9fd 100%)}
#fee-checker .fee-card{box-shadow:0 16px 36px rgba(24,55,86,.09)}
#fee-checker .eyebrow{color:#1574bd}


/* v805 — widen Processing time column slightly and tighten the 4 visa-type columns
   so long processing labels stay on one line and the matrix looks more balanced. */
.fees-matrix-v787DN{min-width:1040px !important;table-layout:fixed !important}
.fees-matrix-v787DN thead th:first-child,
.fees-matrix-v787DN tbody th,
.fees-matrix-v787DN .fees-matrix-processing-v787EP{width:290px !important;min-width:290px !important;white-space:nowrap !important}
.fees-matrix-v787DN thead th:nth-child(2),
.fees-matrix-v787DN thead th:nth-child(3),
.fees-matrix-v787DN thead th:nth-child(4),
.fees-matrix-v787DN thead th:nth-child(5),
.fees-matrix-v787DN tbody td{width:calc((100% - 290px)/4) !important}
.fees-matrix-v787DN thead th{font-size:.91rem !important}
@media(max-width:1100px){
  .fees-matrix-v787DN{min-width:980px !important}
  .fees-matrix-v787DN thead th:first-child,
  .fees-matrix-v787DN tbody th,
  .fees-matrix-v787DN .fees-matrix-processing-v787EP{width:270px !important;min-width:270px !important}
}
@media(max-width:820px){
  .fees-matrix-v787DN{min-width:920px !important;font-size:.89rem !important}
  .fees-matrix-v787DN thead th:first-child,
  .fees-matrix-v787DN tbody th,
  .fees-matrix-v787DN .fees-matrix-processing-v787EP{width:250px !important;min-width:250px !important;white-space:normal !important}
}
