.adm-uo-spa-host {
  z-index: 40;
  background: #f4f6f9;
  overflow: auto;
  border-left: 1px solid #e2e8f0;
  transition: opacity .12s ease;
}
.adm-uo-spa-host.is-ready {
  visibility: visible !important;
  opacity: 1 !important;
}
body.adm-uo-open { overflow: hidden; }
/* Menu mobile do admin precisa ficar acima do overlay desta página */
body.adm-uo-open [data-react-aria-top-layer],
body.adm-uo-open [data-overlay-container],
body.adm-uo-open [data-slot="sidebar"][data-mobile="true"] {
  z-index: 60 !important;
}
.adm-uo {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, sans-serif;
  color: #0f172a;
}
.adm-uo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.adm-uo-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.adm-uo-menu-btn {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  padding: 0;
}
.adm-uo-menu-btn:active {
  background: #f1f5f9;
}
.adm-uo-top h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}
.adm-uo-top p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .875rem;
}
.adm-uo-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.adm-uo-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 110px;
}
.adm-uo-stat strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.2;
}
.adm-uo-stat span {
  font-size: .75rem;
  color: #64748b;
}
.adm-uo-stat.is-on strong { color: #009436; }
.adm-uo-stat.is-off strong { color: #64748b; }
.adm-uo-main { padding: 16px 24px 32px; }
.adm-uo-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.adm-uo-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .9rem;
  background: #fff;
}
.adm-uo-chip {
  border: 1px solid #d0d7e2;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .8rem;
  cursor: pointer;
  color: #334155;
}
.adm-uo-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.adm-uo-btn {
  border: 1px solid #d0d7e2;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .85rem;
  cursor: pointer;
}
.adm-uo-btn.primary {
  background: var(--brand, #009436);
  border-color: var(--brand, #009436);
  color: #fff;
}
.adm-uo-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.adm-uo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #eef2f7;
  background: #fbfcfd;
}
.adm-uo-section-head h2 {
  margin: 0;
  font-size: .95rem;
  font-weight: 650;
}
.adm-uo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.adm-uo-table th,
.adm-uo-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.adm-uo-table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  font-weight: 600;
  background: #fff;
}
.adm-uo-table tr:last-child td { border-bottom: 0; }
.adm-uo-table tr:hover td { background: #f8fafc; }
.adm-uo-user {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-uo-user strong { font-weight: 600; }
.adm-uo-user span { color: #64748b; font-size: .78rem; }
.adm-uo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: .75rem;
  font-weight: 600;
}
.adm-uo-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.adm-uo-badge.on {
  background: #e8f8ee;
  color: #009436;
}
.adm-uo-badge.off {
  background: #f1f5f9;
  color: #64748b;
}
.adm-uo-badge.pwa-yes {
  background: #e8f1ff;
  color: #1d4ed8;
}
.adm-uo-badge.pwa-no {
  background: #f8fafc;
  color: #94a3b8;
}
.adm-uo-muted {
  color: #94a3b8;
  font-size: .875rem;
  padding: 18px 16px;
  margin: 0;
}
.adm-uo-link {
  color: var(--brand, #009436);
  text-decoration: none;
  font-weight: 600;
}
.adm-uo-link:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .adm-uo-top { flex-direction: column; }
  .adm-uo-main { padding: 12px; }
}
@media (max-width: 767px) {
  .adm-uo-menu-btn { display: inline-flex; }
  .adm-uo-top { padding: 14px 14px 16px; }
  .adm-uo-top h1 { font-size: 1.2rem; }
}
