/* Approved post-release dashboards: two aligned white tables per desktop view. */
#backendStatsPanel .v736-backend-stats-head { padding: 20px 14px; align-items: center; gap: 16px; }
#backendStatsPanel .v736-backend-tabs { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
#backendStatsPanel .v736-backend-tabs button { min-height: 42px; padding: 9px 20px; border-radius: 6px; font-size: 16px; white-space: nowrap; }
#backendStatsPanel .v736-backend-tabs .is-active,
#backendStatsPanel .v736-backend-stats-head .primary-button,
#frontendProfitPanel .v736-conversion-head .primary-button { background: #504bff; border-color: #504bff; color: #fff; }
#backendStatsPanel .v736-backend-stats-head .profit-panel-actions { gap: 8px; flex-wrap: nowrap; margin-left: auto; }
#backendStatsPanel .v736-backend-stats-head .profit-panel-actions label { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
#backendStatsPanel .v736-backend-stats-head input { width: 164px; min-height: 40px; }
#backendStatsPanel .v736-backend-stats-head .profit-panel-actions button { min-height: 42px; padding-inline: 22px; font-size: 16px; }
#backendStatsPanel .v736-backend-stats-body { background: #fff; border-top: 0; padding: 0 14px 14px; }
#backendStatsPanel .backend-report-grid.v736-backend-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; }
#backendStatsPanel .v736-backend-report-grid.is-old-customer { grid-template-columns: minmax(0, 1fr); }
#backendStatsPanel .v736-backend-report-grid.is-store { grid-template-columns: minmax(0, 1fr); }
#backendStatsPanel .v736-backend-report-grid .backend-report-card { width: 100%; min-width: 0; grid-column: auto; border-radius: 6px; }
#backendStatsPanel .v736-backend-report-grid .backend-report-card h3 { padding: 16px; font-size: 19px; line-height: 1.3; }
#backendStatsPanel .v736-backend-report-grid .backend-report-scroll { max-width: 100%; overflow-x: auto; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
/* v735 gave each route a full-row minimum width. These are now half-row
   reports, so reset that route-specific minimum rather than clipping data. */
