/*
 * ACEVigia - camada visual nova aprovada.
 * Regra: somente aparência. O DOM, os IDs, os eventos, as permissões,
 * o armazenamento, o modo offline, o QR e os relatórios continuam reais.
 */
@media screen {
  body.layout-novo {
    --bg-top: #dcece8;
    --bg: #c8ddd8;
    --surface: rgba(235, 246, 243, .96);
    --line: #96bbb5;
    --text: #0f2c32;
    --muted: #465f66;
    --primary: #046f66;
    --primary-dark: #033f3c;
    --soft: #b0d8d1;
    --soft-2: #f2faf8;
    --warn: #ca570a;
    --danger: #dc2626;
    --ok: #046f66;
    --shadow: 0 16px 42px rgba(9, 45, 50, .20);
    --card-radius: 18px;
    --card-padding: 16px;
    --panel-padding: 18px;
    --ui-gap: 14px;
    --module-card-padding: 17px;
    --module-card-min: 140px;
    --layout-card: linear-gradient(145deg, rgba(243, 250, 248, .97), rgba(219, 237, 233, .95));
    --layout-card-soft: linear-gradient(145deg, rgba(246, 252, 250, .96), rgba(226, 242, 238, .92));
    --layout-card-strong: rgba(246, 252, 250, .98);
    --layout-shadow-soft: 0 12px 30px rgba(8, 51, 57, .11);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
      radial-gradient(circle at 10% -6%, rgba(4, 111, 102, .32), transparent 30rem),
      radial-gradient(circle at 88% 2%, rgba(12, 88, 170, .20), transparent 31rem),
      linear-gradient(180deg, #dcece8 0%, #c8ddd8 50%, #b8d0ca 100%);
    background-attachment: fixed;
  }

  body.layout-novo.theme-tonalidade_clara {
    --bg-top: #edf7f4;
    --bg: #dbece8;
    --surface: rgba(248, 252, 251, .98);
    --soft: #cae5df;
    --soft-2: #f7fcfb;
  }

  body.layout-novo.theme-tonalidade_escura {
    --bg-top: #b9d4ce;
    --bg: #a9c9c2;
    --surface: rgba(218, 237, 232, .97);
    --line: #779f98;
    --text: #09272b;
    --muted: #34565b;
    --soft: #8fc1b8;
    --soft-2: #dbeee9;
  }

  body.layout-novo .login-screen {
    background:
      radial-gradient(circle at 20% 0%, rgba(4, 111, 102, .28), transparent 26rem),
      linear-gradient(180deg, var(--bg-top), var(--bg));
  }

  body.layout-novo .login-card {
    border-color: rgba(4, 111, 102, .24);
    border-radius: 22px;
    background: var(--layout-card);
    box-shadow: 0 24px 60px rgba(8, 51, 57, .22);
  }

  body.layout-novo .login-brand {
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
  }

  body.layout-novo .shell {
    width: min(1540px, 100%);
    padding: 22px;
  }

  body.layout-novo .topbar {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid rgba(4, 111, 102, .18);
    border-radius: 20px;
    background: rgba(226, 241, 237, .84);
    box-shadow: 0 12px 34px rgba(8, 51, 57, .15);
    backdrop-filter: blur(12px);
  }

  body.layout-novo .topbar-brand {
    min-width: 210px;
  }

  body.layout-novo .topbar-brand img {
    width: 76px;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 30px rgba(8, 127, 116, .10);
  }

  body.layout-novo .topbar-brand h1 {
    color: #0a3035;
    font-size: 1.65rem;
  }

  body.layout-novo .session-box {
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
  }

  body.layout-novo .session-box > .pill,
  body.layout-novo .session-box > button,
  body.layout-novo .top-appearance-control {
    min-height: 46px;
    border-color: rgba(4, 111, 102, .20);
    border-radius: 14px;
    background: rgba(242, 250, 248, .86);
    color: #0c4141;
    box-shadow: 0 8px 20px rgba(8, 51, 57, .07);
  }

  body.layout-novo .session-box > button:hover,
  body.layout-novo .top-appearance-control:focus-within {
    border-color: rgba(4, 111, 102, .42);
    box-shadow: 0 10px 24px rgba(8, 51, 57, .12);
  }

  body.layout-novo .top-appearance-control select {
    border-color: rgba(4, 111, 102, .18);
    background: rgba(255, 255, 255, .68);
    color: #0a3035;
  }

  body.layout-novo .install-app-button,
  body.layout-novo .training-mode-toggle {
    border-color: transparent;
    background: linear-gradient(135deg, #0b857b, #046f66);
    color: #fff;
  }

  body.layout-novo .nav-strip {
    gap: 14px;
    margin-bottom: 18px;
  }

  body.layout-novo .tabs {
    min-height: 60px;
    padding: 6px;
    border-color: rgba(4, 111, 102, .20);
    border-radius: 18px;
    background: rgba(239, 248, 246, .88);
    box-shadow: 0 12px 30px rgba(8, 51, 57, .08);
  }

  body.layout-novo .tab {
    border-radius: 14px;
    color: #35555a;
    font-weight: 850;
  }

  body.layout-novo .tab.active {
    position: relative;
    border-color: transparent;
    background: linear-gradient(135deg, #0b857b, #046f66);
    color: #fff;
    box-shadow: 0 16px 30px rgba(4, 111, 102, .22);
  }

  body.layout-novo .app-back-button {
    min-height: 52px;
    border-color: rgba(4, 111, 102, .20);
    border-radius: 16px;
    background: rgba(242, 250, 248, .86);
    color: #06423d;
    box-shadow: 0 10px 24px rgba(8, 51, 57, .08);
  }

  body.layout-novo main {
    min-width: 0;
  }

  body.layout-novo main > .view {
    min-width: 0;
  }

  body.layout-novo main > .view > .panel,
  body.layout-novo main > .view > .quick-panel,
  body.layout-novo main > .view > .home-hero,
  body.layout-novo main > .view > .dashboard-territory-details {
    border-color: rgba(4, 111, 102, .20);
    border-radius: 20px;
    background: var(--layout-card);
    box-shadow: var(--layout-shadow-soft);
  }

  body.layout-novo .panel-head,
  body.layout-novo .section-title {
    gap: 14px;
  }

  body.layout-novo .panel-head h2,
  body.layout-novo .section-title h2 {
    color: #0a3035;
    letter-spacing: -.015em;
  }

  body.layout-novo .panel-head .muted,
  body.layout-novo .section-title span,
  body.layout-novo .muted {
    color: var(--muted);
  }

  body.layout-novo input,
  body.layout-novo select,
  body.layout-novo textarea {
    border-color: rgba(4, 111, 102, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
  }

  body.layout-novo input:focus,
  body.layout-novo select:focus,
  body.layout-novo textarea:focus {
    border-color: #0f8f84;
    outline: 3px solid rgba(15, 143, 132, .15);
  }

  body.layout-novo main .primary,
  body.layout-novo main .secondary,
  body.layout-novo main button {
    border-radius: 12px;
  }

  body.layout-novo main .primary {
    border-color: transparent;
    background: linear-gradient(135deg, #0b857b, #046f66);
    color: #fff;
    box-shadow: 0 10px 24px rgba(4, 111, 102, .17);
  }

  body.layout-novo main .secondary {
    border-color: rgba(4, 111, 102, .20);
    background: rgba(244, 251, 249, .76);
    color: #06423d;
  }

  body.layout-novo main .danger,
  body.layout-novo main button.danger {
    color: #fff;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
  }

  body.layout-novo .inline-form-card,
  body.layout-novo .nested-panel,
  body.layout-novo .subfolder,
  body.layout-novo .list > article,
  body.layout-novo .list > .item {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 16px;
    background: rgba(247, 252, 250, .70);
    box-shadow: 0 8px 22px rgba(8, 51, 57, .07);
  }

  body.layout-novo .subfolder > summary,
  body.layout-novo .nested-panel > summary {
    color: #06423d;
  }

  body.layout-novo .status-pill,
  body.layout-novo .pill {
    color: #061f22;
    font-weight: 850;
  }

  /* Início: mesma leitura visual aprovada, com dados reais do perfil. */
  body.layout-novo #dashboard .home-hero {
    padding: 20px;
    background:
      radial-gradient(circle at 9% 10%, rgba(4, 111, 102, .16), transparent 18rem),
      var(--layout-card);
  }

  body.layout-novo #dashboard .agent-avatar {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #b0d8d1, #e5f4f0);
    color: #046f66;
    box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .16);
  }

  body.layout-novo #dashboard .home-greeting strong,
  body.layout-novo #dashboard .home-stat strong {
    color: #083339;
  }

  body.layout-novo #dashboard .compact-alert-card,
  body.layout-novo #dashboard .quick-action,
  body.layout-novo #dashboard .metrics article {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 16px;
    background: var(--layout-card-soft);
    box-shadow: 0 12px 26px rgba(8, 51, 57, .09);
  }

  body.layout-novo #dashboard .quick-action span {
    background: linear-gradient(135deg, #b0d8d1, #e5f4f0);
    color: #046f66;
    box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .14);
  }

  body.layout-novo #dashboard .period-tabs {
    padding: 5px;
    border-radius: 14px;
    background: rgba(4, 111, 102, .07);
  }

  /* Serviços: mantém exatamente os cards e permissões renderizados pelo perfil real. */
  body.layout-novo #servicos > .panel {
    padding: 20px;
  }

  body.layout-novo #servicos .module-grid {
    gap: 14px;
  }

  body.layout-novo #servicos .module-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(4, 111, 102, .20);
    border-radius: 18px;
    background: var(--layout-card-soft);
    box-shadow: 0 12px 28px rgba(8, 51, 57, .10);
  }

  body.layout-novo #servicos .module-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #046f66, #5eead4);
    opacity: .55;
  }

  body.layout-novo #servicos .module-card:hover {
    border-color: rgba(4, 111, 102, .42);
    box-shadow: 0 18px 34px rgba(8, 51, 57, .15);
  }

  body.layout-novo #servicos .module-icon {
    background: linear-gradient(135deg, #b0d8d1, #e5f4f0);
    color: #046f66;
    box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .15);
  }

  /* Território e RG: cartões reais, sem criar mapa, ícone ou filtro fictício. */
  body.layout-novo #territorio .cascade-actions,
  body.layout-novo #territorio .cascade-grid,
  body.layout-novo #territorio .block-picker,
  body.layout-novo #territorio .property-master-detail,
  body.layout-novo #rg .rg-admin-grid,
  body.layout-novo #rg .rg-summary-card,
  body.layout-novo #rg .rg-card {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 16px;
    background: rgba(247, 252, 250, .72);
  }

  body.layout-novo #territorio .cascade-card,
  body.layout-novo #territorio .neighborhood-card,
  body.layout-novo #territorio .block-card,
  body.layout-novo #territorio .property-master-item,
  body.layout-novo #territorio .property-detail,
  body.layout-novo #territorio .block-row {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 14px;
    background: var(--layout-card-soft);
    box-shadow: 0 8px 20px rgba(8, 51, 57, .07);
  }

  body.layout-novo #territorio .cascade-card:hover,
  body.layout-novo #territorio .block-row:hover,
  body.layout-novo #territorio .property-master-item.is-selected,
  body.layout-novo #territorio .property-master-item.active {
    border-color: #0f8f84;
    background: linear-gradient(145deg, rgba(215, 241, 235, .96), rgba(241, 250, 248, .98));
  }

  body.layout-novo #territorio .neighborhood-card,
  body.layout-novo #territorio .block-card {
    border-left: 5px solid #0f8f84;
  }

  body.layout-novo #territorio .danger-alert {
    border-left-color: #dc2626;
    background: linear-gradient(145deg, rgba(255, 240, 240, .94), rgba(241, 250, 248, .95));
  }

  /* Pacientes, denúncias e escorpião preservam filtros, estados e ações reais. */
  body.layout-novo #pacientes .rg-summary-card,
  body.layout-novo #denuncias .rg-summary-card,
  body.layout-novo #pacientes .service-master,
  body.layout-novo #pacientes .service-detail,
  body.layout-novo #denuncias .service-master,
  body.layout-novo #denuncias .service-detail,
  body.layout-novo #denuncias #scorpionFollowupPanel {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 17px;
    background: var(--layout-card-soft);
    box-shadow: 0 12px 28px rgba(8, 51, 57, .09);
  }

  body.layout-novo #pacientes .service-master-item,
  body.layout-novo #denuncias .service-master-item,
  body.layout-novo #pacientes .service-context-card,
  body.layout-novo #denuncias .service-context-card,
  body.layout-novo #pacientes .service-facts > *,
  body.layout-novo #denuncias .service-facts > * {
    border-color: rgba(4, 111, 102, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .52);
  }

  body.layout-novo #pacientes .service-master-item.is-selected,
  body.layout-novo #pacientes .service-master-item.active,
  body.layout-novo #denuncias .service-master-item.is-selected,
  body.layout-novo #denuncias .service-master-item.active {
    border-left-color: #0f8f84;
    background: rgba(207, 235, 229, .72);
  }

  body.layout-novo #denuncias #scorpionFollowupPanel {
    border-left: 5px solid #ca570a;
    background: linear-gradient(145deg, rgba(255, 245, 235, .90), rgba(225, 242, 238, .94));
  }

  body.layout-novo #denuncias .complaint-triage-form,
  body.layout-novo #denuncias .service-evidence-section,
  body.layout-novo #denuncias .service-history-section {
    border-color: rgba(202, 87, 10, .20);
    border-radius: 14px;
    background: rgba(255, 255, 255, .48);
  }

  /* PE e ARM recebem a mesma linguagem, sem inventar cadastros ainda inexistentes. */
  body.layout-novo #pes .panel,
  body.layout-novo #armadilhas .panel {
    border-radius: 20px;
  }

  body.layout-novo #pes .item,
  body.layout-novo #armadilhas .item,
  body.layout-novo #pes article,
  body.layout-novo #armadilhas article {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 14px;
    background: rgba(247, 252, 250, .70);
  }

  /* Amostras: fila, código e resultado reais. */
  body.layout-novo #amostras .report-summary-grid article,
  body.layout-novo #amostras .sample-integrity-panel,
  body.layout-novo #amostras .sample-card,
  body.layout-novo #amostras .sample-meta-grid span,
  body.layout-novo #amostras .sample-point-row {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 15px;
    background: var(--layout-card-soft);
    box-shadow: 0 8px 22px rgba(8, 51, 57, .07);
  }

  body.layout-novo #amostras .sample-code-box {
    border-color: rgba(4, 111, 102, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
  }

  body.layout-novo #amostras .sample-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: end;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(4, 111, 102, .16);
    border-radius: 15px;
    background: rgba(255, 255, 255, .34);
  }

  body.layout-novo #amostras .sample-filters > * {
    min-width: 0;
    width: 100%;
  }

  body.layout-novo #amostras #sampleCodeSearch {
    grid-column: span 2;
  }

  body.layout-novo #amostras .sample-result-field {
    border-radius: 13px;
  }

  /* Metas: formulário real com blocos visuais; nenhum passo ou botão fictício. */
  body.layout-novo #metas #fieldTaskForm {
    border-color: rgba(4, 111, 102, .20);
    border-radius: 18px;
    background: rgba(247, 252, 250, .64);
  }

  body.layout-novo #metas .subfolder,
  body.layout-novo #metas .territory-rule-card,
  body.layout-novo #metas .territory-team-builder,
  body.layout-novo #metas .territory-team-preview,
  body.layout-novo #metas #territoryProposalPreview,
  body.layout-novo #metas #fieldTaskSummary,
  body.layout-novo #metas #fieldTaskList > * {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 15px;
    background: var(--layout-card-soft);
    box-shadow: 0 8px 22px rgba(8, 51, 57, .07);
  }

  body.layout-novo #metas .territory-rule-card {
    border-left: 5px solid #0f8f84;
  }

  /* Supervisão: fluxo real em etapas, rota, itens, anexos e boletim. */
  body.layout-novo #supervisao .supervision-hero,
  body.layout-novo #supervisao .supervision-visit-shell,
  body.layout-novo #supervisao .supervision-step-card,
  body.layout-novo #supervisao .supervision-active-visit,
  body.layout-novo #supervisao .supervision-route-decision-card,
  body.layout-novo #supervisao .supervision-route-item,
  body.layout-novo #supervisao .supervision-visit-item,
  body.layout-novo #supervisao .supervision-pending-item,
  body.layout-novo #supervisao .supervision-report-panel,
  body.layout-novo #supervisao .supervision-advanced-panel,
  body.layout-novo #supervisao .supervision-info-panel,
  body.layout-novo #supervisao .supervision-field-panel,
  body.layout-novo #supervisao .supervision-pending-panel,
  body.layout-novo #supervisao .supervision-visit-items-panel,
  body.layout-novo #supervisao .supervision-quick-decision-panel,
  body.layout-novo #supervisao .supervision-report-attachments,
  body.layout-novo #supervisao .supervision-report-checklist,
  body.layout-novo #supervisao .supervision-report-template-panel,
  body.layout-novo #supervisao .supervision-generated-documents,
  body.layout-novo #supervisao .supervision-response-box {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 17px;
    background: var(--layout-card-soft);
    box-shadow: 0 10px 26px rgba(8, 51, 57, .08);
  }

  body.layout-novo #supervisao .supervision-quick-guide article {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(242, 251, 248, .92), rgba(219, 239, 234, .84));
  }

  body.layout-novo #supervisao .supervision-step-number,
  body.layout-novo #supervisao .supervision-timeline-step.is-current {
    background: linear-gradient(135deg, #0f8f84, #046f66);
    color: #fff;
  }

  body.layout-novo #supervisao .supervision-pending-item,
  body.layout-novo #supervisao .supervision-route-decision-card {
    border-left: 5px solid #f59e0b;
  }

  body.layout-novo #supervisao .supervision-report-preview {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 15px;
    background: rgba(255, 255, 255, .62);
  }

  /* Relatórios: muda a tela, nunca a folha ou o PDF. */
  body.layout-novo #relatorios .report-clean-card,
  body.layout-novo #relatorios .report-config,
  body.layout-novo #relatorios #reportSummary,
  body.layout-novo #relatorios #reportActionButtons,
  body.layout-novo #relatorios #reportPreviewFolder,
  body.layout-novo #relatorios #reportGeneratedHistory,
  body.layout-novo #relatorios #generatedFilesList,
  body.layout-novo #relatorios #chiefPresentationPanel {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 17px;
    background: var(--layout-card-soft);
    box-shadow: 0 10px 26px rgba(8, 51, 57, .08);
  }

  body.layout-novo #relatorios .report-summary-grid article {
    border-color: rgba(4, 111, 102, .16);
    border-radius: 15px;
    background: rgba(255, 255, 255, .54);
  }

  body.layout-novo #relatorios iframe {
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(8, 51, 57, .10);
  }

  /* Configurações: editor visual real e comparação externa real. */
  body.layout-novo #configuracoes .settings-grid {
    gap: 16px;
  }

  body.layout-novo #configuracoes .dashboard-builder-card,
  body.layout-novo #configuracoes .external-comparison-card,
  body.layout-novo #configuracoes .appearance-settings-card,
  body.layout-novo #configuracoes .settings-presentation {
    border-color: rgba(4, 111, 102, .22);
    border-radius: 18px;
    background: var(--layout-card-soft);
    box-shadow: 0 12px 28px rgba(8, 51, 57, .09);
  }

  body.layout-novo #configuracoes .dashboard-builder-canvas {
    border-color: rgba(4, 111, 102, .34);
    border-radius: 18px;
    background: rgba(201, 229, 223, .54);
  }

  body.layout-novo #configuracoes .dashboard-builder-item,
  body.layout-novo #configuracoes .external-preview-box,
  body.layout-novo #configuracoes .external-saved-list article {
    border-color: rgba(4, 111, 102, .18);
    border-radius: 15px;
    background: rgba(249, 253, 252, .78);
    box-shadow: 0 9px 22px rgba(8, 51, 57, .07);
  }

  body.layout-novo #configuracoes .dashboard-builder-tabs button.active {
    background: linear-gradient(135deg, #0f8f84, #046f66);
    color: #fff;
  }

  body.layout-novo #configuracoes .dashboard-live-preview {
    border-color: rgba(4, 111, 102, .25);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
  }

  /* Monitoramento Visual: tonalidade final aprovada na validação. */
  body.layout-novo #monitoramento-supervisao {
    --monitor-text: #083339;
    --monitor-muted: rgba(8, 51, 57, .68);
    --monitor-teal: #0f8f84;
    --monitor-aqua: #38bdf8;
    --monitor-green: #22c55e;
    --monitor-warn: #f59e0b;
    --monitor-danger: #fb7185;
  }

  body.layout-novo #monitoramento-supervisao .supervision-monitor-panel {
    border-color: rgba(4, 111, 102, .22);
    background:
      radial-gradient(circle at 8% 0%, rgba(17, 139, 130, .16), transparent 34%),
      radial-gradient(circle at 86% 8%, rgba(109, 191, 180, .18), transparent 28%),
      linear-gradient(145deg, #d9eee9 0%, #cfe8e3 46%, #c3ded8 100%);
    color: #083339;
    box-shadow: 0 20px 44px rgba(8, 51, 57, .16);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-sidebar {
    border-right-color: rgba(4, 111, 102, .18);
    background: linear-gradient(180deg, #c9e5df, #b8d9d2);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-main {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 42%),
      linear-gradient(180deg, rgba(237, 249, 246, .44), rgba(214, 237, 232, .22));
  }

  body.layout-novo #monitoramento-supervisao .monitoring-brand-mark {
    border-color: rgba(4, 111, 102, .16);
    background: rgba(255, 255, 255, .90);
    color: #0b4f4a;
    box-shadow: none;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-brand strong,
  body.layout-novo #monitoramento-supervisao .monitoring-user-card strong,
  body.layout-novo #monitoramento-supervisao .supervision-monitor-hero h2,
  body.layout-novo #monitoramento-supervisao .monitoring-card h3,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-head h3,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-item strong {
    color: #082f32;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-brand small,
  body.layout-novo #monitoramento-supervisao .monitoring-user-card small,
  body.layout-novo #monitoramento-supervisao .monitoring-user-card span,
  body.layout-novo #monitoramento-supervisao .supervision-monitor-hero .muted,
  body.layout-novo #monitoramento-supervisao .monitoring-toolbar label,
  body.layout-novo #monitoramento-supervisao .monitoring-summary span,
  body.layout-novo #monitoramento-supervisao .monitoring-summary small,
  body.layout-novo #monitoramento-supervisao .monitoring-card-meta,
  body.layout-novo #monitoramento-supervisao .monitoring-pending-list,
  body.layout-novo #monitoramento-supervisao .monitoring-mini-timeline,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-panel .muted,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-item span,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-item small {
    color: rgba(8, 51, 57, .68);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-menu button,
  body.layout-novo #monitoramento-supervisao .monitoring-user-card,
  body.layout-novo #monitoramento-supervisao .monitoring-filter,
  body.layout-novo #monitoramento-supervisao .monitoring-card-actions button,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-actions .secondary {
    border-color: rgba(4, 111, 102, .16);
    background: rgba(255, 255, 255, .46);
    color: #061f22;
    box-shadow: none;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-menu button:hover,
  body.layout-novo #monitoramento-supervisao .monitoring-menu button.is-active,
  body.layout-novo #monitoramento-supervisao .monitoring-filter.is-active,
  body.layout-novo #monitoramento-supervisao #monitoringNewVisit,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-head .primary {
    border-color: rgba(4, 111, 102, .16);
    background: linear-gradient(90deg, #0f8f84, #087168);
    color: #fff;
    box-shadow: 0 12px 26px rgba(20, 184, 166, .18);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-toolbar {
    border-color: rgba(4, 111, 102, .14);
    background: rgba(255, 255, 255, .28);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-toolbar input {
    border-color: rgba(4, 111, 102, .20);
    background: rgba(255, 255, 255, .72);
    color: #083339;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-summary article,
  body.layout-novo #monitoramento-supervisao .monitoring-card,
  body.layout-novo #monitoramento-supervisao .monitoring-detail-panel {
    border-color: rgba(4, 111, 102, .18);
    background: linear-gradient(145deg, rgba(242, 251, 248, .82), rgba(221, 241, 236, .74));
    color: #083339;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 14px 28px rgba(8, 51, 57, .12);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-summary strong {
    color: #06423d;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.is-selected {
    border-color: rgba(244, 114, 182, .72);
    box-shadow: 0 0 0 1px rgba(244, 114, 182, .38), 0 18px 38px rgba(8, 51, 57, .16);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card .status-pill {
    color: #061f22;
    text-shadow: none;
    font-weight: 950;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-ok .status-pill {
    border-color: rgba(74, 222, 128, .30);
    background: rgba(34, 197, 94, .18);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-warn .status-pill {
    border-color: rgba(251, 191, 36, .34);
    background: rgba(245, 158, 11, .18);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-danger .status-pill {
    border-color: rgba(251, 113, 133, .34);
    background: rgba(244, 63, 94, .18);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-progress-bar {
    background: rgba(8, 51, 57, .12);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-ok .monitoring-progress-bar span {
    background: linear-gradient(90deg, #22c55e, #5eead4);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-warn .monitoring-progress-bar span {
    background: linear-gradient(90deg, #f59e0b, #fb923c);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-card.status-danger .monitoring-progress-bar span {
    background: linear-gradient(90deg, #fb7185, #ef4444);
  }

  body.layout-novo #monitoramento-supervisao .monitoring-detail-item {
    border-color: rgba(4, 111, 102, .16);
    background: rgba(255, 255, 255, .46);
    color: #083339;
  }
}

@media screen and (max-width: 1120px) {
  body.layout-novo .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.layout-novo .session-box {
    justify-content: flex-start;
    width: 100%;
  }
}

@media screen and (max-width: 760px) {
  body.layout-novo {
    background-attachment: scroll;
  }

  body.layout-novo .shell {
    padding: 10px;
  }

  body.layout-novo .topbar {
    padding: 12px;
    border-radius: 16px;
  }

  body.layout-novo .topbar-brand img {
    width: 62px;
  }

  body.layout-novo .session-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.layout-novo .session-box > *,
  body.layout-novo .top-appearance-control,
  body.layout-novo .top-appearance-control select {
    min-width: 0;
    width: 100%;
  }

  body.layout-novo .sync-pill,
  body.layout-novo #currentAgentPill {
    max-width: none;
  }

  body.layout-novo .nav-strip {
    grid-template-columns: 1fr;
  }

  body.layout-novo .tabs {
    display: grid;
    width: 100%;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
    border-radius: 16px;
  }

  body.layout-novo .tab {
    min-height: 48px;
  }

  body.layout-novo main > .view > .panel,
  body.layout-novo main > .view > .quick-panel,
  body.layout-novo main > .view > .home-hero,
  body.layout-novo main > .view > .dashboard-territory-details {
    border-radius: 16px;
  }

  body.layout-novo #monitoramento-supervisao .monitoring-toolbar {
    grid-template-columns: 1fr;
  }

  body.layout-novo #amostras .sample-filters {
    grid-template-columns: 1fr;
  }

  body.layout-novo #amostras #sampleCodeSearch {
    grid-column: auto;
  }
}

@media screen and (max-width: 430px) {
  body.layout-novo .session-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .topbar-brand {
    width: 100%;
  }

  body.layout-novo #serverSyncStatus,
  body.layout-novo #currentAgentPill,
  body.layout-novo .top-appearance-control {
    grid-column: 1 / -1;
  }
}

@media screen {
  body.layout-novo .layout-hidden-by-new,
  body.layout-novo #serviceGrid.layout-replaced-by-new {
    display: none !important;
  }

  body.layout-novo .layout-home-overview,
  body.layout-novo .layout-service-deck {
    border: 1px solid rgba(4, 111, 102, .20);
    border-radius: 22px;
    background:
      radial-gradient(circle at 8% 0%, rgba(15, 143, 132, .15), transparent 30rem),
      radial-gradient(circle at 92% 12%, rgba(94, 234, 212, .16), transparent 28rem),
      linear-gradient(145deg, rgba(235, 248, 245, .96), rgba(209, 232, 227, .92));
    box-shadow: 0 20px 46px rgba(8, 51, 57, .15);
    color: #082f32;
  }

  body.layout-novo .layout-home-overview {
    display: grid;
    grid-template-columns: minmax(240px, .82fr) minmax(320px, 1.35fr) minmax(260px, .95fr);
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
  }

  body.layout-novo .layout-welcome-card,
  body.layout-novo .layout-stat-card,
  body.layout-novo .layout-action-card,
  body.layout-novo .layout-service-card,
  body.layout-novo .layout-safe-note {
    border: 1px solid rgba(4, 111, 102, .18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(248, 253, 251, .90), rgba(221, 241, 236, .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 12px 28px rgba(8, 51, 57, .10);
    color: #082f32;
  }

  body.layout-novo .layout-welcome-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  body.layout-novo .layout-avatar,
  body.layout-novo .layout-service-icon,
  body.layout-novo .layout-action-buttons span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #b7ddd6, #eef9f6);
    color: #046f66;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .16);
  }

  body.layout-novo .layout-welcome-card strong,
  body.layout-novo .layout-action-card strong {
    display: block;
    margin: 3px 0;
    color: #061f22;
    font-size: 1.25rem;
    letter-spacing: -.02em;
  }

  body.layout-novo .layout-welcome-card small,
  body.layout-novo .layout-welcome-card span,
  body.layout-novo .layout-action-card small,
  body.layout-novo .layout-service-card small,
  body.layout-novo .layout-stat-card small,
  body.layout-novo .layout-safe-note,
  body.layout-novo .layout-panel-heading p {
    color: rgba(8, 51, 57, .68);
  }

  body.layout-novo .layout-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.layout-novo .layout-stat-card {
    min-height: 102px;
    padding: 15px;
  }

  body.layout-novo .layout-stat-card span {
    display: block;
    min-height: 28px;
    color: rgba(8, 51, 57, .72);
    font-weight: 850;
  }

  body.layout-novo .layout-stat-card strong {
    display: block;
    margin: 6px 0 2px;
    color: #053a36;
    font-size: 1.55rem;
    line-height: 1;
  }

  body.layout-novo .layout-action-card {
    display: grid;
    gap: 12px;
    padding: 16px;
  }

  body.layout-novo .layout-action-buttons {
    display: grid;
    gap: 9px;
  }

  body.layout-novo .layout-action-buttons button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 15px;
    background: rgba(255, 255, 255, .58);
    color: #061f22;
  }

  body.layout-novo .layout-action-buttons span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: .72rem;
  }

  body.layout-novo .layout-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
  }

  body.layout-novo .layout-panel-heading h2 {
    margin: 2px 0 4px;
    color: #061f22;
    font-size: 1.45rem;
  }

  body.layout-novo .layout-eyebrow,
  body.layout-novo .layout-safe-badge,
  body.layout-novo .layout-service-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border: 1px solid rgba(4, 111, 102, .18);
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, .58);
    color: #061f22;
    font-size: .76rem;
    font-weight: 950;
  }

  body.layout-novo .layout-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body.layout-novo .layout-service-card {
    position: relative;
    display: grid;
    min-height: 172px;
    padding: 17px;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
  }

  body.layout-novo .layout-service-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #0f8f84, #5eead4);
  }

  body.layout-novo .layout-service-card:hover {
    border-color: rgba(4, 111, 102, .42);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(8, 51, 57, .16);
  }

  body.layout-novo .layout-service-card.is-preview-only {
    cursor: help;
    opacity: .78;
  }

  body.layout-novo .layout-service-card.is-preview-only::after {
    background: linear-gradient(90deg, #f59e0b, #facc15);
  }

  body.layout-novo .layout-service-card strong {
    margin-top: 12px;
    color: #061f22;
    font-size: 1.05rem;
  }

  body.layout-novo .layout-service-card small {
    margin-top: 4px;
    line-height: 1.42;
  }

  body.layout-novo .layout-service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 246, 240, .88);
  }

  body.layout-novo .layout-service-footer {
    margin-top: 14px;
    color: #046f66;
    font-size: .78rem;
    font-weight: 950;
  }

  body.layout-novo .layout-safe-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-style: dashed;
  }
}

