/* AutoGestão Pro 2.6 — dashboard administrativo. Não altera demais módulos. */
.agp-executive-dashboard{--agp26-border:#243a55;--agp26-text:#dbe9ff;gap:15px!important;color:var(--agp26-text)}
.agp-executive-dashboard>div:first-child{background:linear-gradient(110deg,#07162a,#111631 72%,#0b1c36)!important;border-color:#33446a!important;box-shadow:0 18px 44px #0207189c}
.agp-executive-dashboard>div:first-child h1{background:linear-gradient(105deg,#f5f6ff,#ae9dff);-webkit-background-clip:text;background-clip:text;color:transparent}
.agp-executive-dashboard>div:first-child h1 span{background:inherit!important;-webkit-text-fill-color:inherit}
.agp-executive-dashboard :is(button,select,input){touch-action:manipulation}
.agp-executive-dashboard :is(button,select,input,summary):focus-visible{outline:2px solid #9c84ff;outline-offset:3px}
.agp-executive-dashboard>div:nth-child(2){border:1px solid #8d315c;padding:16px;border-radius:15px;background:linear-gradient(105deg,#290f2d99,#0b1830 85%)}
.agp-executive-dashboard>div:nth-child(2)>div:first-child{flex-wrap:wrap;gap:10px}
.agp-v26-center{display:grid;gap:16px;min-width:0}
.agp-v26-section{min-width:0}.agp-v26-heading{display:flex;align-items:end;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.agp-v26-heading h2{font-size:13px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;color:#dbeaff}.agp-v26-heading small{font-size:11px;color:#9caec8}
.agp-v26-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.agp-v26-metric{display:flex;flex-direction:column;gap:10px;min-height:121px;min-width:0;padding:16px 13px;border:1px solid var(--agp26-border);border-radius:14px;background:linear-gradient(155deg,#112343,#08192f);box-shadow:0 10px 20px #0002;overflow-wrap:anywhere;transition:border-color .2s,transform .2s}.agp-v26-metric:hover{border-color:#586ea8;transform:translateY(-2px)}.agp-v26-metric-label{font-size:11px;font-weight:750;color:#b3c8e6}.agp-v26-metric strong{font-size:clamp(17px,1.5vw,24px);line-height:1.2;font-weight:850;color:#f0f6ff;font-variant-numeric:tabular-nums}.agp-v26-metric small{font-size:10px;color:#8fa3c2;line-height:1.45}.agp-v26-received{border-color:#087e68;background:linear-gradient(125deg,#064b4355,#0c2333)}.agp-v26-balance{border-color:#246cba}.agp-v26-overdue{border-color:#b82f65;background:linear-gradient(130deg,#6b1e4055,#10182d)}.agp-v26-contracts{border-color:#6948ce}.agp-v26-fleet{border-color:#1275ad}.agp-v26-documents{border-color:#9a5820}.agp-v26-disclaimer,.agp-v26-caption{font-size:10px;color:#8d9fb9;line-height:1.55;margin-top:10px}
.agp-v26-graphs{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:11px;align-items:stretch}.agp-v26-chart{min-width:0;min-height:324px;border:1px solid #273d5b;border-radius:15px;padding:16px;background:linear-gradient(150deg,#101e37,#09162a);box-shadow:0 10px 28px #02071470}.agp-v26-chart-head{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:7px;margin-bottom:14px}.agp-v26-chart-head h3{font-size:12px;font-weight:800;color:#dceaff}.agp-v26-chart-head small{font-size:10px;color:#98acc9}.agp-v26-chart :is(select,input,button){background:#081529;border:1px solid #31466a;border-radius:9px;padding:7px 9px;color:#dfe8ff;font-size:11px;max-width:100%}.agp-v26-chart button{cursor:pointer}.agp-v26-chart button:hover{border-color:#9e80fd}.agp-v26-chart-filters,.agp-v26-date-range{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.agp-v26-chart-filters select{max-width:48%}.agp-v26-plot svg{display:block;width:100%;height:168px;max-width:100%}.agp-v26-months{display:flex;justify-content:space-between;gap:2px;overflow-x:auto}.agp-v26-months button{padding:5px 4px;border:0;font-size:10px;color:#9cabc8;min-width:32px;background:transparent}.agp-v26-months button[aria-pressed=true]{color:#48e2bd;border-bottom:2px solid #48e2bd}.agp-v26-chart-total{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;margin-top:14px;align-items:center}.agp-v26-chart-total span{color:#adc0e0}.agp-v26-donut-row{display:flex;align-items:center;justify-content:space-evenly;gap:12px;flex-wrap:wrap;min-height:192px}.agp-v26-donut{width:150px;height:150px;border-radius:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;isolation:isolate}.agp-v26-donut:before{content:'';position:absolute;inset:29px;background:#0a1a31;border-radius:100%;z-index:-1}.agp-v26-donut strong{font-size:30px;font-weight:850}.agp-v26-donut small{font-size:11px;color:#9baccc}.agp-v26-legend{flex:1;min-width:110px}.agp-v26-legend>div{display:flex;flex-direction:column;margin:12px 0;gap:5px}.agp-v26-legend span{font-size:11px}.agp-v26-legend strong{font-size:16px}.agp-v26-legend .is-purple{color:#ab7dff}.agp-v26-legend .is-blue{color:#60a5fa}.agp-v26-contract-list,.agp-v26-aging-details{max-height:210px;overflow:auto;border-top:1px solid #2d4464;padding-top:8px;display:grid;gap:6px}.agp-v26-contract-list button,.agp-v26-aging-details button{text-align:left;white-space:normal}.agp-v26-aging{height:210px;display:flex;align-items:flex-end;gap:7px;justify-content:space-around}.agp-v26-aging button{border:0;display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;height:100%;justify-content:flex-end;min-width:0;background:transparent;padding:0 2px 2px}.agp-v26-aging-track{background:#0c2640;width:100%;min-height:120px;display:flex;align-items:flex-end;justify-content:center;border-radius:5px;overflow:hidden}.agp-v26-aging-track>span{display:block;width:82%;min-height:2px;border-radius:5px 5px 0 0;background:linear-gradient(0deg,#d64b7b,#ff6d63)}.agp-v26-aging button:nth-child(2) .agp-v26-aging-track>span{background:#ff9256}.agp-v26-aging button:nth-child(3) .agp-v26-aging-track>span{background:#ef425a}.agp-v26-aging button:nth-child(4) .agp-v26-aging-track>span{background:#af5fff}.agp-v26-aging button:nth-child(5) .agp-v26-aging-track>span{background:#6d8fdf}.agp-v26-aging button[aria-pressed=true]{outline:1px solid #9d84ff}.agp-v26-aging strong{font-size:11px}.agp-v26-aging small{font-size:9px;line-height:1.2;text-align:center;color:#a9bcd7}.agp-v26-aging-details strong{font-size:11px;color:#cfe4ff}.agp-v26-legacy{border:1px solid #24344e;border-radius:13px;background:#0b182b;min-width:0}.agp-v26-legacy>summary{cursor:pointer;padding:12px 16px;color:#a8bad7;font-size:12px;font-weight:700}.agp-v26-legacy[open]{padding:0 12px 12px}.agp-v26-legacy[open]>summary{padding:12px 4px}.agp-v26-footer,.agp-v26-version{font-size:10px;text-align:center;color:#7a91b4;padding:8px}
.agp-executive-dashboard .agp-dashboard-fleet{border-color:#324368;box-shadow:0 12px 35px #02071855}.agp-executive-dashboard .agp-fleet-card{box-shadow:0 10px 20px #02071860}.agp-executive-dashboard .agp-access-audit-recent-card{border-radius:13px!important}
@media(max-width:1400px){.agp-v26-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.agp-v26-graphs{grid-template-columns:repeat(2,minmax(0,1fr))}.agp-v26-flow{grid-column:span 2}}
@media(max-width:900px){.agp-v26-graphs{grid-template-columns:minmax(0,1fr)}.agp-v26-flow{grid-column:auto}.agp-v26-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.agp-v26-metrics{gap:8px}.agp-v26-metric{padding:12px 10px;min-height:116px}.agp-v26-chart{padding:12px}.agp-v26-chart-filters select{max-width:100%;width:100%}.agp-v26-donut{width:124px;height:124px}.agp-v26-donut:before{inset:24px}.agp-v26-chart-head select{width:100%}.agp-v26-legend{min-width:105px}}
@media(max-width:359px){.agp-v26-metrics{grid-template-columns:1fr}.agp-v26-metric{min-height:85px}}
@media(prefers-reduced-motion:reduce){.agp-v26-metric{transition:none}.agp-v26-metric:hover{transform:none}}

.agp-v26-chart-filters input[type=search]{min-width:90px;max-width:100%;flex:1 1 130px}.agp-v26-refresh{padding:8px 11px;border-radius:10px;border:1px solid #674bda!important;background:linear-gradient(120deg,#4d2dab,#302267)!important;color:#fff!important;font-size:11px;font-weight:750}.agp-v26-refresh:disabled{opacity:.65}

/* QA26-D07: native keyboard-accessible KPI links */
.agp-v26-metrics button.agp-v26-metric{text-align:left;font:inherit;cursor:pointer;width:100%;align-items:flex-start;color:inherit}
.agp-v26-metrics button.agp-v26-metric:focus-visible{outline:2px solid #ab94ff;outline-offset:2px}
.agp-v26-metric small{overflow-wrap:anywhere}
