:root {
  --rn-accent: #e87722;
  --rn-accent-dark: #c86418;
  --rn-header: #f3f3f3;
  --rn-surface: #ffffff;
  --rn-page: #f3f3f3;
  --rn-line: #dddbda;
  --rn-text: #181818;
  --rn-muted: #706e6b;
  --rn-ok: #2e844a;
  --rn-warn: #dd7a01;
  --rn-bad: #ba0517;
  --rn-space: 8px;
  --rn-gutter: 16px;
  --rn-radius: 4px;
}

html, body { height: 100%; }
body {
  margin: 0;
  color: var(--rn-text);
  background: var(--rn-page);
  font: 13px/1.35 "Salesforce Sans", system-ui, sans-serif;
}

.rn-app { min-height: 100%; display: flex; flex-direction: column; background: var(--rn-page); }
.rn-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px var(--rn-gutter) 0;
  padding: 0 12px;
  min-height: 48px;
  height: auto;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: var(--rn-surface);
  box-shadow: 0 2px 2px rgba(0,0,0,.05);
}
.rn-appbar > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rn-text);
  font-size: 13px;
  letter-spacing: .02em;
}
.rn-appbar > strong::before {
  content: "";
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--rn-accent);
}
.rn-appbar-nav { display: flex; gap: 2px; flex: 1; align-items: stretch; }
.rn-appbar-nav > a,
.rn-appbar-nav .dropdown-toggle {
  color: var(--rn-text);
  text-decoration: none;
  padding: 8px 10px;
  border-bottom: 3px solid transparent;
  font-size: 13px;
}
.rn-appbar-nav > a:hover,
.rn-appbar-nav .dropdown-toggle:hover {
  background: #f3f3f3;
  color: var(--rn-text);
}
.rn-search { width: 240px; }

/* === Pulsanti standard shell (font, size, icone) === */
.rn-app .btn:not(.btn-link):not(.btn-close):not(.dropdown-toggle) {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  border-radius: var(--rn-radius);
  --bs-btn-padding-y: 0.35rem;
  --bs-btn-padding-x: 0.75rem;
}
.rn-app .btn-sm:not(.btn-link):not(.btn-close) {
  font-size: 13px;
  --bs-btn-padding-y: 0.3rem;
  --bs-btn-padding-x: 0.65rem;
}
/* Alert compatti (py-2): X di chiusura centrata in verticale */
.rn-app .alert.alert-dismissible.py-2 .btn-close {
  top: 50%;
  transform: translateY(-50%);
  padding-top: 0;
  padding-bottom: 0;
}
.rn-app .input-group .btn { font-size: 13px; font-weight: 650; }
.rn-app .btn:not(.btn-link) > i[class*="fa-"]:first-child,
.rn-app .btn:not(.btn-link) > .fas:first-child,
.rn-app .btn:not(.btn-link) > .far:first-child,
.rn-app .btn:not(.btn-link) > .fab:first-child {
  margin-right: 0.35em;
}
.rn-app .modal-footer .btn,
.rn-app .rn-form-actions .btn { font-size: 13px; font-weight: 650; }
.rn-app .rn-form-actions,
.rn-app .modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.rn-filters .btn-success,
.rn-record-header .btn-success,
.rn-record-header .btn-primary {
  background: var(--rn-accent) !important;
  border-color: var(--rn-accent) !important;
  color: #fff !important;
}
.rn-filters .btn-success:hover,
.rn-record-header .btn-success:hover,
.rn-record-header .btn-primary:hover {
  background: var(--rn-accent-dark) !important;
  color: #fff !important;
}

.rn-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 8px 12px;
  background: var(--rn-surface);
  color: var(--rn-text);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: 0 2px 2px rgba(0,0,0,.05);
}
.rn-record-header h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rn-record-header h1::before {
  content: "";
  width: 20px; height: 20px;
  border-radius: 4px;
  background: var(--rn-accent);
  flex-shrink: 0;
}
.rn-record-titleblock {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.rn-record-header .rn-meta {
  margin: 4px 0 0;
  padding-left: 28px; /* allinea al testo h1 (riquadro 20px + gap 8px) */
  font-size: 12px;
  color: var(--rn-muted);
  opacity: 1;
}
.rn-meta { margin: 2px 0 0; font-size: 12px; color: var(--rn-muted); opacity: 1; }
.rn-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rn-record-header .rn-actions .btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rn-record-header .rn-actions .btn-group > .btn {
  border-radius: var(--rn-radius) !important;
  margin-left: 0 !important;
}

.rn-composer {
  position: sticky; top: 0; z-index: 1;
  background: #fff;
  border-bottom: 1px solid var(--rn-line);
  padding: 6px 10px;
}
.rn-pratica-page { padding-bottom: 40px; }

.rn-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 8px var(--rn-gutter) 0;
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
}
.rn-kpis > div {
  padding: 10px 14px;
  border-right: 1px solid var(--rn-line);
}
.rn-kpis > div:last-child { border-right: 0; }
.rn-kpis span { display: block; color: var(--rn-muted); font-size: 11px; }
.rn-kpis strong { font-size: 16px; font-weight: 700; }

