/* 1.9.96 — hard override for portrait summary detail rows to match desktop style */
@media (max-width: 767px) and (orientation: portrait) {
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table {
    table-layout: fixed !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table col.afp-result-col-label {
    width: 50% !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table col.afp-result-col-value {
    width: 50% !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > td,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > th {
    background: #fffdfa !important;
    background-image: none !important;
    box-shadow: inset 0 -1px 0 rgba(225, 214, 207, 0.56) !important;
    vertical-align: middle !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > td:first-child,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > th:first-child,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr[data-afp-row="base"] > td:first-child,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr[data-afp-fee-row] > td:first-child {
    color: var(--afp-muted, #9f8f86) !important;
    font-size: 11px !important;
    line-height: 1.38 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    text-wrap: pretty !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > td:last-child,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr.afp-result-detail-row > th:last-child,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr[data-afp-row="base"] > td:last-child,
  .afp-widget.afp-product-builder.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr[data-afp-fee-row] > td:last-child {
    color: var(--afp-text, #2a201b) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr:last-child > td,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--summary .afp-result-table > tbody > tr:last-child > th {
    box-shadow: none !important;
  }
}
