/* GMP ADM — Painel estatístico com identidade PRODAMU */
.dash-root{overflow:hidden;padding:27px 25px 31px}
.dash-root[hidden]{display:none}
.dash-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}
.dash-hero h2{font-size:clamp(25px,3vw,33px);letter-spacing:-.7px;line-height:1.2;color:#54224c;margin:4px 0 7px}
.dash-hero .eyebrow{margin:0;color:#97758d;font-size:11px;letter-spacing:1.1px;font-weight:800}
.dash-subtitle{margin:0;color:#786b77;font-size:13px}
.dash-live{display:flex;align-items:center;gap:8px;background:#f8f3f7;border:1px solid #ebdeea;padding:11px 12px;border-radius:99px;max-width:380px}
.dash-live span:last-child{font-size:11px;font-weight:650;color:#704368}
.dash-live-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;background:#b7a6b4}
.dash-live-dot[data-state="success"]{background:#248765;box-shadow:0 0 0 4px #e1f2e8}
.dash-live-dot[data-state="error"]{background:#bd534f;box-shadow:0 0 0 4px #faeceb}
.dash-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 25px}
.dash-time-filters{display:flex;gap:5px;padding:4px;background:#f3edf2;border-radius:10px}
.dash-root .dash-time-filters button{margin:0;padding:8px 13px;background:transparent;border-radius:7px;color:#66415f;box-shadow:none;font-size:12px;font-weight:700;min-height:37px}
.dash-root .dash-time-filters button[aria-pressed="true"]{background:#682a60;color:#fff;box-shadow:0 2px 7px #5d2a5b22}
.dash-controls-actions{display:flex;gap:8px;flex-wrap:wrap}
.dash-root .dash-action{background:#fff;border:1px solid #e2d3df;color:#672c5c;padding:10px 14px;margin:0;font-size:12px;font-weight:700;min-height:44px}
.dash-root .dash-action:hover{background:#f7f0f5}
.dash-root .dash-action:disabled{opacity:.6}
.dash-section-heading{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 12px;gap:8px}
.dash-section-heading h3{font-size:18px;color:#57274e;margin:0;font-weight:800;letter-spacing:-.25px}
.dash-section-heading span{font-size:11px;color:#8c7a89;font-weight:650}
.dash-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
.dash-stat{position:relative;display:flex;flex-direction:column;min-height:119px;padding:18px 18px 16px;border:1px solid #eadfea;background:linear-gradient(150deg,#fff,#fcf9fc);border-radius:13px;box-shadow:0 3px 10px #4f234b08;overflow:hidden}
.dash-stat:before{content:"";position:absolute;top:0;left:0;bottom:0;width:3px;background:#caa75c}
.dash-stat-title{font-size:12px;font-weight:700;color:#72576e}
.dash-stat strong{font-size:clamp(24px,2.6vw,33px);font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1.3;color:#5a2653;margin-top:8px}
.dash-stat-note{color:#9a8697;font-size:11px}
.dash-charts-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:14px;margin-bottom:27px}
.dash-chart-card{background:#fff;border:1px solid #e9dee8;border-radius:14px;padding:18px 17px;min-width:0}
.dash-chart-card h3{margin:0;color:#57284f;font-size:15px;font-weight:800}
.dash-chart-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.dash-chart-title p{font-size:11px;color:#978997;margin:5px 0 0}
.dash-period-tag{flex-shrink:0;padding:5px 9px;background:#f6eef4;border:1px solid #e6d5e2;border-radius:99px;font-size:10px;font-weight:760;color:#652858}
.dash-graphic{min-height:230px;display:flex;align-items:center}
.dash-graphic svg{width:100%;height:auto;display:block;overflow:visible}
.dash-legend{display:flex;gap:16px;font-size:11px;font-weight:650;color:#736573}
.dash-legend span,.dash-donut-name{display:flex;align-items:center;gap:7px}
.dash-color-inc,.dash-color-vis{display:inline-block;width:10px;height:10px;border-radius:3px;background:#6b2c63;flex-shrink:0}
.dash-color-vis{background:#c9a451}
.dash-donut-layout{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:21px;min-height:257px}
.dash-donut{display:grid;place-items:center;width:156px;height:156px;border-radius:50%;background:#eae2e8;transition:background .3s}
.dash-donut-hole{width:112px;height:112px;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #f5f0f5}
.dash-donut-hole strong{font-size:27px;color:#582a50;line-height:1.15;font-variant-numeric:tabular-nums}
.dash-donut-hole span{font-size:12px;color:#988999}
.dash-donut-legend{width:100%;max-width:270px}
.dash-donut-legend>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0;font-size:12px;color:#756574;border-bottom:1px solid #f1eaf0}
.dash-donut-legend strong{color:#55244e;font-size:13px}
.dash-donut-legend small{display:block;text-align:center;color:#8f7c8b;margin-top:8px;font-size:10px}
.dash-ratios{min-height:190px;display:flex;flex-direction:column;gap:14px;margin-top:15px}
.dash-ratio-row{display:flex;flex-direction:column;gap:8px}
.dash-ratio-top{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px}
.dash-ratio-top span{color:#685769;overflow-wrap:anywhere}
.dash-ratio-top strong{font-size:12px;color:#55274d;font-variant-numeric:tabular-nums}
.dash-ratio-track{height:7px;border-radius:99px;overflow:hidden;background:#f1e8f0}
.dash-ratio-fill{height:100%;display:block;border-radius:99px;background:linear-gradient(90deg,#6b2c63,#b485aa)}
.dash-operations-heading{padding-top:5px}
.dash-ops-stats{margin-top:12px}
.dash-placeholder{padding:35px 17px;border:1px dashed #e2d2dd;border-radius:12px;background:#fdfafd;text-align:center;color:#8a7585;font-size:13px;margin:10px 0 22px;line-height:1.6}
.dash-empty{color:#a093a0;text-align:center;align-self:center;font-size:12px;padding:26px 10px}
.dash-disclaimer{font-size:11px;line-height:1.6;color:#918090;border-top:1px solid #eee5ec;margin:16px 0 0;padding:15px 2px 0}
.dash-root button:focus-visible{outline:3px solid #c9a451;outline-offset:3px}
@media(min-width:1100px){.dash-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.dash-ops-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-stat{padding:15px 12px;min-height:112px}.dash-stat-title{font-size:11px}}
@media(max-width:780px){.dash-root{padding:20px 16px}.dash-hero{align-items:flex-start;flex-direction:column}.dash-charts-grid{grid-template-columns:minmax(0,1fr)}.dash-donut-layout{flex-direction:row;flex-wrap:wrap}.dash-graphic{min-height:190px}}
@media(max-width:520px){.dash-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dash-stat{padding:15px 12px;min-height:100px}.dash-stat strong{font-size:25px}.dash-root{padding:17px 11px}.dash-chart-card{padding:14px 12px}.dash-live{max-width:100%;border-radius:11px}.dash-hero h2{font-size:26px}.dash-controls{align-items:stretch}.dash-time-filters,.dash-controls-actions{width:100%}.dash-time-filters button{flex:1}.dash-controls-actions>*{flex:1}.dash-donut{width:140px;height:140px}.dash-donut-hole{width:101px;height:101px}.dash-section-heading{flex-wrap:wrap}.dash-graphic{min-height:160px}}
@media(prefers-reduced-motion:reduce){.dash-donut{transition:none}}
/* Relatório mensal oficial GMP */
.gmp-monthly{background:linear-gradient(135deg,#f9fbff,#f5f8ff);border:1px solid #dce4f3;border-radius:16px;padding:19px;margin:0 0 27px}
.gmp-monthly-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.gmp-monthly-eyebrow{font-size:10px;font-weight:850;letter-spacing:1px;color:#1e4e94;margin:0 0 3px}
.gmp-monthly-heading h3{font-size:19px;color:#0b2b5a;margin:0 0 5px}
.gmp-monthly-heading p:not(.gmp-monthly-eyebrow){font-size:11px;color:#71819b;margin:0}
.gmp-monthly-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.gmp-monthly-actions label{display:flex;flex-direction:column;gap:4px;color:#1c427c;font-size:11px;font-weight:720}
.gmp-monthly-actions select{min-width:165px;margin:0;min-height:42px;border:1px solid #cbd8eb;border-radius:8px;color:#092c61;background:#fff;padding:7px}
.dash-root .gmp-monthly-actions button{margin:0;min-height:42px;border-radius:8px;background:#fff;color:#092d63;border:1px solid #bfd0e6;font-size:11px;padding:10px 12px;font-weight:760}
.dash-root .gmp-monthly-actions #gmpm-pdf{background:#062958;color:#fff;border-color:#062958}
.dash-root .gmp-monthly-actions button:disabled{opacity:.55}
.gmp-monthly-status{display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #e2eaf4;border-radius:9px;padding:8px 11px;margin-bottom:14px;font-size:11px;color:#547092}
.gmp-monthly-led{width:8px;height:8px;border-radius:50%;background:#9aaac1}
.gmp-monthly-status:has([data-online="yes"]) .gmp-monthly-led{background:#218758}
.gmp-monthly-period{margin-left:auto;color:#375b91;font-weight:700}
.gmp-monthly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gmp-monthly-card{min-width:0;min-height:124px;background:#fff;border:1px solid #e4ebf6;border-radius:12px;padding:14px}
.gmp-monthly-card h4{font-size:12px;color:#143469;font-weight:820;margin:0 0 10px}
.gmp-monthly-card p{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#526986;margin:6px 0;border-bottom:1px solid #eff2f6;padding-bottom:4px}
.gmp-monthly-card p strong{font-size:15px;color:#0a3879;font-variant-numeric:tabular-nums}
.gmp-monthly-main{background:linear-gradient(130deg,#0c3679,#042358);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.gmp-monthly-main span{color:#d8e8ff;font-size:12px;letter-spacing:1px;font-weight:780}
.gmp-monthly-main strong{font-size:clamp(28px,5vw,47px);font-variant-numeric:tabular-nums;line-height:1.25}
.gmp-monthly-main small{font-size:11px;color:#c8d9f2}
.gmpm-bar-track{height:7px;background:#e9eff8;border-radius:5px;overflow:hidden}
.gmpm-bar-track i{display:block;width:0;height:100%;background:#1461c6;border-radius:5px;transition:width .2s}
@media(max-width:960px){.gmp-monthly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gmp-monthly-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:540px){.gmp-monthly{padding:11px}.gmp-monthly-grid{grid-template-columns:1fr}.gmp-monthly-actions{width:100%}.gmp-monthly-actions label{width:100%}.gmp-monthly-actions select{width:100%}.gmp-monthly-actions button{flex:1}.gmp-monthly-card{min-height:auto}}.dash-root .gmp-monthly-actions a.gmp-monthly-download{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;min-height:42px;background:#062958;color:#fff;border:1px solid #062958;border-radius:8px;font-size:11px;font-weight:760;text-decoration:none;cursor:pointer}
.dash-root .gmp-monthly-actions a.gmp-monthly-download[aria-disabled="true"]{opacity:.58;pointer-events:none;cursor:default}
.dash-root .gmp-monthly-actions a.gmp-monthly-download:focus-visible{outline:3px solid #c9a451;outline-offset:2px}/* Fonte segura Google Sheets/AppSheet */
.gmp-source{padding:19px;margin:0 0 27px;background:#fff;border:1px solid #dfe6ef;border-radius:15px}
.gmp-source-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:16px}
.gmp-source-eyebrow{font-size:10px;letter-spacing:.95px;font-weight:820;color:#2d62a9;margin:0 0 4px}
.gmp-source-heading h3{font-size:19px;font-weight:850;color:#0c315f;margin:0 0 5px}
.gmp-source-heading p:not(.gmp-source-eyebrow){font-size:11px;color:#73819a;margin:0}
.gmp-source-heading [data-online="yes"]{color:#1d865d!important}
.gmp-source-heading [data-online="partial"]{color:#93630a!important}
.dash-root .gmp-source-heading button{margin:0;background:#0c3572;color:#fff;font-size:11px;font-weight:760;padding:10px 13px;border-radius:8px;min-height:42px}
.gmp-source-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.gmp-source-stats>div{background:#f6f9fe;border:1px solid #e2eaf5;border-radius:11px;padding:14px 12px;display:flex;flex-direction:column;gap:6px}
.gmp-source-stats small{color:#5c7395;font-size:11px}
.gmp-source-stats strong{font-size:27px;font-variant-numeric:tabular-nums;color:#0b3472;line-height:1.2}
.gmp-source-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gmp-source-charts>div{border:1px solid #e7edf6;border-radius:12px;padding:13px;min-width:0}
.gmp-source-charts h4{font-size:12px;font-weight:790;color:#163963;margin:0 0 10px}
.gmp-source-row{margin:0 0 13px}
.gmp-source-row-header{display:flex;justify-content:space-between;gap:7px;font-size:11px;color:#62738b;margin-bottom:5px}
.gmp-source-row-header strong{font-size:11px;color:#0b3776}
.gmp-source-track{height:7px;background:#e8eff9;border-radius:7px;overflow:hidden}
.gmp-source-track span{display:block;height:100%;background:linear-gradient(90deg,#1360cb,#3988e8);border-radius:7px}
.gmp-source-empty{font-size:11px;color:#8290a4;margin:6px 0}
.gmp-source-note{font-size:10.5px;color:#8b95a5;line-height:1.5;margin:14px 0 0}
@media(max-width:720px){.gmp-source-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gmp-source-charts{grid-template-columns:1fr}.gmp-source-heading{align-items:flex-start;flex-direction:column}.gmp-source-heading button{width:100%}}
@media(max-width:460px){.gmp-source{padding:12px}.gmp-source-stats strong{font-size:23px}}
.gmp-source-type-note{font-size:10.5px;line-height:1.5;color:#687c96;margin:8px 0 0}