#backendStatsPanel .v736-backend-report-grid .backend-report-table.v735-route-report-table { min-width: 0; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table th,
#backendStatsPanel .v736-backend-report-grid .backend-report-table td { position: static; min-width: 0; padding: 10px 4px; border: 1px solid #e6ebf2; font-size: 13px; line-height: 1.55; text-align: center; white-space: normal; overflow-wrap: normal; color: #172039; background: #fff; box-shadow: none; font-weight: 400; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table th { height: 70px; padding-block: 11px; color: #66728d; background: #f7f9fc; font-size: 12px; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table td { height: 62px; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-rank-col { width: 52px; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-name-col { width: 82px; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-count-col { width: 44px; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-success-col { width: 64px; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table .backend-postal-rank-column { width: auto; min-width: 0; }
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .backend-postal-rank-column,
#backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-name-column { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
#backendStatsPanel .v736-backend-report-grid .v735-under-five { font-size: 12px; color: #758099; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table tr.is-backend-leader td { background: #f3edff; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table tr.is-backend-leader td:first-child { color: #504bff; font-weight: 600; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table .summary-row td { background: #f0f7ff; font-weight: 600; }
#backendStatsPanel .v736-backend-report-grid .old-customer-report th,
#backendStatsPanel .v736-backend-report-grid .old-customer-report td { padding: 17px 18px; font-size: 16px; }
#backendStatsPanel .v736-backend-report-grid .old-customer-report th:first-child,
#backendStatsPanel .v736-backend-report-grid .old-customer-report td:first-child { text-align: left; }
#frontendProfitPanel .v736-conversion-head { padding: 12px 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 6px; }
#frontendProfitPanel .v736-conversion-head .profit-panel-actions { width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 14px; }
#frontendProfitPanel .v736-conversion-head label { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
#frontendProfitPanel .v736-conversion-head input { width: 190px; min-height: 40px; }
#frontendProfitPanel .v736-conversion-head button { min-height: 42px; min-width: 100px; }
#frontendProfitPanel .v736-conversion-body { padding: 0; border: 0; }
#frontendProfitPanel .v736-conversion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
#frontendProfitPanel .v736-conversion-card { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
#frontendProfitPanel .v736-conversion-card h3 { margin: 4px 6px 12px; font-size: 20px; }
#frontendProfitPanel .v736-conversion-card .conversion-table-wrap { border: 1px solid #e6ebf2; border-radius: 5px; }
#frontendProfitPanel .v736-conversion-card .conversion-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
#frontendProfitPanel .v736-conversion-card .conversion-table th,
#frontendProfitPanel .v736-conversion-card .conversion-table td { padding: 17px 4px; height: auto; min-width: 0; border: 1px solid #e6ebf2; text-align: center; white-space: normal; overflow-wrap: normal; font-weight: 400; color: #172039; background: #fff; }
#frontendProfitPanel .v736-conversion-card .conversion-table th { height: 70px; padding-block: 11px; font-size: 13px; color: #66728d; background: #f7f9fc; }
#frontendProfitPanel .v736-conversion-card .conversion-table th:first-child { width: 38px; }
#frontendProfitPanel .v736-conversion-card .conversion-table th:nth-child(2) { width: 66px; }
#frontendProfitPanel .v736-conversion-card .conversion-table tr.is-conversion-leader td { background: #f3edff; }
#frontendProfitPanel .v736-conversion-card .conversion-table tr.is-conversion-leader td:first-child { color: #504bff; font-weight: 600; }
#frontendProfitPanel .v736-conversion-card .conversion-table .summary-row td { background: #f0f7ff; font-weight: 600; padding-block: 21px; }
#ecommerceDashboard .ecommerce-dashboard-table th:first-child,
#ecommerceDashboard .ecommerce-dashboard-table td:first-child { text-align: center; }
#fakeOrderTable th:first-child,
#fakeOrderTable td:first-child { min-width: 110px; white-space: nowrap; }
@media (min-width: 801px) and (max-width: 1500px) {
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table th,
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table td { padding-inline: 2px; font-size: 12px; }
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-rank-col { width: 46px; }
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-name-col { width: 70px; }
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-count-col { width: 36px; }
  #backendStatsPanel .v736-backend-report-grid .v735-route-report-table .v735-success-col { width: 58px; }
}
@media (min-width: 801px) and (max-width: 1399px) {
  /* A narrow window may scroll inside each report rather than overlap rates.
     Standard 1440px desktop windows retain both complete tables without this. */
  #backendStatsPanel .v736-backend-report-grid .backend-report-table.v735-route-report-table { min-width: 560px; }
}
@media (max-width: 1250px) {
  #backendStatsPanel .v736-backend-stats-head { flex-wrap: wrap; }
  #frontendProfitPanel .v736-conversion-head .profit-panel-actions { flex-wrap: wrap; justify-content: flex-start; }
  #backendStatsPanel .v736-backend-report-grid .backend-report-table th,
  #backendStatsPanel .v736-backend-report-grid .backend-report-table td,
  #frontendProfitPanel .v736-conversion-card .conversion-table th,
  #frontendProfitPanel .v736-conversion-card .conversion-table td { padding-inline: 3px; font-size: 12px; }
}
@media (max-width: 800px) {
  #backendStatsPanel .backend-report-grid.v736-backend-report-grid,
  #frontendProfitPanel .v736-conversion-grid { grid-template-columns: minmax(0, 1fr); }
  #backendStatsPanel .v736-backend-tabs { flex-wrap: wrap; }
  #backendStatsPanel .v736-backend-tabs button { font-size: 14px; padding-inline: 12px; }
  #backendStatsPanel .v736-backend-stats-head .profit-panel-actions { flex-wrap: wrap; margin-left: 0; }
  #backendStatsPanel .v736-backend-report-grid .backend-report-table,
  #backendStatsPanel .v736-backend-report-grid .backend-report-table.v735-route-report-table { min-width: 560px; }
  #frontendProfitPanel .v736-conversion-card .conversion-table { min-width: 600px; }
}

/* v760: postal display only. Counts, rate formulas and the other route tables
   are unchanged. Both annotations share the same muted colour and cell centre. */
#backendStatsPanel .v736-backend-report-grid .backend-report-table.postal-profit-layout760 .v735-under-five { display: block; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table.postal-profit-layout760 .v735-count-col { width: 72px; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table.postal-profit-layout760 .v760-postal-count-heading { white-space: nowrap; word-break: normal; overflow-wrap: normal; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table.postal-profit-layout760 .shipping-converted-outcomes756 { display: block; width: 100%; margin-top: 4px; color: #758099; font-size: 12px; line-height: 1.55; font-weight: 400; text-align: center; white-space: nowrap; }
#backendStatsPanel .v736-backend-report-grid .backend-report-table.postal-profit-layout760 .shipping-converted-outcomes756 > span { display: block; text-align: inherit; }
