/* Motor de pesquisa · fase 1 */
.motor-panel[hidden] { display: none !important; }
.motor-panel { position: fixed; left: 0; right: 0; bottom: 0; top: 56px; z-index: 900; background: #f5f5f7; overflow: hidden; }
body.footer-mock .motor-panel { bottom: var(--mobile-tabbar-h, 0px); }
.motor-panel .mo-body { height: 100%; overflow-y: auto; box-sizing: border-box; padding: 12px 16px 32px; max-width: 980px; margin: 0 auto; font-size: 14px; color: #1d1d1f; }
.mo-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.mo-crumb { color: #6e6e73; font-size: 13px; }
.mo-btn, .mo-btn-g { font: inherit; border-radius: 8px; padding: 8px 14px; cursor: pointer; min-height: 36px; }
.mo-btn { background: #007AFF; color: #fff; border: 0; font-weight: 600; }
.mo-btn-g { background: #fff; color: #007AFF; border: 1px solid #d2d2d7; }
.mo-busca input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 12px; border: 1px solid #d2d2d7; border-radius: 10px; margin-bottom: 10px; }
.mo-grupo { margin-bottom: 8px; }
.mo-glabel { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #6e6e73; margin: 6px 0 6px; text-transform: uppercase; }
.mo-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mo-tab { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid #d2d2d7; background: #fff; color: #1d1d1f; cursor: pointer; }
.mo-tab.on { background: #007AFF; border-color: #007AFF; color: #fff; }
.mo-lista { list-style: none; margin: 10px 0 0; padding: 0; background: #fff; border-radius: 12px; overflow: hidden; }
.mo-row { padding: 10px 14px; border-bottom: 1px solid #ececef; display: flex; flex-direction: column; gap: 2px; }
.mo-row:last-child { border-bottom: 0; }
.mo-vazio { padding: 12px 14px; color: #6e6e73; }
.mo-link { color: #007AFF; text-decoration: none; }
.mo-link:hover { text-decoration: underline; }
.mo-nome { font-weight: 600; }
.mo-sub { color: #6e6e73; font-size: 13px; }
.mo-miss, .mo-est, .mo-q { color: #8e8e93; }
.mo-q { font-weight: 700; }
.mo-titulo { text-align: center; font-size: 22px; margin: 6px 0 2px; }
.mo-titulo .mo-emp { font-weight: 600; }
.mo-ficha > .mo-sub { text-align: center; margin: 0 0 12px; }
.mo-card, .mo-acoes, .mo-rep { background: #fff; border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.mo-acoes { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mo-rep.ok { color: #1d1d1f; }
.mo-cols { display: grid; gap: 10px; margin: 10px 0; }
.mo-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mo-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mo-cols-1 { grid-template-columns: 1fr; }
.mo-col { background: #fff; border-radius: 12px; padding: 8px 12px; }
.mo-qrow { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid #f0f0f2; }
.mo-qrow:last-child { border-bottom: 0; }
.mo-hist { list-style: none; margin: 0; padding: 0; } .mo-hist li { padding: 3px 0; }
@media (max-width: 640px) {
  .mo-cols-3, .mo-cols-2 { grid-template-columns: 1fr; }
  .motor-panel .mo-body { padding: 10px 12px 24px; }
  .mo-titulo { font-size: 19px; }
}
.mo-contador { margin-left: auto; font-size: 12px; color: #6e6e73; background: #fff; border: 1px solid #d2d2d7; border-radius: 999px; padding: 3px 10px; }
.mo-btn:disabled { background: #d2d2d7; color: #6e6e73; cursor: not-allowed; }