@media screen and (max-width: 1180px) {
  body.layout-novo .layout-home-overview {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-stat-grid,
  body.layout-novo .layout-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  body.layout-novo .layout-home-overview,
  body.layout-novo .layout-service-deck {
    border-radius: 18px;
    padding: 14px;
  }

  body.layout-novo .layout-stat-grid,
  body.layout-novo .layout-service-grid {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-panel-heading {
    flex-direction: column;
  }
}
/* Novo layout aprovado - shell visual isolado.
   Esta camada só atua quando body.layout-novo está ativo.
   O layout atual continua preservado para fallback. */

body.layout-novo {
  --ln-bg: #d8ebe8;
  --ln-bg-2: #c8dfdc;
  --ln-card: rgba(251, 255, 254, .95);
  --ln-card-strong: #ffffff;
  --ln-text: #123239;
  --ln-muted: #5d737a;
  --ln-border: #c5ddd8;
  --ln-teal: #087d72;
  --ln-teal-dark: #045d57;
  --ln-teal-soft: #d4efea;
  --ln-blue: #126fcf;
  --ln-blue-soft: #dcecff;
  --ln-orange: #ea6b12;
  --ln-orange-soft: #ffeadc;
  --ln-red: #dc2626;
  --ln-red-soft: #fff0f0;
  --ln-green: #16a34a;
  --ln-shadow: 0 18px 50px rgba(9, 45, 50, .13);
  color: var(--ln-text);
  background:
    radial-gradient(circle at 8% -8%, rgba(8, 125, 114, .22), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(18, 111, 207, .12), transparent 30rem),
    linear-gradient(180deg, #f3faf8 0%, var(--ln-bg) 52%, var(--ln-bg-2) 100%);
}

body.layout-novo .shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 22px;
}

body.layout-novo .topbar {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 2.4fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.layout-novo .topbar-brand {
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid var(--ln-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 34px rgba(8, 51, 57, .08);
}

body.layout-novo .topbar-brand img {
  width: 70px;
  max-height: 70px;
  object-fit: contain;
}

body.layout-novo .topbar-brand h1 {
  color: var(--ln-text);
}

body.layout-novo .topbar-brand .eyebrow {
  color: var(--ln-teal);
}

body.layout-novo .session-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

body.layout-novo .session-box .pill,
body.layout-novo .session-box .secondary,
body.layout-novo .top-appearance-control {
  min-height: 58px;
  border-radius: 14px;
  border: 1px solid var(--ln-border);
  background: var(--ln-card);
  color: var(--ln-text);
  box-shadow: 0 10px 28px rgba(10, 51, 57, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.layout-novo .session-box .install-app-button {
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
  border-color: transparent;
}

body.layout-novo .top-appearance-control select {
  max-width: 100%;
}

body.layout-novo .layout-hidden-by-new-shell,
body.layout-novo .layout-new-shell[hidden] {
  display: none !important;
}

body.layout-novo .layout-new-return {
  margin: 0 0 14px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ln-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  color: var(--ln-teal-dark);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 51, 57, .08);
}

body.layout-novo .layout-new-shell {
  display: block;
  color: var(--ln-text);
}

body.layout-novo .layout-new-inner {
  display: grid;
  gap: 16px;
}

body.layout-novo .layout-new-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.layout-novo .layout-new-tabs button {
  min-height: 58px;
  border: 1px solid var(--ln-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  color: var(--ln-text);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(10, 51, 57, .08);
  cursor: pointer;
}

body.layout-novo .layout-new-tabs button.active {
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 36px rgba(8, 125, 114, .22);
}

body.layout-novo .layout-new-titlebar,
body.layout-novo .layout-new-panel,
body.layout-novo .layout-new-stat,
body.layout-novo .layout-new-welcome {
  border: 1px solid var(--ln-border);
  border-radius: 18px;
  background: var(--ln-card);
  box-shadow: var(--ln-shadow);
}

body.layout-novo .layout-new-titlebar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
}

body.layout-novo .layout-new-brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.layout-novo .layout-new-brand-mini img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 127, 116, .12);
}

body.layout-novo .layout-new-brand-mini strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ln-text);
}

body.layout-novo .layout-new-brand-mini small,
body.layout-novo .layout-new-title-actions span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.layout-novo .layout-new-title-actions span,
body.layout-novo .layout-new-profile-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ln-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ln-text);
  font-size: .85rem;
  font-weight: 800;
}

body.layout-novo .layout-new-page {
  display: grid;
  gap: 16px;
}

body.layout-novo .layout-new-stats-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

body.layout-novo .layout-new-welcome {
  min-height: 136px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

body.layout-novo .layout-new-welcome > span,
body.layout-novo .layout-new-stat-icon,
body.layout-novo .layout-new-module-avatar,
body.layout-novo .layout-new-quick-card > span,
body.layout-novo .layout-new-utility-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ln-teal-soft);
  color: var(--ln-teal);
  font-weight: 950;
  flex: 0 0 auto;
}

body.layout-novo .layout-new-welcome small,
body.layout-novo .layout-new-welcome em {
  display: block;
  color: var(--ln-muted);
  font-style: normal;
}

body.layout-novo .layout-new-welcome strong {
  display: block;
  color: var(--ln-text);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

body.layout-novo .layout-new-stat {
  min-height: 136px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

body.layout-novo .layout-new-stat::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(8, 125, 114, .08), rgba(18, 111, 207, .05));
  transform: rotate(-12deg);
}

body.layout-novo .layout-new-stat small,
body.layout-novo .layout-new-stat em {
  display: block;
  color: var(--ln-muted);
  font-style: normal;
  position: relative;
  z-index: 1;
}

body.layout-novo .layout-new-stat strong {
  display: block;
  color: #062b31;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  position: relative;
  z-index: 1;
}

body.layout-novo .layout-new-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .95fr);
  gap: 16px;
}

body.layout-novo .layout-new-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, .72fr);
  gap: 16px;
}

body.layout-novo .layout-new-panel {
  padding: 18px;
}

body.layout-novo .layout-new-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

body.layout-novo .layout-new-panel-head h3 {
  margin: 0 0 4px;
  color: var(--ln-text);
  font-size: 1.12rem;
}

body.layout-novo .layout-new-panel-head p {
  margin: 0;
  color: var(--ln-muted);
}

body.layout-novo .layout-new-panel-head button,
body.layout-novo .layout-new-utility-card button,
body.layout-novo .layout-new-wide-action {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ln-border);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

body.layout-novo .layout-new-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 14px;
}

body.layout-novo .layout-new-quick-card,
body.layout-novo .layout-new-module-card {
  border: 1px solid var(--ln-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  color: var(--ln-text);
  text-align: left;
  box-shadow: 0 10px 24px rgba(8, 51, 57, .07);
  cursor: pointer;
}

body.layout-novo .layout-new-quick-card {
  min-height: 106px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
}

body.layout-novo .layout-new-quick-card strong,
body.layout-novo .layout-new-module-card strong {
  color: var(--ln-text);
  font-size: 1rem;
}

body.layout-novo .layout-new-quick-card small {
  grid-column: 2;
  color: var(--ln-muted);
}

body.layout-novo .layout-new-wide-action {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(8, 125, 114, .12), rgba(8, 125, 114, .04));
  color: var(--ln-teal-dark);
}

body.layout-novo .layout-new-mini-modules,
body.layout-novo .layout-new-modules-grid {
  display: grid;
  gap: 14px;
}

body.layout-novo .layout-new-mini-modules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.layout-novo .layout-new-modules-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

body.layout-novo .layout-new-module-card {
  min-height: 162px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 10px 12px;
  position: relative;
}

body.layout-novo .layout-new-module-card.is-compact {
  min-height: 118px;
  padding: 14px;
}

body.layout-novo .layout-new-module-card strong,
body.layout-novo .layout-new-module-card small {
  grid-column: 2 / 4;
  display: block;
}

body.layout-novo .layout-new-module-card small {
  color: var(--ln-muted);
  line-height: 1.35;
}

body.layout-novo .layout-new-module-badge {
  justify-self: end;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 900;
  color: #07383d;
  background: var(--ln-teal-soft);
}

body.layout-novo .layout-new-module-card.is-planned .layout-new-module-badge {
  background: var(--ln-orange-soft);
  color: #6a3000;
}

body.layout-novo .layout-new-pending-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px solid #ffd7bd;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f0, rgba(255, 255, 255, .9));
}

body.layout-novo .layout-new-alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ln-orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

body.layout-novo .layout-new-pending-card strong {
  display: block;
  color: var(--ln-text);
}

body.layout-novo .layout-new-pending-card p {
  margin: 4px 0 0;
  color: var(--ln-muted);
}

body.layout-novo .layout-new-pending-card em {
  color: var(--ln-orange);
  font-style: normal;
  font-weight: 900;
}

body.layout-novo .layout-new-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.layout-novo .layout-new-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ln-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .74);
}

body.layout-novo .layout-new-summary span,
body.layout-novo .layout-new-summary footer {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-summary strong {
  color: var(--ln-teal-dark);
}

body.layout-novo .layout-new-summary footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ln-border);
}

body.layout-novo .layout-new-utility-card {
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

body.layout-novo .layout-new-utility-card h3 {
  margin: 14px 0 8px;
  font-size: 1.5rem;
}

body.layout-novo .layout-new-utility-card p {
  color: var(--ln-muted);
  max-width: 520px;
}

body.layout-novo .layout-new-monitor-preview {
  border-color: rgba(8, 125, 114, .34);
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(216, 245, 239, .88));
}

body.layout-novo .layout-new-monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

body.layout-novo .layout-new-monitor-grid article {
  min-height: 96px;
  border: 1px solid var(--ln-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  padding: 14px;
}

body.layout-novo .layout-new-monitor-grid strong,
body.layout-novo .layout-new-monitor-grid span {
  display: block;
}

body.layout-novo .layout-new-monitor-grid span {
  margin-top: 8px;
  color: var(--ln-teal-dark);
  font-size: 1.35rem;
  font-weight: 950;
}

@media (max-width: 1180px) {
  body.layout-novo .topbar,
  body.layout-novo .layout-new-home-grid,
  body.layout-novo .layout-new-bottom-grid {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-welcome {
    grid-column: 1 / -1;
  }

  body.layout-novo .layout-new-modules-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  body.layout-novo .shell {
    padding: 12px;
  }

  body.layout-novo .session-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-tabs,
  body.layout-novo .layout-new-stats-row,
  body.layout-novo .layout-new-quick-grid,
  body.layout-novo .layout-new-mini-modules,
  body.layout-novo .layout-new-modules-grid,
  body.layout-novo .layout-new-monitor-grid {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-titlebar,
  body.layout-novo .layout-new-utility-card,
  body.layout-novo .layout-new-panel-head {
    align-items: stretch;
    flex-direction: column;
  }
}

/* v472 - topo em uma faixa unica: marca + usuario/menu no mesmo card visual. */
body.layout-novo .layout-new-shell .app-top {
  background: var(--layout-card);
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 22px;
  box-shadow: var(--layout-shadow-soft);
  padding: 12px 16px;
}

body.layout-novo .layout-new-shell .brand,
body.layout-novo .layout-new-shell .user-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.layout-novo .layout-new-shell .brand {
  max-width: none;
}

body.layout-novo .layout-new-shell .user-box {
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-shell .app-top {
    padding: 10px 12px;
    border-radius: 18px;
  }

  body.layout-novo .layout-new-shell .brand,
  body.layout-novo .layout-new-shell .user-box {
    width: auto;
  }

  body.layout-novo .layout-new-shell .user-box {
    margin-left: auto;
  }
}

@media screen and (max-width: 760px) {
  html,
  body.layout-novo {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.layout-novo {
    --card-radius: 16px;
    --card-padding: 12px;
    --panel-padding: 14px;
    --ui-gap: 10px;
  }

  body.layout-novo .shell,
  body.layout-novo .layout-new-shell,
  body.layout-novo .app-frame,
  body.layout-novo .layout-new-inner,
  body.layout-novo .layout-new-page,
  body.layout-novo .layout-new-panel,
  body.layout-novo .layout-new-module-page,
  body.layout-novo .layout-new-module-hero,
  body.layout-novo main,
  body.layout-novo main > .view {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body.layout-novo .shell {
    padding: 8px;
  }

  body.layout-novo .layout-new-shell {
    margin: 0;
  }

  body.layout-novo .app-frame {
    display: grid;
    gap: 10px;
  }

  body.layout-novo .topbar {
    gap: 10px;
    margin-bottom: 10px;
  }

  body.layout-novo .topbar-brand {
    min-height: 64px;
    padding: 10px;
    border-radius: 16px;
  }

  body.layout-novo .topbar-brand img {
    width: 58px;
    max-height: 58px;
  }

  body.layout-novo .topbar-brand h1 {
    font-size: 1.28rem;
    line-height: 1.1;
  }

  body.layout-novo .session-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.layout-novo .session-box .pill,
  body.layout-novo .session-box .secondary,
  body.layout-novo .top-appearance-control {
    min-height: 50px;
    padding: 8px 10px;
    border-radius: 13px;
    font-size: .9rem;
    line-height: 1.15;
  }

  body.layout-novo #serverSyncStatus,
  body.layout-novo #currentAgentPill {
    grid-column: 1 / -1;
    justify-content: flex-start;
    text-align: left;
  }

  body.layout-novo .global-training-banner {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: .92rem;
  }

  body.layout-novo .layout-new-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.layout-novo .layout-new-tabs button,
  body.layout-novo .tabs .tab,
  body.layout-novo .app-back-button,
  body.layout-novo .layout-new-return {
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.15;
  }

  body.layout-novo .layout-new-titlebar,
  body.layout-novo .layout-new-panel,
  body.layout-novo .layout-home-overview,
  body.layout-novo .layout-service-deck,
  body.layout-novo .layout-new-welcome,
  body.layout-novo .layout-new-stat,
  body.layout-novo .layout-new-module-card,
  body.layout-novo .layout-new-module-hero {
    border-radius: 16px;
  }

  body.layout-novo .layout-new-titlebar,
  body.layout-novo .layout-new-panel,
  body.layout-novo .layout-service-deck {
    padding: 12px;
  }

  body.layout-novo .layout-new-brand-mini {
    gap: 10px;
  }

  body.layout-novo .layout-new-brand-mini img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  body.layout-novo .layout-new-title-actions {
    justify-content: flex-start;
  }

  body.layout-novo .layout-new-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.layout-novo .layout-new-welcome {
    min-height: 0;
    padding: 14px;
  }

  body.layout-novo .layout-new-stat {
    min-height: 92px;
    padding: 12px;
    gap: 10px;
  }

  body.layout-novo .layout-new-welcome > span,
  body.layout-novo .layout-new-stat-icon,
  body.layout-novo .layout-new-module-avatar,
  body.layout-novo .layout-new-quick-card > span,
  body.layout-novo .layout-new-utility-icon {
    width: 44px;
    height: 44px;
  }

  body.layout-novo .layout-new-stat strong {
    font-size: 1.35rem;
  }

  body.layout-novo .layout-new-home-grid,
  body.layout-novo .layout-new-bottom-grid,
  body.layout-novo .layout-new-modules-grid,
  body.layout-novo .layout-service-grid,
  body.layout-novo .layout-stat-grid,
  body.layout-novo .layout-new-monitor-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.layout-novo .layout-new-mini-modules,
  body.layout-novo .layout-new-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.layout-novo .layout-new-quick-card {
    min-height: 92px;
    padding: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 10px;
  }

  body.layout-novo .layout-new-quick-card small {
    grid-column: 1 / -1;
  }

  body.layout-novo .layout-new-module-card {
    min-height: 0;
    padding: 13px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 10px;
  }

  body.layout-novo .layout-new-module-card strong,
  body.layout-novo .layout-new-module-card small {
    grid-column: 2;
  }

  body.layout-novo .layout-new-module-badge {
    grid-column: 2;
    justify-self: start;
    min-height: 24px;
    padding: 0 8px;
    font-size: .68rem;
  }

  body.layout-novo .layout-new-module-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    align-items: start;
  }

  body.layout-novo .layout-new-module-hero > * {
    min-width: 0;
  }

  body.layout-novo .layout-new-module-hero .layout-new-module-avatar {
    grid-row: span 2;
  }

  body.layout-novo .layout-new-module-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body.layout-novo .layout-new-module-actions button,
  body.layout-novo .layout-new-panel-head button,
  body.layout-novo .layout-new-utility-card button,
  body.layout-novo .layout-new-wide-action {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 13px;
    white-space: normal;
  }

  body.layout-novo .layout-new-panel-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  body.layout-novo .layout-new-panel-head h3,
  body.layout-novo .layout-panel-heading h2 {
    font-size: 1.08rem;
  }

  body.layout-novo .layout-new-utility-card {
    min-height: 0;
    padding: 14px;
    gap: 12px;
  }

  body.layout-novo .layout-new-pending-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
  }

  body.layout-novo .layout-new-pending-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.layout-novo .layout-new-summary li {
    display: grid;
    gap: 4px;
  }

  body.layout-novo table,
  body.layout-novo .scanner-table-wrap,
  body.layout-novo .external-table-wrap,
  body.layout-novo .report-preview-frame,
  body.layout-novo .report-preview-folder {
    max-width: 100%;
  }

  body.layout-novo .scanner-table-wrap,
  body.layout-novo .external-table-wrap {
    overflow-x: auto;
  }
}

@media screen and (max-width: 430px) {
  body.layout-novo .layout-new-stats-row,
  body.layout-novo .layout-new-mini-modules,
  body.layout-novo .layout-new-quick-grid,
  body.layout-novo .layout-new-module-actions {
    grid-template-columns: 1fr;
  }
}

body.layout-novo .layout-new-supervisor-dashboard {
  display: block;
}

body.layout-novo .layout-new-monitor-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 8%, rgba(4, 111, 102, .16), transparent 22rem),
    radial-gradient(circle at 92% 0%, rgba(18, 111, 207, .10), transparent 26rem),
    linear-gradient(145deg, rgba(235, 246, 243, .98), rgba(199, 223, 218, .95));
  box-shadow: 0 24px 60px rgba(9, 45, 50, .18);
}

