/* Atlas | Grupo Mariza: modulo visual isolado, responsivo e sem dados de demonstração */
:root {
  color-scheme:light;
  --navy:#11263d;
  --ink:#24384d;
  --muted:#64758a;
  --sea:#0ba895;
  --blue:#2f82c6;
  --light:#f2f5f8;
  --paper:#fff;
  --line:#dfe6ed;
  --radius:18px;
  font-family:"DM Sans",Arial,sans-serif;
}
* {box-sizing:border-box;}
[hidden] {display:none!important;}
html,body {margin:0;min-height:100%;background:var(--light);color:var(--ink);}
button,input,select,textarea {font:inherit;}
button {cursor:pointer;}
button:disabled {cursor:not-allowed;opacity:.5;}
a {color:inherit;text-decoration:none;}
h1,h2,h3,p {margin-top:0;}
h1,h2,h3 {font-family:Manrope,"DM Sans",Arial,sans-serif;letter-spacing:-.035em;}
.mariza-shell {display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh;}
.mariza-sidebar {background:#102438;color:#eff7fb;padding:28px 20px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100vh;}
.atlas-brand {display:flex;align-items:center;gap:12px;margin-left:6px;}
.atlas-emblem {height:48px;width:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(145deg,#166e83,#0e3c56);font-family:Manrope,sans-serif;font-size:24px;font-weight:800;box-shadow:0 10px 28px #031c2e;}
.atlas-emblem span {color:#29d6c1;}
.atlas-brand strong {display:block;font:800 21px Manrope,sans-serif;letter-spacing:.13em;}
.atlas-brand small {display:block;color:#84a2b5;letter-spacing:.19em;font-size:9px;margin-top:2px;}
.sidebar-divider {border-top:1px solid #2d4355;}
.sidebar-kicker {color:#668ba2;font-size:10px;font-weight:800;letter-spacing:.15em;padding-left:10px;}
.company-identity {display:flex;align-items:center;gap:11px;background:#193a4a;border:1px solid #2f5360;padding:13px 11px;border-radius:14px;margin-top:-18px;}
.company-monogram {display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:#e1f4ef;border-radius:10px;color:#14685f;font-weight:900;font-family:Manrope,sans-serif;}
.company-identity strong {display:block;font-size:13px;}
.company-identity small {display:block;font-size:10px;margin-top:3px;color:#a1b6c0;}
.module-nav {display:grid;gap:6px;}
.module-nav-link {border:1px solid transparent;background:none;text-align:left;padding:13px 14px;color:#bccbd6;border-radius:11px;font-size:13px;font-weight:700;display:flex;gap:13px;align-items:center;}
.module-nav-link span {font-size:21px;color:#81a7ae;min-width:20px;}
.module-nav-link:hover {background:#1d3b4f;color:white;}
.module-nav-link.active {color:white;background:#204958;border-color:#315d69;}
.module-nav-link.active span {color:#5ce5c9;}
.sidebar-bottom {margin-top:auto;border-top:1px solid #2b4556;padding:18px 7px 0;font-size:12px;line-height:1.55;color:#91afbd;}
.sidebar-bottom a {color:#64ddc9;font-weight:700;display:inline-block;margin-top:13px;}
.mariza-main {min-width:0;}
.mariza-topbar {height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:#fff;}
.crumb {display:flex;gap:12px;align-items:center;font-size:11px;letter-spacing:.11em;color:#8795a3;}
.crumb strong {color:#244a5a;}
.crumb b {color:#bccbd2;font-weight:400;}
.topbar-status {background:#e5f4f1;color:#197a70;border-radius:30px;padding:8px 14px;font-size:11px;font-weight:800;}
.mariza-content {max-width:1600px;margin:auto;padding:30px 34px 56px;}
.access-panel {max-width:520px;margin:11vh auto;padding:50px 38px;background:white;border-radius:22px;text-align:center;box-shadow:0 20px 80px #24415b18;border:1px solid var(--line);}
.access-panel h2 {font-size:24px;margin:15px 0 7px;}
.access-panel p {line-height:1.7;color:var(--muted);margin-bottom:25px;}
.access-icon {margin:auto;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;color:white;background:linear-gradient(145deg,#23b89f,#157293);font:800 29px Manrope,sans-serif;}
.loading-ring {display:block;width:48px;height:48px;border-radius:50%;border:4px solid #dce7ee;border-top-color:#13b89f;animation:spin .8s linear infinite;margin:auto;}
@keyframes spin {to {transform:rotate(360deg);}}
.mariza-hero {display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:24px;padding:36px 42px;background:radial-gradient(ellipse at 100% -30%,#277e86 0%,transparent 56%),linear-gradient(112deg,#132c42,#113b4a);color:#fff;overflow:hidden;position:relative;min-height:246px;box-shadow:0 18px 40px #20384c1a;}
.hero-eyebrow,.section-overline {display:block;font-size:10px;letter-spacing:.17em;font-weight:800;color:#158e8b;margin-bottom:10px;}
.hero-eyebrow {color:#7de5d3;}
.mariza-hero h1 {font-size:clamp(27px,3.2vw,43px);line-height:1.18;margin:0 0 12px;font-weight:800;}
.mariza-hero h1 em {font-style:normal;color:#8bf0d5;}
.mariza-hero p {max-width:600px;font-size:13px;color:#c0d8e2;line-height:1.65;margin-bottom:18px;}
.hero-badges {display:flex;gap:8px;flex-wrap:wrap;}
.hero-badges span {background:#ffffff12;border:1px solid #ffffff1f;border-radius:30px;font-size:10px;color:#cbe5e6;padding:7px 11px;}
.hero-symbol {background:#ffffff0b;border:1px solid #ffffff23;border-radius:50%;width:177px;height:177px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none;position:relative;box-shadow:0 0 0 21px #ffffff08,0 0 0 44px #ffffff04;}
.hero-symbol span {font:800 67px Manrope,sans-serif;letter-spacing:-.1em;color:#b8f1e7;margin-left:-10px;}
.hero-symbol small {font-size:9px;letter-spacing:.18em;color:#82b2bd;}
.app-notice {margin-top:18px;border-radius:12px;background:#e1f5ee;border:1px solid #c2e9dd;color:#17695b;padding:14px 18px;font-size:13px;line-height:1.5;}
.app-notice.notice-error {background:#fff1ef;border-color:#efcec8;color:#a34742;}
.mariza-kpis {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:22px 0 30px;}
.mariza-kpi {background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;min-height:125px;position:relative;overflow:hidden;box-shadow:0 4px 12px #28496208;}
.mariza-kpi:before {content:"";height:4px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#25bca9,#4698c6);}
.mariza-kpi:nth-child(3):before {background:linear-gradient(90deg,#8a9ae6,#4b9fe8);}
.mariza-kpi span {display:block;font-size:11px;font-weight:700;color:#718296;}
.mariza-kpi strong {display:block;font-size:32px;line-height:1.35;font-family:Manrope,sans-serif;color:#1d394b;letter-spacing:-.05em;margin-top:5px;}
.mariza-kpi small {color:#91a0aa;font-size:10px;line-height:1.4;display:block;}
.mariza-panel {display:block;}
.section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px;}
.section-head h2 {font-size:24px;margin-bottom:6px;}
.section-head p {font-size:13px;color:var(--muted);margin:0;line-height:1.5;}
.outline-action {border:1px solid #ccdce1;background:#fff;color:#1b6268;padding:10px 15px;border-radius:11px;font-size:12px;font-weight:800;white-space:nowrap;}
.outline-action:hover {border-color:#1ca69a;background:#f0faf8;}
.primary-action {border:none;background:#147f7e;color:#fff;padding:12px 17px;border-radius:11px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 9px 20px #147f7e27;}
.primary-action:hover {background:#0a6d73;}
.return-link {display:inline-flex;}
.filter-bar {display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,1.25fr) minmax(180px,1.6fr);gap:12px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 17px;margin-bottom:16px;}
.filter-bar label,.import-grid label,.action-form label {font-size:11px;font-weight:800;color:#697f8e;display:flex;flex-direction:column;gap:7px;}
.filter-bar select,.filter-bar input,.import-grid select,.import-grid input,.action-form select,.action-form input,.action-form textarea {
  width:100%;background:#f8fafc;border:1px solid #dce5eb;color:#264255;border-radius:9px;min-height:43px;padding:10px 12px;font-weight:600;font-size:13px;outline:none;
}
.filter-bar input:focus,.filter-bar select:focus,.action-form input:focus,.action-form select:focus,.import-grid input:focus {border-color:#15a8a0;box-shadow:0 0 0 3px #0ba89520;}
.map-layout {display:grid;grid-template-columns:minmax(0,1.95fr) minmax(280px,.84fr);gap:16px;align-items:stretch;}
.map-card,.insight-card,.data-card,.import-card,.location-review {background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 20px #18384d08;}
.map-card {padding:17px 18px;}
.map-card-head {display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:12px;}
.map-card-head strong {font-size:14px;color:#2b4359;}
.map-card-head span {font-size:10px;font-weight:700;color:#77909d;}
#mariza-map {height:510px;width:100%;border-radius:12px;background:radial-gradient(circle at 52% 52%,#264c62,#10283c);z-index:0;}
#mariza-map .leaflet-container {background:#14334b;}
#mariza-map .leaflet-control-zoom a {color:#184859;border:0;}
#mariza-map .leaflet-popup-content-wrapper {border-radius:12px;font-family:"DM Sans",sans-serif;}
.map-legend {display:flex;flex-wrap:wrap;gap:10px 16px;margin:17px 3px 11px;font-size:11px;font-weight:700;color:#526d7d;}
.map-legend span {display:flex;align-items:center;gap:7px;}
.map-legend .dot,.kind-dot {display:inline-block;width:10px;height:10px;border-radius:50%;flex:none;}
.dot-client,.kind-cliente {background:#20c2ad;}
.dot-prospect,.kind-prospeccao {background:#4b9fe8;}
.dot-both {background:#edb463;}
.dot-store,.kind-rede {background:#a49bf2;}
.map-footnote {font-size:10px;color:#8191a0;line-height:1.55;margin:0;}
.insight-card {padding:24px 22px;overflow:auto;min-height:510px;}
.insight-card h3 {font-size:24px;margin:0 0 6px;}
.insight-card>p {font-size:12px;line-height:1.5;color:var(--muted);}
.insight-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:24px;padding-bottom:19px;border-bottom:1px solid var(--line);}
.insight-metrics>div {padding:12px 7px;background:#f1f6f8;border-radius:10px;min-width:0;}
.insight-metrics span {display:block;font-size:9px;color:#6e8392;margin-bottom:7px;overflow-wrap:anywhere;}
.insight-metrics strong {font:800 22px Manrope,sans-serif;color:#164f5b;}
.insight-items {padding-top:16px;}
.insight-line {display:flex;gap:10px;padding:11px 2px;border-bottom:1px solid #edf1f4;align-items:flex-start;}
.insight-line .kind-dot {margin-top:5px;}
.insight-line strong {display:block;font-size:12px;overflow-wrap:anywhere;}
.insight-line small {display:block;font-size:10px;margin-top:4px;color:#7e8f9b;}
.quiet-text {font-size:12px;color:#8b9aaa;line-height:1.7;}
.analysis-grid {display:grid;grid-template-columns:1fr 1.15fr;gap:16px;margin-top:18px;}
.data-card {padding:22px;margin-bottom:0;}
.card-title {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;}
.card-title h3 {font-size:17px;margin:0;}
.source-chip {background:#eff6f6;border-radius:99px;color:#60979b;padding:7px 10px;font-size:10px;font-weight:800;}
.rank-list,.city-ranking {max-height:440px;overflow:auto;}
.rank-item,.city-row {width:100%;background:none;border:0;border-bottom:1px solid #e9eff3;text-align:left;display:flex;align-items:center;gap:11px;padding:13px 4px;}
.rank-item:hover,.city-row:hover {background:#f2f9f8;}
.rank-index {font-size:10px;color:#9caebb;}
.rank-item strong {font-size:13px;min-width:27px;}
.rank-item>span:nth-child(3) {color:#8494a1;font-size:10px;flex:1;}
.rank-item b {font:800 16px Manrope,sans-serif;color:#207f83;}
.city-row {justify-content:space-between;gap:14px;}
.city-row strong {font-size:12px;display:block;}
.city-row small {font-size:10px;color:#92a3af;display:block;margin-top:4px;}
.city-figures {color:#8495a0;font-size:10px;text-align:right;line-height:1.8;}
.city-figures b {color:#126f80;margin-left:6px;}
.location-review {padding:18px 22px;margin-top:16px;font-size:12px;line-height:1.7;color:#758899;}
.location-review>strong {display:block;color:#39596a;margin-bottom:7px;}
.location-review p {margin:0 0 8px;}
.pending-cities {display:flex;gap:7px;flex-wrap:wrap;}
.pending-cities span {font-size:10px;color:#9b6b31;background:#fff4e7;border-radius:7px;padding:6px 8px;}
.import-card {padding:26px;}
.import-grid {display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:14px;}
.file-label input {padding:10px 12px;}
.import-actions {display:flex;align-items:center;gap:16px;margin-top:22px;flex-wrap:wrap;}
.import-actions span {font-size:12px;color:#778b9b;line-height:1.55;}
.preview-stats {margin:28px 0 10px;background:#eff8f7;padding:12px 15px;color:#317b7b;border-radius:8px;font-size:12px;font-weight:800;}
.preview-warnings {font-size:12px;color:#986635;line-height:1.5;margin-bottom:12px;}
.table-scroller {overflow:auto;max-width:100%;}
.preview-table,.actions-table table {border-collapse:collapse;min-width:620px;width:100%;text-align:left;font-size:12px;}
.preview-table th,.actions-table th {font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#7c8c9a;background:#f3f7f9;padding:12px;}
.preview-table td,.actions-table td {border-bottom:1px solid #edf1f4;padding:12px;color:#465d6b;}
.import-history {margin-top:18px;}
.history-item {display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding:14px 0;}
.history-item strong {font-size:12px;}
.history-item p {font-size:11px;color:#83929e;margin:5px 0 0;}
.history-item>span {font-size:11px;color:#146d7a;font-weight:800;}
.method-note {font-size:12px;line-height:1.7;color:#7e909c;margin:18px 0;}
.action-explainer {margin-bottom:19px;background:#e9f6f4;border:1px solid #cceae5;border-radius:14px;color:#326e70;padding:15px 18px;font-size:12px;line-height:1.65;}
.suggestion-list {max-height:570px;overflow:auto;}
.suggestion-row {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid var(--line);}
.suggestion-row strong {display:block;font-size:13px;margin:5px 0;}
.suggestion-row p {font-size:11px;color:#627789;line-height:1.5;margin-bottom:4px;}
.suggestion-row small {font-size:10px;color:#8a9daa;}
.suggestion-label {display:inline-block;font-size:10px;color:#1f777c;background:#eff8f6;border-radius:5px;padding:4px 7px;font-weight:800;}
.suggestion-row .outline-action {font-size:11px;}
.action-management {margin-top:18px;}
.action-form {display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:15px;padding:7px 0 20px;}
.action-title-field,.action-notes-field {grid-column:span 2;}
.action-form .primary-action {align-self:end;min-height:43px;}
.action-form textarea {resize:vertical;}
.actions-table {margin-top:17px;}
.actions-table td strong {display:block;font-size:12px;}
.actions-table td small {display:block;margin-top:5px;font-size:10px;color:#91a0aa;}
.actions-table select {border:1px solid #d8e5e9;border-radius:8px;background:#fff;padding:8px;font-size:11px;}
.mariza-footer {text-align:center;margin-top:38px;padding-top:24px;color:#9aa9b4;font-size:10px;border-top:1px solid var(--line);line-height:1.65;}
@media(max-width:1350px) {
  .mariza-shell {grid-template-columns:218px minmax(0,1fr);}
  .mariza-content {padding:24px;}
  .mariza-kpis {gap:10px;}
  .mariza-kpi {padding:16px 14px;}
  .map-layout {grid-template-columns:minmax(0,1.45fr) minmax(270px,.85fr);}
}
@media(max-width:1080px) {
  .mariza-kpis {grid-template-columns:repeat(3,minmax(0,1fr));}
  .map-layout,.analysis-grid {grid-template-columns:1fr;}
  .insight-card {min-height:0;}
  .map-layout .insight-card {max-height:440px;}
  .import-grid {grid-template-columns:1fr 1fr;}
}
@media(max-width:750px) {
  .mariza-shell {display:block;}
  .mariza-sidebar {height:auto;position:static;padding:16px;gap:14px;}
  .atlas-brand,.company-identity {margin:0;}
  .sidebar-kicker,.sidebar-divider,.sidebar-bottom {display:none;}
  .module-nav {display:flex;overflow:auto;gap:8px;}
  .module-nav-link {white-space:nowrap;flex:none;padding:11px;}
  .mariza-topbar {height:auto;min-height:58px;padding:13px 17px;gap:10px;flex-wrap:wrap;}
  .mariza-content {padding:18px 12px 30px;}
  .mariza-hero {padding:26px 23px;min-height:0;}
  .hero-symbol {display:none;}
  .hero-badges {gap:5px;}
  .mariza-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}
  .mariza-kpi strong {font-size:26px;}
  .section-head {align-items:flex-start;flex-direction:column;}
  .filter-bar {grid-template-columns:1fr;}
  .map-card {padding:12px;}
  #mariza-map {height:420px;}
  .insight-card,.data-card,.import-card {padding:18px;}
  .import-grid,.action-form {grid-template-columns:1fr;}
  .action-title-field,.action-notes-field {grid-column:auto;}
}
@media print {
  .mariza-sidebar,.mariza-topbar,.filter-bar,.outline-action,.primary-action {display:none!important;}
  .mariza-shell {display:block;}
  .mariza-content {max-width:none;padding:0;}
  .mariza-panel[hidden] {display:none!important;}
  .map-layout,.analysis-grid {page-break-inside:avoid;}
}