/* OS Prestador — Super Admin Dashboard v26.23
   Camada visual isolada para Dashboard + Geografia.
   Não altera APIs, RPCs, permissões ou regras de negócio. */

:root{
  --sa23-navy:#102d5c;
  --sa23-blue:#2f6fbd;
  --sa23-blue-soft:#eef5ff;
  --sa23-text:#17243a;
  --sa23-muted:#6f7d91;
  --sa23-line:#dfe7f1;
  --sa23-bg:#f5f8fc;
  --sa23-card:#ffffff;
  --sa23-green:#198754;
  --sa23-amber:#c98208;
  --sa23-red:#c53d34;
  --sa23-shadow:0 10px 28px rgba(26,50,89,.07);
}

/* ===== Dashboard ===== */
.sa-page-shell[data-view="dashboard"] .dashboard-welcome{
  position:relative;
  overflow:hidden;
  min-height:150px;
  padding:28px 30px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  background:
    radial-gradient(circle at 86% 12%,rgba(89,162,255,.28),transparent 28%),
    linear-gradient(125deg,#0f2d5d 0%,#173c75 58%,#1f518f 100%);
  box-shadow:0 18px 42px rgba(15,45,93,.18);
}
.sa-page-shell[data-view="dashboard"] .dashboard-welcome:after{
  content:"";position:absolute;right:-90px;bottom:-125px;width:310px;height:310px;border:1px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none
}
.sa-page-shell[data-view="dashboard"] .dashboard-welcome h2{font-size:29px;line-height:1.08;margin:6px 0 8px;letter-spacing:-.035em}
.sa-page-shell[data-view="dashboard"] .dashboard-welcome p{max-width:660px;font-size:13px;line-height:1.55;color:#d7e6fb}
.sa-page-shell[data-view="dashboard"] .dashboard-welcome .eyebrow{color:#a9ccff;letter-spacing:.14em}
.sa-page-shell[data-view="dashboard"] .welcome-highlight{position:relative;z-index:1;min-width:245px;padding:17px 18px;border-color:rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.sa-page-shell[data-view="dashboard"] .welcome-highlight b{font-size:24px;letter-spacing:-.03em}
.sa-page-shell[data-view="dashboard"] .welcome-highlight small{font-size:10px;line-height:1.45}

.sa-page-shell[data-view="dashboard"] .control-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin:0 0 16px}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button{
  min-height:126px;padding:16px;border:1px solid var(--sa23-line);border-radius:16px;background:var(--sa23-card);box-shadow:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease
}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button:hover{transform:translateY(-2px);border-color:#b8cce6;box-shadow:var(--sa23-shadow)}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button:first-child{background:linear-gradient(145deg,#fbfdff,#eef6ff);border-color:#c7d9ef}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button small{font-size:10px;color:#74839a;letter-spacing:.055em}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button b{font-size:25px;margin:9px 0 7px;color:var(--sa23-navy)}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button span{font-size:10.5px;line-height:1.4;color:#708096}
.sa-page-shell[data-view="dashboard"] .control-kpi-grid button.danger{background:#fff8f7;border-color:#efcfca}

.sa-page-shell[data-view="dashboard"] .settings-card{
  border:1px solid var(--sa23-line);border-radius:17px;box-shadow:none;background:#fff
}
.sa-page-shell[data-view="dashboard"] .section-title{margin-bottom:14px}
.sa-page-shell[data-view="dashboard"] .section-title h3{font-size:15px;color:var(--sa23-text);letter-spacing:-.015em}
.sa-page-shell[data-view="dashboard"] .section-title p{font-size:11.5px;line-height:1.45;color:var(--sa23-muted)}
.sa-page-shell[data-view="dashboard"] .executive-summary-grid{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid{gap:9px}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid button{min-height:84px;padding:13px 14px;border-radius:13px;background:#f8fafc;border-color:#e5ebf3}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid button:hover{border-color:#c5d5e8;background:#f4f8fd}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid b{font-size:23px;letter-spacing:-.035em;color:#20395f}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid button.warn{background:#fffaf2;border-color:#eeddb7}
.sa-page-shell[data-view="dashboard"] .executive-attention-grid button.danger{background:#fff7f6;border-color:#efd2cd}
.sa-page-shell[data-view="dashboard"] .executive-list{gap:8px}
.sa-page-shell[data-view="dashboard"] .executive-list button,.sa-page-shell[data-view="dashboard"] .executive-list .executive-row{padding:11px 12px;border-radius:12px;background:#fbfcfe}
.sa-page-shell[data-view="dashboard"] .executive-list button:hover{transform:translateX(2px)}

.sa-page-shell[data-view="dashboard"] .onboarding-admin-card{margin-bottom:14px}
.sa-page-shell[data-view="dashboard"] .dashboard-period-pill{border:1px solid #d9e5f2;background:#f6f9fd;color:#52657e;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:700}
.sa-page-shell[data-view="dashboard"] .activation-funnel{gap:12px}
.sa-page-shell[data-view="dashboard"] .activation-funnel>div{padding:8px 0;border-bottom:1px solid #edf1f6}
.sa-page-shell[data-view="dashboard"] .activation-funnel>div:last-child{border-bottom:0}
.sa-page-shell[data-view="dashboard"] .activation-funnel i{height:7px;background:#edf2f7}
.sa-page-shell[data-view="dashboard"] .activation-funnel i:after{background:linear-gradient(90deg,#2767b4,#54a0dc)}
.sa-page-shell[data-view="dashboard"] .activation-rate{border:1px solid #dce9f8;background:#f1f7ff}

.sa-page-shell[data-view="dashboard"] .monitor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.sa-page-shell[data-view="dashboard"] .monitor-card{border-radius:14px;border-color:#e2e8f0}
.sa-page-shell[data-view="dashboard"] .monitor-card-head{padding:12px 13px}
.sa-page-shell[data-view="dashboard"] .monitor-list button{border-radius:9px}

.sa-page-shell[data-view="dashboard"] .status-bar{height:13px;background:#edf1f6;box-shadow:none}
.sa-page-shell[data-view="dashboard"] .status-legend{gap:10px 14px}
.sa-page-shell[data-view="dashboard"] .attention-list span{background:#f7f9fc;border:1px solid #e8edf4}
.sa-page-shell[data-view="dashboard"] .dashboard-footer-stats{gap:10px;margin-top:14px}
.sa-page-shell[data-view="dashboard"] .dashboard-footer-stats span{background:#f6f9fd;border:1px solid #e3eaf3;border-radius:11px;color:#607086}
.sa-page-shell[data-view="dashboard"] .dashboard-footer-stats b{color:var(--sa23-navy)}

/* ===== Geografia ===== */
.sa-page-shell[data-view="geografia"] .view-head{margin-bottom:14px}
.sa-page-shell[data-view="geografia"] .geo-toolbar{grid-template-columns:160px 160px minmax(210px,1fr) auto;padding:14px 15px;border-radius:15px;background:#fff;border:1px solid var(--sa23-line)}
.sa-page-shell[data-view="geografia"] .geo-toolbar input,.sa-page-shell[data-view="geografia"] .geo-toolbar select{border-radius:9px;border-color:#dbe4ef;background:#fbfcfe}
.sa-page-shell[data-view="geografia"] .geo-kpis{gap:10px;margin-top:12px}
.sa-page-shell[data-view="geografia"] .geo-kpis .area-kpi{min-height:104px;padding:14px 15px;border:1px solid var(--sa23-line);border-radius:14px;background:#fff;box-shadow:none}
.sa-page-shell[data-view="geografia"] .geo-kpis .area-kpi b{font-size:23px;color:var(--sa23-navy)}
.sa-page-shell[data-view="geografia"] .geo-kpis .area-kpi small{color:#6d7c91}
.sa-page-shell[data-view="geografia"] .geo-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:14px;margin:14px 0}
.sa-page-shell[data-view="geografia"] .geo-map-card,.sa-page-shell[data-view="geografia"] .geo-quality-card,.sa-page-shell[data-view="geografia"] .geo-rank-grid .settings-card{border:1px solid var(--sa23-line);border-radius:17px;box-shadow:none}
.sa-page-shell[data-view="geografia"] .geo-map-card{padding-bottom:12px}
.geo-map-shell{position:relative;display:grid;justify-items:center;min-height:520px;padding:8px 8px 0;border-radius:15px;background:linear-gradient(180deg,#fbfdff,#f5f8fc);border:1px solid #edf1f6}
.geo-map-canvas{width:min(100%,690px);height:auto;max-height:590px;display:block;filter:drop-shadow(0 12px 22px rgba(24,54,95,.09))}
.geo-map-canvas path{cursor:pointer;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke;transition:fill .15s ease,stroke .15s ease,filter .15s ease,opacity .15s ease}
.geo-map-canvas path[data-level="0"]{fill:#edf2f7}
.geo-map-canvas path[data-level="1"]{fill:#dce9f8}
.geo-map-canvas path[data-level="2"]{fill:#bad3ee}
.geo-map-canvas path[data-level="3"]{fill:#7fb0dd}
.geo-map-canvas path[data-level="4"]{fill:#3f82c2}
.geo-map-canvas path[data-level="5"]{fill:#1c5c9d}
.geo-map-canvas path:hover,.geo-map-canvas path:focus{stroke:#173f72;stroke-width:2.1;filter:brightness(1.025);outline:none}
.geo-map-canvas path.selected{stroke:#102d5c;stroke-width:3;filter:drop-shadow(0 4px 6px rgba(16,45,92,.22))}
.geo-map-loading{display:grid;place-items:center;min-height:440px;color:#74839a;font-size:12px}
.geo-map-tooltip{position:absolute;z-index:6;display:none;min-width:150px;pointer-events:none;padding:9px 11px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;box-shadow:0 10px 26px rgba(19,42,79,.14);color:#22324a;font-size:11px}
.geo-map-tooltip b{display:block;margin-bottom:3px;font-size:12px;color:#183b6a}
.geo-map-tooltip span{color:#6f7f95}
.geo-map-legend{margin:9px 0 0;padding:6px 9px;border-radius:99px;background:#fff;border:1px solid #e3e9f0}
.geo-map-legend i{width:30px;height:8px;border-radius:4px}
.geo-map-legend i:nth-of-type(1){background:#dce9f8}
.geo-map-legend i:nth-of-type(2){background:#bad3ee}
.geo-map-legend i:nth-of-type(3){background:#7fb0dd}
.geo-map-legend i:nth-of-type(4){background:#1c5c9d}
.geo-map-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;margin-top:9px}
.geo-map-summary span{display:grid;gap:2px;padding:9px 10px;border-radius:10px;background:#fff;border:1px solid #e5ebf3;color:#728096;font-size:9.5px}
.geo-map-summary b{font-size:12px;color:#23456f}
.geo-quality-card .area-metric-list{gap:8px}
.geo-quality-card .area-metric-list span{padding:10px 11px;border:1px solid #e7edf5;border-radius:10px;background:#fafcff}
.geo-rank-grid{grid-template-columns:1fr 1fr;gap:14px}
.geo-ranking{gap:6px}
.geo-rank-row{border-color:#e4eaf2;border-radius:10px;padding:9px 11px;background:#fff}
.geo-rank-row:hover,.geo-rank-row.active{background:#f2f7fd;border-color:#b9cee8}
.geo-rank-row strong{color:#204d83}

@media(max-width:1180px){
  .sa-page-shell[data-view="dashboard"] .control-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sa-page-shell[data-view="dashboard"] .monitor-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .sa-page-shell[data-view="dashboard"] .executive-summary-grid{grid-template-columns:1fr}
  .sa-page-shell[data-view="geografia"] .geo-layout{grid-template-columns:1fr}
  .sa-page-shell[data-view="geografia"] .geo-rank-grid{grid-template-columns:1fr}
  .geo-map-shell{min-height:460px}
}
@media(max-width:700px){
  .sa-page-shell[data-view="dashboard"] .dashboard-welcome{padding:20px 18px;border-radius:17px;min-height:0}
  .sa-page-shell[data-view="dashboard"] .dashboard-welcome h2{font-size:23px}
  .sa-page-shell[data-view="dashboard"] .welcome-highlight{width:100%;min-width:0}
  .sa-page-shell[data-view="dashboard"] .control-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sa-page-shell[data-view="dashboard"] .control-kpi-grid button{min-height:112px;padding:13px}
  .sa-page-shell[data-view="dashboard"] .control-kpi-grid button b{font-size:21px}
  .sa-page-shell[data-view="dashboard"] .monitor-grid{grid-template-columns:1fr}
  .sa-page-shell[data-view="geografia"] .geo-toolbar{grid-template-columns:1fr 1fr}
  .sa-page-shell[data-view="geografia"] .geo-toolbar label:nth-of-type(3),.sa-page-shell[data-view="geografia"] .geo-toolbar .btn{grid-column:1/-1}
  .geo-map-shell{min-height:390px;padding:4px}
  .geo-map-summary{grid-template-columns:1fr}
}
@media(max-width:430px){
  .sa-page-shell[data-view="dashboard"] .control-kpi-grid{grid-template-columns:1fr 1fr}
  .sa-page-shell[data-view="dashboard"] .executive-attention-grid{grid-template-columns:1fr 1fr}
  .sa-page-shell[data-view="dashboard"] .dashboard-footer-stats{grid-template-columns:1fr 1fr}
  .sa-page-shell[data-view="geografia"] .geo-kpis{grid-template-columns:1fr 1fr}
}


/* v26.23.1 — correção visual Geografia + Uso do App */
.sa-page-shell[data-view="geografia"] .geo-map-card .geo-brazil-map,
.sa-page-shell[data-view="geografia"] .geo-map-card .geo-state,
.sa-page-shell[data-view="geografia"] .geo-map-card .geo-brazil-silhouette,
.sa-page-shell[data-view="geografia"] .geo-map-card .geo-brazil-real-map{display:none!important}
.sa-page-shell[data-view="geografia"] .geo-map-shell{min-height:500px;align-content:start;overflow:hidden}
.sa-page-shell[data-view="geografia"] .geo-map-canvas{margin:4px auto 0;max-width:760px;max-height:560px}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path{fill:#edf2f7!important;stroke:#fff!important;stroke-width:1.15!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path[data-level="1"]{fill:#dce9f8!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path[data-level="2"]{fill:#bad3ee!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path[data-level="3"]{fill:#7fb0dd!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path[data-level="4"]{fill:#3f82c2!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path[data-level="5"]{fill:#1c5c9d!important}
.sa-page-shell[data-view="geografia"] .geo-map-canvas path.selected{stroke:#102d5c!important;stroke-width:3!important}

.sa-page-shell[data-view="produto"] .product-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.sa-page-shell[data-view="produto"] .product-focus-card{display:grid;gap:5px;min-height:122px;padding:18px;border:1px solid #dfe7f1;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(24,54,95,.045)}
.sa-page-shell[data-view="produto"] .product-focus-card span{font-size:11px;font-weight:800;color:#5d6d84;text-transform:uppercase;letter-spacing:.035em}
.sa-page-shell[data-view="produto"] .product-focus-card b{font-size:30px;line-height:1;color:#12355f}
.sa-page-shell[data-view="produto"] .product-focus-card small{font-size:10.5px;color:#7b899c}
.sa-page-shell[data-view="produto"] .product-focus-card.ok{border-top:3px solid #20a16b}
.sa-page-shell[data-view="produto"] .product-focus-card.warn{border-top:3px solid #d69a22}
.sa-page-shell[data-view="produto"] .product-focus-card.muted{border-top:3px solid #8aa0ba}
.sa-page-shell[data-view="produto"] .product-main-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.sa-page-shell[data-view="produto"] .activation-funnel{display:grid;gap:9px;margin-top:14px}
.sa-page-shell[data-view="produto"] .activation-funnel>div{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(100px,1.4fr) 42px;gap:9px;align-items:center}
.sa-page-shell[data-view="produto"] .activation-funnel span{font-size:11px;font-weight:700;color:#44546a}
.sa-page-shell[data-view="produto"] .activation-funnel b{font-size:12px;color:#173e72}
.sa-page-shell[data-view="produto"] .activation-funnel i{height:8px;border-radius:99px;background:#edf2f7;overflow:hidden;position:relative}
.sa-page-shell[data-view="produto"] .activation-funnel i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,#214e87,#4d91d4)}
.sa-page-shell[data-view="produto"] .activation-funnel em{font-style:normal;font-size:10px;font-weight:800;color:#617187;text-align:right}
.sa-page-shell[data-view="produto"] .operation-metric-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}
.sa-page-shell[data-view="produto"] .operation-metric-list span{display:grid;gap:3px;padding:12px 10px;border:1px solid #e3e9f1;border-radius:11px;background:#f9fbfd}
.sa-page-shell[data-view="produto"] .operation-metric-list b{font-size:18px;color:#173e72}
.sa-page-shell[data-view="produto"] .operation-metric-list small{font-size:9px;color:#75849a}
.sa-page-shell[data-view="produto"] .product-geo-card{margin:0 0 14px;border-radius:17px}
.sa-page-shell[data-view="produto"] .product-geo-card .geo-layout{grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:14px;margin:14px 0}
.sa-page-shell[data-view="produto"] .geo-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-content:start;min-height:205px;padding:12px;border:1px solid #e4eaf2;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f6f9fc)}
.sa-page-shell[data-view="produto"] .geo-tile{display:grid;gap:3px;align-content:center;min-height:82px;padding:12px;border:1px solid #e3eaf2;border-radius:12px;background:#fff;color:#718096}
.sa-page-shell[data-view="produto"] .geo-tile.has-data{background:linear-gradient(135deg,rgba(28,92,157,calc(var(--heat)*.16 + .04)),rgba(63,130,194,calc(var(--heat)*.34 + .05)));border-color:rgba(28,92,157,.20)}
.sa-page-shell[data-view="produto"] .geo-tile span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.sa-page-shell[data-view="produto"] .geo-tile b{font-size:22px;color:#173e72}
.sa-page-shell[data-view="produto"] .geo-tile small{font-size:9px;color:#6d7c90}
.sa-page-shell[data-view="produto"] .geo-rank{display:grid;gap:7px}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 32px;gap:9px;align-items:center;padding:9px 10px}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row>span{display:grid;grid-template-columns:22px minmax(0,1fr);gap:2px 7px;align-items:center;font-size:11px;font-weight:800}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row>span>b{grid-row:1/3;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eef3f9;font-size:9px;color:#58708d}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row small{display:block;font-size:8.5px;color:#8290a3;font-weight:500}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row>i{display:block;width:auto;height:7px;border-radius:99px;background:#edf2f7;overflow:hidden}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1c5c9d,#4a94da)}
.sa-page-shell[data-view="produto"] .geo-rank .geo-rank-row>strong{font-size:11px;color:#173e72;text-align:right}
.sa-page-shell[data-view="produto"] .geo-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px;border-top:1px solid #edf1f5}
.sa-page-shell[data-view="produto"] .geo-breakdown>div{display:grid;gap:6px}
.sa-page-shell[data-view="produto"] .geo-breakdown>div>b{font-size:11px;color:#27384f}
.sa-page-shell[data-view="produto"] .geo-breakdown span{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#66768c}
.sa-page-shell[data-view="produto"] .geo-breakdown strong{color:#183f72}
.sa-page-shell[data-view="produto"] .geo-total{font-size:11px;font-weight:800;color:#254e7d}
.sa-page-shell[data-view="produto"] .product-daily-bars{height:230px;display:grid;grid-template-columns:repeat(14,minmax(18px,1fr));align-items:end;gap:6px;padding:14px 6px 0;margin-top:10px;border-bottom:1px solid #e7edf4}
.sa-page-shell[data-view="produto"] .product-daily-bars>div{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px;position:relative;padding-bottom:23px}
.sa-page-shell[data-view="produto"] .product-daily-bars>div>i{width:6px;min-height:0;border-radius:5px 5px 2px 2px}
.sa-page-shell[data-view="produto"] .product-daily-bars i.active{background:#1b4d85}
.sa-page-shell[data-view="produto"] .product-daily-bars i.os{background:#438ed2}
.sa-page-shell[data-view="produto"] .product-daily-bars i.errors{background:#d36d62}
.sa-page-shell[data-view="produto"] .product-daily-bars small{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);font-size:8px;color:#7f8ca0;white-space:nowrap}
.sa-page-shell[data-view="produto"] .product-chart-legend{display:flex;gap:14px;justify-content:center;margin-top:10px;font-size:9px;color:#6d7b90}
.sa-page-shell[data-view="produto"] .product-chart-legend span{display:flex;align-items:center;gap:5px}
.sa-page-shell[data-view="produto"] .product-chart-legend i{width:8px;height:8px;border-radius:3px}
.sa-page-shell[data-view="produto"] .product-chart-legend i.active{background:#1b4d85}
.sa-page-shell[data-view="produto"] .product-chart-legend i.os{background:#438ed2}
.sa-page-shell[data-view="produto"] .product-chart-legend i.errors{background:#d36d62}
.sa-page-shell[data-view="produto"] .feature-adoption{display:grid;gap:10px;margin-top:12px}
.sa-page-shell[data-view="produto"] .feature-adoption>div{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(120px,.85fr);gap:12px;align-items:center}
.sa-page-shell[data-view="produto"] .feature-adoption>div>i{height:8px;border-radius:99px;background:#edf2f7;overflow:hidden}
.sa-page-shell[data-view="produto"] .feature-adoption>div>i>b{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#194c85,#3d90df)}
.sa-page-shell[data-view="produto"] .feature-adoption span{display:grid;gap:2px}
.sa-page-shell[data-view="produto"] .feature-adoption span b{font-size:11px;color:#26374e}
.sa-page-shell[data-view="produto"] .feature-adoption span small{font-size:8.8px;color:#8491a2}
@media(max-width:1100px){
 .sa-page-shell[data-view="produto"] .product-hero-grid{grid-template-columns:1fr 1fr}
 .sa-page-shell[data-view="produto"] .product-hero-grid .product-focus-card:last-child{grid-column:1/-1}
 .sa-page-shell[data-view="produto"] .operation-metric-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sa-page-shell[data-view="produto"] .product-geo-card .geo-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
 .sa-page-shell[data-view="produto"] .product-hero-grid,.sa-page-shell[data-view="produto"] .product-main-grid{grid-template-columns:1fr}
 .sa-page-shell[data-view="produto"] .operation-metric-list{grid-template-columns:1fr 1fr}
 .sa-page-shell[data-view="produto"] .geo-map{grid-template-columns:1fr 1fr}
 .sa-page-shell[data-view="produto"] .geo-breakdown{grid-template-columns:1fr}
 .sa-page-shell[data-view="produto"] .product-daily-bars{gap:3px;height:190px;overflow-x:auto;grid-template-columns:repeat(14,28px);justify-content:start}
 .sa-page-shell[data-view="produto"] .feature-adoption>div{grid-template-columns:1fr;gap:5px}
}


/* v26.23.2 — mapa responsivo com viewBox real e proporção natural */
.sa-page-shell[data-view="geografia"] .geo-map-shell{
  min-height:0!important;
  height:auto!important;
  align-content:start;
  grid-template-rows:auto auto auto;
  gap:0;
  padding:10px 12px 12px;
  overflow:visible;
}
.sa-page-shell[data-view="geografia"] .geo-map-canvas{
  display:block;
  width:min(100%,620px)!important;
  height:auto!important;
  aspect-ratio:1000 / 912;
  max-width:620px!important;
  max-height:none!important;
  margin:0 auto!important;
  object-fit:contain;
}
.sa-page-shell[data-view="geografia"] .geo-map-loading{
  width:100%;
  min-height:320px;
}
.sa-page-shell[data-view="geografia"] .geo-map-legend{
  justify-self:center;
  margin-top:4px;
}
.sa-page-shell[data-view="geografia"] .geo-map-summary{
  margin-top:8px;
}
.sa-page-shell[data-view="geografia"] .geo-map-card{
  align-self:start;
}
@media(max-width:900px){
  .sa-page-shell[data-view="geografia"] .geo-map-canvas{
    width:min(100%,540px)!important;
    max-width:540px!important;
  }
}
@media(max-width:700px){
  .sa-page-shell[data-view="geografia"] .geo-map-shell{
    min-height:0!important;
    padding:8px 8px 10px!important;
    border-radius:13px;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-canvas{
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:1000 / 912;
    margin:0 auto!important;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-loading{
    min-height:260px;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-summary{
    grid-template-columns:1fr!important;
    gap:6px;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-summary span{
    padding:8px 9px;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-legend i{
    width:24px;
  }
}
@media(max-width:430px){
  .sa-page-shell[data-view="geografia"] .geo-map-canvas{
    width:100%!important;
    min-height:0!important;
  }
  .sa-page-shell[data-view="geografia"] .geo-map-loading{
    min-height:220px;
  }
}