body.layout-novo .layout-new-monitor-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  color: #f5fffc;
  background:
    radial-gradient(circle at 12% 4%, rgba(41, 220, 203, .22), transparent 12rem),
    linear-gradient(180deg, #075f59 0%, #064c47 58%, #043b38 100%);
}

body.layout-novo .layout-new-monitor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.layout-novo .layout-new-monitor-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
}

body.layout-novo .layout-new-monitor-brand strong,
body.layout-novo .layout-new-monitor-brand small {
  display: block;
}

body.layout-novo .layout-new-monitor-brand small,
body.layout-novo .layout-new-monitor-side footer small {
  color: rgba(229, 255, 249, .74);
}

body.layout-novo .layout-new-monitor-side nav {
  display: grid;
  gap: 9px;
}

body.layout-novo .layout-new-monitor-side nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(203, 250, 241, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  color: #f7fffd;
  text-align: left;
}

body.layout-novo .layout-new-monitor-side nav button.active,
body.layout-novo .layout-new-monitor-side nav button:hover {
  background: rgba(255, 255, 255, .20);
  border-color: rgba(203, 250, 241, .34);
}

body.layout-novo .layout-new-monitor-side footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

body.layout-novo .layout-new-monitor-side footer > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(224, 255, 249, .86);
  color: #063f3c;
  font-weight: 950;
}

body.layout-novo .layout-new-monitor-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
}

body.layout-novo .layout-new-monitor-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

body.layout-novo .layout-new-monitor-head h2,
body.layout-novo .layout-new-monitor-detail h3,
body.layout-novo .layout-new-monitor-detail h4,
body.layout-novo .layout-new-monitor-card h3 {
  margin: 0;
  color: #102f35;
}

body.layout-novo .layout-new-monitor-head p,
body.layout-novo .layout-new-monitor-detail p,
body.layout-novo .layout-new-monitor-note {
  margin: 4px 0 0;
  color: #48636a;
}

body.layout-novo .layout-new-monitor-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.layout-novo .layout-new-monitor-filters button,
body.layout-novo .layout-new-monitor-detail-head button {
  min-height: 38px;
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 999px;
  background: rgba(246, 252, 250, .88);
  color: #0f2c32;
  font-weight: 850;
}

body.layout-novo .layout-new-monitor-filters button.active,
body.layout-novo .layout-new-monitor-detail-head button {
  background: linear-gradient(135deg, #0b857b, #046f66);
  color: #fff;
}

body.layout-novo .layout-new-monitor-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.layout-novo .layout-new-monitor-kpis article {
  position: relative;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(247, 253, 251, .94), rgba(221, 241, 236, .86));
  box-shadow: 0 14px 32px rgba(9, 45, 50, .10);
}

body.layout-novo .layout-new-monitor-kpis span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(176, 216, 209, .55);
  color: #046f66;
  font-size: 1.25rem;
}

body.layout-novo .layout-new-monitor-kpis small,
body.layout-novo .layout-new-monitor-kpis strong,
body.layout-novo .layout-new-monitor-kpis em {
  display: block;
  font-style: normal;
}

body.layout-novo .layout-new-monitor-kpis small,
body.layout-novo .layout-new-monitor-kpis em {
  color: #587178;
}

body.layout-novo .layout-new-monitor-kpis strong {
  margin-top: 8px;
  color: #0a3035;
  font-size: 2rem;
  line-height: 1;
}

body.layout-novo .layout-new-monitor-board {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, .95fr);
  gap: 16px;
  align-items: start;
}

body.layout-novo .layout-new-monitor-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

body.layout-novo .layout-new-monitor-card,
body.layout-novo .layout-new-monitor-detail,
body.layout-novo .layout-new-monitor-empty {
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(242, 251, 248, .92), rgba(219, 241, 236, .84));
  box-shadow: 0 14px 34px rgba(9, 45, 50, .11);
}

body.layout-novo .layout-new-monitor-card {
  min-height: 228px;
  padding: 14px;
  border-left: 5px solid #15c58f;
  cursor: pointer;
}

body.layout-novo .layout-new-monitor-card.is-selected {
  outline: 3px solid rgba(8, 125, 114, .18);
  background:
    radial-gradient(circle at 88% 16%, rgba(34, 211, 197, .22), transparent 7rem),
    linear-gradient(145deg, rgba(248, 255, 253, .98), rgba(218, 244, 238, .9));
}

body.layout-novo .layout-new-monitor-card.is-critical {
  border-left-color: #ff5f7a;
}

body.layout-novo .layout-new-monitor-card.is-warning {
  border-left-color: #f59e0b;
}

body.layout-novo .layout-new-monitor-card-head,
body.layout-novo .layout-new-monitor-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body.layout-novo .layout-new-monitor-card-body {
  display: grid;
  grid-template-columns: 1fr 66px;
  gap: 12px;
  align-items: center;
}

body.layout-novo .layout-new-monitor-donut {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #f5fffd 0 54%, transparent 55%),
    conic-gradient(#0b857b calc(var(--p, 0) * 1%), rgba(9, 45, 50, .14) 0);
  box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .12);
}

body.layout-novo .layout-new-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(6, 31, 34, .14);
  background: #d9f7e6;
  color: #061f22;
  font-size: .77rem;
  font-weight: 950;
}

body.layout-novo .layout-new-status-badge.is-critical {
  background: #ffd7df;
  color: #061f22;
}

body.layout-novo .layout-new-status-badge.is-warning {
  background: #fff0bc;
  color: #061f22;
}

body.layout-novo .layout-new-monitor-progress {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 12px;
  color: #385d63;
}

body.layout-novo .layout-new-monitor-progress i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5f7a, #f59e0b, #20d0b7);
}

body.layout-novo .layout-new-monitor-progress::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(9, 45, 50, .14);
}

body.layout-novo .layout-new-monitor-mainline,
body.layout-novo .layout-new-monitor-metrics,
body.layout-novo .layout-new-monitor-detail-metrics {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

body.layout-novo .layout-new-monitor-mainline {
  grid-template-columns: 1fr 1fr;
}

body.layout-novo .layout-new-monitor-metrics,
body.layout-novo .layout-new-monitor-detail-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 12px;
  border-top: 1px solid rgba(4, 111, 102, .16);
}

body.layout-novo .layout-new-monitor-metrics span,
body.layout-novo .layout-new-monitor-detail-metrics span,
body.layout-novo .layout-new-monitor-mainline span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.layout-novo .layout-new-monitor-metrics strong,
body.layout-novo .layout-new-monitor-detail-metrics strong,
body.layout-novo .layout-new-monitor-mainline strong {
  color: #0a3035;
  font-size: 1.15rem;
}

body.layout-novo .layout-new-monitor-metrics small,
body.layout-novo .layout-new-monitor-detail-metrics small,
body.layout-novo .layout-new-monitor-mainline small,
body.layout-novo .layout-new-monitor-mainline em {
  color: #49666c;
  font-style: normal;
}

body.layout-novo .layout-new-monitor-note {
  min-height: 38px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .48);
}

body.layout-novo .layout-new-monitor-detail {
  position: sticky;
  top: 16px;
  padding: 18px;
}

body.layout-novo .layout-new-monitor-list {
  display: grid;
  gap: 9px;
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
}

body.layout-novo .layout-new-monitor-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(4, 111, 102, .14);
}

body.layout-novo .layout-new-monitor-list li strong {
  color: #123239;
  font-weight: 800;
}

body.layout-novo .layout-new-monitor-list li em {
  color: #587178;
  font-size: .82rem;
  font-style: normal;
}

body.layout-novo .layout-new-monitor-chart {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(4, 111, 102, .10), rgba(255, 255, 255, .35)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(4, 111, 102, .10) 32px);
}

body.layout-novo .layout-new-monitor-chart .line {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
}

body.layout-novo .layout-new-monitor-chart .line-one {
  top: 38px;
  background: #ff5f7a;
  transform: rotate(-7deg);
}

body.layout-novo .layout-new-monitor-chart .line-two {
  top: 72px;
  background: #f59e0b;
  transform: rotate(-10deg);
}

body.layout-novo .layout-new-monitor-chart .line-three {
  top: 92px;
  background: #22d3c5;
  transform: rotate(7deg);
}

body.layout-novo .layout-new-monitor-help {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed rgba(4, 111, 102, .25);
  border-radius: 14px;
  background: rgba(255, 255, 255, .42);
  color: #385d63;
}

body.layout-novo .layout-new-monitor-empty {
  padding: 20px;
  color: #385d63;
}

body.layout-novo .layout-new-module-page {
  gap: 16px;
}

body.layout-novo .layout-new-module-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(8, 125, 114, .18), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(226, 244, 239, .9));
}

body.layout-novo .layout-new-module-hero > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
}

body.layout-novo .layout-new-module-hero small,
body.layout-novo .layout-new-module-hero p,
body.layout-novo .layout-new-preview-panel p,
body.layout-novo .layout-new-memory-note,
body.layout-novo .layout-new-list-stack small,
body.layout-novo .layout-new-list-stack span,
body.layout-novo .layout-new-detail-grid span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-module-hero h3 {
  margin: 0;
  color: var(--ln-text);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

body.layout-novo .layout-new-module-hero p {
  grid-column: 2;
  margin: 0;
  max-width: 760px;
}

body.layout-novo .layout-new-module-actions,
body.layout-novo .layout-new-action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.layout-novo .layout-new-module-actions button,
body.layout-novo .layout-new-action-strip button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ln-teal-dark);
  font-weight: 900;
  cursor: pointer;
}

body.layout-novo .layout-new-module-actions button:first-child,
body.layout-novo .layout-new-action-strip button:first-child {
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
  border-color: transparent;
}

body.layout-novo .layout-new-preview-panel {
  display: grid;
  gap: 16px;
}

body.layout-novo .layout-new-complaint-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.layout-novo .layout-new-complaint-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--ln-teal-dark);
  font-weight: 900;
  cursor: pointer;
}

body.layout-novo .layout-new-complaint-switch button.is-active {
  background: var(--ln-teal);
  border-color: var(--ln-teal);
  color: #fff;
}

body.layout-novo .layout-new-complaint-switch button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--ln-teal-dark);
  font-size: 12px;
}

body.layout-novo .layout-new-preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
}

body.layout-novo .layout-new-preview-kpis article,
body.layout-novo .layout-new-detail-grid > div,
body.layout-novo .layout-new-list-stack article,
body.layout-novo .layout-new-goals-board article,
body.layout-novo .layout-new-public-preview,
body.layout-novo .layout-new-scanner-box {
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 30px rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-preview-kpis article {
  min-height: 112px;
  padding: 16px;
}

body.layout-novo .layout-new-preview-kpis article.layout-new-sample-filter-card {
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

body.layout-novo .layout-new-preview-kpis article.layout-new-sample-filter-card:hover,
body.layout-novo .layout-new-preview-kpis article.layout-new-sample-filter-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 128, 112, .42);
  box-shadow: 0 16px 34px rgba(9, 45, 50, .13);
  outline: none;
}

body.layout-novo .layout-new-preview-kpis small,
body.layout-novo .layout-new-preview-kpis strong,
body.layout-novo .layout-new-preview-kpis span,
body.layout-novo .layout-new-detail-grid strong,
body.layout-novo .layout-new-detail-grid span,
body.layout-novo .layout-new-list-stack strong,
body.layout-novo .layout-new-list-stack span,
body.layout-novo .layout-new-list-stack small {
  display: block;
}

body.layout-novo .layout-new-preview-kpis strong {
  margin: 8px 0 4px;
  color: #0a3035;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

body.layout-novo .layout-new-preview-kpis small,
body.layout-novo .layout-new-preview-kpis span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-territory-layout,
body.layout-novo .layout-new-split-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 16px;
  align-items: start;
}

body.layout-novo .layout-new-territory-map-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.layout-novo .layout-new-map-mock {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .2);
  border-radius: 22px;
  background:
    linear-gradient(35deg, transparent 48%, rgba(9, 76, 82, .16) 49%, rgba(9, 76, 82, .16) 51%, transparent 52%),
    linear-gradient(110deg, transparent 42%, rgba(9, 76, 82, .12) 43%, rgba(9, 76, 82, .12) 45%, transparent 46%),
    radial-gradient(circle at 74% 42%, rgba(8, 125, 114, .16), transparent 9rem),
    linear-gradient(145deg, #eaf6f2, #d6ebe5);
}

body.layout-novo .layout-new-map-fullscreen-button {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 20;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .90);
  color: #083d3f;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(9, 45, 50, .16);
}

body.layout-novo .layout-new-map-fullscreen-button:hover {
  background: var(--primary);
  color: #fff;
}

body.layout-novo .layout-new-map-mock.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

body.layout-novo .layout-new-map-mock.is-fullscreen .layout-new-map-label {
  left: 16px;
  top: 16px;
  max-width: calc(100vw - 160px);
  white-space: normal;
}

body.layout-novo .layout-new-map-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--ln-text);
  font-weight: 900;
}

body.layout-novo .layout-new-map-toolbar {
  display: flex;
  position: relative;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 12px;
  padding: 8px;
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 24px rgba(9, 45, 50, .12);
  backdrop-filter: blur(10px);
  z-index: 40;
}

body.layout-novo .layout-new-map-toolbar {
  flex-wrap: wrap;
  border-radius: 22px;
}

body.layout-novo .layout-new-map-toolbar button {
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: #087d72;
  color: #fff;
  font-size: .78rem;
  font-weight: 950;
}

body.layout-novo .layout-new-map-toolbar button[data-layout-map-layer] {
  min-width: 112px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .92);
  color: #075c55;
  border: 1px solid rgba(4, 111, 102, .18);
}

body.layout-novo .layout-new-map-toolbar button[data-layout-map-layer].is-on {
  background: #1d4ed8;
  border-color: rgba(29, 78, 216, .35);
  color: #fff;
}

body.layout-novo .layout-new-map-toolbar button[data-layout-map-draw] {
  min-width: 118px;
  background: #0f766e;
}

body.layout-novo .layout-new-map-toolbar button[data-layout-map-draw].is-guidance {
  background: #fef3c7;
  color: #7c2d12;
  border: 1px solid rgba(180, 83, 9, .22);
}

body.layout-novo .layout-new-map-toolbar button[data-layout-map-draw].is-on {
  background: #b45309;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .22);
}

body.layout-novo .layout-new-map-toolbar button[data-layout-service-planning-mode] {
  min-width: 132px;
  background: #b45309;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}

body.layout-novo .layout-new-map-toolbar button[data-layout-service-planning-mode].is-on {
  background: #be123c;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .20);
}

body.layout-novo .layout-new-map-toolbar button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

body.layout-novo .layout-new-map-toolbar span {
  min-width: 0;
  overflow: hidden;
  color: #315b5e;
  font-size: .78rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-focus-meta-draft {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 76px;
  z-index: 24;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(234, 88, 12, .22);
  border-radius: 18px;
  background: rgba(255, 251, 235, .90);
  box-shadow: 0 14px 28px rgba(120, 53, 15, .12);
  backdrop-filter: blur(10px);
}

body.layout-novo .layout-new-focus-meta-draft strong {
  display: block;
  color: #7c2d12;
  font-size: .86rem;
  font-weight: 950;
}

body.layout-novo .layout-new-focus-meta-draft span {
  color: #6b4a20;
  font-size: .76rem;
  font-weight: 800;
}

body.layout-novo .layout-new-focus-meta-draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

body.layout-novo .layout-new-focus-meta-draft-actions button {
  min-height: 34px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .92);
  color: #075c55;
  font-size: .76rem;
  font-weight: 950;
}

body.layout-novo .layout-new-focus-meta-draft-actions button.is-selected {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

body.layout-novo .layout-new-focus-meta-draft-actions button.is-forward-service {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}

body.layout-novo .layout-new-focus-meta-draft-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body.layout-novo .layout-new-focus-meta-draft.is-outside-map {
  position: static;
  inset: auto;
  z-index: auto;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 251, 235, .96), rgba(255, 255, 255, .94));
}

body.layout-novo .layout-new-focus-meta-draft.is-outside-map .layout-new-focus-meta-draft-actions {
  justify-content: flex-start;
}

body.layout-novo .layout-new-map-viewport {
  position: absolute;
  inset: 0 0 78px 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

body.layout-novo .layout-new-map-viewport.is-legacy-fallback {
  display: none;
}

body.layout-novo .layout-new-map-viewport.is-dragging {
  cursor: grabbing;
}

body.layout-novo .layout-new-leaflet-map {
  position: absolute;
  inset: 0 0 78px 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  background: #e7efe8;
}

body.layout-novo .layout-new-leaflet-map .leaflet-container,
body.layout-novo .layout-new-leaflet-map.leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  font-family: inherit;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile-pane {
  filter: saturate(.98) contrast(1.02) brightness(1.01);
}

body.layout-novo .layout-new-leaflet-map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 10px 22px rgba(9, 45, 50, .16);
}

body.layout-novo .layout-new-leaflet-map .leaflet-control-zoom a {
  color: #063f42;
  font-weight: 950;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #063f42;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(9, 45, 50, .12);
}

body.layout-novo .layout-new-leaflet-map.is-drawing {
  cursor: crosshair;
}

body.layout-novo .layout-new-leaflet-legend {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  color: #063f42;
  font-size: .72rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(9, 45, 50, .14);
  pointer-events: none;
}

body.layout-novo .layout-new-leaflet-legend strong {
  font-size: .74rem;
}

body.layout-novo .layout-new-leaflet-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.layout-novo .layout-new-leaflet-legend i {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(6, 63, 66, .28);
  border-radius: 999px;
}

body.layout-novo .layout-new-draw-point-label {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #064e3b !important;
  font-size: .72rem;
}

body.layout-novo .layout-new-leaflet-loading {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 24px;
  color: #315b5e;
  text-align: center;
  font-weight: 900;
}

body.layout-novo .layout-new-map-stage {
  position: absolute;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  transform-origin: 50% 50%;
  transition: transform .08s linear;
}

body.layout-novo .layout-new-map-tile-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #dcefed;
}

body.layout-novo .layout-new-map-tile-layer img {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(.98) contrast(1) brightness(1.01);
}

body.layout-novo .layout-new-map-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

body.layout-novo .layout-new-map-stage.is-sketch-map .layout-new-map-svg {
  background:
    linear-gradient(135deg, rgba(238, 252, 248, .82), rgba(202, 230, 225, .66));
}

body.layout-novo .layout-new-map-stage.is-real-map .layout-new-map-svg {
  background: rgba(224, 246, 241, .025);
}

body.layout-novo .layout-new-map-svg .map-street-label {
  fill: #315b5e;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .82);
  stroke-width: 7px;
  font-size: 23px;
  font-weight: 950;
}

body.layout-novo .layout-new-map-clean-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 62px;
  z-index: 18;
  width: fit-content;
  max-width: min(560px, calc(100% - 32px));
  padding: 9px 12px;
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  color: #315b5e;
  font-size: .82rem;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(9, 45, 50, .12);
  backdrop-filter: blur(10px);
}

body.layout-novo .layout-new-map-clean-hint strong {
  color: #075c55;
}

