/* SISTEMA DE GERENCIAMENTO OPERACIONAL
   V1.03.8.46 - experiência mobile tipo aplicativo.
   Todas as regras ficam restritas a telas de até 900 px. */

.sgo-mobile-appbar-v846,
.sgo-mobile-action-sheet-v846,
.sgo-mobile-filter-shortcut-v846 { display:none; }

@media (max-width:900px) {
  :root {
    --sgo-m-bg:#f1f5f3;
    --sgo-m-surface:#ffffff;
    --sgo-m-surface-2:#f7faf8;
    --sgo-m-line:#dbe6e1;
    --sgo-m-text:#10271e;
    --sgo-m-muted:#667970;
    --sgo-m-green:#0f3d2e;
    --sgo-m-green-2:#155742;
    --sgo-m-accent:#2a9b68;
    --sgo-m-danger:#c53d3d;
    --sgo-m-warning:#d68a1d;
    --sgo-m-header-h:64px;
    --sgo-m-nav-h:70px;
    --sgo-m-safe-t:env(safe-area-inset-top,0px);
    --sgo-m-safe-b:env(safe-area-inset-bottom,0px);
  }

  html.sgo-mobile-native-v846,
  html.sgo-mobile-native-v846 body {
    width:100%!important;
    max-width:100%!important;
    min-height:100dvh!important;
    margin:0!important;
    overflow-x:hidden!important;
    background:var(--sgo-m-bg)!important;
    overscroll-behavior-y:none;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }

  html.sgo-mobile-native-v846 body.mobile-more-open,
  html.sgo-mobile-native-v846 body.sgo-mobile-sheet-open-v846,
  html.sgo-mobile-native-v846 body.mobile-table-open-v124 { overflow:hidden!important; }

  html.sgo-mobile-native-v846 #appView.app-shell:not(.hidden) {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:100dvh!important;
    overflow:visible!important;
  }

  /* O desktop some por completo no celular. */
  html.sgo-mobile-native-v846 #sidebarPrincipal,
  html.sgo-mobile-native-v846 #btnSidebarHandle,
  html.sgo-mobile-native-v846 #pimsRealtimeClockDock { display:none!important; }

  html.sgo-mobile-native-v846 #appView .main,
  html.sgo-mobile-native-v846 body.sidebar-collapsed #appView .main {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:calc(var(--sgo-m-header-h) + var(--sgo-m-safe-t) + 10px) 10px calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 18px)!important;
    overflow:visible!important;
  }

  /* Cabeçalho nativo mobile, independente do cabeçalho desktop. */
  html.sgo-mobile-native-v846 #appView .topbar {
    position:fixed!important;
    inset:0 0 auto 0!important;
    z-index:1850!important;
    height:calc(var(--sgo-m-header-h) + var(--sgo-m-safe-t))!important;
    min-height:0!important;
    margin:0!important;
    padding:calc(8px + var(--sgo-m-safe-t)) 10px 8px!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(135deg,#071f18,#0f3d2e 66%,#176048)!important;
    box-shadow:0 8px 24px rgba(5,31,23,.22)!important;
  }
  html.sgo-mobile-native-v846 #appView .topbar-title-wrap {
    flex:1 1 auto!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
  }
  html.sgo-mobile-native-v846 .mobile-appbar-logo-v124 {
    display:block!important;
    width:38px!important;
    height:38px!important;
    padding:6px!important;
    border-radius:12px!important;
    background:#fff!important;
    object-fit:contain!important;
    box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
  }
  html.sgo-mobile-native-v846 #appView .topbar-title-text { min-width:0!important; }
  html.sgo-mobile-native-v846 #pageTitle {
    margin:0!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:950!important;
    letter-spacing:-.02em!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.sgo-mobile-native-v846 #pageSubtitle {
    margin:3px 0 0!important;
    color:#c9e2d8!important;
    font-size:9.5px!important;
    font-weight:700!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.sgo-mobile-native-v846 .mobile-sync-chip-v124 {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:72px!important;
    min-height:27px!important;
    padding:5px 7px!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:999px!important;
    color:#eaf8f1!important;
    background:rgba(255,255,255,.09)!important;
    font-size:8px!important;
    font-weight:900!important;
  }
  html.sgo-mobile-native-v846 #appView .top-actions { display:none!important; }

  .sgo-mobile-appbar-v846 {
    display:flex!important;
    align-items:center;
    gap:4px;
    flex:0 0 auto;
  }
  .sgo-mobile-appbar-v846 button {
    display:grid!important;
    place-items:center!important;
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
    min-height:37px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.15)!important;
    border-radius:12px!important;
    color:#fff!important;
    background:rgba(255,255,255,.09)!important;
    box-shadow:none!important;
  }
  .sgo-mobile-appbar-v846 button svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
  .sgo-mobile-appbar-v846 button:active { transform:scale(.95); background:rgba(255,255,255,.16)!important; }
  .sgo-mobile-appbar-v846 [data-sgo-mobile-filter][hidden] { display:none!important; }

  /* Área de conteúdo: cada menu vira uma tela e não um dashboard desktop espremido. */
  html.sgo-mobile-native-v846 #menuHost,
  html.sgo-mobile-native-v846 .menu-host,
  html.sgo-mobile-native-v846 #menuHost > section,
  html.sgo-mobile-native-v846 #menuHost > main {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  html.sgo-mobile-native-v846 #menuHost { padding:0!important; }

  /* Filtros ficam como uma gaveta compacta. */
  html.sgo-mobile-native-v846 .mobile-filter-toggle-v124 {
    display:flex!important;
    position:relative!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:45px!important;
    margin:0 0 8px!important;
    padding:8px 11px!important;
    border:1px solid var(--sgo-m-line)!important;
    border-radius:14px!important;
    color:var(--sgo-m-green)!important;
    background:var(--sgo-m-surface)!important;
    box-shadow:0 3px 10px rgba(15,61,46,.05)!important;
  }
  html.sgo-mobile-native-v846 .mobile-filter-toggle-v124 > span {
    display:grid!important;
    grid-template-columns:auto 1fr!important;
    grid-template-rows:auto auto!important;
    column-gap:8px!important;
    min-width:0!important;
  }
  html.sgo-mobile-native-v846 .mobile-filter-toggle-v124 > span::before {
    grid-row:1/3!important;
    align-self:center!important;
    content:""!important;
    width:18px!important;
    height:18px!important;
    background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3d2e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E")!important;
  }
  html.sgo-mobile-native-v846 .mobile-filter-toggle-v124 b { font-size:12px!important; line-height:1.05!important; }
  html.sgo-mobile-native-v846 .mobile-filter-toggle-v124 small {
    min-width:0!important;
    color:var(--sgo-m-muted)!important;
    font-size:9px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.sgo-mobile-native-v846 .mobile-collapsible-v124 {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin:0 0 9px!important;
    padding:10px!important;
    border:1px solid var(--sgo-m-line)!important;
    border-radius:15px!important;
    background:var(--sgo-m-surface)!important;
    box-shadow:0 5px 14px rgba(15,61,46,.05)!important;
  }
  html.sgo-mobile-native-v846 .mobile-collapsible-v124.mobile-collapsed-v124 { display:none!important; }
  html.sgo-mobile-native-v846 .mobile-collapsible-v124 > * { width:100%!important; max-width:100%!important; min-width:0!important; }
  html.sgo-mobile-native-v846 input,
  html.sgo-mobile-native-v846 select,
  html.sgo-mobile-native-v846 textarea,
  html.sgo-mobile-native-v846 .ms-filter-button {
    width:100%!important;
    max-width:100%!important;
    min-height:44px!important;
    border-radius:11px!important;
    font-size:16px!important;
  }
  html.sgo-mobile-native-v846 .ms-filter-panel {
    position:fixed!important;
    inset:auto 7px calc(7px + var(--sgo-m-safe-b)) 7px!important;
    z-index:3000!important;
    width:auto!important;
    max-width:none!important;
    max-height:74dvh!important;
    overflow:auto!important;
    border-radius:22px 22px 14px 14px!important;
    box-shadow:0 24px 80px rgba(0,0,0,.34)!important;
  }

  /* Botões são grandes para toque, sem virar mural de botões. */
  html.sgo-mobile-native-v846 .btn,
  html.sgo-mobile-native-v846 button { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  html.sgo-mobile-native-v846 .toolbar-line,
  html.sgo-mobile-native-v846 .det-toolbar,
  html.sgo-mobile-native-v846 .actions,
  html.sgo-mobile-native-v846 .report-header-tools,
  html.sgo-mobile-native-v846 .fac-actions,
  html.sgo-mobile-native-v846 .materiais-actions,
  html.sgo-mobile-native-v846 .gos-toolbar-actions,
  html.sgo-mobile-native-v846 .monit-config-actions {
    max-width:100%!important;
  }

  /* Cards gerais. */
  html.sgo-mobile-native-v846 .card,
  html.sgo-mobile-native-v846 .kpi-card,
  html.sgo-mobile-native-v846 .mat-kpi-card,
  html.sgo-mobile-native-v846 .front-card,
  html.sgo-mobile-native-v846 .status-card,
  html.sgo-mobile-native-v846 .monit-card,
  html.sgo-mobile-native-v846 .gos-card,
  html.sgo-mobile-native-v846 .fac-card,
  html.sgo-mobile-native-v846 .table-shell,
  html.sgo-mobile-native-v846 .table-wrap,
  html.sgo-mobile-native-v846 .table-container {
    min-width:0!important;
    max-width:100%!important;
    border-radius:15px!important;
    box-shadow:0 4px 14px rgba(15,61,46,.055)!important;
  }

  /* Listagens viram cartões nativos. */
  table.sgo-mobile-card-table-v846,
  table.sgo-mobile-card-table-v846 tbody,
  table.sgo-mobile-card-table-v846 tr,
  table.sgo-mobile-card-table-v846 td {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  table.sgo-mobile-card-table-v846 {
    min-width:0!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:transparent!important;
  }
  table.sgo-mobile-card-table-v846 colgroup,
  table.sgo-mobile-card-table-v846 thead { display:none!important; }
  table.sgo-mobile-card-table-v846 tbody {
    display:grid!important;
    gap:8px!important;
    padding:0!important;
  }
  table.sgo-mobile-card-table-v846 tbody > tr {
    position:relative!important;
    margin:0!important;
    padding:9px 11px!important;
    overflow:hidden!important;
    border:1px solid var(--sgo-m-line)!important;
    border-left:4px solid #6c8c7e!important;
    border-radius:14px!important;
    background:var(--sgo-m-surface)!important;
    box-shadow:0 3px 10px rgba(15,61,46,.045)!important;
  }
  table.sgo-mobile-card-table-v846 tbody > tr::before {
    content:attr(data-sgo-card-title)!important;
    display:block!important;
    margin:0 0 3px!important;
    padding:0 0 7px!important;
    border-bottom:1px solid #edf2ef!important;
    color:var(--sgo-m-green)!important;
    font-size:13px!important;
    font-weight:950!important;
    line-height:1.2!important;
  }
  table.sgo-mobile-card-table-v846 tbody > tr[data-sgo-card-title=""]::before { display:none!important; }
  table.sgo-mobile-card-table-v846 tbody > tr > td {
    display:grid!important;
    grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
    padding:7px 0!important;
    border:0!important;
    border-bottom:1px solid #edf2ef!important;
    color:var(--sgo-m-text)!important;
    font-size:11px!important;
    line-height:1.32!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  table.sgo-mobile-card-table-v846 tbody > tr > td:last-child { border-bottom:0!important; }
  table.sgo-mobile-card-table-v846 tbody > tr > td::before {
    content:attr(data-sgo-label)!important;
    color:#6d7e76!important;
    font-size:8.5px!important;
    font-weight:950!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
  }
  table.sgo-mobile-card-table-v846 tbody > tr > td[colspan] { grid-template-columns:1fr!important; }
  table.sgo-mobile-card-table-v846 tbody > tr > td[colspan]::before { display:none!important; }
  table.sgo-mobile-card-table-v846 tr.sgo-status-danger-v846 { border-left-color:var(--sgo-m-danger)!important; }
  table.sgo-mobile-card-table-v846 tr.sgo-status-warning-v846 { border-left-color:var(--sgo-m-warning)!important; }
  table.sgo-mobile-card-table-v846 tr.sgo-status-ok-v846 { border-left-color:#279064!important; }

  html.sgo-mobile-native-v846 .mobile-table-toolbar-v124,
  html.sgo-mobile-native-v846 .mobile-card-toolbar-v125 { display:none!important; }
  html.sgo-mobile-native-v846 .mobile-card-shell-v125 { overflow:visible!important; border:0!important; background:transparent!important; box-shadow:none!important; }

  /* CONSULTAS */
  html.sgo-mobile-native-v846 body[data-current-menu="consultas-gerais"] .consultas-page { display:grid!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="consultas-gerais"] .consultas-table-shell { overflow:visible!important; border:0!important; background:transparent!important; box-shadow:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="consultas-gerais"] .consultas-pagination-p26 {
    position:sticky!important;
    bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 4px)!important;
    z-index:80!important;
    padding:7px!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 4px 16px rgba(15,61,46,.09)!important;
    backdrop-filter:blur(10px)!important;
  }

  /* ALOCAÇÃO */
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-page { display:grid!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-toolbar {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-status-legend {
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    padding:1px 1px 5px!important;
    overflow-x:auto!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-status-legend::-webkit-scrollbar { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-status-filter {
    flex:0 0 auto!important;
    min-height:36px!important;
    padding:7px 9px!important;
    border-radius:999px!important;
    font-size:9.5px!important;
    scroll-snap-align:start!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-toolbar-actions {
    display:flex!important;
    width:100%!important;
    gap:6px!important;
    padding:0 0 4px!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-toolbar-actions::-webkit-scrollbar { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-toolbar-actions > button {
    flex:0 0 auto!important;
    width:auto!important;
    min-height:38px!important;
    padding:8px 10px!important;
    border-radius:11px!important;
    white-space:nowrap!important;
    font-size:10px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .allocation-grid,
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .allocation-board { display:grid!important; grid-template-columns:1fr!important; gap:10px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .process-block {
    min-width:0!important;
    padding:9px!important;
    border:1px solid var(--sgo-m-line)!important;
    border-radius:16px!important;
    background:var(--sgo-m-surface-2)!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .process-head { position:sticky!important; top:calc(var(--sgo-m-header-h) + var(--sgo-m-safe-t) + 4px)!important; z-index:50!important; margin:-9px -9px 8px!important; padding:9px 10px!important; border-radius:16px 16px 10px 10px!important; background:rgba(247,250,248,.96)!important; backdrop-filter:blur(8px)!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .process-head h3 { font-size:13px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .front-grid { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .front-card { padding:9px!important; border:1px solid var(--sgo-m-line)!important; background:#fff!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .front-card > h4 { margin:0 0 7px!important; font-size:12px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .type-row { display:grid!important; grid-template-columns:1fr!important; gap:6px!important; padding:7px 0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .det-type-title-summary { font-size:9.5px!important; min-width:0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .fleet-list { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:5px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .fleet-card {
    width:100%!important;
    min-width:0!important;
    min-height:39px!important;
    padding:6px 4px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1!important;
  }

  /* DISPONIBILIDADE */
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-page { display:grid!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-summary { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-summary-card { min-height:76px!important; padding:10px!important; border-radius:13px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-summary-card strong { font-size:22px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-table-shell {
    overflow:auto!important;
    border:1px solid var(--sgo-m-line)!important;
    background:#fff!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] #tabelaDisponibilidade {
    width:max-content!important;
    min-width:620px!important;
    max-width:none!important;
    table-layout:auto!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] #tabelaDisponibilidade th,
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] #tabelaDisponibilidade td {
    min-width:86px!important;
    width:auto!important;
    padding:8px 6px!important;
    font-size:10px!important;
    white-space:normal!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] #tabelaDisponibilidade th:first-child,
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] #tabelaDisponibilidade td:first-child {
    position:sticky!important;
    left:0!important;
    z-index:6!important;
    min-width:160px!important;
    background:#fff!important;
    box-shadow:4px 0 8px rgba(15,61,46,.06)!important;
  }

  /* GESTÃO O.S. */
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-page { display:grid!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-hero {
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:8px!important;
    min-height:0!important;
    padding:11px!important;
    border-radius:15px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-hero-copy h2 { margin:2px 0!important; font-size:15px!important; line-height:1.15!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-hero-copy > p { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-hero-meta { display:flex!important; flex-wrap:wrap!important; gap:4px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-hero-meta span { font-size:8.5px!important; padding:4px 6px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-filter-panel header { display:flex!important; align-items:center!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-filter-panel header h3 { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-filters { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="gestao-os"] .gos-date-field > div { display:grid!important; grid-template-columns:1fr 1fr!important; gap:6px!important; }

  /* FALHAS */
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-page,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-shell { max-width:100%!important; min-width:0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-hero { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; padding:11px!important; border-radius:15px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-hero h2 { font-size:16px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-hero p { font-size:10px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-subnav { display:flex!important; gap:5px!important; overflow-x:auto!important; scrollbar-width:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-subnav > * { flex:0 0 auto!important; min-height:38px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-filter-grid { grid-template-columns:1fr!important; }

  /* MATERIAIS */
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-page { max-width:100%!important; min-width:0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-tabs { display:flex!important; gap:5px!important; overflow-x:auto!important; scrollbar-width:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-tabs > * { flex:0 0 auto!important; min-height:38px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-kpis { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important; }

  /* PAINEL APONTAMENTOS */
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .painel-page,
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .apontamentos-page { min-width:0!important; max-width:100%!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .cards-grid,
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }

  /* ALARMES MONIT */
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-page,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-shell { width:100%!important; max-width:100%!important; min-width:0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-top,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-hero { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; padding:10px!important; border-radius:15px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-tabs,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-nav { display:flex!important; gap:5px!important; max-width:100%!important; overflow-x:auto!important; scrollbar-width:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-tabs > *,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-nav > * { flex:0 0 auto!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-kpis,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-summary-grid,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-audit-layout,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-workspace { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; }

  /* STATUS */
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-hero-v166 {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
    border-radius:15px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-hero-copy-v166 > p { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-actions-v166 { display:flex!important; gap:6px!important; max-width:100%!important; overflow-x:auto!important; scrollbar-width:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-actions-v166 > button { flex:0 0 auto!important; width:auto!important; min-height:38px!important; font-size:9.5px!important; white-space:nowrap!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-kpis-v166 { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-tabs-v166 { display:flex!important; gap:5px!important; overflow-x:auto!important; scrollbar-width:none!important; padding-bottom:4px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-tabs-v166 > button { flex:0 0 auto!important; min-height:38px!important; padding:7px 10px!important; font-size:9.5px!important; }

  /* MAPA ocupa a tela útil inteira. */
  html.sgo-mobile-native-v846 body[data-current-menu="mapa-equipamentos"] #menuHost { margin:0 -10px!important; width:calc(100% + 20px)!important; max-width:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="mapa-equipamentos"] .pims-map-page,
  html.sgo-mobile-native-v846 body[data-current-menu="mapa-equipamentos"] .pims-map-frame-shell { height:calc(100dvh - var(--sgo-m-header-h) - var(--sgo-m-safe-t) - var(--sgo-m-nav-h) - var(--sgo-m-safe-b))!important; min-height:420px!important; margin:0!important; padding:0!important; border-radius:0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="mapa-equipamentos"] .pims-map-frame { width:100%!important; height:100%!important; border:0!important; border-radius:0!important; }

  /* Modais são telas completas no mobile. */
  html.sgo-mobile-native-v846 #modalRoot {
    position:fixed!important;
    inset:0!important;
    z-index:5000!important;
    padding:0!important;
    align-items:stretch!important;
    background:rgba(3,18,13,.62)!important;
  }
  html.sgo-mobile-native-v846 #modalRoot:not(.hidden) { display:flex!important; }
  html.sgo-mobile-native-v846 #modalRoot .modal,
  html.sgo-mobile-native-v846 #modalRoot .modal-card,
  html.sgo-mobile-native-v846 #modalRoot .modal-panel,
  html.sgo-mobile-native-v846 #modalRoot .report-modal-shell,
  html.sgo-mobile-native-v846 #modalRoot [role="dialog"] {
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    border-radius:0!important;
    overflow:auto!important;
    background:#fff!important;
  }
  html.sgo-mobile-native-v846 #modalRoot .modal-header,
  html.sgo-mobile-native-v846 #modalRoot .report-modal-header,
  html.sgo-mobile-native-v846 #modalRoot .det-modal-pane-head {
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    padding:calc(9px + var(--sgo-m-safe-t)) 10px 9px!important;
    background:rgba(255,255,255,.97)!important;
    border-bottom:1px solid var(--sgo-m-line)!important;
    backdrop-filter:blur(12px)!important;
  }
  html.sgo-mobile-native-v846 #modalRoot .modal-body,
  html.sgo-mobile-native-v846 #modalRoot .report-view { padding:10px 10px calc(12px + var(--sgo-m-safe-b))!important; }
  html.sgo-mobile-native-v846 #modalRoot .modal-actions,
  html.sgo-mobile-native-v846 #modalRoot .modal-footer {
    position:sticky!important;
    bottom:0!important;
    z-index:70!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px 10px calc(8px + var(--sgo-m-safe-b))!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid var(--sgo-m-line)!important;
    backdrop-filter:blur(12px)!important;
  }

  /* Assistente IA fica acima da barra inferior e abre como tela. */
  html.sgo-mobile-native-v846 #pimsAssistantLauncher,
  html.sgo-mobile-native-v846 .pims-assistant-launcher,
  html.sgo-mobile-native-v846 [data-pims-assistant-launcher] {
    bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 12px)!important;
    right:12px!important;
  }
  html.sgo-mobile-native-v846 .pims-assistant-panel,
  html.sgo-mobile-native-v846 #pimsAssistantPanel {
    inset:0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }

  /* Barra inferior fixa, simples e tocável. */
  html.sgo-mobile-native-v846 .mobile-bottom-nav {
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:1900!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b))!important;
    padding:6px 6px calc(6px + var(--sgo-m-safe-b))!important;
    gap:2px!important;
    border:0!important;
    border-radius:0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -1px 0 var(--sgo-m-line),0 -8px 22px rgba(13,50,38,.09)!important;
    backdrop-filter:blur(16px)!important;
  }
  html.sgo-mobile-native-v846 .mobile-nav-item {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    min-height:54px!important;
    padding:4px 2px!important;
    border:0!important;
    border-radius:12px!important;
    color:#64776f!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html.sgo-mobile-native-v846 .mobile-nav-item.active { color:var(--sgo-m-green)!important; background:#eaf4ef!important; }
  html.sgo-mobile-native-v846 .mobile-nav-icon { display:grid!important; place-items:center!important; width:22px!important; height:22px!important; font-size:0!important; }
  html.sgo-mobile-native-v846 .mobile-nav-icon svg { width:21px!important; height:21px!important; fill:none!important; stroke:currentColor!important; stroke-width:1.9!important; stroke-linecap:round!important; stroke-linejoin:round!important; }
  html.sgo-mobile-native-v846 .mobile-nav-label { max-width:100%!important; color:inherit!important; font-size:9px!important; font-weight:900!important; line-height:1!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; }
  html.sgo-mobile-native-v846 .mobile-nav-live { display:none!important; }

  /* Menu Mais vira seletor de módulos em tela quase cheia. */
  html.sgo-mobile-native-v846 .mobile-more-backdrop {
    z-index:4800!important;
    align-items:flex-end!important;
    padding:0!important;
    background:rgba(3,18,13,.58)!important;
  }
  html.sgo-mobile-native-v846 .mobile-more-sheet {
    width:100%!important;
    max-width:none!important;
    max-height:88dvh!important;
    padding:9px 10px calc(10px + var(--sgo-m-safe-b))!important;
    border-radius:22px 22px 0 0!important;
    background:#f4f7f5!important;
    box-shadow:0 -16px 50px rgba(0,0,0,.24)!important;
  }
  html.sgo-mobile-native-v846 .mobile-more-header { padding:4px 2px 10px!important; }
  html.sgo-mobile-native-v846 .mobile-more-logo { width:40px!important; height:40px!important; border-radius:11px!important; object-fit:contain!important; background:#fff!important; }
  html.sgo-mobile-native-v846 .mobile-more-header-text strong { font-size:14px!important; }
  html.sgo-mobile-native-v846 .mobile-more-header-text span { font-size:9.5px!important; }
  html.sgo-mobile-native-v846 .mobile-more-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important; }
  html.sgo-mobile-native-v846 .mobile-more-action {
    min-height:68px!important;
    padding:9px!important;
    border:1px solid var(--sgo-m-line)!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(15,61,46,.04)!important;
  }
  html.sgo-mobile-native-v846 .mobile-more-action i { font-size:17px!important; color:var(--sgo-m-green)!important; }
  html.sgo-mobile-native-v846 .mobile-more-action b { font-size:10.5px!important; color:var(--sgo-m-text)!important; }
  html.sgo-mobile-native-v846 .mobile-more-action small { font-size:8.5px!important; color:var(--sgo-m-muted)!important; }

  /* Sheet de ações do menu. */
  .sgo-mobile-action-sheet-v846 {
    position:fixed;
    inset:0;
    z-index:4900;
    display:flex!important;
    align-items:flex-end;
    justify-content:center;
    padding:0;
    background:rgba(3,18,13,.55);
    opacity:0;
    pointer-events:none;
    transition:opacity .16s ease;
  }
  .sgo-mobile-action-sheet-v846.open { opacity:1; pointer-events:auto; }
  .sgo-mobile-action-sheet-v846 > section {
    width:100%;
    max-height:80dvh;
    overflow:auto;
    padding:8px 10px calc(10px + var(--sgo-m-safe-b));
    border-radius:22px 22px 0 0;
    background:#f5f8f6;
    transform:translateY(20px);
    transition:transform .16s ease;
  }
  .sgo-mobile-action-sheet-v846.open > section { transform:translateY(0); }
  .sgo-mobile-action-sheet-v846 header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:5px 2px 10px; }
  .sgo-mobile-action-sheet-v846 header strong { color:var(--sgo-m-text); font-size:14px; }
  .sgo-mobile-action-sheet-v846 header button { width:36px!important; height:36px!important; min-height:36px!important; border:0!important; border-radius:11px!important; background:#e5ece8!important; color:var(--sgo-m-green)!important; }
  .sgo-mobile-action-list-v846 { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
  .sgo-mobile-action-list-v846 button {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-height:48px!important;
    padding:9px!important;
    border:1px solid var(--sgo-m-line)!important;
    border-radius:12px!important;
    color:var(--sgo-m-text)!important;
    background:#fff!important;
    font-size:10px!important;
    font-weight:900!important;
    text-align:left!important;
  }
  .sgo-mobile-action-list-v846 button svg { flex:0 0 auto; width:18px;height:18px;fill:none;stroke:var(--sgo-m-green);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }

  html.sgo-mobile-native-v846 #loadingBar { position:fixed!important; top:calc(var(--sgo-m-header-h) + var(--sgo-m-safe-t))!important; left:8px!important; right:8px!important; z-index:1840!important; margin:0!important; }
  html.sgo-mobile-native-v846 .toast { left:9px!important; right:9px!important; bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 10px)!important; z-index:4700!important; border-radius:12px!important; }
  html.sgo-mobile-native-v846 .mobile-scroll-top-v124 { bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 12px)!important; right:10px!important; width:38px!important; height:38px!important; border-radius:12px!important; }

  /* Login instalado também deve parecer app. */
  html.sgo-mobile-native-v846 #loginView {
    min-height:100dvh!important;
    background:linear-gradient(155deg,#08271d,#0f3d2e 58%,#176048)!important;
  }
  html.sgo-mobile-native-v846 #loginView .login-hero { display:none!important; }
  html.sgo-mobile-native-v846 #loginView .login-panel { min-height:100dvh!important; display:grid!important; place-items:center!important; padding:calc(18px + var(--sgo-m-safe-t)) 12px calc(18px + var(--sgo-m-safe-b))!important; }
  html.sgo-mobile-native-v846 #loginView .login-card { width:min(100%,410px)!important; margin:0!important; padding:20px 15px!important; border-radius:22px!important; box-shadow:0 24px 60px rgba(0,0,0,.24)!important; }
  html.sgo-mobile-native-v846 #loginView .login-card h2 { font-size:24px!important; }
  html.sgo-mobile-native-v846 #loginView input,
  html.sgo-mobile-native-v846 #loginView select,
  html.sgo-mobile-native-v846 #loginView #btnLogin { min-height:49px!important; border-radius:12px!important; }
}

@media (max-width:430px) {
  html.sgo-mobile-native-v846 #appView .topbar-title-wrap { grid-template-columns:36px minmax(0,1fr)!important; }
  html.sgo-mobile-native-v846 .mobile-appbar-logo-v124 { width:36px!important; height:36px!important; }
  html.sgo-mobile-native-v846 .mobile-sync-chip-v124 { display:none!important; }
  html.sgo-mobile-native-v846 #pageTitle { font-size:16px!important; }
  html.sgo-mobile-native-v846 .sgo-mobile-appbar-v846 button { width:35px!important; height:35px!important; min-width:35px!important; min-height:35px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="determinar-frente"] .fleet-list { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="disponibilidade"] .disp-summary,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-kpis,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-kpis,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-summary-grid,
  html.sgo-mobile-native-v846 body[data-current-menu="sistema"] .status-kpis-v166 { grid-template-columns:1fr 1fr!important; }
  table.sgo-mobile-card-table-v846 tbody > tr > td { grid-template-columns:1fr!important; gap:3px!important; }
  .sgo-mobile-action-list-v846 { grid-template-columns:1fr!important; }
}

@media (orientation:landscape) and (max-width:900px) and (max-height:560px) {
  :root { --sgo-m-header-h:54px; --sgo-m-nav-h:56px; }
  html.sgo-mobile-native-v846 .mobile-nav-label { display:none!important; }
  html.sgo-mobile-native-v846 .mobile-bottom-nav { padding-top:3px!important; }
  html.sgo-mobile-native-v846 #pageSubtitle { display:none!important; }
}

@media print {
  .sgo-mobile-appbar-v846,
  .sgo-mobile-action-sheet-v846 { display:none!important; }
  table.sgo-mobile-card-table-v846 { display:table!important; }
  table.sgo-mobile-card-table-v846 thead { display:table-header-group!important; }
  table.sgo-mobile-card-table-v846 tbody { display:table-row-group!important; }
  table.sgo-mobile-card-table-v846 tr { display:table-row!important; }
  table.sgo-mobile-card-table-v846 td { display:table-cell!important; }
  table.sgo-mobile-card-table-v846 td::before,
  table.sgo-mobile-card-table-v846 tr::before { display:none!important; }
}

@media (max-width:900px) {
  /* PAINEL APONTAMENTOS EMBUTIDO ocupa toda a área útil do app. */
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] #menuHost {
    margin:0 -10px!important;
    width:calc(100% + 20px)!important;
    max-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .painel-apontamentos-menu,
  html.sgo-mobile-native-v846 body[data-current-menu="painel-apontamentos"] .painel-apontamentos-frame {
    width:100%!important;
    height:calc(100dvh - var(--sgo-m-header-h) - var(--sgo-m-safe-t) - var(--sgo-m-nav-h) - var(--sgo-m-safe-b))!important;
    min-height:420px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
  }
}

/* V1.03.8.46 - reforço por estrutura real dos menus atuais. */
@media (max-width:900px) {
  /* FALHAS ACOMPANHADAS: navegação, formulário e dashboard nativos. */
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-tabs {
    display:flex!important; gap:5px!important; width:100%!important; overflow-x:auto!important;
    padding:2px 0 6px!important; scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-tabs::-webkit-scrollbar { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-tabs > button {
    flex:0 0 auto!important; min-height:38px!important; padding:7px 10px!important; border-radius:11px!important;
    font-size:9.5px!important; white-space:nowrap!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-hero-actions {
    display:grid!important; grid-template-columns:1fr 1fr!important; gap:6px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-hero-button {
    width:100%!important; min-height:42px!important; padding:7px 8px!important; border-radius:11px!important; font-size:9px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-action-primary { grid-column:1/-1!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-filters,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-register-grid,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-dashboard-filter {
    display:grid!important; grid-template-columns:1fr!important; gap:8px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-col-3,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-col-6,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-col-9 { grid-column:auto!important; width:100%!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-form-actions,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-dashboard-actions {
    display:grid!important; grid-template-columns:1fr 1fr!important; gap:7px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-kpis,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-dashboard-six {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-modal-backdrop {
    position:fixed!important; inset:0!important; z-index:5200!important; padding:0!important; align-items:stretch!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-modal,
  html.sgo-mobile-native-v846 body[data-current-menu="falhas-acompanhadas"] .fac-result-modal {
    width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important;
    margin:0!important; border-radius:0!important; overflow:auto!important;
  }

  /* MATERIAIS: troca de visão horizontal e painéis compactos. */
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-command-hero-p26,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-executive-panel,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-table-panel,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-consulta-page {
    width:100%!important; max-width:100%!important; min-width:0!important; padding:10px!important; border-radius:15px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-command-hero-p26 {
    display:grid!important; grid-template-columns:1fr!important; gap:7px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-command-copy-p26 h2 { font-size:16px!important; margin:2px 0!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-command-copy-p26 > p { display:none!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-command-meta-p26,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-executive-meta {
    display:flex!important; gap:5px!important; overflow-x:auto!important; scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-meta-chip { flex:0 0 auto!important; font-size:8.5px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-view-switcher {
    display:flex!important; gap:5px!important; width:100%!important; overflow-x:auto!important; padding:2px 0 6px!important; scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-view-tab {
    flex:0 0 auto!important; min-height:38px!important; padding:7px 10px!important; border-radius:11px!important; font-size:9.5px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-dashboard { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-chart-card { min-width:0!important; padding:10px!important; border-radius:14px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-filters,
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-date-row { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-consulta-search-row { display:grid!important; grid-template-columns:1fr!important; gap:7px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .mat-consulta-search-row > button { width:100%!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="materiais"] .materiais-pagination-p26 {
    position:sticky!important; bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b) + 4px)!important; z-index:80!important;
    padding:7px!important; border-radius:13px!important; background:rgba(255,255,255,.96)!important;
  }

  /* ALARMES MONIT: operação vira fluxo vertical de app. */
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-hero-actions {
    display:flex!important; gap:5px!important; max-width:100%!important; overflow-x:auto!important; scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-hero-actions > * {
    flex:0 0 auto!important; min-height:38px!important; width:auto!important; padding:7px 9px!important; font-size:8.5px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-pair-panel { display:grid!important; grid-template-columns:1fr!important; gap:8px!important; padding:10px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-summary,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-history-summary,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-audit-kpis {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-kpi,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-history-summary > article { min-width:0!important; min-height:74px!important; padding:9px!important; border-radius:13px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-operation-layout,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-dashboard-panels,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-audit-layout,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-workspace {
    display:grid!important; grid-template-columns:1fr!important; gap:8px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-queue-tools,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-bulk-strip,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-dashboard-filters,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-history-tools,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-audit-filters,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-page-head {
    display:grid!important; grid-template-columns:1fr!important; gap:7px!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-queue-chips,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-shift-buttons {
    display:flex!important; gap:5px!important; overflow-x:auto!important; scrollbar-width:none!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-card { min-width:0!important; padding:10px!important; border-radius:14px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-chart-wrap,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-trend-wrap { min-height:230px!important; overflow-x:auto!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-ranking-table { overflow-x:auto!important; -webkit-overflow-scrolling:touch!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-ranking-table table { min-width:720px!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-groups-panel,
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-alarms-panel { min-width:0!important; width:100%!important; }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-config-footer {
    position:sticky!important; bottom:calc(var(--sgo-m-nav-h) + var(--sgo-m-safe-b))!important; z-index:90!important;
    display:grid!important; grid-template-columns:1fr!important; gap:7px!important; padding:9px!important; border-radius:13px!important;
    background:rgba(255,255,255,.97)!important; backdrop-filter:blur(10px)!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-dialog {
    width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important; margin:0!important; padding:0!important; border:0!important;
  }
  html.sgo-mobile-native-v846 body[data-current-menu="alarmes-monit"] .monit-dialog-shell { width:100%!important; min-height:100dvh!important; border-radius:0!important; }
}
