/* RH mobile polish.
   Scope: responsive presentation only. No API, auth, permissions, or business-rule changes. */

.rh-ops-report-stats .rh-ops-block{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:center;
  min-width:0;
  min-height:46px;
}

.rh-ops-report-stats .rh-ops-block strong{
  overflow-wrap:anywhere;
  letter-spacing:0;
}

.rh-ops-report-stats .rh-ops-block p{
  margin:0;
  color:#0f172a;
  font-family:var(--font-display);
  font-size:16px;
  font-weight:900;
}

.rh-ops-report-stats{
  grid-template-columns:1fr;
}

@media (max-width:700px){
  .app.navx-auth .rh-module-shell{
    border-radius:24px;
    box-shadow:
      0 24px 58px rgba(15,23,42,.11),
      0 8px 22px rgba(15,23,42,.055);
  }

  .rh-module-head{
    padding:22px 20px 16px;
  }

  .rh-module-head::before{
    top:20px;
    bottom:20px;
    width:4px;
  }

  .rh-breadcrumb{
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:9px;
    font-size:10px;
  }

  .rh-module-head h2{
    font-size:29px;
    line-height:1.04;
  }

  .rh-module-head p{
    font-size:14px;
    line-height:1.42;
  }

  .rh-module-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    width:100%;
    margin-top:16px;
  }

  .rh-module-actions .btn,
  .rh-module-actions .readonly-pill{
    width:100%;
    min-height:42px;
    padding:8px 10px;
    border-radius:16px;
    font-size:12px;
    text-align:center;
  }

  .rh-module-nav{
    padding:14px 20px 0;
  }

  .rh-mobile-tab{
    padding:12px;
    border:1px solid rgba(37,99,235,.11);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,255,.86));
  }

  .rh-mobile-tab label{
    margin-bottom:8px;
    font-size:11px;
    letter-spacing:.05em;
  }

  .rh-mobile-tab .input{
    min-height:44px;
    border-radius:14px;
    background:#fff;
    font-weight:850;
  }

  .rh-readonly-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    margin:14px 20px 0;
  }

  .rh-summary-tile{
    min-height:84px;
    padding:13px;
    border-radius:18px;
  }

  .rh-summary-tile strong{
    font-size:1.35rem;
  }

  .rh-summary-tile small{
    font-size:10px;
    line-height:1.25;
  }

  .rh-tab-panel{
    padding:16px 18px 22px;
  }

  .rh-operacao-card,
  .rh-readonly-list-card,
  .rh-unidades-card,
  .rh-auditoria-card{
    padding:16px;
    border-radius:24px;
  }

  .rh-section-head h3,
  .rh-readonly-toolbar h3,
  .rh-unidades-card h3,
  .rh-auditoria-card h3{
    font-size:25px;
    line-height:1.05;
  }

  .rh-section-head p,
  .rh-readonly-toolbar p,
  .rh-auditoria-head p{
    font-size:13px;
    line-height:1.42;
  }

  .rh-phase-chip{
    min-height:34px;
    width:100%;
    justify-content:center;
    border-radius:16px;
  }

  .rh-ops-toolbar{
    gap:10px;
    padding:14px;
    border-radius:20px;
  }

  .rh-ops-toolbar .input,
  .rh-ops-search-row .input,
  .rh-search-row .input{
    min-height:46px;
    border-radius:15px;
  }

  .rh-ops-topgrid{
    gap:12px;
  }

  .rh-ops-meta-card,
  .rh-ops-report-card,
  .rh-ops-distribution,
  .rh-ops-item{
    padding:15px;
    border-radius:22px;
  }

  .rh-ops-blocks{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:9px;
  }

  .rh-ops-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .rh-ops-kpi{
    min-height:82px;
    padding:14px;
    border-radius:19px;
  }

  .rh-ops-kpi strong{
    font-size:24px;
  }

  .rh-ops-distribution{
    grid-column:1 / -1;
  }

  .rh-ops-search-row,
  .rh-search-row{
    padding:12px;
    border-radius:20px;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88));
  }

  .rh-colab-item,
  .rh-unidade-item,
  .rh-audit-item{
    border-radius:22px;
  }

  .rh-colab-item{
    padding:16px;
  }

  .rh-colab-name{
    font-size:18px;
  }

  .rh-colab-meta,
  .rh-unidade-meta{
    gap:7px;
  }

  .rh-mini-chip{
    min-height:25px;
    padding:4px 8px;
    font-size:11px;
  }

  .rh-colab-side{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin-top:2px;
    text-align:left;
  }

  .rh-id-chip{
    min-height:34px;
    min-width:76px;
    align-items:center;
  }

  .rh-matricula{
    margin:0;
  }

  .rh-colab-actions .btn{
    width:100%;
    min-height:42px;
    border-radius:15px;
  }

  .rh-ops-title{
    font-size:19px;
  }

  .rh-ops-muted{
    font-size:12px;
  }

  .rh-ops-block{
    padding:11px;
    border-radius:16px;
  }

  .rh-ops-block strong{
    font-size:11px;
  }

  .rh-ops-block p{
    font-size:11px;
  }

  .rh-ops-action{
    grid-column:1 / -1;
  }

  .rh-ops-validate-btn,
  .rh-ops-export,
  .rh-search-row .btn,
  .rh-ops-search-row .btn,
  .rh-ops-toolbar .btn{
    width:100%;
    min-height:44px;
    border-radius:15px;
  }
}

@media (max-width:380px){
  .rh-module-actions,
  .rh-readonly-summary,
  .rh-ops-blocks,
  .rh-ops-report-stats,
  .rh-ops-summary{
    grid-template-columns:1fr;
  }

  .rh-module-head h2{
    font-size:27px;
  }
}