body.layout-novo .layout-new-map-draw-layer polygon {
  fill: rgba(14, 165, 233, .22);
  stroke: #0369a1;
  stroke-width: 5px;
  stroke-dasharray: 12 8;
}

body.layout-novo .layout-new-map-draw-layer polyline {
  fill: none;
  stroke: #0369a1;
  stroke-width: 6px;
  stroke-linejoin: round;
}

body.layout-novo .layout-new-map-draw-layer circle {
  fill: #facc15;
  stroke: #78350f;
  stroke-width: 4px;
}

body.layout-novo .layout-new-map-draw-layer text {
  fill: #063f42;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .88);
  stroke-width: 5px;
  font-size: 22px;
  font-weight: 950;
}

body.layout-novo .layout-new-map-block-shape {
  cursor: pointer;
}

body.layout-novo .layout-new-territorial-feature {
  pointer-events: none;
}

body.layout-novo .layout-new-territorial-feature polygon {
  fill: rgba(236, 253, 245, .34);
  stroke: rgba(9, 76, 82, .22);
  stroke-width: 2px;
}

body.layout-novo .layout-new-territorial-feature.bairro polygon {
  fill: rgba(14, 165, 233, .05);
  stroke: rgba(3, 105, 161, .46);
  stroke-width: 5px;
  stroke-dasharray: 16 10;
}

body.layout-novo .layout-new-territorial-feature.quarteirao polygon {
  fill: rgba(255, 255, 255, .30);
  stroke: rgba(4, 111, 102, .34);
  stroke-width: 3px;
}

body.layout-novo .layout-new-territorial-feature.lote polygon {
  fill: rgba(255, 255, 255, .28);
  stroke: rgba(9, 76, 82, .42);
  stroke-width: 1.9px;
}

body.layout-novo .layout-new-territorial-feature.edificacao polygon {
  fill: rgba(220, 38, 38, .58);
  stroke: rgba(127, 29, 29, .70);
  stroke-width: 2.1px;
}

body.layout-novo .layout-new-territorial-feature.rua,
body.layout-novo .layout-new-territorial-feature.line {
  fill: none;
  stroke: rgba(255, 255, 255, .82);
  stroke-width: 9px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(9, 45, 50, .24));
}

body.layout-novo .layout-new-territorial-feature text {
  fill: rgba(6, 63, 66, .70);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .78);
  stroke-width: 6px;
  text-anchor: middle;
  font-size: 18px;
  font-weight: 950;
  pointer-events: none;
}

body.layout-novo .layout-new-conta-ovos-feature {
  pointer-events: none;
}

body.layout-novo .layout-new-conta-ovos-feature.is-linkable {
  cursor: pointer;
  pointer-events: auto;
}

body.layout-novo .layout-new-conta-ovos-feature polygon {
  fill: rgba(37, 99, 235, .045);
  stroke: rgba(37, 99, 235, .55);
  stroke-width: 2.6px;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(9, 45, 50, .08));
}

body.layout-novo .layout-new-conta-ovos-feature.is-reference-only polygon {
  fill: rgba(37, 99, 235, .022);
  stroke: rgba(37, 99, 235, .34);
  stroke-width: 1.4px;
}

body.layout-novo .layout-new-conta-ovos-feature.is-linkable:hover polygon {
  fill: rgba(37, 99, 235, .12);
  stroke: rgba(29, 78, 216, .9);
  stroke-width: 4px;
}

body.layout-novo .layout-new-conta-ovos-feature text {
  fill: rgba(30, 64, 175, .82);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 5px;
  text-anchor: middle;
  font-size: 15px;
  font-weight: 950;
  pointer-events: none;
}

body.layout-novo .layout-new-map-block-shape polygon {
  fill: rgba(255, 255, 255, .07);
  stroke: rgba(4, 111, 102, .25);
  stroke-width: 2px;
  filter: none;
  transition: fill .16s ease, stroke .16s ease, stroke-width .16s ease;
}

body.layout-novo .layout-new-map-block-shape.pending polygon { fill: rgba(255, 255, 255, .06); }
body.layout-novo .layout-new-map-block-shape.done polygon { fill: rgba(34, 197, 94, .07); }
body.layout-novo .layout-new-map-block-shape.focus polygon { fill: rgba(251, 113, 133, .08); stroke: rgba(220, 38, 38, .50); }
body.layout-novo .layout-new-map-block-shape.qr polygon { fill: rgba(251, 146, 60, .08); stroke: rgba(234, 88, 12, .48); }

body.layout-novo .layout-new-map-block-shape.is-focus-suggested polygon,
body.layout-novo .layout-new-map-block-shape.is-service-suggested polygon {
  fill: rgba(251, 146, 60, .12);
  stroke: rgba(234, 88, 12, .70);
  stroke-width: 3px;
}

body.layout-novo .layout-new-map-block-shape.is-meta-selected polygon {
  fill: rgba(20, 184, 166, .18);
  stroke: rgba(15, 118, 110, .86);
  stroke-width: 4px;
}

body.layout-novo .layout-new-map-block-shape.active polygon {
  fill: rgba(8, 125, 114, .065);
  stroke: rgba(4, 120, 111, .62);
  stroke-width: 2.5px;
}

body.layout-novo .layout-new-map-block-shape.from-conta-ovos polygon {
  fill: rgba(37, 99, 235, .045);
  stroke: rgba(37, 99, 235, .55);
  stroke-width: 2.25px;
  stroke-dasharray: 0;
}

body.layout-novo .layout-new-map-block-shape.from-conta-ovos.active polygon {
  fill: rgba(37, 99, 235, .06);
  stroke: rgba(29, 78, 216, .66);
  stroke-width: 2.5px;
}

body.layout-novo .layout-new-map-block-shape.from-territorial-base polygon {
  stroke: rgba(4, 111, 102, .55);
  stroke-dasharray: 0;
}

body.layout-novo .layout-new-map-block-shape.from-manual-drawing polygon {
  fill: rgba(14, 165, 233, .045);
  stroke: rgba(3, 105, 161, .58);
  stroke-width: 2.5px;
}

body.layout-novo .layout-new-map-block-shape text {
  fill: #063f42;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .86);
  stroke-width: 8px;
  text-anchor: middle;
  font-size: 28px;
  font-weight: 950;
  pointer-events: none;
}

body.layout-novo .layout-new-map-block-shape text.count {
  fill: #42676a;
  font-size: 20px;
  font-weight: 900;
}

body.layout-novo .layout-new-block-overview {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 18px;
  background: rgba(235, 250, 246, .74);
}

body.layout-novo .layout-new-block-overview-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.layout-novo .layout-new-block-overview-head strong,
body.layout-novo .layout-new-block-chip-grid strong,
body.layout-novo .layout-new-block-chip-grid span {
  display: block;
}

body.layout-novo .layout-new-block-overview-head strong {
  color: #063f42;
  font-weight: 950;
}

body.layout-novo .layout-new-block-overview-head span,
body.layout-novo .layout-new-block-chip-grid span {
  color: #607671;
  font-size: .78rem;
  font-weight: 800;
}

body.layout-novo .layout-new-block-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  max-height: 235px;
  overflow: auto;
  padding-right: 2px;
}

body.layout-novo .layout-new-block-chip-grid button {
  border: 1px solid rgba(4, 111, 102, .15);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, .82);
  color: #083d3f;
  text-align: left;
}

body.layout-novo .layout-new-block-chip-grid button.active {
  border-color: #04786f;
  background: rgba(8, 125, 114, .14);
  box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .24);
}

body.layout-novo .layout-new-map-mock .block {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid rgba(4, 111, 102, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .45);
  color: #0b544f;
  font-weight: 950;
  transform: rotate(-9deg);
}

body.layout-novo .layout-new-map-mock .b1 { left: 8%; top: 20%; width: 24%; height: 26%; }
body.layout-novo .layout-new-map-mock .b2 { left: 34%; top: 12%; width: 24%; height: 24%; transform: rotate(4deg); }
body.layout-novo .layout-new-map-mock .b3 { left: 55%; top: 28%; width: 32%; height: 34%; transform: rotate(10deg); }
body.layout-novo .layout-new-map-mock .b4 { left: 17%; top: 56%; width: 32%; height: 28%; transform: rotate(5deg); }
body.layout-novo .layout-new-map-mock .block.active { background: rgba(8, 125, 114, .18); border-color: var(--ln-teal); }

body.layout-novo .layout-new-map-mock .street {
  position: absolute;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #143f43;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-map-mock .s1 { left: 8%; top: 10%; transform: rotate(4deg); }
body.layout-novo .layout-new-map-mock .s2 { left: 9%; top: 42%; transform: rotate(78deg); }
body.layout-novo .layout-new-map-mock .s3 { left: 47%; top: 58%; transform: rotate(-8deg); }
body.layout-novo .layout-new-map-mock .s4 { left: 56%; top: 70%; transform: rotate(7deg); }

body.layout-novo .layout-new-map-mock .home-dot {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 26px;
  width: auto;
  height: 26px;
  padding: 0 7px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: #082f32;
  font-size: .64rem;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(9, 45, 50, .13);
}

body.layout-novo .layout-new-map-mock .home-dot.pending { background: #facc15; }
body.layout-novo .layout-new-map-mock .home-dot.done { background: #22c55e; }
body.layout-novo .layout-new-map-mock .home-dot.focus { background: #fb7185; }
body.layout-novo .layout-new-map-mock .home-dot.qr { background: #fb923c; }
body.layout-novo .layout-new-map-mock .h1 { left: 61%; top: 40%; }
body.layout-novo .layout-new-map-mock .h2 { left: 69%; top: 42%; }
body.layout-novo .layout-new-map-mock .h3 { left: 65%; top: 51%; }
body.layout-novo .layout-new-map-mock .h4 { left: 75%; top: 58%; }
body.layout-novo .layout-new-map-mock .h5 { left: 57%; top: 66%; }

body.layout-novo .layout-new-map-mock .marker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0b857b;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(9, 45, 50, .18);
}

body.layout-novo .layout-new-map-mock .arm { left: 62%; top: 24%; background: #111827; }
body.layout-novo .layout-new-map-mock .pe { left: 73%; top: 48%; background: #126fcf; }
body.layout-novo .layout-new-map-mock .focus { left: 82%; top: 23%; background: #dc2626; }
body.layout-novo .layout-new-map-mock .patient { left: 51%; top: 62%; background: #7c3aed; }
body.layout-novo .layout-new-map-mock .sample { left: 27%; top: 48%; background: #ea6b12; }
body.layout-novo .layout-new-map-mock .complaint { left: 38%; top: 72%; background: #f97316; }
body.layout-novo .layout-new-map-mock .scorpion { left: 18%; top: 34%; background: #be185d; }
body.layout-novo .layout-new-map-mock .treatment { left: 43%; top: 22%; background: #16a34a; }

body.layout-novo .layout-new-map-mock .marker.is-planned {
  opacity: .72;
  filter: saturate(.72);
  outline: 2px dashed rgba(255, 255, 255, .88);
}

body.layout-novo .layout-new-territory-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

body.layout-novo .layout-new-territory-flow span {
  position: relative;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #063236;
  font-weight: 950;
  text-align: center;
}

body.layout-novo .layout-new-territory-flow span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  color: #087d72;
  font-weight: 950;
  z-index: 2;
}

body.layout-novo .layout-new-real-map-bridge,
body.layout-novo .layout-new-daily-load-card,
body.layout-novo .layout-new-offline-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(238, 249, 246, .92), rgba(212, 236, 231, .76));
  box-shadow: 0 10px 24px rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-real-map-bridge {
  margin: 0 0 14px;
  padding: 14px;
}

body.layout-novo .layout-new-real-map-bridge strong,
body.layout-novo .layout-new-daily-load-card strong,
body.layout-novo .layout-new-offline-save strong {
  display: block;
  color: #061f22;
}

body.layout-novo .layout-new-real-map-bridge span,
body.layout-novo .layout-new-daily-load-card span,
body.layout-novo .layout-new-offline-save span {
  display: block;
  margin-top: 3px;
  color: rgba(8, 51, 57, .72);
}

body.layout-novo .layout-new-real-map-bridge button,
body.layout-novo .layout-new-daily-load-card button,
body.layout-novo .layout-new-offline-save button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
  font-weight: 950;
  white-space: nowrap;
}

body.layout-novo .layout-new-offline-save button:disabled {
  cursor: not-allowed;
  background: rgba(8, 91, 88, .16);
  color: rgba(8, 51, 57, .62);
}

body.layout-novo .layout-new-daily-load-card {
  margin: 12px 0 16px;
  padding: 13px;
  border-color: rgba(8, 128, 114, .26);
}

body.layout-novo .layout-new-daily-load-card.is-ok {
  background: linear-gradient(135deg, rgba(220, 252, 231, .88), rgba(204, 251, 241, .78));
}

body.layout-novo .layout-new-daily-load-card.is-empty,
body.layout-novo .layout-new-daily-load-card.is-waiting {
  background: linear-gradient(135deg, rgba(255, 251, 235, .86), rgba(236, 253, 245, .74));
}

body.layout-novo .layout-new-daily-load-card small {
  display: block;
  margin-top: 5px;
  color: rgba(8, 51, 57, .62);
  font-weight: 800;
  line-height: 1.35;
}

body.layout-novo .layout-new-action-strip.is-compact {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

body.layout-novo .layout-new-context-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(4, 111, 102, .25);
  border-left: 5px solid var(--ln-teal);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(218, 244, 238, .96), rgba(255, 255, 255, .92));
  color: #082f32;
  box-shadow: 0 12px 28px rgba(9, 45, 50, .10);
}

body.layout-novo .layout-new-context-notice strong {
  font-weight: 950;
}

body.layout-novo .layout-new-context-notice span {
  color: rgba(8, 51, 57, .75);
}

body.layout-novo .layout-new-context-mini-map {
  position: relative;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(215, 244, 238, .95), rgba(248, 255, 252, .88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

body.layout-novo .layout-new-context-mini-map .mini-road {
  position: absolute;
  left: -10%;
  width: 140%;
  height: 12px;
  border-radius: 999px;
  background: rgba(8, 91, 88, .12);
}

body.layout-novo .layout-new-context-mini-map .mini-road.one {
  top: 36%;
  transform: rotate(18deg);
}

body.layout-novo .layout-new-context-mini-map .mini-road.two {
  top: 58%;
  transform: rotate(-16deg);
}

body.layout-novo .layout-new-context-mini-map b {
  position: absolute;
  inset: 14px 14px auto auto;
  z-index: 1;
  font-weight: 950;
}

body.layout-novo .layout-new-context-mini-map em {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 10px;
  background: #facc15;
  color: #082f32;
  font-style: normal;
  font-weight: 950;
}

body.layout-novo .block-full-map-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 35, 38, .58);
  backdrop-filter: blur(10px);
}

body.layout-novo .block-full-map-panel {
  width: min(1180px, 100%);
  max-height: min(94vh, 900px);
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .24);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(234, 250, 246, .98), rgba(204, 233, 228, .96));
  box-shadow: 0 28px 90px rgba(4, 34, 38, .38);
  color: #062f33;
}

body.layout-novo .block-full-map-panel header,
body.layout-novo .block-full-map-panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

body.layout-novo .block-full-map-panel header {
  border-bottom: 1px solid rgba(4, 111, 102, .16);
}

body.layout-novo .block-full-map-panel h2,
body.layout-novo .block-full-map-panel p {
  margin: 0;
}

body.layout-novo .block-full-map-panel small {
  color: var(--ln-teal);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}

body.layout-novo .block-full-map-panel h2 {
  margin-top: 2px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

body.layout-novo .block-full-map-stage {
  position: relative;
  min-height: 58vh;
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .74), transparent 34%),
    linear-gradient(135deg, rgba(218, 244, 238, .95), rgba(184, 224, 218, .88));
}

body.layout-novo .block-full-map-stage::before,
body.layout-novo .block-full-map-stage::after {
  content: "";
  position: absolute;
  left: -20%;
  width: 150%;
  height: 46px;
  border-radius: 999px;
  background: rgba(8, 91, 88, .10);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
}

body.layout-novo .block-full-map-stage::before {
  top: 42%;
  transform: rotate(23deg);
}

body.layout-novo .block-full-map-stage::after {
  top: 64%;
  transform: rotate(-17deg);
}

body.layout-novo .block-full-map-stage .map-road {
  position: absolute;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: #063236;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(9, 45, 50, .12);
}

body.layout-novo .block-full-map-stage .road-one { left: 9%; top: 13%; transform: rotate(5deg); }
body.layout-novo .block-full-map-stage .road-two { left: 10%; top: 45%; transform: rotate(78deg); }
body.layout-novo .block-full-map-stage .road-three { left: 43%; top: 62%; transform: rotate(-8deg); }
body.layout-novo .block-full-map-stage .road-four { right: 12%; top: 73%; transform: rotate(7deg); }

body.layout-novo .block-full-map-stage .map-block {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 2px solid rgba(8, 125, 114, .38);
  border-radius: 24px;
  background: rgba(255, 255, 255, .38);
  color: #063236;
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  font-style: normal;
  font-weight: 950;
}

body.layout-novo .block-full-map-stage .map-block.main {
  left: 55%;
  top: 24%;
  width: 32%;
  height: 38%;
  transform: rotate(10deg);
  border-color: var(--ln-teal);
  background: rgba(8, 125, 114, .18);
}

body.layout-novo .block-full-map-stage .map-block.side.one { left: 8%; top: 22%; width: 23%; height: 24%; transform: rotate(-7deg); }
body.layout-novo .block-full-map-stage .map-block.side.two { left: 34%; top: 14%; width: 24%; height: 25%; transform: rotate(5deg); }
body.layout-novo .block-full-map-stage .map-block.side.three { left: 18%; top: 58%; width: 30%; height: 27%; transform: rotate(4deg); }

body.layout-novo .block-full-map-dot {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 12px;
  color: #062f33;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(9, 45, 50, .22);
}

body.layout-novo .block-full-map-dot.pending,
body.layout-novo .legend-dot.pending { background: #facc15; }

body.layout-novo .block-full-map-dot.done,
body.layout-novo .legend-dot.done { background: #22c55e; }

body.layout-novo .block-full-map-dot.focus,
body.layout-novo .legend-dot.focus { background: #fb7185; }

body.layout-novo .block-full-map-empty {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
}

body.layout-novo .block-full-map-panel footer {
  flex-wrap: wrap;
  border-top: 1px solid rgba(4, 111, 102, .16);
}

body.layout-novo .block-full-map-panel footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
}

body.layout-novo .legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .8);
}

body.layout-novo .block-full-map-overlay.block-full-map-real-mode {
  background: rgba(3, 22, 24, .72);
}

body.layout-novo .block-full-map-real-mode .block-full-map-panel {
  width: min(1320px, 98vw);
  height: min(920px, 96vh);
  max-height: none;
  grid-template-rows: auto minmax(420px, 1fr) auto;
}

body.layout-novo .block-full-real-map {
  position: relative;
  min-height: 62vh;
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 24px;
  background: #e7efe9;
}

body.layout-novo .block-full-real-map .leaflet-container,
body.layout-novo .block-full-real-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .block-full-real-map .leaflet-tooltip {
  font-weight: 900;
  white-space: nowrap;
}

body.layout-novo .block-full-real-map .leaflet-popup-content button {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #087f73;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
}

body.layout-novo .block-full-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #073b3c;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 760px) {
  body.layout-novo .block-full-map-overlay {
    padding: 6px;
  }

  body.layout-novo .block-full-map-real-mode .block-full-map-panel {
    width: 100%;
    height: 96vh;
    border-radius: 18px;
  }

  body.layout-novo .block-full-real-map {
    min-height: 62vh;
    margin: 0 8px;
    border-radius: 16px;
  }
}

body.layout-novo .layout-new-territory-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

body.layout-novo .layout-new-territory-scale-switch {
  align-items: center;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

body.layout-novo .layout-new-territory-scale-switch > strong {
  color: #073b3c;
  font-size: .86rem;
  font-weight: 950;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-scale-switch button {
  align-items: center;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  color: #073b3c;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-height: 46px;
  padding: 8px 10px;
  text-align: left;
}

body.layout-novo .layout-new-territory-scale-switch button.active {
  background: #087f73;
  border-color: #087f73;
  color: #fff;
}

body.layout-novo .layout-new-territory-scale-switch button span {
  font-size: .84rem;
  font-weight: 950;
}

body.layout-novo .layout-new-territory-scale-switch button small {
  color: currentColor;
  font-size: .72rem;
  font-weight: 800;
  min-width: 0;
  opacity: .78;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-controls-after-map {
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .06);
  margin-top: 14px;
  overflow: hidden;
}

body.layout-novo .layout-new-territory-controls-after-map summary {
  align-items: center;
  color: #073b3c;
  cursor: pointer;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  list-style: none;
  min-height: 46px;
  padding: 11px 13px;
}

body.layout-novo .layout-new-territory-controls-after-map summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-territory-controls-after-map summary::after {
  align-items: center;
  background: rgba(13, 148, 136, .12);
  border-radius: 999px;
  color: #087d72;
  content: '+';
  display: inline-flex;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
}

body.layout-novo .layout-new-territory-controls-after-map[open] summary::after {
  content: '-';
}

body.layout-novo .layout-new-territory-controls-after-map summary span {
  font-weight: 950;
  min-width: 0;
}

body.layout-novo .layout-new-territory-controls-after-map summary small {
  color: #5f7b7e;
  font-size: .75rem;
  font-weight: 850;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-controls-after-map-body {
  border-top: 1px solid rgba(15, 118, 110, .10);
  padding: 12px;
}

body.layout-novo .layout-new-territory-selector {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .50);
}

body.layout-novo .layout-new-selector-title {
  color: #063236;
  font-weight: 950;
}

body.layout-novo .layout-new-selector-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
  gap: 8px;
}

body.layout-novo .layout-new-selector-controls input,
body.layout-novo .layout-new-selector-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: #082f32;
  font-weight: 850;
  padding: 0 12px;
}

body.layout-novo .layout-new-selected-summary {
  padding: 11px 12px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(177, 232, 223, .46);
}

body.layout-novo .layout-new-selected-summary.has-map-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.layout-novo .layout-new-selected-summary strong,
body.layout-novo .layout-new-selected-summary span {
  display: block;
}

body.layout-novo .layout-new-selected-summary strong {
  color: #062e32;
}

body.layout-novo .layout-new-selected-summary span {
  margin-top: 3px;
  color: rgba(8, 51, 57, .72);
}

body.layout-novo .layout-new-selected-map-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(4, 111, 102, .28);
  border-radius: 999px;
  background: rgba(244, 251, 249, .92);
  color: #062e32;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(8, 51, 57, .08);
}

body.layout-novo .layout-new-selected-map-button:hover,
body.layout-novo .layout-new-selected-map-button:focus-visible {
  border-color: rgba(4, 111, 102, .52);
  background: rgba(217, 244, 239, .96);
}

body.layout-novo .layout-new-selector-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-selector-card {
  min-height: 72px;
  justify-content: flex-start;
  padding: 11px 12px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .64);
  color: #082f32;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .68);
}

body.layout-novo .layout-new-selector-card strong,
body.layout-novo .layout-new-selector-card span {
  display: block;
}

body.layout-novo .layout-new-selector-card span {
  margin-top: 4px;
  color: rgba(8, 51, 57, .72);
  font-size: .82rem;
}

body.layout-novo .layout-new-selector-card.is-selected {
  border-color: #087d72;
  background: rgba(177, 232, 223, .70);
  box-shadow: 0 12px 24px rgba(9, 45, 50, .10);
}

body.layout-novo .layout-new-offline-save {
  margin: 12px 0;
  padding: 12px;
}

body.layout-novo .layout-new-work-focus,
body.layout-novo .layout-new-help-details {
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .60);
  box-shadow: 0 10px 24px rgba(9, 45, 50, .06);
}

body.layout-novo .layout-new-work-focus {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
  padding: 13px;
}

body.layout-novo .layout-new-work-focus strong {
  color: #061f22;
}

body.layout-novo .layout-new-work-focus span {
  color: rgba(8, 51, 57, .72);
}

body.layout-novo .layout-new-selected-block-actions {
  display: grid;
  gap: 10px;
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(8, 127, 115, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(236, 253, 245, .94), rgba(209, 250, 244, .72));
  box-shadow: 0 14px 30px rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-selected-block-actions strong,
body.layout-novo .layout-new-selected-block-actions span {
  display: block;
}

body.layout-novo .layout-new-selected-block-actions strong {
  color: #053436;
  font-size: .96rem;
  font-weight: 950;
}

body.layout-novo .layout-new-selected-block-actions span {
  color: rgba(8, 51, 57, .72);
  font-size: .82rem;
  font-weight: 800;
}

body.layout-novo .layout-new-selected-block-actions > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.layout-novo .layout-new-selected-block-actions button {
  flex: 1 1 132px;
  min-height: 38px;
  border: 1px solid rgba(15, 118, 110, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #075e5b;
  font-weight: 950;
}

body.layout-novo .layout-new-selected-block-actions button:first-child {
  background: #087d72;
  color: #fff;
}

body.layout-novo .layout-new-block-street-editor {
  margin: 10px 0 12px;
  border: 1px solid rgba(8, 127, 115, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  overflow: hidden;
}

body.layout-novo .layout-new-block-street-editor summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  cursor: pointer;
  color: #053436;
  font-weight: 950;
}

body.layout-novo .layout-new-block-street-editor summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-block-street-editor summary small {
  color: rgba(8, 51, 57, .62);
  font-size: .74rem;
  font-weight: 900;
}

body.layout-novo .layout-new-block-street-editor-body {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

body.layout-novo .layout-new-block-street-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

body.layout-novo .layout-new-block-street-form input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(8, 127, 115, .24);
  border-radius: 12px;
  padding: 0 12px;
  color: #053436;
  font-weight: 850;
}

body.layout-novo .layout-new-block-street-side {
  display: flex;
  gap: 4px;
}

body.layout-novo .layout-new-block-street-row-side {
  display: flex;
  gap: 4px;
}

body.layout-novo .layout-new-block-street-form button,
body.layout-novo .layout-new-block-street-side button,
body.layout-novo .layout-new-block-street-row-side button,
body.layout-novo .layout-new-block-street-list button {
  min-height: 36px;
  border: 1px solid rgba(8, 127, 115, .24);
  border-radius: 999px;
  background: rgba(236, 253, 245, .9);
  color: #075e5b;
  font-weight: 950;
}

body.layout-novo .layout-new-block-street-side button {
  width: 36px;
  padding: 0;
}

body.layout-novo .layout-new-block-street-row-side button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  font-size: .72rem;
}

body.layout-novo .layout-new-block-street-side button.active,
body.layout-novo .layout-new-block-street-row-side button.active,
body.layout-novo .layout-new-block-street-form > button {
  background: #087d72;
  color: #fff;
}

body.layout-novo .layout-new-block-street-empty {
  margin: 0;
  color: rgba(8, 51, 57, .68);
  font-size: .78rem;
  font-weight: 800;
}

body.layout-novo .layout-new-block-street-list {
  display: grid;
  gap: 7px;
}

body.layout-novo .layout-new-block-street-list span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(236, 253, 245, .78);
}

body.layout-novo .layout-new-block-street-list strong,
body.layout-novo .layout-new-block-street-list em {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.layout-novo .layout-new-block-street-list strong {
  color: #053436;
  font-size: .82rem;
  font-weight: 950;
}

body.layout-novo .layout-new-block-street-list em {
  color: rgba(8, 51, 57, .64);
  font-size: .74rem;
  font-style: normal;
  font-weight: 850;
}

body.layout-novo .layout-new-block-street-list button {
  width: 32px;
  padding: 0;
}

body.layout-novo .layout-new-field-task-map-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(8, 127, 115, .24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(236, 253, 245, .96), rgba(255, 255, 255, .82));
  box-shadow: 0 16px 34px rgba(9, 45, 50, .09);
}

body.layout-novo .layout-new-field-task-map-panel strong,
body.layout-novo .layout-new-field-task-map-panel span,
body.layout-novo .layout-new-field-task-map-panel small {
  display: block;
}

body.layout-novo .layout-new-field-task-map-panel > div:first-child strong {
  color: #053436;
  font-size: 1rem;
  font-weight: 950;
}

body.layout-novo .layout-new-field-task-map-panel > div:first-child span {
  color: #075e5b;
  font-weight: 900;
}

body.layout-novo .layout-new-field-task-map-panel > div:first-child small {
  color: rgba(8, 51, 57, .70);
  font-weight: 750;
}

body.layout-novo .layout-new-field-task-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-field-task-kpis span {
  min-height: 58px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(219, 246, 242, .82);
  text-align: center;
}

body.layout-novo .layout-new-field-task-kpis b {
  color: #053436;
  font-size: 1rem;
  font-weight: 950;
}

body.layout-novo .layout-new-field-task-kpis em {
  color: rgba(8, 51, 57, .72);
  font-style: normal;
  font-size: .73rem;
  font-weight: 850;
}

body.layout-novo .layout-new-field-task-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-field-task-blocks button {
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(8, 127, 115, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  color: #053436;
  text-align: left;
  font-weight: 900;
}

body.layout-novo .layout-new-field-task-blocks button.active {
  border-color: #087d72;
  background: #087d72;
  color: #fff;
}

body.layout-novo .layout-new-field-task-blocks button small {
  color: inherit;
  opacity: .78;
}

body.layout-novo .layout-new-help-details {
  margin: 10px 0;
  padding: 0;
  overflow: hidden;
}

body.layout-novo .layout-new-help-details summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 14px;
  color: #063236;
  font-weight: 950;
}

body.layout-novo .layout-new-help-details summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-help-details summary::after {
  content: "+";
  float: right;
  color: #087d72;
  font-weight: 950;
}

body.layout-novo .layout-new-help-details[open] summary::after {
  content: "–";
}

body.layout-novo .layout-new-help-details[open] {
  padding-bottom: 12px;
}

body.layout-novo .layout-new-help-details[open] > *:not(summary) {
  margin-left: 12px;
  margin-right: 12px;
}

body.layout-novo .layout-new-offline-badge {
  color: #92400e !important;
  font-weight: 850;
}

body.layout-novo .layout-new-offline-badge.is-saved {
  color: #166534 !important;
}

body.layout-novo .layout-new-empty-map-note,
body.layout-novo .layout-new-empty-layer-note {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  border: 1px dashed rgba(4, 111, 102, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  color: #063236;
  font-weight: 850;
}

body.layout-novo .layout-new-empty-layer-note {
  bottom: 72px;
}

body.layout-novo .layout-new-map-layer-panel,
body.layout-novo .layout-new-property-legend,
body.layout-novo .layout-new-supervision-extra article {
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 24px rgba(9, 45, 50, .07);
}

body.layout-novo .layout-new-map-layer-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
}

body.layout-novo .layout-new-map-layer-panel strong,
body.layout-novo .layout-new-property-legend b,
body.layout-novo .layout-new-supervision-extra strong {
  color: var(--ln-text);
}

body.layout-novo .layout-new-map-layer-panel p,
body.layout-novo .layout-new-layer-chip small,
body.layout-novo .layout-new-property-legend small,
body.layout-novo .layout-new-supervision-extra span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-map-layer-panel > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-layer-chip {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 8px;
  align-items: center;
  min-height: 52px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(238, 249, 246, .82);
}

body.layout-novo .layout-new-layer-chip i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e4f4f1;
  color: #082f32;
  font-style: normal;
  font-weight: 950;
}

