/* FORTALECECAR mobile · Maquininhas e taxas: cartões legíveis, sem rolagem horizontal.
   Somente visual da lista, sem alterar lógica, registros ou versão desktop. */
@media (max-width: 600px) {
  body.g88m-unified #g88SettingsScreen .gcfg-v851-page,
  body.g88m-unified #g88SettingsScreen .gcfg-v851-area,
  body.g88m-unified #g88SettingsScreen #gcfg-v851-list {
    max-width: 100%;
    min-width: 0;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-search {
    order: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
    height: 44px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-add {
    order: 2;
    width: 100%;
    min-height: 42px;
    margin: 0;
    font-size: 13px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-filters {
    order: 3;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    gap: 7px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-filter {
    min-height: 35px;
    padding: 7px 11px;
    white-space: nowrap;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    min-width: 0;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #dbe7f3;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(28, 65, 104, .045);
    background: #fff;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.4;
    color: #183a59;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td::before {
    display: block;
    font: 750 10px/1.2 Inter, 'Segoe UI', Arial, sans-serif;
    color: #687e97;
    letter-spacing: .15px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(1) {
    grid-column: 1 / -1;
    padding: 0 0 11px;
    border-bottom: 1px solid #e9f0f7;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(1)::before { display: none; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(2)::before { content: "Tipo"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(3)::before { content: "Débito"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(4)::before { content: "Crédito 1x"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(5)::before { content: "Crédito 12x"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(6)::before { content: "Repasse débito"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(7)::before { content: "Repasse crédito"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(8) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #e9f0f7;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(8)::before { content: "Situação"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(9) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
    border-top: 1px solid #e9f0f7;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td:nth-child(9)::before { content: "Ações"; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-brand {
    min-width: 0;
    max-width: 100%;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-brand strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-actions button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    touch-action: manipulation;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td[colspan] {
    grid-column: 1 / -1;
    display: block;
    padding: 16px 8px;
    text-align: center;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-table td[colspan]::before { display: none; }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  body.g88m-unified #g88SettingsScreen .gcfg-v851-pages button {
    width: 36px;
    height: 36px;
  }
}