/* Strip KPI elenco pratiche */
.rn-kpi-strip {
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  padding: 8px 14px;
}
.rn-kpi-strip .rn-kpi + .rn-kpi {
  border-left: 1px solid var(--rn-line);
  padding-left: 14px;
}
.rn-vista-tabs .nav-link { font-size: 13px; }

.rn-split { flex: 1; min-height: 0; }
.rn-section { border-bottom: 1px solid var(--rn-line); }
.rn-section h2, h2.rn-form-h {
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  background: #eef2f6;
  text-transform: uppercase;
  font-weight: 650;
}
.rn-section .body { padding: 8px 10px; }
#anagrafica-tab .e-tab-header {
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--rn-line);
  height: auto;
  width: 100%;
  box-sizing: border-box;
}
#anagrafica-tab .e-toolbar-item .e-tab-text { font-size: 13px; color: var(--rn-muted); }
#anagrafica-tab .e-toolbar-item.e-active .e-tab-text {
  color: var(--rn-text);
  font-weight: 650;
}
#anagrafica-tab .e-tab-header .e-indicator { background: var(--rn-text); height: 3px; }
/* Contenuto tab: bianco come il resto della scheda (no grigio Syncfusion) */
#anagrafica-tab.e-tab,
#anagrafica-tab .e-content,
#anagrafica-tab .e-content > .e-item,
#tab-dati, #tab-sintesi, #tab-oneri,
#tab-recapiti, #tab-collegati, #tab-contratti, #tab-pratiche, #tab-allegati, #tab-note {
  background: #fff !important;
  border: 0;
  box-shadow: none;
}
#anagrafica-tab .e-content {
  padding: 0 !important;
  overflow: visible;
}
#tab-dati, #tab-sintesi, #tab-oneri,
#tab-recapiti, #tab-collegati, #tab-contratti, #tab-pratiche, #tab-allegati, #tab-note {
  padding: 8px 12px 12px;
}
#tab-dati > form,
#tab-dati > .rn-sf {
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  padding: 0 12px 8px;
}
#tab-dati > .rn-kpi-strip {
  margin: 0 0 8px;
}
#tab-dati .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0;
}
#tab-dati .col-md-6, #tab-dati .col-sm-5, #tab-dati .col-sm-7 {
  width: auto; max-width: none; flex: none; padding: 0;
}
#tab-dati h2.rn-form-h {
  background: none;
  padding: 10px 0 4px;
  font-size: 13px;
  text-transform: none;
  color: var(--rn-text);
}
/* Non applicare a .row: altrimenti display:block annulla la griglia a 2 colonne */
#tab-dati .mb-3:not(.row), #tab-dati .rn-field {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  margin-bottom: 0 !important;
  position: relative;
  display: block;
  grid-template-columns: none;
}
#tab-dati .form-label, #tab-dati .rn-field-label {
  display: block;
  color: var(--rn-muted);
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 2px;
}
#tab-dati .rn-field-value { display: block; font-size: 13px; min-height: 20px; }
#tab-dati .form-control, #tab-dati .form-select {
  border: 0; border-radius: 0; background: transparent;
  padding: 0; box-shadow: none; min-height: 22px; font-size: 13px;
}
#tab-dati .form-control:focus, #tab-dati .form-select:focus {
  box-shadow: none; outline: none;
  border-bottom: 2px solid var(--rn-accent);
}
/* Form modifica/crea: input con bordo (omogenei, non confondibili con label) */
#tab-dati form#record-form .validation-summary-valid {
  display: none !important;
}
#tab-dati form#record-form .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
  align-items: start;
}
#tab-dati form#record-form [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}
#tab-dati form#record-form .col-md-8 { grid-column: span 2; }
#tab-dati form#record-form .col-md-6 { grid-column: span 2; }
#tab-dati form#record-form .col-12 { grid-column: 1 / -1; }
@media (max-width: 992px) {
  #tab-dati form#record-form .row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  #tab-dati form#record-form .row { grid-template-columns: 1fr; }
  #tab-dati form#record-form .col-md-8,
  #tab-dati form#record-form .col-md-6 { grid-column: auto; }
}
#tab-dati form#record-form .mb-3 {
  border-bottom: 0;
  padding: 0 0 .75rem;
}
#tab-dati form#record-form .form-control,
#tab-dati form#record-form .form-select {
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: #fff;
  padding: .25rem .5rem;
  min-height: 31px;
  font-size: 13px;
}
#tab-dati form#record-form .form-control:focus,
#tab-dati form#record-form .form-select:focus {
  border-color: var(--rn-accent);
  box-shadow: 0 0 0 .15rem rgba(253, 126, 20, .15);
  outline: 0;
}
#tab-dati form#record-form .form-control[readonly],
#tab-dati form#record-form .form-control:disabled {
  background: #f8f9fa;
  color: var(--rn-text);
  cursor: default;
}
#tab-dati form#record-form .form-text,
#tab-dati form#record-form small.text-muted {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
#tab-dati .input-group, #tab-dati .input-group-text {
  background: none; border: 0; padding-left: 0;
}
#tab-dati .mb-3 .input-group .btn {
  border: 0; background: none; color: var(--rn-muted);
  padding: 0 4px; opacity: .4;
}
#tab-dati .mb-3:hover .input-group .btn { opacity: 1; }
#tab-dati .form-text, #tab-dati small.text-muted { display: none; }
#tab-dati .container-fluid { padding: 0; margin: 0; }
#tab-dati dl.row { display: contents; }
#tab-dati dt {
  color: var(--rn-muted); font-size: 12px; font-weight: 400;
  border-bottom: 0; padding-top: 10px;
}
#tab-dati dd {
  border-bottom: 1px solid #e5e5e5;
  padding: 0 0 8px; margin: 0 0 0;
  font-size: 13px;
}
.rn-filters {
  display: flex;
  gap: 8px;
  align-items: end;
  margin: 12px var(--rn-gutter) 0;
  padding: 10px 12px;
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
}
.rn-filters .btn-success {
  background: var(--rn-accent);
  border-color: var(--rn-accent);
}
.rn-help-icon {
  color: var(--rn-accent, #0d6efd);
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0.8;
  flex-shrink: 0;
}
.rn-help-icon:hover {
  opacity: 1;
  color: var(--rn-accent, #0d6efd);
}
.rn-guida-context-help .rn-help-btn {
  --bs-btn-color: var(--rn-text);
  --bs-btn-border-color: var(--rn-line);
  --bs-btn-hover-bg: #f3f3f3;
  --bs-btn-hover-border-color: var(--rn-line);
  --bs-btn-hover-color: var(--rn-text);
  font-size: 12px;
  font-weight: 650;
}
.rn-guida-context-help .rn-help-btn i {
  color: var(--rn-accent);
}
.rn-filters .rn-guida-context-help {
  margin-left: auto;
}
.rn-record-header .rn-guida-context-help,
.rn-record-header .rn-actions .rn-guida-context-help {
  align-self: center;
}
.rn-guida-help-iframe {
  min-height: min(70vh, 720px);
  display: block;
  background: #fff;
}
.rn-guida-help-iframe.rn-guida-help-iframe-loading {
  opacity: .75;
}
.rn-guida-embed-body {
  margin: 0;
  padding: 12px 14px;
  font-size: .95rem;
  background: #fff;
}
.rn-guida-page-body {
  min-height: 100vh;
}
.rn-guida-page-header {
  z-index: 1020;
}
.rn-guida-nav .nav-link {
  font-size: 12px;
  padding: .35rem .65rem;
}
.rn-guida-embed-body .card {
  border: 1px solid var(--rn-line);
  box-shadow: none !important;
}
.rn-guida-embed-body .nav.nav-pills {
  margin-bottom: 12px !important;
}
.rn-elenco-title {
  font-size: 13px;
  font-weight: 700;
  margin-right: 8px;
  white-space: nowrap;
}
.rn-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px var(--rn-gutter) 0;
}
/* Card KPI standard (accento arancione --rn-accent, override con --kpi-accent) */
.rn-kpi-strip { background: none; border: 0; padding: 0; }
.rn-kpi-card {
  --kpi-accent: var(--rn-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  padding: 8px 14px 8px 10px;
  min-width: 148px;
}
.rn-kpi-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kpi-accent);
  color: #fff;
  font-size: 14px;
  flex: 0 0 auto;
}
.rn-kpi-body { line-height: 1.15; }
.rn-kpi-body .rn-kpi-label {
  display: block;
  color: var(--rn-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.rn-kpi-body strong { font-size: 16px; font-weight: 700; white-space: nowrap; }

/* KPI raggruppati (scheda lotto) */
.rn-kpi-grouped { gap: 10px; }
.rn-kpi-group {
  --kpi-accent: var(--rn-accent);
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  padding: 10px 12px;
  min-width: 200px;
}
.rn-kpi-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rn-kpi-group-head .rn-kpi-pct {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--kpi-accent);
  white-space: nowrap;
}
.rn-kpi-group-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rn-line);
}
.rn-kpi-metric { line-height: 1.15; }
.rn-kpi-metric span {
  display: block;
  color: var(--rn-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.rn-kpi-metric strong { font-size: 13px; font-weight: 650; white-space: nowrap; }

.rn-pct-bar {
  position: relative;
  width: 100%;
  height: 18px;
  border-radius: 9px;
  background: #e9ecef;
  overflow: hidden;
}
.rn-pct-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 9px;
  transition: width .2s ease;
}
.rn-pct-bar-label {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
  color: #212529;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}
.rn-kpi-chip {
  background: #fff;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  padding: 6px 12px;
  font-size: 12px;
}
.rn-kpi-chip strong { font-size: 14px; margin-left: 4px; }
.rn-related {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
#tab-dati .card, #tab-dati .rn-related .card {
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: 0 2px 2px rgba(0,0,0,.04);
}
#tab-dati .card-header {
  background: #fff !important;
  color: var(--rn-text) !important;
  border-bottom: 1px solid var(--rn-line);
  font-size: 13px;
  font-weight: 650;
}
#tab-dati .card-header .btn-light,
#tab-dati .card-header .btn-dark,
#tab-dati .card-header .btn-sm {
  background: #fff !important;
  color: var(--rn-text) !important;
  border: 1px solid var(--rn-line) !important;
}
.rn-record-main { margin: 0 var(--rn-gutter); }
.rn-page { padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rn-page > .rn-page { flex: 1; min-height: 0; }
/* Elenco bloccato: catena flex fino alla grid così pager Syncfusion resta in viewport */
body.rn-elenco-grid { overflow: hidden; }
body.rn-elenco-grid .rn-app {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
body.rn-elenco-grid .rn-app > .rn-page {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.rn-elenco-grid .rn-record-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.rn-elenco-grid .rn-record-header,
body.rn-elenco-grid .rn-filters,
body.rn-elenco-grid .rn-kpi-strip {
  flex: 0 0 auto;
}
/* KPI su una riga scrollabile: non rubano altezza al pager */
body.rn-elenco-grid .rn-kpi-strip {
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
body.rn-elenco-grid .rn-kpi-strip .rn-kpi-card,
body.rn-elenco-grid .rn-kpi-strip .rn-kpi-group {
  flex: 0 0 auto;
  min-width: 200px;
}
body.rn-elenco-grid .rn-kpi-strip.rn-kpi-grouped .rn-kpi-group {
  flex: 1 1 220px;
  min-width: 200px;
}
body.rn-elenco-grid .rn-record-main > .rn-page {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
body.rn-elenco-grid .rn-page .syncfusion-grid-host,
body.rn-elenco-grid .rn-page #praticheGrid,
body.rn-elenco-grid .rn-page #contractsGrid {
  flex: 1 1 0;
  min-height: 0;
}
.rn-page .syncfusion-grid-host,
.rn-page #praticheGrid,
.rn-page #contractsGrid {
  width: 100%; flex: 1 1 auto; min-height: 320px; overflow: hidden;
  box-sizing: border-box;
  padding-left: var(--rn-gutter);
  padding-right: var(--rn-gutter);
}
.rn-page .e-grid {
  width: 100%;
  box-sizing: border-box;
}
.rn-page .syncfusion-grid-host {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 4px;
}
.rn-page .syncfusion-grid-host > .e-grid {
  flex: 1 1 auto;
  min-height: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}
/* Syncfusion: con altezza fissa il flex interno comprime l'header — bloccare shrink */
.rn-app .e-grid .e-toolbar,
.rn-app .e-grid .e-gridheader,
.rn-app .e-grid .e-gridpager {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}
.rn-app .e-grid .e-gridheader {
  height: auto !important;
  min-height: 34px !important;
}
.rn-app .e-grid .e-gridheader .e-headercontent {
  overflow: visible !important;
}
.rn-app .e-grid .e-headercell .e-headercelldiv {
  line-height: 1.25;
  min-height: 18px;
}
.rn-page .syncfusion-grid-record-count {
  flex: 0 0 auto;
  text-align: right;
  font-size: .83em;
  color: var(--rn-muted, #6c757d);
  margin: 4px 0 0;
  line-height: 1.2;
  user-select: none;
}
.e-grid table::before, .e-grid table::after,
.e-grid .e-gridheader table::before, .e-grid .e-gridcontent table::before {
  content: none !important; display: none !important;
}

.rn-badge { font-weight: 650; }
.rn-badge.ok { color: var(--rn-ok); }
.rn-badge.warn { color: var(--rn-warn); }
.rn-badge.bad { color: var(--rn-bad); }

/* AppShell extensions — RBAC dropdowns + legacy Bootstrap views */
.rn-appbar { flex-wrap: nowrap; min-height: 40px; height: auto; align-items: center; overflow: visible; }
.rn-appbar > strong { letter-spacing: .04em; white-space: nowrap; flex: 0 0 auto; }
.rn-nav-toggler {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px; height: 32px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: #f3f3f3;
  color: var(--rn-text);
  cursor: pointer;
}
.rn-nav-toggler:hover { background: #e9e9e9; }
.rn-appbar-nav {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: visible; /* overflow-x:auto clipped Bootstrap dropdowns */
  height: auto !important;
  visibility: visible !important;
}
.rn-appbar-nav > a { white-space: nowrap; }
.rn-appbar-nav .rn-dropdown { flex: 0 0 auto; position: relative; }
.rn-appbar-nav .dropdown-toggle {
  display: inline-block;
  width: auto;
  white-space: nowrap;
}
.rn-appbar-nav .dropdown-menu { z-index: 1080; }
.rn-appbar-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (max-width: 991.98px) {
  .rn-appbar { flex-wrap: wrap; row-gap: 4px; }
  .rn-nav-toggler { display: inline-flex; order: 2; margin-left: auto; }
  .rn-appbar-tools { order: 3; margin-left: 8px; }
  .rn-appbar-tools .rn-search-form { display: none; }
  .rn-appbar-nav {
    order: 4;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .rn-appbar-nav.collapse:not(.show) { display: none !important; }
  .rn-appbar-nav.collapse.show { display: flex !important; }
  .rn-appbar-nav .rn-dropdown { width: 100%; }
  .rn-appbar-nav .dropdown-toggle { display: block; width: 100%; }
}
.rn-dropdown { position: relative; }
.rn-dropdown .dropdown-toggle {
  color: var(--rn-text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.rn-dropdown .dropdown-toggle::after { margin-left: 4px; vertical-align: .15em; }
.rn-dropdown .dropdown-menu {
  --bs-dropdown-item-padding-y: .2rem;
  --bs-dropdown-item-padding-x: .75rem;
  --bs-dropdown-header-padding-x: .75rem;
  --bs-dropdown-header-padding-y: .25rem;
  --bs-dropdown-divider-margin-y: .25rem;
  --bs-dropdown-padding-y: .25rem;
  font-size: 13px;
  line-height: 1.25;
  max-height: 70vh;
  overflow-y: auto;
  min-width: 11rem;
}
.rn-dropdown .dropdown-menu .dropdown-item {
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}
.rn-dropdown .dropdown-menu .dropdown-header {
  padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);
  margin-bottom: 0;
  font-size: 11px;
}
.rn-dropdown .dropdown-menu .dropdown-divider {
  margin: var(--bs-dropdown-divider-margin-y) 0;
}
.rn-dropdown .dropdown-menu:has(.dropend) { overflow: visible; max-height: none; }
.rn-dropdown .dropdown-menu .dropend > .dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
  margin-top: -1px;
}
.rn-dropdown .dropdown-menu .dropdown-item.dropdown-toggle::after {
  float: right;
  margin-top: .35em;
}
.rn-search-form { display: flex; gap: 0; align-items: center; }
.rn-search-form .rn-search {
  width: 220px;
  padding: 6px 10px;
  border: 1px solid var(--rn-line);
  border-radius: 20px 0 0 20px;
  background: #f3f3f3;
}
.rn-search-form button {
  padding: 6px 10px;
  border: 1px solid var(--rn-line);
  border-left: 0;
  border-radius: 0 20px 20px 0;
  background: #f3f3f3;
  cursor: pointer;
}
.rn-user { white-space: nowrap; font-size: 12px; }
.rn-page .container-fluid { padding: 8px 12px; }
.rn-footer {
  padding: 6px var(--rn-gutter);
  border-top: 1px solid var(--rn-line);
  color: var(--rn-muted);
  font-size: 11px;
  background: var(--rn-page);
}

.cuentas-details-repo {
  --cuentas-repo-accent: #0d6efd;
  --cuentas-repo-border: #e3eaf3;
  --cuentas-repo-muted: #5c6c7d;
}
.cuentas-repo-card {
  background: #fff;
  border: 1px solid var(--cuentas-repo-border);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(13, 110, 253, .07);
  padding: 1.15rem 1.25rem;
}
.cuentas-account-summary { border-top: 3px solid rgba(13, 110, 253, .35); }
.cuentas-financial-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cuentas-fin-tile {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f5fa 100%);
  border: 1px solid var(--cuentas-repo-border);
  border-radius: 10px;
  padding: .75rem .85rem;
  min-height: 76px;
}
.cuentas-fin-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cuentas-repo-muted);
  margin-bottom: .35rem;
}
.cuentas-fin-value { font-size: 1.15rem; font-weight: 800; color: #1a2b3c; }
.cuentas-fin-sub { font-size: 0.85em; font-weight: 700; white-space: nowrap; }
.cuentas-fin-hint { font-size: 11px; font-weight: 650; margin-top: 2px; }
.cuentas-fin-tile.is-scaduta {
  background: #fff5f5;
  box-shadow: inset 3px 0 0 #dc3545;
}

/* Scheda read-only: label | valore (anche fuori da #tab-dati / _RecordPage) */
.rn-sf {
  display: flex;
  flex-direction: column;
}
.rn-sf .rn-field {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 8px 16px;
  align-items: baseline;
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  margin: 0;
}
.rn-sf .rn-field:last-child { border-bottom: 0; }
.rn-sf .rn-field-label {
  display: block;
  color: var(--rn-muted);
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}
.rn-sf .rn-field-value {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--rn-text);
  min-width: 0;
  line-height: 1.35;
  word-break: break-word;
}
.rn-sf .rn-field-value .rn-badge {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
  font-weight: 650;
}
.rn-sf .rn-field-value .rn-badge.ok { color: var(--rn-ok); }
.rn-sf .rn-field-value .rn-badge.warn { color: var(--rn-warn); }
.rn-sf .rn-field-value .rn-badge.bad { color: var(--rn-bad); }
.rn-sf.rn-sf-stack .rn-field {
  grid-template-columns: 1fr;
  gap: 2px;
}
.rn-sf.rn-sf-stack .rn-field-label { font-weight: 400; }
.cuentas-fin-meta { font-size: .72rem; color: var(--cuentas-repo-muted); margin-top: .25rem; }
.cuentas-profile-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd 0%, #6ea8fe 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 110, 253, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cuentas-rail-profile-card {
  padding: 14px 16px;
  background: var(--rn-surface, #fff);
  border: 1px solid var(--rn-line, #e5e9ef);
  border-top: 3px solid rgba(13, 110, 253, 0.35);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
a.cuentas-rail-profile-avatar-link { text-decoration: none; color: inherit; }
a.cuentas-rail-profile-avatar-link:hover .cuentas-profile-avatar {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
}
.cuentas-rail-profile-name-link:hover {
  color: #0d6efd !important;
  text-decoration: underline !important;
}
.cuentas-rail-profile-contact__lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  flex: 0 0 5.5rem;
  line-height: 1.4;
}
.cuentas-titolare-contact-grid {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}
.cuentas-titolare-contact-grid > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem !important;
}
.cuentas-titolare-contact-grid .cuentas-rail-profile-contact__lbl {
  display: inline !important;
}
.cuentas-titolare-contact-grid > div > :not(.cuentas-rail-profile-contact__lbl) {
  flex: 1 1 auto;
  min-width: 0;
}
.cuentas-persone-in-titolare__item:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.rn-titolare-slot { min-width: 0; }
.letter-spacing-tight { letter-spacing: .04em; }

/* —— Scheda pratica (mockup): hero + CSS grid —— */
.rn-pratica-hero.rn-record-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  margin: 0 0 12px;
  width: auto;
  max-width: none;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rn-pratica-hero h1 {
  font-size: 22px;
  flex-wrap: wrap;
  line-height: 1.25;
  gap: 0 .35em;
}
.rn-pratica-hero h1::before { display: none; }
.rn-pratica-hero .rn-hero-num { color: #0d6efd; }
.rn-pratica-hero.rn-pratica-hero--chiusa {
  border-top: 3px solid #dc3545;
  background: linear-gradient(180deg, rgba(220, 53, 69, .07), transparent 52px);
}
.rn-pratica-hero.rn-pratica-hero--chiusa .rn-hero-num { color: #dc3545; }
.rn-pratica-hero .rn-kicker {
  color: #6b7a90;
  font-weight: 700;
  letter-spacing: .04em;
}
.rn-pratica-hero .rn-kpis.cuentas-financial-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.rn-pratica-hero .rn-kpis.cuentas-financial-grid > .cuentas-fin-tile {
  padding: 10px 12px;
  border-right: 0;
  min-height: auto;
  background: #f8fbff;
  border-radius: 8px;
  box-shadow: none;
}
.rn-hero-titolare {
  font-size: .72em;
  font-weight: 600;
  color: var(--rn-text, #1a2b3c);
}
.rn-hero-importi {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--rn-line, #e5e9ef);
}
.rn-hero-importi > summary {
  cursor: pointer;
  font-weight: 700;
  color: #0d6efd;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.rn-hero-importi > summary::-webkit-details-marker { display: none; }
.rn-hero-importi[open] > summary { margin-bottom: 10px; }
.rn-importi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px 8px;
}
.rn-importi-cell {
  border: 1px solid var(--rn-line, #e5e9ef);
  border-radius: 8px;
  padding: 6px 8px;
  background: #fafbfc;
}
.rn-importi-cell .lbl { font-size: 10px; color: var(--rn-muted, #6b7a90); line-height: 1.2; }
.rn-importi-cell .val { font-weight: 700; font-size: 13px; line-height: 1.25; }
.rn-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 8px;
  border-radius: 6px;
  background: #f4f7fb;
  border: 1px solid var(--rn-line, #e5e9ef);
  max-width: 100%;
}
.rn-contact-act {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--rn-line, #e5e9ef);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #5c6c7d;
  text-decoration: none;
  flex-shrink: 0;
}
.rn-contact-act--call:hover { border-color: #198754; color: #198754; background: #eef8f2; }
.rn-contact-act--mail:hover { border-color: #0d6efd; color: #0d6efd; background: #eef5ff; }
.rn-contact-act--map:hover { border-color: #fd7e14; color: #fd7e14; background: #fff4eb; }

.rn-address-stack { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rn-address-primary { min-width: 0; }
.rn-address-primary.rn-address-verified .rn-contact-chip {
  border-color: #198754;
  background: #eef8f2;
}
.rn-address-history {
  max-height: 4.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px dashed var(--rn-line, #e5e9ef);
  background: #fafbfc;
  -webkit-overflow-scrolling: touch;
}
.rn-address-prev {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px 0;
  font-size: 0.78rem;
  line-height: 1.35;
  border-bottom: 1px solid #eef1f4;
}
.rn-address-prev:last-child { border-bottom: 0; }
.rn-address-prev.rn-address-verified {
  background: rgba(25, 135, 84, 0.06);
  border-radius: 4px;
  padding-left: 4px;
  padding-right: 4px;
}

.rn-pratica-split {
  display: grid;
  grid-template-columns: minmax(280px, 36%) 1fr;
  gap: 12px;
  align-items: start;
}
.rn-pratica-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.rn-pratica-acc {
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  padding: 10px 12px;
  color: #6b7a90;
  background: #fff;
}
.rn-pratica-acc > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  user-select: none;
}
.rn-pratica-acc > summary::-webkit-details-marker { display: none; }
.rn-pratica-acc > summary::before {
  content: "▸ ";
  color: #6b7a90;
}
.rn-pratica-acc[open] > summary::before { content: "▾ "; }
.rn-pratica-acc[open] > summary { margin-bottom: 8px; }
.rn-pratica-acc-bd { font-size: 13px; color: #1a2b3c; }
.rn-pratica-work-card {
  padding: 12px 14px !important;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.rn-pratica-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid #e5e9ef;
  margin-bottom: 10px;
  padding: 0;
}
.rn-pratica-tabs .nav-item { margin: 0; }
.rn-pratica-tabs .nav-link {
  padding: 8px 12px;
  margin-bottom: -2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #6b7a90;
  font-size: 13px;
  font-weight: 500;
}
.rn-pratica-tabs .nav-link:hover { color: #0d6efd; }
.rn-pratica-tabs .nav-link.active {
  color: #0d6efd;
  font-weight: 700;
  background: transparent;
  border-bottom-color: #0d6efd;
}
.rn-pratica-tab-panels { padding: 0; }

@media (max-width: 980px) {
  .rn-pratica-split { grid-template-columns: 1fr; }
  .rn-pratica-hero .rn-kpis.cuentas-financial-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 980px) {
  .rn-importi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .rn-importi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rn-pratica-hero.rn-record-header {
    grid-template-columns: 1fr;
  }
}

.rn-amt-bad { color: var(--rn-bad); }
.rn-kicker {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rn-muted);
  margin-bottom: 4px;
}
.rn-stato { font-size: 12px; color: var(--rn-muted); }
.rn-titolare {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  box-shadow: 0 2px 2px rgba(0,0,0,.05);
}
.rn-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #0176d3;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.rn-titolare strong { display: block; font-size: 16px; }
.rn-badge {
  display: inline-block;
  background: #0176d3;
  color: #fff;
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 650;
}
.rn-act-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px 10px;
}
.rn-count {
  display: inline-block;
  background: #0176d3;
  color: #fff;
  border-radius: 10px;
  padding: 0 7px;
  font-size: 11px;
}
.rn-btn-int { background: #2e844a !important; border-color: #2e844a !important; color: #fff !important; }
.rn-btn-ext { background: #dd7a01 !important; border-color: #dd7a01 !important; color: #fff !important; }
.rn-timeline { padding: 0 4px 12px; }
.rn-tl-month {
  text-align: center;
  color: var(--rn-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 14px 0 8px;
}
.rn-act { display: flex; gap: 10px; margin-bottom: 10px; }
.rn-act-date {
  width: 56px;
  background: var(--rn-accent);
  color: #fff;
  border-radius: 4px;
  text-align: center;
  padding: 8px 4px;
  flex-shrink: 0;
}
.rn-act-date strong { display: block; font-size: 16px; }
.rn-act-date span, .rn-act-date small { display: block; font-size: 10px; text-transform: uppercase; }
.rn-act-body {
  flex: 1;
  background: var(--rn-surface);
  border: 1px solid var(--rn-line);
  border-radius: 8px;
  padding: 10px 12px;
}
.rn-act-head { display: flex; justify-content: space-between; gap: 8px; }
.rn-act-meta { color: var(--rn-muted); font-size: 11px; margin-top: 4px; }
.rn-act-body p { margin: 6px 0 0; }
.rn-rel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rn-line);
  font-size: 13px;
}
.rn-rel-row:last-child { border-bottom: 0; }

/* Posta: stato senza caselle — niente box flex vuota sotto l’alert */
body.rn-posta-empty .rn-record-main > .rn-page {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: none;
}
body.rn-posta-empty .rn-filters {
  flex-wrap: wrap;
}

/* Posta webmail */
.rn-posta {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  min-height: calc(100vh - 180px);
  border: 1px solid var(--rn-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--rn-surface);
}
.rn-posta-nav {
  border-right: 1px solid var(--rn-line);
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
}
.rn-posta-nav-head { padding: 10px 12px; border-bottom: 1px solid var(--rn-line); word-break: break-all; }
.rn-posta-folders { display: flex; flex-direction: column; padding: 6px; gap: 2px; overflow: auto; }
.rn-posta-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}
.rn-posta-folder:hover { background: #eceff3; }
.rn-posta-folder.is-active { background: var(--rn-accent); color: #fff; }
.rn-posta-folder.is-active .rn-posta-badge { background: #fff; color: var(--rn-accent); }
.rn-posta-badge {
  min-width: 1.4rem;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rn-accent);
  color: #fff;
  font-size: 11px;
  text-align: center;
}
.rn-posta-list { display: flex; flex-direction: column; min-width: 0; }
.rn-posta-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rn-line);
}
.rn-posta-grid { flex: 1; min-height: 320px; }
@media (max-width: 768px) {
  .rn-posta { grid-template-columns: 1fr; }
  .rn-posta-nav { border-right: 0; border-bottom: 1px solid var(--rn-line); max-height: 180px; }
}

/* Wizard procedure guidate (licenza, import, …) */
.rn-wizard { background: #fff; border: 1px solid var(--rn-border, #e2e8f0); border-radius: 8px; padding: 1.25rem 1.5rem; }
.rn-wizard-steps {
  display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem;
  flex-wrap: wrap; border-bottom: 1px solid #e2e8f0; padding-bottom: .75rem;
}
.rn-wizard-step {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 650; color: #94a3b8; padding: .25rem .5rem;
}
.rn-wizard-step.is-active { color: #0f172a; }
.rn-wizard-step.is-done { color: #16a34a; }
.rn-wizard-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: #e2e8f0; color: #475569; font-size: .75rem; font-weight: 700;
}
.rn-wizard-step.is-active .rn-wizard-num { background: #2563eb; color: #fff; }
.rn-wizard-step.is-done .rn-wizard-num { background: #16a34a; color: #fff; }
.rn-wizard-pane { min-height: 8rem; }
.rn-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; min-height: 9rem; padding: 1.25rem;
  border: 2px dashed #cbd5e1; border-radius: 8px; background: #f8fafc;
  cursor: pointer; text-align: center; transition: border-color .15s, background .15s;
}
.rn-dropzone:hover, .rn-dropzone.is-drag {
  border-color: #2563eb; background: #eff6ff;
}
.rn-map-host {
  height: calc(100vh - 260px);
  min-height: 360px;
  width: 100%;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: var(--rn-surface);
  overflow: hidden;
}
.rn-map-host .leaflet-popup-content .btn { font-size: 13px; font-weight: 650; }
.rn-map-host .leaflet-popup-content .btn > i:first-child { margin-right: 0.35em; }
/* Bootstrap img { max-width:100%; height:auto } sposta l'anchor dei pin Leaflet */
.rn-map-host img.leaflet-marker-icon,
.rn-map-host img.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}
/* Durante disegno poligono / pick centro: click devono arrivare alla mappa, non ai cluster */
.rn-map-host.is-picking .leaflet-marker-pane,
.rn-map-host.is-picking .leaflet-shadow-pane,
.rn-map-host.is-picking .leaflet-overlay-pane {
  pointer-events: none !important;
}
.rn-map-host.is-picking,
.rn-map-host.is-picking .leaflet-container {
  cursor: crosshair !important;
}
.rn-map-center { background: transparent !important; border: none !important; }
.rn-map-center-cross {
  display: block;
  width: 28px;
  height: 28px;
  border: 2px solid #dc2626;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.35);
  position: relative;
  box-sizing: border-box;
}
.rn-map-center-cross::before,
.rn-map-center-cross::after {
  content: '';
  position: absolute;
  background: #dc2626;
}
.rn-map-center-cross::before {
  left: 50%; top: 3px; bottom: 3px; width: 2px; margin-left: -1px;
}
.rn-map-center-cross::after {
  top: 50%; left: 3px; right: 3px; height: 2px; margin-top: -1px;
}