body.layout-novo .layout-new-layer-chip.is-arm i { background: #111827; color: #fff; }
body.layout-novo .layout-new-layer-chip.is-pe i { background: #bfdbfe; color: #0f376b; }
body.layout-novo .layout-new-layer-chip.is-focus i { background: #fecaca; color: #991b1b; }
body.layout-novo .layout-new-layer-chip.is-patient i { background: #ddd6fe; color: #4c1d95; }
body.layout-novo .layout-new-layer-chip.is-complaint i { background: #fed7aa; color: #9a3412; }
body.layout-novo .layout-new-layer-chip.is-sample i { background: #fde68a; color: #92400e; }
body.layout-novo .layout-new-layer-chip.is-scorpion i { background: #fbcfe8; color: #9d174d; }
body.layout-novo .layout-new-layer-chip.is-treatment i { background: #bbf7d0; color: #166534; }

body.layout-novo .layout-new-layer-admin {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(249, 253, 252, .94), rgba(229, 244, 240, .82));
  box-shadow: 0 10px 24px rgba(9, 45, 50, .07);
}

body.layout-novo .layout-new-layer-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.layout-novo .layout-new-layer-admin-head strong {
  display: block;
  color: var(--ln-text);
  font-size: 1rem;
}

body.layout-novo .layout-new-layer-admin-head span,
body.layout-novo .layout-new-layer-admin p,
body.layout-novo .layout-new-layer-control small {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-layer-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-layer-control {
  display: grid;
  grid-template-columns: 18px 34px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
}

body.layout-novo .layout-new-layer-control i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e4f4f1;
  color: #082f32;
  font-style: normal;
  font-weight: 950;
}

body.layout-novo .layout-new-layer-control b,
body.layout-novo .layout-new-layer-control small {
  display: block;
}

body.layout-novo .layout-new-layer-control.is-arm i { background: #111827; color: #fff; }
body.layout-novo .layout-new-layer-control.is-pe i { background: #bfdbfe; color: #0f376b; }
body.layout-novo .layout-new-layer-control.is-focus i { background: #fecaca; color: #991b1b; }
body.layout-novo .layout-new-layer-control.is-patient i { background: #ddd6fe; color: #4c1d95; }
body.layout-novo .layout-new-layer-control.is-complaint i { background: #fed7aa; color: #9a3412; }
body.layout-novo .layout-new-layer-control.is-sample i { background: #fde68a; color: #92400e; }
body.layout-novo .layout-new-layer-control.is-scorpion i { background: #fbcfe8; color: #9d174d; }
body.layout-novo .layout-new-layer-control.is-treatment i { background: #bbf7d0; color: #166534; }

body.layout-novo .layout-new-property-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
}

body.layout-novo .layout-new-property-legend span {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0 8px;
  align-items: center;
}

body.layout-novo .layout-new-property-legend i {
  grid-row: span 2;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

body.layout-novo .layout-new-property-legend .is-pending i { background: #facc15; }
body.layout-novo .layout-new-property-legend .is-done i { background: #22c55e; }
body.layout-novo .layout-new-property-legend .is-focus i { background: #fb7185; }
body.layout-novo .layout-new-property-legend .is-qr i { background: #fb923c; }

body.layout-novo .layout-new-supervision-extra {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
}

body.layout-novo .layout-new-supervision-extra article {
  display: grid;
  gap: 10px;
  padding: 14px;
}

body.layout-novo .layout-new-supervision-extra button {
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
  font-weight: 900;
}

body.layout-novo .layout-new-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.layout-novo .layout-new-detail-grid > div {
  min-height: 86px;
  padding: 14px;
}

body.layout-novo .layout-new-detail-grid > div.is-wide {
  grid-column: 1 / -1;
}

body.layout-novo .layout-new-detail-grid strong {
  margin-bottom: 6px;
  color: var(--ln-text);
}

body.layout-novo .layout-new-memory-note {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(4, 111, 102, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .54);
}

body.layout-novo .layout-new-programmed-note {
  display: grid;
  gap: 4px;
  border-color: rgba(234, 107, 18, .34);
  background: linear-gradient(135deg, rgba(255, 247, 237, .82), rgba(255, 255, 255, .58));
}

body.layout-novo .layout-new-programmed-note strong {
  color: #8a3b08;
}

body.layout-novo .layout-new-programmed-note span {
  color: #5f4737;
}

body.layout-novo .layout-new-territory-search,
body.layout-novo .layout-new-filter-row span,
body.layout-novo .layout-new-mini-stat-row span,
body.layout-novo .layout-new-result-strip span,
body.layout-novo .layout-new-config-summary,
body.layout-novo .layout-new-edit-card,
body.layout-novo .layout-new-preview-window,
body.layout-novo .layout-new-preview-block,
body.layout-novo .layout-new-preview-public-grid > div {
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px rgba(9, 45, 50, .07);
}

body.layout-novo .layout-new-territory-search {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ln-muted);
  font-weight: 850;
}

body.layout-novo .layout-new-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.layout-novo .layout-new-filter-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ln-teal-dark);
  font-weight: 900;
}

body.layout-novo .layout-new-filter-row span.active {
  background: linear-gradient(135deg, var(--ln-teal), var(--ln-teal-dark));
  color: #fff;
}

body.layout-novo .layout-new-mini-stat-row,
body.layout-novo .layout-new-result-strip {
  display: grid;
  gap: 10px;
}

body.layout-novo .layout-new-mini-stat-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.layout-novo .layout-new-result-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.layout-novo .layout-new-mini-stat-row span,
body.layout-novo .layout-new-result-strip span {
  display: grid;
  gap: 3px;
  min-height: 84px;
  padding: 12px;
}

body.layout-novo .layout-new-mini-stat-row small,
body.layout-novo .layout-new-result-strip small,
body.layout-novo .layout-new-mini-stat-row em,
body.layout-novo .layout-new-result-strip em {
  color: var(--ln-muted);
  font-style: normal;
}

body.layout-novo .layout-new-mini-stat-row strong,
body.layout-novo .layout-new-result-strip strong {
  color: var(--ln-text);
  font-size: 1.3rem;
}

body.layout-novo .layout-new-selected-block-card {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 32px rgba(9, 45, 50, .13);
}

body.layout-novo .layout-new-selected-block-card strong,
body.layout-novo .layout-new-selected-block-card span {
  display: block;
}

body.layout-novo .layout-new-selected-block-card span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-selected-block-card button {
  grid-row: span 2;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fb923c;
  color: #fff;
  font-weight: 900;
}

body.layout-novo .layout-new-block-list {
  margin-bottom: 12px;
}

body.layout-novo .layout-new-list-stack {
  display: grid;
  gap: 10px;
}

body.layout-novo .layout-new-list-stack article {
  padding: 14px;
  border-left: 5px solid transparent;
}

body.layout-novo .layout-new-list-stack article.active {
  border-left-color: var(--ln-teal);
  background: linear-gradient(135deg, rgba(236, 253, 249, .98), rgba(255, 255, 255, .86));
}

body.layout-novo .layout-new-flow-row,
body.layout-novo .layout-new-goals-board {
  display: grid;
  gap: 10px;
}

body.layout-novo .layout-new-flow-row {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

body.layout-novo .layout-new-flow-row span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--ln-teal-soft);
  color: var(--ln-teal-dark);
  font-weight: 900;
}

body.layout-novo .layout-new-goals-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.layout-novo .layout-new-goals-board article {
  min-height: 130px;
  padding: 16px;
}

body.layout-novo .layout-new-goals-board strong,
body.layout-novo .layout-new-goals-board span {
  display: block;
}

body.layout-novo .layout-new-goals-board strong {
  margin-bottom: 8px;
  color: var(--ln-text);
}

body.layout-novo .layout-new-goals-board span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-division-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(4, 111, 102, .2);
  border-radius: 20px;
  background:
    linear-gradient(35deg, transparent 48%, rgba(9, 76, 82, .16) 49%, rgba(9, 76, 82, .16) 51%, transparent 52%),
    radial-gradient(circle at 70% 36%, rgba(18, 111, 207, .14), transparent 10rem),
    linear-gradient(145deg, #edf8f5, #d7ece7);
}

body.layout-novo .layout-new-division-map .route-block {
  position: absolute;
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  color: #092d32;
  text-align: center;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(9, 45, 50, .14);
}

body.layout-novo .layout-new-division-map .team-a { left: 8%; top: 28%; width: 23%; height: 26%; background: rgba(34, 197, 94, .28); }
body.layout-novo .layout-new-division-map .team-b { left: 36%; top: 18%; width: 25%; height: 34%; background: rgba(18, 111, 207, .24); }
body.layout-novo .layout-new-division-map .team-c { left: 66%; top: 30%; width: 24%; height: 42%; background: rgba(245, 158, 11, .28); }

body.layout-novo .layout-new-division-map .marker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(9, 45, 50, .18);
}

body.layout-novo .layout-new-division-map .marker::after,
body.layout-novo .layout-new-map-mock .marker::after {
  content: attr(data-count);
  position: absolute;
  right: -7px;
  top: -7px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #082f32;
  font-size: .68rem;
  box-shadow: 0 4px 10px rgba(9, 45, 50, .16);
}

body.layout-novo .layout-new-division-map .arm { left: 55%; top: 18%; background: #111827; }
body.layout-novo .layout-new-division-map .pe { left: 71%; top: 55%; background: #126fcf; }
body.layout-novo .layout-new-division-map .focus { left: 81%; top: 26%; background: #dc2626; }

body.layout-novo .layout-new-barcode {
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, #15363b 0 3px, transparent 3px 8px),
    #fff;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  font-weight: 950;
  letter-spacing: .08em;
}

body.layout-novo .layout-new-public-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

body.layout-novo .layout-new-public-preview > strong,
body.layout-novo .layout-new-public-preview > span {
  grid-column: 1 / -1;
}

body.layout-novo .layout-new-public-preview div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(8, 125, 114, .08);
}

body.layout-novo .layout-new-config-board {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: start;
}

body.layout-novo .layout-new-config-side {
  display: grid;
  gap: 12px;
}

body.layout-novo .layout-new-config-summary {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 12px;
}

body.layout-novo .layout-new-config-summary .bubble {
  grid-row: span 2;
}

body.layout-novo .layout-new-config-summary small,
body.layout-novo .layout-new-preview-block span,
body.layout-novo .layout-new-preview-block small,
body.layout-novo .layout-new-preview-public-grid span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-edit-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.layout-novo .layout-new-preview-window {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(231, 248, 244, .76));
}

body.layout-novo .layout-new-preview-window > i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 8px 50%, #fb7185 0 4px, transparent 5px),
    radial-gradient(circle at 24px 50%, #facc15 0 4px, transparent 5px),
    radial-gradient(circle at 40px 50%, #22c55e 0 4px, transparent 5px),
    rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-preview-block,
body.layout-novo .layout-new-preview-public-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

body.layout-novo .layout-new-preview-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.layout-novo .layout-new-public-preview b,
body.layout-novo .layout-new-public-preview small {
  display: block;
}

body.layout-novo .layout-new-scanner-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

body.layout-novo .layout-new-scanner-frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 12px solid rgba(8, 125, 114, .22);
  border-radius: 28px;
  background: radial-gradient(circle, #fff, #dff4ef);
  color: var(--ln-teal-dark);
  font-size: 2rem;
  font-weight: 950;
}

body.layout-novo .layout-new-chart-list {
  display: grid;
  gap: 12px;
}

body.layout-novo .layout-new-chart-list div {
  display: grid;
  grid-template-columns: 140px 1fr 70px;
  gap: 12px;
  align-items: center;
}

body.layout-novo .layout-new-chart-list span {
  height: 14px;
  border-radius: 999px;
  background: rgba(9, 45, 50, .12);
  overflow: hidden;
}

body.layout-novo .layout-new-chart-list i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ln-teal), var(--ln-blue));
}

body.layout-novo .layout-new-mock-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

body.layout-novo .layout-new-mock-table th,
body.layout-novo .layout-new-mock-table td {
  padding: 12px;
  border-bottom: 1px solid var(--ln-border);
  background: rgba(255, 255, 255, .72);
  text-align: left;
}

@media (max-width: 1180px) {
  body.layout-novo .layout-new-monitor-shell,
  body.layout-novo .layout-new-monitor-board,
  body.layout-novo .layout-new-territory-layout,
  body.layout-novo .layout-new-territory-picker,
  body.layout-novo .layout-new-split-board,
  body.layout-novo .layout-new-supervision-extra,
  body.layout-novo .layout-new-module-hero,
  body.layout-novo .layout-new-scanner-box {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-monitor-side {
    border-radius: 24px 24px 0 0;
  }

  body.layout-novo .layout-new-monitor-side nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-monitor-side footer,
  body.layout-novo .layout-new-monitor-detail {
    position: static;
  }
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-monitor-kpis,
  body.layout-novo .layout-new-monitor-cards,
  body.layout-novo .layout-new-monitor-side nav,
  body.layout-novo .layout-new-monitor-metrics,
  body.layout-novo .layout-new-monitor-detail-metrics,
  body.layout-novo .layout-new-monitor-list li,
  body.layout-novo .layout-new-preview-kpis,
  body.layout-novo .layout-new-detail-grid,
  body.layout-novo .layout-new-goals-board,
  body.layout-novo .layout-new-selector-controls,
  body.layout-novo .layout-new-training-guide,
  body.layout-novo .layout-new-map-layer-panel > div,
  body.layout-novo .layout-new-layer-admin-head,
  body.layout-novo .layout-new-layer-control-grid,
  body.layout-novo .layout-new-property-legend,
  body.layout-novo .layout-new-public-preview,
  body.layout-novo .layout-new-chart-list div {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-territory-flow {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-territory-flow span:not(:last-child)::after {
    right: 50%;
    top: calc(100% - 3px);
    transform: translateX(50%) rotate(90deg);
  }

  body.layout-novo .layout-new-real-map-bridge,
  body.layout-novo .layout-new-daily-load-card,
  body.layout-novo .layout-new-context-notice,
  body.layout-novo .layout-new-offline-save {
    grid-template-columns: 1fr;
    align-items: stretch;
    flex-direction: column;
  }

  body.layout-novo .layout-new-real-map-bridge button,
  body.layout-novo .layout-new-daily-load-card button,
  body.layout-novo .layout-new-offline-save button {
    width: 100%;
  }

  body.layout-novo .layout-new-preview-panel > .layout-new-panel-head {
    align-items: stretch;
  }

  body.layout-novo .layout-new-action-strip.is-compact {
    justify-content: stretch;
  }

  body.layout-novo .layout-new-action-strip.is-compact button {
    width: 100%;
  }

  body.layout-novo .layout-new-map-mock {
    min-height: 420px;
    margin-top: 10px;
    box-shadow: 0 18px 44px rgba(9, 45, 50, .14);
  }

  body.layout-novo .layout-new-map-label {
    max-width: calc(100% - 140px);
    white-space: normal;
  }

  body.layout-novo .layout-new-map-toolbar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 18px;
  }

  body.layout-novo .layout-new-block-chip-grid {
    max-height: 180px;
  }

  body.layout-novo .layout-new-monitor-head,
  body.layout-novo .layout-new-monitor-card-head,
  body.layout-novo .layout-new-monitor-detail-head {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Ponte visual da prévia aprovada: o layout=novo usa estas classes,
   enquanto as regras reais continuam nos módulos antigos. */
body.layout-novo .layout-new-shell .app-frame {
  display: grid;
  gap: 18px;
  width: min(1540px, calc(100% - 28px));
  margin: 0 auto;
}

body.layout-novo .layout-new-shell .app-top {
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(380px, 1.8fr) minmax(230px, .8fr);
  gap: 14px;
  align-items: center;
}

body.layout-novo .layout-new-shell .brand,
body.layout-novo .layout-new-shell .top-chip,
body.layout-novo .layout-new-shell .top-action,
body.layout-novo .layout-new-shell .user-box,
body.layout-novo .layout-new-shell .nav,
body.layout-novo .layout-new-shell .card,
body.layout-novo .layout-new-shell .panel,
body.layout-novo .layout-new-shell .quick-card,
body.layout-novo .layout-new-shell .service-tile,
body.layout-novo .layout-new-shell .summary-line {
  border: 1px solid rgba(4, 111, 102, .18);
  background: var(--layout-card);
  box-shadow: var(--layout-shadow-soft);
}

body.layout-novo .layout-new-shell .brand {
  min-height: 78px;
  padding: 12px 16px;
  border-radius: 22px;
  display: flex;
  gap: 13px;
  align-items: center;
}

body.layout-novo .layout-new-shell .brand .logo {
  width: 72px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.layout-novo .layout-new-shell .brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.layout-novo .layout-new-shell .brand small,
body.layout-novo .layout-new-shell small,
body.layout-novo .layout-new-shell .muted,
body.layout-novo .layout-new-shell .service-tile small,
body.layout-novo .layout-new-shell .quick-card small {
  color: var(--muted);
}

body.layout-novo .layout-new-shell .brand strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1;
}

body.layout-novo .layout-new-shell .brand small {
  display: block;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.layout-novo .layout-new-shell .top-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

body.layout-novo .layout-new-shell .top-chip,
body.layout-novo .layout-new-shell .top-action {
  min-height: 54px;
  border-radius: 14px;
  padding: 9px 13px;
  color: var(--text);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

body.layout-novo .layout-new-shell .top-chip {
  position: relative;
  cursor: default;
}

body.layout-novo .layout-new-shell .top-chip strong {
  display: block;
  color: var(--text);
}

body.layout-novo .layout-new-shell .top-chip-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

body.layout-novo .layout-new-shell .top-action {
  border: 1px solid rgba(4, 111, 102, .22);
  appearance: none;
  justify-content: center;
  line-height: 1.05;
}

body.layout-novo .layout-new-shell .top-action.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

body.layout-novo .layout-new-shell .user-box {
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body.layout-novo .layout-new-shell .avatar,
body.layout-novo .layout-new-shell .bubble {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(4, 111, 102, .12);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-weight: 950;
}

body.layout-novo .layout-new-shell .bubble.blue {
  background: rgba(23, 106, 203, .14);
}

body.layout-novo .layout-new-shell .bubble.orange {
  background: rgba(255, 122, 24, .16);
}

body.layout-novo .layout-new-shell .icon-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--primary-dark);
  font-weight: 900;
}

body.layout-novo .layout-new-shell .icon-button.is-plain {
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

body.layout-novo .layout-new-shell .nav {
  display: grid;
  grid-template-columns: minmax(170px, .9fr) repeat(4, minmax(130px, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
}

body.layout-novo .layout-new-shell .nav button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
  color: var(--text);
  font-weight: 950;
  cursor: pointer;
}

body.layout-novo .layout-new-shell .nav button.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 16px 34px rgba(4, 111, 102, .22);
}

body.layout-novo .layout-new-shell .nav .back {
  color: var(--primary-dark);
  background: rgba(245, 252, 250, .86);
}

body.layout-novo .layout-new-shell .stats {
  display: grid;
  grid-template-columns: minmax(290px, 1.05fr) repeat(3, minmax(230px, 1fr));
  gap: 14px;
}

body.layout-novo .layout-new-training {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px dashed rgba(4, 111, 102, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 12px 28px rgba(9, 45, 50, .06);
}

body.layout-novo .layout-new-training.is-active {
  background: linear-gradient(135deg, rgba(236, 253, 249, .95), rgba(255, 247, 237, .8));
  border-style: solid;
}

body.layout-novo .layout-new-training strong,
body.layout-novo .layout-new-training span {
  display: block;
}

body.layout-novo .layout-new-training strong {
  color: var(--ln-text);
}

body.layout-novo .layout-new-training span {
  color: var(--ln-muted);
}

body.layout-novo .layout-new-training button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--ln-teal-dark);
  font-weight: 900;
  cursor: pointer;
}

body.layout-novo .layout-new-training-guide {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(236, 253, 249, .94), rgba(255, 247, 237, .82));
  box-shadow: 0 14px 30px rgba(9, 45, 50, .08);
}

body.layout-novo .layout-new-training-guide strong,
body.layout-novo .layout-new-training-guide span {
  display: block;
}

body.layout-novo .layout-new-training-guide strong {
  color: #063236;
  font-size: 1rem;
}

body.layout-novo .layout-new-training-guide span {
  margin-top: 4px;
  color: rgba(8, 51, 57, .72);
}

body.layout-novo .layout-new-training-guide ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #082f32;
  font-weight: 850;
}

body.layout-novo .layout-new-guided-training {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(245, 252, 250, .96), rgba(221, 240, 235, .92)),
    radial-gradient(circle at 100% 0%, rgba(4, 111, 102, .14), transparent 18rem);
}

body.layout-novo .layout-new-training-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.layout-novo .layout-new-training-pill {
  flex: 0 0 auto;
  min-width: 122px;
  padding: 8px 11px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #062f34 !important;
  font-weight: 950;
  text-align: center;
}

body.layout-novo .layout-new-training-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 51, 57, .12);
}

body.layout-novo .layout-new-training-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087d72, #4de0ce);
  box-shadow: 0 0 18px rgba(4, 111, 102, .26);
}

body.layout-novo .layout-new-training-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

body.layout-novo .layout-new-training-context article {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .70);
}

body.layout-novo .layout-new-training-context article.is-wide {
  grid-column: 1 / -1;
  min-height: 0;
  background: rgba(227, 247, 242, .82);
}

body.layout-novo .layout-new-training-context strong,
body.layout-novo .layout-new-training-context span {
  display: block;
  margin: 0;
}

body.layout-novo .layout-new-training-context strong {
  color: #062f34;
  font-size: .83rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.layout-novo .layout-new-training-context span {
  margin-top: 5px;
  color: rgba(8, 51, 57, .78);
  font-size: .9rem;
  line-height: 1.38;
}

body.layout-novo .layout-new-training-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

body.layout-novo .layout-new-training-step-number {
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #087d72;
  color: white !important;
  font-size: 1.15rem;
  font-weight: 950;
}

body.layout-novo .layout-new-training-step small,
body.layout-novo .layout-new-training-step h4,
body.layout-novo .layout-new-training-step p {
  display: block;
  margin: 0;
}

body.layout-novo .layout-new-training-step h4 {
  margin-top: 3px;
  color: #062f34;
  font-size: 1.08rem;
}

body.layout-novo .layout-new-training-step p {
  margin-top: 5px;
  color: rgba(8, 51, 57, .78);
  line-height: 1.45;
}

body.layout-novo .layout-new-training-step button,
body.layout-novo .layout-new-training-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: #062f34;
  font-weight: 950;
  cursor: pointer;
}

body.layout-novo .layout-new-training-step button {
  margin-top: 10px;
  background: #087d72;
  color: white;
}

body.layout-novo .layout-new-training-checklist {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px !important;
  padding: 0 !important;
  list-style: none;
}

body.layout-novo .layout-new-training-checklist li {
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
  color: #062f34;
}

body.layout-novo .layout-new-training-checklist li button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

body.layout-novo .layout-new-training-checklist li button:hover,
body.layout-novo .layout-new-training-checklist li button:focus-visible {
  outline: 2px solid rgba(4, 111, 102, .35);
  outline-offset: 2px;
  background: rgba(255, 255, 255, .55);
}

body.layout-novo .layout-new-training-checklist li span {
  grid-row: span 2;
  display: grid !important;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 999px;
  background: rgba(4, 111, 102, .12);
  color: #062f34;
  font-size: .78rem;
  font-weight: 950;
}

body.layout-novo .layout-new-training-checklist li small {
  color: rgba(8, 51, 57, .62);
  font-size: .75rem;
  font-weight: 800;
}

body.layout-novo .layout-new-training-checklist li.is-current {
  border-color: rgba(4, 111, 102, .44);
  background: rgba(208, 243, 235, .82);
}

body.layout-novo .layout-new-training-checklist li.is-done {
  border-color: rgba(22, 163, 74, .28);
  background: rgba(220, 252, 231, .74);
}

body.layout-novo .layout-new-training-checklist li.is-done span::before {
  content: "✓";
  color: #166534;
}

body.layout-novo .layout-new-training-checklist li.is-done span {
  color: transparent;
}

body.layout-novo .layout-new-training-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.layout-novo .layout-new-training-actions button:nth-child(2),
body.layout-novo .layout-new-training-actions button:nth-child(3) {
  background: #087d72;
  color: white;
}

body.layout-novo .layout-new-training-actions button:nth-child(4) {
  color: #9f1239;
  background: #fff1f2;
}

body.layout-novo .layout-new-training-overview {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(4, 111, 102, .20);
  border-radius: 20px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 12px 28px rgba(9, 45, 50, .07);
}

body.layout-novo .layout-new-training-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

body.layout-novo .layout-new-training-overview-head strong,
body.layout-novo .layout-new-training-overview-head span {
  display: block;
}

body.layout-novo .layout-new-training-overview-head strong {
  color: #062f34;
  font-size: 1rem;
}

body.layout-novo .layout-new-training-overview-head div span {
  margin-top: 4px;
  color: rgba(8, 51, 57, .72);
}

body.layout-novo .layout-new-training-overview-head > span {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(208, 243, 235, .84);
  color: #062f34;
  font-weight: 950;
}

body.layout-novo .layout-new-training-overview-bar,
body.layout-novo .layout-new-training-overview-grid button i {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 51, 57, .12);
}

body.layout-novo .layout-new-training-overview-bar {
  height: 11px;
}

body.layout-novo .layout-new-training-overview-bar i,
body.layout-novo .layout-new-training-overview-grid button i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087d72, #4de0ce);
}

body.layout-novo .layout-new-training-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-training-overview-grid button {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 15px;
  background: rgba(248, 252, 251, .86);
  color: #062f34;
  text-align: left;
  cursor: pointer;
}

body.layout-novo .layout-new-training-overview-grid button strong,
body.layout-novo .layout-new-training-overview-grid button span {
  display: block;
}

body.layout-novo .layout-new-training-overview-grid button span {
  color: rgba(8, 51, 57, .72);
  font-weight: 850;
}

body.layout-novo .layout-new-training-overview-grid button i {
  height: 7px;
}

body.layout-novo .layout-new-shell .card {
  min-height: 132px;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

body.layout-novo .layout-new-shell .card .value {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2.3rem);
  line-height: 1.1;
}

body.layout-novo .layout-new-shell .watermark {
  color: rgba(4, 111, 102, .08);
  font-size: 4rem;
  font-weight: 950;
}

body.layout-novo .layout-new-shell .main-grid,
body.layout-novo .layout-new-shell .bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .95fr);
  gap: 16px;
}

body.layout-novo .layout-new-shell .panel {
  border-radius: 18px;
  padding: var(--panel-padding);
}

body.layout-novo .layout-new-shell .panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

body.layout-novo .layout-new-shell .panel-head h3 {
  color: var(--text);
  margin: 0 0 4px;
}

body.layout-novo .layout-new-shell .quick-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.layout-novo .layout-new-shell .quick-card,
body.layout-novo .layout-new-shell .summary-line {
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

body.layout-novo .layout-new-shell .quick-card {
  cursor: default;
  min-height: 88px;
  position: relative;
}

body.layout-novo .layout-new-shell .quick-card[data-layout-page],
body.layout-novo .layout-new-shell .service-tile[data-layout-page] {
  cursor: pointer;
}

body.layout-novo .layout-new-shell .quick-card[data-layout-page]:hover,
body.layout-novo .layout-new-shell .service-tile[data-layout-page]:hover {
  border-color: rgba(4, 111, 102, .32);
  box-shadow: 0 18px 42px rgba(9, 45, 50, .12);
  transform: translateY(-1px);
}

body.layout-novo .layout-new-shell .quick-card.dashed {
  border-style: dashed;
}

body.layout-novo .layout-new-shell .summary-line {
  width: 100%;
  margin-top: 16px;
  min-height: 64px;
}

body.layout-novo .layout-new-shell .service-grid,
body.layout-novo .layout-new-shell .service-grid-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.layout-novo .layout-new-shell .service-grid-full {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.layout-novo .layout-new-shell .service-tile {
  position: relative;
  min-height: 104px;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  text-align: left;
  color: var(--text);
  cursor: default;
}

body.layout-novo .layout-new-shell .quick-card > span:first-child,
body.layout-novo .layout-new-shell .service-tile > span:first-child {
  min-width: 0;
  padding-right: 42px;
}

body.layout-novo .layout-new-shell .service-tile.is-compact {
  min-height: 104px;
  align-items: center;
}

body.layout-novo .layout-new-shell .service-tile em {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 950;
  font-style: normal;
}

body.layout-novo .layout-new-shell .card-info-menu {
  margin-left: auto;
  position: relative;
  z-index: 3;
}

body.layout-novo .layout-new-shell .card-info-menu summary {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: var(--primary-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 950;
  list-style: none;
}

body.layout-novo .layout-new-shell .card-info-menu summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-shell .card-info-menu small {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(260px, 72vw);
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 14px;
  background: rgba(248, 255, 253, .98);
  box-shadow: 0 18px 36px rgba(9, 45, 50, .16);
  color: #355b60;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 10px 12px;
  white-space: normal;
}

body.layout-novo .layout-new-shell .card-open-action {
  position: absolute;
  right: 12px;
  bottom: 10px;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 950;
  padding: 4px 0;
}

body.layout-novo .layout-new-shell .quick-card .card-open-action {
  right: 14px;
}

body.layout-novo .layout-new-shell .tabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 14px;
}

body.layout-novo .layout-new-shell .tabs span,
body.layout-novo .layout-new-shell .tag {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--text);
  font-weight: 900;
}

body.layout-novo .layout-new-shell .tabs span.active {
  background: var(--primary);
  color: #fff;
}


body.layout-novo .layout-new-shell .layout-new-field-today {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0 12px;
  border: 1px solid rgba(0, 128, 128, .18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .7);
  color: var(--text);
  font-weight: 900;
}

body.layout-novo .layout-new-shell .layout-new-field-today span {
  color: var(--muted);
  font-size: .86rem;
  text-align: right;
}

body.layout-novo .layout-new-shell .pending-card.is-field-primary {
  padding: 14px;
}

body.layout-novo .layout-new-shell .layout-new-operational-queue.is-secondary-field-queue {
  margin-top: 10px;
}

body.layout-novo .layout-new-shell .pending-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(202, 87, 10, .26);
  border-left: 4px solid #fb923c;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 247, 237, .72);
}

body.layout-novo .layout-new-shell .layout-new-operational-queue {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

body.layout-novo .layout-new-shell .layout-new-operational-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: .88rem;
}

body.layout-novo .layout-new-shell .layout-new-operational-head strong {
  color: var(--text);
}

body.layout-novo .layout-new-shell .layout-new-operational-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  border: 1px solid rgba(4, 111, 102, .16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, .66);
  cursor: pointer;
}

body.layout-novo .layout-new-shell .layout-new-operational-item.is-danger {
  border-color: rgba(220, 38, 38, .22);
  border-left: 4px solid #dc2626;
  background: rgba(254, 242, 242, .72);
}

body.layout-novo .layout-new-shell .layout-new-operational-item strong,
body.layout-novo .layout-new-shell .layout-new-operational-item span,
body.layout-novo .layout-new-shell .layout-new-operational-item small {
  display: block;
}

body.layout-novo .layout-new-shell .layout-new-operational-item span,
body.layout-novo .layout-new-shell .layout-new-operational-item small {
  color: var(--muted);
}

body.layout-novo .layout-new-shell .layout-new-operational-item em {
  justify-self: end;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(4, 111, 102, .10);
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

body.layout-novo .layout-new-shell .layout-new-operational-item.is-danger em {
  background: rgba(220, 38, 38, .10);
  color: #b91c1c;
}

body.layout-novo .layout-new-shell .layout-new-operational-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.layout-novo .layout-new-shell .layout-new-operational-actions button {
  min-height: 34px;
  padding: 8px 12px;
}

body.layout-novo .layout-new-shell [data-layout-complaint-id] {
  cursor: pointer;
}

body.layout-novo .layout-new-shell [data-layout-complaint-id]:hover {
  border-color: rgba(4, 111, 102, .38);
  box-shadow: 0 12px 26px rgba(8, 51, 57, .12);
}

body.layout-novo .layout-new-shell .mini-summary {
  display: grid;
  gap: 10px;
}

body.layout-novo .layout-new-shell .mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(4, 111, 102, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .60);
}

body.layout-novo.layout-real-module-open .topbar,
body.layout-novo.layout-real-module-open .nav-strip {
  display: none !important;
}

body.layout-novo.layout-real-module-open main {
  display: block !important;
  width: min(1540px, calc(100% - 28px));
  margin: 0 auto 28px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 22px;
  background: rgba(246, 252, 250, .78);
  box-shadow: var(--layout-shadow-soft);
  padding: 16px;
}

body.layout-novo.layout-real-module-open main > .view {
  border-radius: 18px;
  overflow: hidden;
}

body.layout-novo .layout-new-real-bridge {
  position: fixed;
  z-index: 99980;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  background: rgba(246, 252, 250, .94);
  box-shadow: 0 18px 45px rgba(8, 51, 57, .22);
  backdrop-filter: blur(10px);
}

body.layout-novo .layout-new-real-bridge button {
  min-height: 38px;
  border: 1px solid rgba(4, 111, 102, .22);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

body.layout-novo .layout-new-real-bridge button:last-child {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

body.layout-novo .layout-new-shell .layout-new-page-legacy-host {
  display: block;
}

body.layout-novo .layout-new-shell .layout-new-legacy-host {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(240, 253, 250, .96), rgba(219, 237, 233, .90));
}

body.layout-novo .layout-new-shell .layout-new-legacy-host h3 {
  margin: 3px 0;
  color: var(--text);
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
}

body.layout-novo .layout-new-shell .layout-new-legacy-host p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

body.layout-novo .layout-new-shell .layout-new-legacy-host small {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.layout-novo .layout-new-shell .layout-new-legacy-host .layout-new-module-actions {
  flex: 0 0 auto;
}

body.layout-novo .layout-new-scope-panel {
  margin-top: 18px;
}

body.layout-novo .layout-new-scope-grid,
body.layout-novo .layout-new-idea-strip {
  display: grid;
  gap: 12px;
}

body.layout-novo .layout-new-scope-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.layout-novo .layout-new-scope-grid article,
body.layout-novo .layout-new-idea-strip span {
  border: 1px solid rgba(8, 125, 114, .20);
  border-radius: 18px;
  background: rgba(255, 255, 255, .70);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

body.layout-novo .layout-new-scope-grid article {
  padding: 16px;
}

body.layout-novo .layout-new-scope-grid strong,
body.layout-novo .layout-new-scope-grid span {
  display: block;
  color: var(--text);
}

body.layout-novo .layout-new-scope-grid strong {
  font-size: 1rem;
  margin-bottom: 6px;
}

body.layout-novo .layout-new-scope-grid span {
  color: var(--muted);
  line-height: 1.45;
}

body.layout-novo .layout-new-idea-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0;
}

body.layout-novo .layout-new-idea-strip span {
  padding: 12px 14px;
  text-align: center;
  color: var(--primary);
  font-weight: 900;
}

body.layout-novo .layout-new-services-hero {
  background:
    radial-gradient(circle at top left, rgba(32, 178, 164, .16), transparent 42%),
    rgba(255, 255, 255, .72);
}

body.layout-novo .layout-new-supervision-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

body.layout-novo .layout-new-supervision-extra article {
  border: 1px solid rgba(8, 125, 114, .22);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .72);
}

body.layout-novo .layout-new-supervision-extra strong,
body.layout-novo .layout-new-supervision-extra span {
  display: block;
}

body.layout-novo .layout-new-supervision-extra strong {
  color: var(--text);
  margin-bottom: 6px;
}

body.layout-novo .layout-new-supervision-extra span {
  color: var(--muted);
  line-height: 1.45;
}

body.layout-novo .layout-new-supervision-extra button {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1180px) {
  body.layout-novo .layout-new-shell .app-top,
  body.layout-novo .layout-new-shell .stats,
  body.layout-novo .layout-new-shell .main-grid,
  body.layout-novo .layout-new-shell .bottom-grid {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-shell .top-actions,
  body.layout-novo .layout-new-shell .user-box {
    justify-content: flex-start;
  }

  body.layout-novo .layout-new-shell .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-scope-grid,
  body.layout-novo .layout-new-idea-strip,
  body.layout-novo .layout-new-supervision-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-shell .quick-layout,
  body.layout-novo .layout-new-shell .service-grid,
  body.layout-novo .layout-new-shell .service-grid-full,
  body.layout-novo .layout-new-shell .pending-card,
  body.layout-novo .layout-new-shell .layout-new-operational-item {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-shell .app-frame {
    gap: 12px;
  }

  body.layout-novo .layout-new-map-mock {
    min-height: min(72vh, 620px);
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen {
    min-height: 100dvh;
    height: 100dvh;
    touch-action: pan-x pan-y;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .layout-new-map-fullscreen-button {
    right: 12px;
    top: 12px;
    padding: 12px 14px;
    font-size: .92rem;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .layout-new-map-label {
    font-size: .92rem;
    padding: 10px 12px;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .street {
    font-size: .84rem;
    padding: 5px 9px;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .home-dot {
    width: 42px;
    height: 42px;
    font-size: .78rem;
    border-radius: 14px;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .marker {
    min-width: 46px;
    height: 46px;
    font-size: .88rem;
  }

  body.layout-novo .layout-new-map-mock.is-fullscreen .layout-new-map-toolbar {
    left: 10px;
    right: 10px;
    bottom: 76px;
  }

  body.layout-novo .layout-new-map-svg .map-street-label {
    font-size: 28px;
  }

  body.layout-novo .layout-new-scope-grid,
  body.layout-novo .layout-new-idea-strip,
  body.layout-novo .layout-new-supervision-extra {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-training,
  body.layout-novo .layout-new-training-guide-head,
  body.layout-novo .layout-new-training-actions,
  body.layout-novo .layout-new-training-overview-head {
    align-items: stretch;
    flex-direction: column;
  }

  body.layout-novo .layout-new-training-guide {
    padding: 14px;
  }

  body.layout-novo .layout-new-training-step {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-training-context {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-training-step-number {
    width: 38px;
    height: 38px;
  }

  body.layout-novo .layout-new-training-checklist {
    grid-template-columns: 1fr !important;
  }

  body.layout-novo .layout-new-training-overview-grid {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-training-step button,
  body.layout-novo .layout-new-training-actions button,
  body.layout-novo .layout-new-training button,
  body.layout-novo .layout-new-training-overview-grid button {
    width: 100%;
    min-height: 44px;
  }
}

@media screen and (max-width: 760px) {
  body.layout-novo .global-training-banner.training-hint {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  body.layout-novo .global-training-banner.training-hint strong {
    margin: 0;
    font-size: .9rem;
    line-height: 1.1;
  }

  body.layout-novo .global-training-banner.training-hint strong::before {
    content: '🎓';
    margin-right: 6px;
  }

  body.layout-novo .global-training-banner.training-hint p,
  body.layout-novo .global-training-banner.training-hint span {
    display: none;
  }

  body.layout-novo .global-training-banner.training-hint strong {
    width: auto;
  }

  body.layout-novo .layout-new-shell .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
  }

  body.layout-novo .layout-new-shell .nav button {
    min-height: 44px;
    padding: 7px 8px;
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1.1;
  }

  body.layout-novo .layout-new-shell .app-top {
    gap: 8px;
  }

  body.layout-novo .layout-new-shell .brand {
    min-height: 62px;
    padding: 9px 11px;
    gap: 10px;
    border-radius: 16px;
  }

  body.layout-novo .layout-new-shell .brand .logo {
    width: 54px;
    height: 44px;
  }

  body.layout-novo .layout-new-shell .brand strong {
    font-size: 1.2rem;
    line-height: 1.08;
  }

  body.layout-novo .layout-new-shell .brand small {
    font-size: .68rem;
    line-height: 1.05;
  }

  body.layout-novo .layout-new-shell .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body.layout-novo .layout-new-shell .top-chip,
  body.layout-novo .layout-new-shell .top-action {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 7px 9px;
    border-radius: 13px;
    line-height: 1.08;
    white-space: normal;
  }

  body.layout-novo .layout-new-shell .top-chip:first-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body.layout-novo .layout-new-shell .top-chip small,
  body.layout-novo .layout-new-shell .top-chip strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.layout-novo .layout-new-shell .top-action.primary {
    min-height: 48px;
  }

  body.layout-novo .layout-new-shell .user-box {
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 16px;
    justify-content: flex-start;
  }

  body.layout-novo .layout-new-shell .avatar {
    width: 42px;
    height: 42px;
  }

  body.layout-novo.layout-real-module-open main {
    width: calc(100% - 16px);
    margin: 0 auto 16px;
    padding: 10px;
    border-radius: 18px;
  }

  body.layout-novo.layout-real-module-open main > .view {
    border-radius: 16px;
  }

  body.layout-novo .layout-new-shell .layout-new-page-legacy-host {
    display: grid;
    gap: 10px;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host h3 {
    margin: 2px 0;
    font-size: 1.18rem;
    line-height: 1.12;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host p {
    max-width: none;
    font-size: .92rem;
    line-height: 1.35;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host small {
    font-size: .72rem;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host .layout-new-module-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  body.layout-novo .layout-new-shell .layout-new-legacy-host .layout-new-module-actions button {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    white-space: normal;
  }
}

@media screen and (max-width: 430px) {
  body.layout-novo .layout-new-shell .layout-new-legacy-host .layout-new-module-actions {
    grid-template-columns: 1fr;
  }
}

body.layout-novo .voice-field-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.layout-novo .voice-field-actions .voice-dictation-trigger {
  min-height: 42px;
  padding: 9px 14px;
  border-color: rgba(8, 127, 120, .26);
  background: linear-gradient(135deg, #eefaf7, #ffffff);
  color: #075f59;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 127, 120, .08);
}

body.layout-novo .voice-field-actions small {
  color: #5f7470;
  line-height: 1.25;
}

body.layout-novo .voice-meeting-panel {
  display: grid;
  gap: 4px;
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 127, 120, .22);
  border-left: 5px solid #087f78;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8fbf6, #ffffff);
  color: #17312f;
}

body.layout-novo .voice-meeting-panel strong {
  color: #003f3b;
  font-size: .98rem;
}

body.layout-novo .voice-meeting-panel span {
  color: #526b67;
  font-size: .88rem;
  line-height: 1.35;
}

body.layout-novo .property-consult-note {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid rgba(8, 127, 120, .18);
  border-radius: 14px;
  background: #eefaf7;
  color: #17312f;
}

body.layout-novo .property-consult-note strong {
  color: #003f3b;
}

body.layout-novo .property-consult-note span {
  color: #526b67;
  font-size: .88rem;
  line-height: 1.35;
}

body.layout-novo .supervision-report-template-panel .open-meeting-voice {
  width: fit-content;
  min-height: 44px;
  margin-top: 2px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(8, 127, 120, .16);
}

body.layout-novo .voice-assistant-dialog {
  width: min(540px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  padding: 0;
  border: 1px solid rgba(8, 127, 120, .24);
  border-radius: 22px;
  background: #f8fffd;
  color: #17312f;
  box-shadow: 0 28px 80px rgba(9, 40, 37, .28);
}

body.layout-novo .voice-assistant-dialog::backdrop {
  background: rgba(5, 34, 31, .58);
  backdrop-filter: blur(3px);
}

body.layout-novo .voice-assistant-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

body.layout-novo .voice-assistant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.layout-novo .voice-assistant-head > div {
  display: grid;
  gap: 2px;
}

body.layout-novo .voice-assistant-head strong {
  color: #003f3b;
  font-size: 1.1rem;
}

body.layout-novo .voice-assistant-head span {
  color: #5f7470;
  font-size: .86rem;
  line-height: 1.25;
}

body.layout-novo .voice-assistant-status,
body.layout-novo .voice-assistant-preview {
  padding: 10px 12px;
  border: 1px solid rgba(8, 127, 120, .16);
  border-radius: 14px;
  background: #eefaf7;
  color: #0a4d48;
  font-size: .92rem;
  line-height: 1.35;
}

body.layout-novo .voice-assistant-preview ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

body.layout-novo .voice-assistant-preview p {
  margin: 6px 0 0;
}

body.layout-novo .voice-assistant-dialog textarea {
  min-height: 140px;
  width: 100%;
  resize: vertical;
}

body.layout-novo .voice-assistant-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.layout-novo .voice-assistant-actions button {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

body.layout-novo .layout-new-territory-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .72fr);
}

body.layout-novo .layout-new-map-mock {
  min-height: clamp(560px, 64vh, 780px);
}

body.layout-novo .layout-new-map-stage.is-real-map .layout-new-map-svg .map-street-label {
  display: none;
}

@media (max-width: 1180px) {
  body.layout-novo .layout-new-territory-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.layout-novo .layout-new-map-mock {
    min-height: min(72vh, 700px);
  }
}

@media screen and (max-width: 760px) {
  body.layout-novo {
    overflow-x: clip;
  }

  body.layout-novo .shell {
    width: 100%;
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
    overflow-x: clip;
  }

  body.layout-novo .layout-new-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body.layout-novo .layout-new-shell .app-frame {
    width: 100%;
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
    overflow-x: clip;
  }

  body.layout-novo .layout-new-page,
  body.layout-novo .layout-new-module-page,
  body.layout-novo .layout-new-panel,
  body.layout-novo .layout-new-module-hero,
  body.layout-novo .layout-new-preview-panel,
  body.layout-novo .layout-new-territory-selector,
  body.layout-novo .layout-new-selected-summary,
  body.layout-novo .layout-new-map-layer-panel,
  body.layout-novo .layout-new-property-legend {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.layout-novo .layout-new-territory-picker,
  body.layout-novo .layout-new-territory-layout,
  body.layout-novo .layout-new-split-board {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  body.layout-novo .layout-new-map-mock {
    min-height: min(78vh, 660px);
  }

  body.layout-novo .layout-new-selector-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  body.layout-novo .layout-new-selector-controls input,
  body.layout-novo .layout-new-selector-controls select {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    text-overflow: ellipsis;
  }

  body.layout-novo .layout-new-selector-card,
  body.layout-novo .layout-new-selected-summary,
  body.layout-novo .layout-new-map-layer-panel p,
  body.layout-novo .layout-new-map-layer-panel strong,
  body.layout-novo .layout-new-property-legend b,
  body.layout-novo .layout-new-property-legend small {
    overflow-wrap: anywhere;
  }

  body.layout-novo .layout-new-action-strip,
  body.layout-novo .layout-new-action-strip.is-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  body.layout-novo .layout-new-complaint-switch {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-action-strip button,
  body.layout-novo .layout-new-action-strip.is-compact button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    white-space: normal;
    line-height: 1.15;
  }

  body.layout-novo .layout-new-action-strip button:first-child {
    grid-column: 1 / -1;
  }

  body.layout-novo .layout-new-map-layer-panel > div,
  body.layout-novo .layout-new-property-legend {
    grid-template-columns: minmax(0, 1fr);
  }

  body.layout-novo .layout-new-map-layer-panel summary,
  body.layout-novo .layout-new-property-legend summary,
  body.layout-novo details.layout-new-map-layer-panel > summary,
  body.layout-novo details.layout-new-property-legend > summary {
    min-width: 0;
    padding-right: 10px;
    line-height: 1.22;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.layout-novo.layout-real-module-open main > .view > .panel,
  body.layout-novo.layout-real-module-open main > .view > .quick-panel,
  body.layout-novo.layout-real-module-open main > .view > .home-hero,
  body.layout-novo.layout-real-module-open main > .view > .dashboard-territory-details {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
  }

  body.layout-novo.layout-real-module-open .panel-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  body.layout-novo.layout-real-module-open .panel-head h2 {
    margin: 0 0 3px;
    font-size: 1.18rem;
    line-height: 1.15;
  }

  body.layout-novo.layout-real-module-open .panel-head .muted {
    font-size: .92rem;
    line-height: 1.35;
  }

  body.layout-novo.layout-real-module-open .filters,
  body.layout-novo.layout-real-module-open .cascade-actions,
  body.layout-novo.layout-real-module-open .button-row,
  body.layout-novo.layout-real-module-open .property-actions,
  body.layout-novo.layout-real-module-open .scanner-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  body.layout-novo.layout-real-module-open input,
  body.layout-novo.layout-real-module-open select,
  body.layout-novo.layout-real-module-open textarea,
  body.layout-novo.layout-real-module-open button {
    max-width: 100%;
  }

  body.layout-novo.layout-real-module-open .inline-form-card,
  body.layout-novo.layout-real-module-open .nested-panel,
  body.layout-novo.layout-real-module-open .subfolder,
  body.layout-novo.layout-real-module-open .list > article,
  body.layout-novo.layout-real-module-open .list > .item,
  body.layout-novo.layout-real-module-open .neighborhood-card,
  body.layout-novo.layout-real-module-open .block-card,
  body.layout-novo.layout-real-module-open .property-card {
    padding: 12px;
    border-radius: 14px;
  }

  body.layout-novo.layout-real-module-open .metrics,
  body.layout-novo.layout-real-module-open .grid-2,
  body.layout-novo.layout-real-module-open .grid-3,
  body.layout-novo.layout-real-module-open .report-summary-grid,
  body.layout-novo.layout-real-module-open .scanner-overview {
    gap: 10px;
  }

  body.layout-novo.layout-real-module-open #supervisao,
  body.layout-novo.layout-real-module-open #supervisao .supervision-step-card,
  body.layout-novo.layout-real-module-open #supervisao .supervision-report-panel,
  body.layout-novo.layout-real-module-open #supervisao .supervision-report-fields,
  body.layout-novo.layout-real-module-open #supervisao .supervision-report-template-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.layout-novo.layout-real-module-open #supervisao .supervision-route-tabs,
  body.layout-novo.layout-real-module-open #supervisao .supervision-report-section-nav,
  body.layout-novo.layout-real-module-open #supervisao .supervision-report-template-actions {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.layout-novo.layout-real-module-open #supervisao .supervision-route-tabs {
    display: flex;
    flex-wrap: nowrap;
  }

  body.layout-novo.layout-real-module-open #supervisao .supervision-route-tab {
    flex: 0 0 auto;
  }

  body.layout-novo .voice-field-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.layout-novo .voice-field-actions .voice-dictation-trigger {
    width: 100%;
  }

  body.layout-novo .supervision-report-template-panel .open-meeting-voice {
    width: 100%;
  }

  body.layout-novo .voice-assistant-dialog[open] {
    position: fixed;
    inset: auto 8px max(8px, env(safe-area-inset-bottom)) 8px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top));
    margin: 0;
  }

  body.layout-novo .voice-assistant-card {
    padding: 14px;
    max-height: inherit;
    overflow: auto;
  }

  body.layout-novo .voice-assistant-actions {
    grid-template-columns: 1fr;
  }
}

body.layout-novo .layout-new-draw-point-marker {
  display: grid;
  width: 30px !important;
  height: 30px !important;
  margin-left: -15px !important;
  margin-top: -15px !important;
  place-items: center;
  border: 3px solid #064e3b;
  border-radius: 999px;
  background: #ffffff;
  color: #064e3b;
  font-size: .8rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(6, 78, 59, .28);
}

body.layout-novo .layout-new-leaflet-map.is-drawing .layout-new-draw-point-marker {
  cursor: grab;
}

body.layout-novo .layout-new-leaflet-map.is-drawing .layout-new-draw-point-marker:active {
  cursor: grabbing;
}


body.layout-novo .layout-new-leaflet-map .leaflet-tile-pane img {
  image-rendering: auto;
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label {
  padding: 4px 9px;
  border: 1px solid rgba(8, 127, 115, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 18px rgba(15, 118, 110, .14);
  color: #073b3c;
  font-size: .76rem;
  font-weight: 950;
  line-height: 1.1;
  pointer-events: none;
  text-align: center;
}

body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label.is-focus-suggested,
body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label.is-service-suggested {
  border-color: rgba(185, 28, 28, .82);
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .18), 0 10px 22px rgba(127, 29, 29, .28);
  color: #fff;
}

body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label.is-missing {
  border-color: rgba(146, 64, 14, .34);
  border-style: dashed;
  color: #92400e;
}

body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label.is-missing.is-focus-suggested,
body.layout-novo .layout-new-leaflet-map .layout-new-map-permanent-label.is-missing.is-service-suggested {
  border-color: rgba(185, 28, 28, .82);
  border-style: solid;
  color: #fff;
}

body.layout-novo .layout-new-block-missing-marker {
  background: transparent;
  border: 0;
}

body.layout-novo .layout-new-block-missing-marker span,
body.layout-novo .layout-new-block-missing-marker small {
  display: block;
  text-align: center;
  line-height: 1.05;
}

body.layout-novo .layout-new-block-missing-marker span {
  min-width: 78px;
  padding: 7px 10px 3px;
  border: 2px dashed rgba(100, 116, 139, .85);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(248, 250, 252, .95);
  color: #334155;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}

body.layout-novo .layout-new-block-missing-marker small {
  min-width: 78px;
  padding: 2px 10px 6px;
  border: 2px dashed rgba(100, 116, 139, .85);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: rgba(248, 250, 252, .95);
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.layout-novo .layout-new-block-missing-marker.is-focus-suggested span,
body.layout-novo .layout-new-block-missing-marker.is-focus-suggested small,
body.layout-novo .layout-new-block-missing-marker.is-service-suggested span,
body.layout-novo .layout-new-block-missing-marker.is-service-suggested small {
  border-color: rgba(185, 28, 28, .82);
  background: #dc2626;
  color: #fff;
}

body.layout-novo .layout-new-block-missing-marker.is-meta-selected span,
body.layout-novo .layout-new-block-missing-marker.is-meta-selected small {
  border-color: rgba(15, 118, 110, .78);
  background: rgba(204, 251, 241, .97);
  color: #0f766e;
}

body.layout-novo .layout-new-missing-block-control {
  display: grid;
  gap: 6px;
  min-width: 168px;
  max-width: 230px;
  padding: 10px;
  border: 1px solid rgba(100, 116, 139, .32);
  border-radius: 16px;
  background: rgba(248, 250, 252, .94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  color: #334155;
}

body.layout-novo .layout-new-missing-block-control strong {
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.layout-novo .layout-new-missing-block-control button {
  border: 1px dashed rgba(100, 116, 139, .65);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-weight: 950;
}

body.layout-novo .layout-new-missing-block-control small {
  color: #64748b;
  font-size: .7rem;
  font-weight: 900;
}

body.layout-novo .layout-new-map-block-roster-control {
  display: grid;
  gap: 7px;
  width: min(255px, calc(100vw - 104px));
  max-height: min(360px, 48vh);
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(4, 120, 111, .18);
  border-radius: 18px;
  background: rgba(248, 253, 251, .96);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .18);
  color: #063f42;
}

body.layout-novo .layout-new-map-block-roster-control strong,
body.layout-novo .layout-new-map-block-roster-control small,
body.layout-novo .layout-new-map-block-roster-control span,
body.layout-novo .layout-new-map-block-roster-control em {
  display: block;
  line-height: 1.12;
}

body.layout-novo .layout-new-map-block-roster-control strong {
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.layout-novo .layout-new-map-block-roster-control > small {
  color: #52716d;
  font-size: .72rem;
  font-weight: 850;
}

body.layout-novo .layout-new-map-block-roster-control div {
  display: grid;
  gap: 6px;
}

body.layout-novo .layout-new-map-block-roster-control button {
  width: 100%;
  border: 1px solid rgba(4, 120, 111, .14);
  border-radius: 13px;
  background: #fff;
  color: #063f42;
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

body.layout-novo .layout-new-map-block-roster-control button.active {
  border-color: #04786f;
  background: rgba(8, 125, 114, .13);
  box-shadow: inset 0 0 0 1px rgba(4, 111, 102, .24);
}

body.layout-novo .layout-new-map-block-roster-control button.missing-drawing {
  border-style: dashed;
  border-color: rgba(100, 116, 139, .58);
}

body.layout-novo .layout-new-map-block-roster-control button span {
  font-size: .88rem;
  font-weight: 950;
}

body.layout-novo .layout-new-map-block-roster-control button em {
  margin-top: 3px;
  color: #64748b;
  font-size: .72rem;
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 720px) {
  body.layout-novo .layout-new-map-block-roster-control {
    width: min(210px, calc(100vw - 90px));
    max-height: 220px;
    padding: 8px;
  }

  body.layout-novo .layout-new-map-block-roster-control button {
    padding: 7px 8px;
  }
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}


body.layout-novo .layout-new-map-viewport.is-hidden-real-map-fallback {
  display: none !important;
}

body.layout-novo .layout-new-leaflet-map {
  min-height: clamp(460px, 68vh, 760px);
}

body.layout-novo .layout-new-leaflet-map .leaflet-tile {
  max-width: none !important;
}

body.layout-novo .layout-new-leaflet-map .leaflet-tooltip {
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}


body.layout-novo .layout-new-property-popup {
  min-width: 220px;
  color: #073b3c;
}

body.layout-novo .layout-new-property-popup strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

body.layout-novo .layout-new-property-popup p {
  margin: 4px 0;
}

body.layout-novo .layout-new-popup-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 6px;
  font-weight: 800;
  background: #fef3c7;
  color: #92400e;
}

body.layout-novo .layout-new-popup-badge.is-done { background: #d1fae5; color: #047857; }
body.layout-novo .layout-new-popup-badge.is-focus { background: #fee2e2; color: #b91c1c; }
body.layout-novo .layout-new-popup-badge.is-qr { background: #ffedd5; color: #c2410c; }
body.layout-novo .layout-new-popup-badge.is-irregular { background: #fef3c7; color: #92400e; }
body.layout-novo .layout-new-popup-badge.is-focus-suggested { background: #ffedd5; color: #c2410c; }
body.layout-novo .layout-new-popup-badge.is-service-suggested { background: #ffedd5; color: #c2410c; }
body.layout-novo .layout-new-popup-badge.is-meta-selected { background: #ccfbf1; color: #0f766e; }
body.layout-novo .layout-new-popup-badge.is-complaint { background: #fed7aa; color: #9a3412; }
body.layout-novo .layout-new-popup-badge.is-scorpion { background: #fbcfe8; color: #9d174d; }

body.layout-novo .layout-new-map-rg-detail {
  display: grid;
  gap: 6px;
  margin: 9px 0;
  padding: 9px;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 14px;
  background: rgba(240, 253, 250, .72);
}

body.layout-novo .layout-new-map-rg-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

body.layout-novo .layout-new-map-rg-title strong {
  margin: 0;
  font-size: .82rem;
}

body.layout-novo .layout-new-map-rg-title span {
  color: #557577;
  font-size: .68rem;
  font-weight: 850;
  white-space: nowrap;
}

body.layout-novo .layout-new-map-rg-row {
  display: grid;
  grid-template-columns: 30px 76px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 28px;
}

body.layout-novo .layout-new-map-rg-row span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  min-height: 24px;
  border-radius: 9px;
  background: #fff;
  color: #075c55;
  font-size: .72rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .18);
}

body.layout-novo .layout-new-map-rg-row.is-other-quantity span {
  background: #e2e8f0;
  color: #334155;
}

body.layout-novo .layout-new-map-rg-row b,
body.layout-novo .layout-new-map-rg-row em {
  min-width: 0;
  overflow: hidden;
  font-size: .72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-map-rg-row b {
  color: #315b5e;
  font-weight: 950;
}

body.layout-novo .layout-new-map-rg-row em {
  color: #073b3c;
  font-style: normal;
  font-weight: 850;
}

body.layout-novo .layout-new-map-rg-rule {
  margin: 1px 0 3px;
  color: #557577;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
}

body.layout-novo .layout-new-map-rg-units {
  display: grid;
  gap: 5px;
  margin-top: 2px;
}

body.layout-novo .layout-new-map-rg-units > strong {
  margin: 0;
  color: #073b3c;
  font-size: .76rem;
}

body.layout-novo .layout-new-map-rg-units p {
  margin: 0;
  color: #315b5e;
  font-size: .72rem;
  font-weight: 800;
}

body.layout-novo .layout-new-map-rg-floor {
  border: 1px solid rgba(15, 118, 110, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .74);
  overflow: hidden;
}

body.layout-novo .layout-new-map-rg-floor summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 950;
}

body.layout-novo .layout-new-map-rg-floor summary b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 118, 110, .12);
  color: #075c55;
}

body.layout-novo .layout-new-map-rg-floor div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 8px 8px;
}

body.layout-novo .layout-new-map-rg-floor small {
  border-radius: 999px;
  padding: 4px 7px;
  background: #fff;
  color: #073b3c;
  font-size: .68rem;
  font-weight: 850;
}

body.layout-novo .layout-new-property-number-marker {
  background: transparent;
  border: 0;
}

body.layout-novo .layout-new-property-number-marker span {
  align-items: center;
  background: #facc15;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
  color: #082f32;
  display: inline-grid;
  font-size: 12px;
  font-weight: 950;
  gap: 1px;
  justify-content: center;
  line-height: 1.02;
  min-height: 34px;
  min-width: 31px;
  padding: 3px 6px;
  text-align: center;
  white-space: nowrap;
}

body.layout-novo .layout-new-property-number-marker b,
body.layout-novo .layout-new-property-number-marker small,
body.layout-novo .layout-new-property-number-marker i {
  display: block;
  font-style: normal;
  line-height: 1;
}

body.layout-novo .layout-new-property-number-marker b {
  font-size: 12px;
}

body.layout-novo .layout-new-property-number-marker small {
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
  opacity: .82;
}

body.layout-novo .layout-new-property-number-marker i {
  color: #b45309;
  font-size: 9px;
}

body.layout-novo .layout-new-property-number-marker.is-done span {
  background: #22c55e;
  color: #042f2e;
}

body.layout-novo .layout-new-property-number-marker.is-focus span {
  background: #fb7185;
  color: #450a0a;
}

body.layout-novo .layout-new-property-number-marker.is-qr span {
  background: #fb923c;
  color: #431407;
}

body.layout-novo .layout-new-property-number-marker.is-patient span {
  background: #ddd6fe;
  color: #3b0764;
}

body.layout-novo .layout-new-property-number-marker.is-pe span {
  background: #bfdbfe;
  color: #0f376b;
}

body.layout-novo .layout-new-property-number-marker.is-arm span {
  background: #111827;
  color: #fff;
}

body.layout-novo .layout-new-property-number-marker.is-complaint span {
  background: #fb923c;
  color: #431407;
}

body.layout-novo .layout-new-property-number-marker.is-scorpion span {
  background: #db2777;
  color: #fff;
}

body.layout-novo .layout-new-property-number-marker.is-irregular span {
  background: #fde68a;
  border-color: rgba(146, 64, 14, .36);
  color: #78350f;
}

body.layout-novo .layout-new-issue-marker {
  background: transparent;
  border: 0;
}

body.layout-novo .layout-new-issue-marker span {
  align-items: center;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .24);
  display: inline-grid;
  font-size: .78rem;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

body.layout-novo .layout-new-issue-marker.is-complaint span {
  background: #fb923c;
  color: #431407;
}

body.layout-novo .layout-new-issue-marker.is-scorpion span {
  background: #db2777;
  color: #fff;
}

body.layout-novo .layout-new-property-irregular-marker {
  background: transparent;
  border: 0;
  pointer-events: none;
}

body.layout-novo .layout-new-property-irregular-marker span {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(217, 119, 6, .38);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(146, 64, 14, .18);
  display: inline-flex;
  font-size: 17px;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

body.layout-novo .layout-new-popup-pending {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  border: 1px solid rgba(15,118,110,.22);
  border-radius: 14px;
  background: rgba(240,253,250,.9);
  padding: 8px;
  margin-top: 8px;
}

body.layout-novo .layout-new-popup-pending b {
  font-size: .72rem;
  color: #0f766e;
}

body.layout-novo .layout-new-popup-pending span {
  font-size: .78rem;
  color: #315f61;
}

body.layout-novo .layout-new-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

body.layout-novo .layout-new-popup-actions button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #087f73;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

body.layout-novo .layout-new-territory-summary,
body.layout-novo .layout-new-continue-card,
body.layout-novo .layout-new-territory-property-list,
body.layout-novo .layout-new-territory-pending-list {
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,253,245,.86));
  box-shadow: 0 12px 28px rgba(15, 118, 110, .08);
  margin: 10px 0;
  padding: 12px;
}

body.layout-novo .layout-new-territory-side-hint {
  border: 1px dashed rgba(15, 118, 110, .22);
  border-radius: 16px;
  background: rgba(236, 253, 245, .72);
  color: #315b5e;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 10px 0;
  padding: 10px 12px;
}

body.layout-novo .layout-new-territory-side-details {
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(15, 118, 110, .06);
  margin: 10px 0;
  overflow: hidden;
}

body.layout-novo .layout-new-territory-side-details summary {
  align-items: center;
  color: #073b3c;
  cursor: pointer;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  list-style: none;
  min-height: 46px;
  padding: 11px 13px;
}

body.layout-novo .layout-new-territory-side-details summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-territory-side-details summary::after {
  content: '+';
  align-items: center;
  background: rgba(13, 148, 136, .12);
  border-radius: 999px;
  color: #087d72;
  display: inline-flex;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
}

body.layout-novo .layout-new-territory-side-details[open] summary::after {
  content: '-';
}

body.layout-novo .layout-new-territory-side-details summary span {
  font-weight: 950;
  min-width: 0;
}

body.layout-novo .layout-new-territory-side-details summary small {
  color: #5f7b7e;
  font-size: .75rem;
  font-weight: 850;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-side-details-body {
  border-top: 1px solid rgba(15, 118, 110, .10);
  padding: 0 10px 10px;
}

body.layout-novo .layout-new-territory-side-details-body > .layout-new-territory-summary,
body.layout-novo .layout-new-territory-side-details-body > .layout-new-continue-card,
body.layout-novo .layout-new-territory-side-details-body > .layout-new-territory-property-list,
body.layout-novo .layout-new-territory-side-details-body > .layout-new-territory-pending-list,
body.layout-novo .layout-new-territory-side-details-body > .layout-new-block-overview {
  box-shadow: none;
  margin: 10px 0 0;
}

body.layout-novo .layout-new-territory-summary {
  display: grid;
  gap: 12px;
}

body.layout-novo .layout-new-territory-summary small,
body.layout-novo .layout-new-continue-card small {
  display: block;
  color: #0f766e;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

body.layout-novo .layout-new-territory-summary strong,
body.layout-novo .layout-new-continue-card strong,
body.layout-novo .layout-new-territory-pending-head strong {
  display: block;
  color: #073b3c;
  font-size: 1.02rem;
  line-height: 1.15;
}

body.layout-novo .layout-new-territory-summary span,
body.layout-novo .layout-new-continue-card span,
body.layout-novo .layout-new-territory-pending-head span {
  color: #456b6e;
  font-size: .88rem;
  line-height: 1.35;
}

body.layout-novo .layout-new-territory-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 8px;
}

body.layout-novo .layout-new-territory-summary-grid span {
  display: grid;
  gap: 2px;
  padding: 9px 8px;
  border-radius: 14px;
  background: rgba(224, 242, 241, .72);
  text-align: center;
}

body.layout-novo .layout-new-territory-summary-grid b {
  color: #00695c;
  font-size: 1.12rem;
}

body.layout-novo .layout-new-territory-summary-grid em {
  color: #557577;
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
}

body.layout-novo .layout-new-territory-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

body.layout-novo .layout-new-territory-layer-head {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  margin: 10px 0 8px;
}

body.layout-novo .layout-new-territory-layer-head strong {
  color: #073b3c;
  font-weight: 950;
}

body.layout-novo .layout-new-territory-layer-head span {
  color: #557577;
  font-size: .75rem;
  font-weight: 850;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-layer-head button {
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #075c55;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 950;
  min-height: 30px;
  padding: 5px 10px;
}

body.layout-novo .layout-new-territory-filter-row button {
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  color: #074b4c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 38px;
  padding: 7px 10px;
  font-weight: 900;
}

body.layout-novo .layout-new-territory-filter-row button.active {
  background: #087f73;
  border-color: #087f73;
  color: #fff;
}

body.layout-novo .layout-new-territory-filter-row strong {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 118, 110, .12);
  font-size: .76rem;
}

body.layout-novo .layout-new-territory-filter-row button.active strong {
  background: rgba(255,255,255,.22);
}

body.layout-novo .layout-new-territory-quality-row {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, auto);
  gap: 8px;
  margin: 10px 0 0;
  padding: 9px;
  border: 1px dashed rgba(15, 118, 110, .22);
  border-radius: 14px;
  background: rgba(236, 253, 245, .58);
}

body.layout-novo .layout-new-territory-quality-row > strong {
  color: #073b3c;
  font-size: .84rem;
  font-weight: 950;
}

body.layout-novo .layout-new-territory-quality-row span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #315b5e;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-quality-row b,
body.layout-novo .layout-new-territory-quality-row em {
  font-style: normal;
}

body.layout-novo .layout-new-territory-quality-row b {
  color: #087f73;
  font-weight: 950;
}

body.layout-novo .layout-new-continue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-color: rgba(202, 138, 4, .32);
  background: linear-gradient(145deg, #fffbeb, #ecfdf5);
}

body.layout-novo .layout-new-continue-card button {
  border: 0;
  border-radius: 999px;
  background: #ca8a04;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 40px;
  padding: 9px 13px;
}

body.layout-novo .layout-new-territory-pending-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

body.layout-novo .layout-new-territory-pending-item {
  width: 100%;
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 16px;
  background: #fff;
  color: #073b3c;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
  padding: 11px;
  text-align: left;
}

body.layout-novo .layout-new-territory-property-item {
  width: 100%;
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f0fdfa);
  color: #073b3c;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
  padding: 11px;
  text-align: left;
}

body.layout-novo .layout-new-territory-property-item.is-focus { border-color: rgba(185, 28, 28, .26); background: #fff7f7; }
body.layout-novo .layout-new-territory-property-item.is-qr { border-color: rgba(194, 65, 12, .26); background: #fff7ed; }
body.layout-novo .layout-new-territory-property-item.is-done { border-color: rgba(4, 120, 87, .24); background: #f0fdf4; }
body.layout-novo .layout-new-territory-property-item.is-irregular {
  border-color: rgba(217, 119, 6, .34);
  background: linear-gradient(135deg, #fffdf2, #fffbeb);
}

body.layout-novo .layout-new-inline-action {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #087f73, #0f766e);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .18);
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: 950;
  margin: 10px 0 8px;
  min-height: 42px;
  padding: 10px 14px;
  width: 100%;
}

body.layout-novo .layout-new-territory-property-item b,
body.layout-novo .layout-new-territory-property-item em,
body.layout-novo .layout-new-territory-property-item small {
  display: block;
  line-height: 1.28;
}

body.layout-novo .layout-new-territory-property-item b {
  color: #073b3c;
  font-size: .94rem;
}

body.layout-novo .layout-new-territory-property-item em {
  color: #0f766e;
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  margin-top: 2px;
}

body.layout-novo .layout-new-territory-property-item small {
  color: #607679;
  font-size: .78rem;
  margin-top: 4px;
}

body.layout-novo .layout-new-territory-property-item > strong {
  align-self: center;
  background: rgba(8, 127, 115, .1);
  border-radius: 999px;
  color: #087f73;
  padding: 7px 10px;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-property-empty-actions {
  display: grid;
  gap: 8px;
}

body.layout-novo .layout-new-territory-property-empty-actions > span,
body.layout-novo .layout-new-territory-property-empty-note,
body.layout-novo .layout-new-territory-property-more {
  color: #456b6e;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
}

body.layout-novo .layout-new-territory-property-empty-actions button {
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: #074b4c;
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 10px;
  text-align: left;
}

body.layout-novo .layout-new-territory-pending-item.is-focus { border-color: rgba(185, 28, 28, .28); background: #fff7f7; }
body.layout-novo .layout-new-territory-pending-item.is-qr { border-color: rgba(194, 65, 12, .28); background: #fff7ed; }
body.layout-novo .layout-new-territory-pending-item.is-done { border-color: rgba(4, 120, 87, .22); background: #f0fdf4; }
body.layout-novo .layout-new-territory-pending-item.is-irregular {
  border-color: rgba(217, 119, 6, .36);
  background: #fffbeb;
}

body.layout-novo .layout-new-territory-property-item.is-irregular b::before,
body.layout-novo .layout-new-territory-pending-item.is-irregular b::before {
  content: "\26A0\FE0F  ";
}

body.layout-novo .layout-new-territory-pending-item b,
body.layout-novo .layout-new-territory-pending-item em,
body.layout-novo .layout-new-territory-pending-item small {
  display: block;
  line-height: 1.28;
}

body.layout-novo .layout-new-territory-pending-item b {
  font-size: .94rem;
}

body.layout-novo .layout-new-territory-pending-item em {
  color: #0f766e;
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  margin-top: 2px;
}

body.layout-novo .layout-new-territory-pending-item small {
  color: #607679;
  font-size: .78rem;
  margin-top: 4px;
}

body.layout-novo .layout-new-territory-pending-item > strong {
  align-self: center;
  background: rgba(8, 127, 115, .1);
  border-radius: 999px;
  color: #087f73;
  padding: 7px 10px;
  white-space: nowrap;
}

body.layout-novo .layout-new-territory-pending-list.is-empty {
  color: #456b6e;
  display: grid;
  gap: 3px;
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-territory-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-territory-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.layout-novo .layout-new-continue-card,
  body.layout-novo .layout-new-territory-property-item,
  body.layout-novo .layout-new-territory-pending-item,
  body.layout-novo .layout-new-territory-pending-head {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  body.layout-novo .layout-new-continue-card button,
  body.layout-novo .layout-new-territory-property-item > strong,
  body.layout-novo .layout-new-territory-pending-item > strong {
    width: 100%;
    text-align: center;
  }
}

/* v466 - protecao do topo do novo visual.
   Mantem o cabecalho compacto mesmo quando os atalhos/menu forem atualizados. */
body.layout-novo .layout-new-shell .app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

body.layout-novo .layout-new-shell .brand {
  flex: 0 0 auto;
  min-height: 58px;
  max-width: 260px;
  padding: 9px 13px;
  border-radius: 18px;
}

body.layout-novo .layout-new-shell .brand .logo {
  width: 56px;
  height: 42px;
}

body.layout-novo .layout-new-shell .brand strong {
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
}

body.layout-novo .layout-new-shell .brand small {
  font-size: .64rem;
  line-height: 1.1;
}

body.layout-novo .layout-new-shell .top-actions {
  flex: 1 1 520px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

body.layout-novo .layout-new-shell .top-chip,
body.layout-novo .layout-new-shell .top-action {
  min-height: 42px;
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 13px;
  font-size: .82rem;
  line-height: 1.08;
}

body.layout-novo .layout-new-shell .top-chip strong,
body.layout-novo .layout-new-shell .top-chip small,
body.layout-novo .layout-new-shell .top-action {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.layout-novo .layout-new-shell .top-chip strong,
body.layout-novo .layout-new-shell .top-chip small {
  display: block;
  white-space: nowrap;
}

body.layout-novo .layout-new-shell .top-action.primary {
  min-height: 42px;
  max-width: 150px;
}

body.layout-novo .layout-new-shell .user-box {
  flex: 0 1 230px;
  min-height: 54px;
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 18px;
  justify-content: flex-end;
}

body.layout-novo .layout-new-shell .user-box > span:not(.avatar) {
  min-width: 0;
}

body.layout-novo .layout-new-shell .user-box strong,
body.layout-novo .layout-new-shell .user-box small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-shell .avatar {
  width: 38px;
  height: 38px;
}

body.layout-novo .layout-new-shell .icon-button.is-plain {
  min-width: 28px;
  min-height: 28px;
}

body.layout-novo .layout-new-shell .top-menu {
  position: relative;
  flex: 0 0 auto;
  z-index: 10010;
}

body.layout-novo .layout-new-shell .top-menu summary {
  min-height: 34px;
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--primary-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 0 12px;
  font-size: .82rem;
  font-weight: 950;
}

body.layout-novo .layout-new-shell .top-menu summary::-webkit-details-marker {
  display: none;
}

body.layout-novo .layout-new-shell .top-menu:not([open]) .top-menu-panel {
  display: none !important;
}

body.layout-novo .layout-new-shell .top-menu-panel {
  position: fixed;
  z-index: 10020;
  right: max(24px, calc((100vw - 1080px) / 2 + 36px));
  top: max(84px, calc(env(safe-area-inset-top) + 84px));
  width: min(420px, calc(100vw - 28px));
  border: 1px solid rgba(4, 111, 102, .18);
  border-radius: 18px;
  background: rgba(248, 255, 253, .98);
  box-shadow: 0 24px 58px rgba(9, 45, 50, .18);
  padding: 14px;
}

body.layout-novo .layout-new-shell .top-menu-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

body.layout-novo .layout-new-shell .top-menu-meta,
body.layout-novo .layout-new-shell .top-menu-select,
body.layout-novo .layout-new-shell .top-menu-system button,
body.layout-novo .layout-new-shell .top-menu-system a {
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  min-height: 50px;
  padding: 9px 10px;
}

body.layout-novo .layout-new-shell .top-menu-meta,
body.layout-novo .layout-new-shell .top-menu-select {
  display: grid;
  gap: 2px;
}

body.layout-novo .layout-new-shell .top-menu-meta span,
body.layout-novo .layout-new-shell .top-menu-select span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
}

body.layout-novo .layout-new-shell .top-menu-meta strong,
body.layout-novo .layout-new-shell .top-menu-select strong {
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.layout-novo .layout-new-shell .top-menu-select {
  position: relative;
}

body.layout-novo .layout-new-shell .top-menu-select select {
  appearance: none;
  background: transparent;
  border: 0;
  bottom: 0;
  cursor: pointer;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

body.layout-novo .layout-new-shell .top-menu-system button,
body.layout-novo .layout-new-shell .top-menu-system a {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 950;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

body.layout-novo .layout-new-shell .top-menu-system button:hover,
body.layout-novo .layout-new-shell .top-menu-system a:hover,
body.layout-novo .layout-new-shell .top-menu-list button:hover {
  border-color: rgba(4, 111, 102, .34);
  box-shadow: 0 10px 24px rgba(4, 111, 102, .10);
}

body.layout-novo .layout-new-shell .top-menu-divider {
  border: 0;
  border-top: 1px dashed rgba(4, 111, 102, .18);
  margin: 4px 0 12px;
}

body.layout-novo .layout-new-shell .top-menu-panel > strong {
  color: var(--text);
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

body.layout-novo .layout-new-shell .top-menu-panel > p {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

body.layout-novo .layout-new-shell .top-menu-list {
  display: grid;
  gap: 7px;
}

body.layout-novo .layout-new-shell .top-menu-list button {
  border: 1px solid rgba(4, 111, 102, .14);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  text-align: left;
}

body.layout-novo .layout-new-shell .top-menu-list span {
  color: var(--primary-dark);
  font-weight: 950;
}

body.layout-novo .layout-new-shell .top-menu-list small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.3;
  white-space: normal;
}

body.layout-novo .layout-new-shell .main-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

body.layout-novo .layout-new-shell .main-grid.is-single > .panel:nth-child(n+2) {
  display: none;
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-shell .app-top {
    gap: 7px;
  }

  body.layout-novo .layout-new-shell .brand,
  body.layout-novo .layout-new-shell .user-box {
    max-width: none;
    width: 100%;
  }

  body.layout-novo .layout-new-shell .top-actions {
    flex: 1 1 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body.layout-novo .layout-new-shell .top-chip,
  body.layout-novo .layout-new-shell .top-action,
  body.layout-novo .layout-new-shell .top-action.primary {
    max-width: none;
    min-height: 40px;
    width: 100%;
    padding: 7px 8px;
    font-size: .78rem;
  }

  body.layout-novo .layout-new-shell .top-chip:first-child {
    grid-column: 1 / -1;
  }
}

/* v472 final - esta regra fica no fim para o topo realmente virar uma aba unica. */
body.layout-novo .layout-new-shell .app-top {
  background: rgba(248, 255, 253, .92) !important;
  border: 1px solid rgba(4, 111, 102, .18) !important;
  border-radius: 22px !important;
  box-shadow: var(--layout-shadow-soft) !important;
  padding: 12px 16px !important;
  justify-content: space-between !important;
}

body.layout-novo .layout-new-shell .app-top .brand,
body.layout-novo .layout-new-shell .app-top .user-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.layout-novo .layout-new-shell .app-top .brand {
  max-width: none !important;
}

body.layout-novo .layout-new-shell .app-top .user-box {
  flex: 0 1 auto !important;
  margin-left: auto !important;
  min-width: 0 !important;
}

@media (max-width: 760px) {
  body.layout-novo .layout-new-shell .app-top {
    padding: 10px 12px !important;
    border-radius: 18px !important;
  }

  body.layout-novo .layout-new-shell .app-top .brand,
  body.layout-novo .layout-new-shell .app-top .user-box {
    width: auto !important;
  }
}

/* v474 - menu responsivo: no celular/tablet o hamburger abre dentro da tela, sem cortar lateral. */
@media (max-width: 900px) {
  body.layout-novo .layout-new-shell .top-menu {
    position: static !important;
  }

  body.layout-novo .layout-new-shell .top-menu[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(5, 37, 40, .18);
  }

  body.layout-novo .layout-new-shell .top-menu-panel {
    position: fixed !important;
    z-index: 10020 !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: max(76px, calc(env(safe-area-inset-top) + 76px)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 96px) !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px !important;
    padding: 12px !important;
  }

  body.layout-novo .layout-new-shell .top-menu-system {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.layout-novo .layout-new-shell .top-menu-meta,
  body.layout-novo .layout-new-shell .top-menu-select,
  body.layout-novo .layout-new-shell .top-menu-system button,
  body.layout-novo .layout-new-shell .top-menu-list button {
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 520px) {
  body.layout-novo .layout-new-shell {
    width: min(100%, 100vw) !important;
    overflow-x: clip !important;
  }

  body.layout-novo .layout-new-shell .app-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.layout-novo .layout-new-shell .app-top .brand,
  body.layout-novo .layout-new-shell .app-top .user-box {
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.layout-novo .layout-new-shell .app-top .user-box {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto !important;
    align-items: center !important;
    margin-left: 0 !important;
  }

  body.layout-novo .layout-new-shell .top-menu-panel {
    top: max(68px, calc(env(safe-area-inset-top) + 68px)) !important;
    max-height: calc(100dvh - 84px) !important;
  }

  body.layout-novo .layout-new-shell .top-menu-system {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.layout-novo .layout-new-focus-meta-draft {
    left: 10px;
    right: 10px;
    bottom: 72px;
    padding: 8px;
  }

  body.layout-novo .layout-new-focus-meta-draft.is-outside-map {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
  }

  body.layout-novo .layout-new-focus-meta-draft strong {
    font-size: .78rem;
  }

  body.layout-novo .layout-new-focus-meta-draft span {
    display: none;
  }

  body.layout-novo .layout-new-focus-meta-draft.is-outside-map span {
    display: inline;
  }

  body.layout-novo .layout-new-focus-meta-draft-actions button {
    min-height: 32px;
    padding: 0 10px;
    font-size: .72rem;
  }
}

@media (max-width: 680px) {
  body.layout-novo .layout-new-territory-scale-switch {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-territory-scale-switch > strong {
    white-space: normal;
  }

  body.layout-novo .layout-new-territory-layer-head {
    grid-template-columns: 1fr 1fr;
  }

  body.layout-novo .layout-new-territory-layer-head strong,
  body.layout-novo .layout-new-territory-layer-head span {
    grid-column: 1 / -1;
  }

  body.layout-novo .layout-new-territory-filter-row {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-territory-quality-row {
    grid-template-columns: 1fr;
  }

  body.layout-novo .layout-new-territory-quality-row span {
    justify-content: space-between;
    width: 100%;
  }
}
