/* estilo.css — Motores e integrações (#130). Só tokens do design system. */
.mot { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mot h2 { margin: 0; font-size: 22px; }
.mot h3 { margin: 8px 0 0; font-size: 15px; }
.mot-cabeca { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mot-sussurro { color: var(--muted); font-size: 12px; }
.mot-pergunta { margin: 0; font-size: 16px; }
.mot-aviso, .mot-erro, .mot-vazio { color: var(--muted); font-size: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.mot-corte { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.mot-sub { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mot-sub-cabeca { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mot-sub-nome { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mot-sub-conta { font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 600; white-space: nowrap; }
.mot-check { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.mot-check li { display: flex; gap: 8px; align-items: baseline; min-height: 28px; }
.mot-check-marca { width: 16px; flex: none; text-align: center; }
.mot-check-feito { color: var(--muted); text-decoration: line-through; }
.mot-filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mot-filtros button { min-height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.mot-filtros button[aria-pressed="true"] { border-color: var(--ink-accent); color: var(--ink-accent); }
.mot-lista { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mot-item + .mot-item { border-top: 1px solid var(--line); }
.mot-linha { box-sizing: border-box; width: 100%; min-height: 48px; padding: 8px 12px;
  display: grid; grid-template-columns: 96px minmax(170px, 2fr) 90px minmax(160px, 3fr) minmax(160px, 3fr); gap: 12px; align-items: center; font-size: 13px; }
.mot-linha:hover { background: var(--panel); }
.mot-col-nome { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mot-col-dona, .mot-col-prova, .mot-col-prox { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mot-col-dona { font-variant-numeric: tabular-nums; }
.mot-cabecalho { position: sticky; top: 0; background: var(--bg); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; min-height: 32px; }
.mot-cabecalho:hover { background: var(--bg); }
.mot a { color: inherit; }
.mot a:focus-visible, .mot button:focus-visible { outline: 2px solid var(--ink-accent); outline-offset: 2px; }
@media (max-width: 720px) {
  .mot-cabecalho { display: none; }
  .mot-linha { grid-template-columns: auto 1fr auto; grid-template-areas: "estado nome dona" "prova prova prova" "prox prox prox"; gap: 4px 8px; }
  .mot-col-estado { grid-area: estado; } .mot-col-nome { grid-area: nome; white-space: normal; }
  .mot-col-dona { grid-area: dona; } .mot-col-prova { grid-area: prova; white-space: normal; }
  .mot-col-prox { grid-area: prox; white-space: normal; }
}
