
/* Visual layer only: filters, sessions, source queries and exports stay intact. */
#general-dashboard.gd-enterprise{max-width:1680px;padding:30px 36px 40px;color:#43485b;background:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.gd-enterprise .gd-reference-label{font-size:21px!important;font-weight:750;color:#32374b;letter-spacing:-.5px!important;margin:20px 0 26px!important}
.gd-enterprise .gd-reference-label span{font-size:13px;font-weight:450;letter-spacing:0;color:#81889c}
.gd-enterprise .gd-reference-tabs{background:none;border:0;border-bottom:1px solid #edf0f7;border-radius:0;padding:0;gap:24px;display:flex;margin-bottom:26px}
.gd-enterprise .gd-reference-tabs :is(button,a){background:none;color:#7a8196;box-shadow:none;border-radius:0;font-size:11px;padding:14px 4px;letter-spacing:.4px;border-bottom:3px solid transparent!important}
.gd-enterprise .gd-reference-tabs :is(button,a)[aria-selected=true]{color:#5269eb;background:none;border-bottom-color:#5269eb!important}
.gd-enterprise .gd-reference-layout{grid-template-columns:172px minmax(0,1fr);gap:32px}
.gd-enterprise .gd-reference-filters{background:#f9faff!important;border-color:#edf0f7!important;box-shadow:none;padding:17px 13px!important;border-radius:12px!important}
.gd-enterprise .gd-reference-filters h2{color:#5269eb}
.gd-enterprise .gd-reference-filters input,.gd-enterprise .gd-reference-filters select{border:1px solid #e1e5f0!important;min-height:40px!important;height:40px!important;font-size:12px!important}
.gd-enterprise .gd-reference-filters button{min-height:40px!important}
.gd-enterprise .gd-reference-heading{margin-bottom:22px}
.gd-enterprise .gd-reference-heading h2{font-size:15px;letter-spacing:1px;color:#71798f}
.gd-enterprise .gd-period,.gd-enterprise .gd-updated{border:0;padding:4px 0;font-size:10px;background:none}
.gd-enterprise .gd-score-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(140px,1fr);gap:26px;margin-bottom:32px;align-items:start}
.gd-enterprise .gd-primary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gd-enterprise .gd-primary-metrics .gd-score{background:#536bfa;border:0;border-radius:15px;padding:62px 22px 22px;min-height:172px;box-shadow:none}
.gd-enterprise .gd-primary-metrics .gd-score>span{color:#e5eaff;font-size:12px;font-weight:450;text-transform:none;padding:0;min-height:34px;letter-spacing:0}
.gd-enterprise .gd-primary-metrics .gd-score i{top:19px;left:22px;right:auto;background:none;color:#e4eaff;font-size:25px;padding:0}
.gd-enterprise .gd-primary-metrics .gd-value{color:white;font-size:32px;letter-spacing:-1px;display:block;line-height:1.2}
.gd-enterprise .gd-secondary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
.gd-enterprise .gd-secondary-metrics .gd-score{padding:0;border:0;background:none;min-height:65px;box-shadow:none}
.gd-enterprise .gd-secondary-metrics .gd-score>span{font-size:11px;font-weight:450;text-transform:none;min-height:30px;padding:0;color:#70778a;letter-spacing:0}
.gd-enterprise .gd-secondary-metrics .gd-score i{display:none}
.gd-enterprise .gd-secondary-metrics .gd-value{color:#536bfa;font-size:24px;display:block;margin:0;line-height:1.2}
.gd-enterprise .gd-reference-status{margin-bottom:16px}
.gd-enterprise .gd-reference-charts{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px 32px}
.gd-enterprise .gd-chart-card{border:0;border-radius:0;box-shadow:none;padding:12px 0 20px;background:white}
.gd-enterprise .gd-chart-card h3{font-weight:500;font-size:18px;color:#515668;letter-spacing:-.3px}
.gd-enterprise .gd-chart-card header p{min-height:0;color:#949bad;font-size:11px}
.gd-enterprise .gd-chart-card:last-child{grid-column:1/-1;border-top:1px solid #eff1f7;padding-top:25px}
.gd-enterprise .gd-donut-layout{flex-direction:row;gap:22px;min-height:210px;justify-content:flex-start}
.gd-enterprise .gd-ring{width:155px}
.gd-enterprise .gd-legend{max-height:200px;flex:1}
.gd-enterprise .gd-legend li{grid-template-columns:8px minmax(0,1fr) auto;font-size:11px}
.gd-enterprise .gd-legend small{grid-column:2/4}
.gd-enterprise .gd-trend{padding-top:8px;max-width:none}
.gd-enterprise .gd-columns{height:200px;gap:26px;min-width:calc(var(--gd-count)*75px)}
.gd-enterprise .gd-column-track{height:160px;background:none;border-bottom:1px solid #e8ecf5}
.gd-enterprise .gd-column-track>div{max-width:42px;margin:auto;border-radius:4px 4px 0 0}
.gd-enterprise .gd-column>span{font-size:11px;color:#747d90;line-height:1.5}
.gd-enterprise .gd-reference-bottom{gap:26px;margin-top:12px;border-top:1px solid #eff1f7;padding-top:26px}
.gd-enterprise .gd-followup,.gd-enterprise .gd-alerts{padding:0;border:0;box-shadow:none;border-radius:0}
.gd-enterprise .gd-followup h3,.gd-enterprise .gd-alerts h3{font-size:16px;font-weight:550;color:#52596c}
.gd-enterprise .gd-actions button{border-radius:7px;min-height:38px;font-size:11px;box-shadow:none}
.gd-enterprise .gd-actions .gd-primary{background:#536bfa;border-color:#536bfa;color:white}
.gd-enterprise button:focus-visible,.gd-enterprise input:focus-visible,.gd-enterprise select:focus-visible{outline:3px solid #9aafff;outline-offset:3px}
@media(min-width:1450px){.gd-enterprise .gd-secondary-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:1150px){.gd-enterprise .gd-reference-layout{gap:22px;grid-template-columns:150px minmax(0,1fr)}.gd-enterprise .gd-score-row{grid-template-columns:1fr;gap:18px}.gd-enterprise .gd-secondary-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.gd-enterprise .gd-primary-metrics{gap:14px}.gd-enterprise .gd-primary-metrics .gd-score{padding-left:18px;padding-right:18px}.gd-enterprise .gd-reference-charts>.gd-chart-card:last-child{grid-column:1/-1}}
@media(max-width:800px){#general-dashboard.gd-enterprise{padding:22px 20px}.gd-enterprise .gd-reference-layout{grid-template-columns:1fr}.gd-enterprise .gd-reference-filters{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}.gd-enterprise .gd-primary-metrics .gd-score{min-height:156px}.gd-enterprise .gd-reference-heading{margin-top:5px}.gd-enterprise .gd-reference-tabs{gap:18px}}
@media(max-width:550px){#general-dashboard.gd-enterprise{padding:18px 15px}.gd-enterprise .gd-reference-label span{display:block;margin-top:7px}.gd-enterprise .gd-reference-tabs{gap:12px;justify-content:space-between}.gd-enterprise .gd-reference-tabs :is(button,a){font-size:9px;min-height:46px;padding:12px 0}.gd-enterprise .gd-primary-metrics{grid-template-columns:1fr;gap:12px}.gd-enterprise .gd-primary-metrics .gd-score{min-height:106px;padding:20px 20px 20px 64px}.gd-enterprise .gd-primary-metrics .gd-score i{top:25px;left:21px}.gd-enterprise .gd-primary-metrics .gd-score>span{min-height:25px}.gd-enterprise .gd-secondary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gd-enterprise .gd-reference-charts,.gd-enterprise .gd-reference-bottom{grid-template-columns:1fr;gap:15px}.gd-enterprise .gd-reference-charts>.gd-chart-card:last-child{grid-column:auto}.gd-enterprise .gd-donut-layout{gap:15px}.gd-enterprise .gd-ring{width:140px}.gd-enterprise .gd-reference-filters{grid-template-columns:1fr 1fr}.gd-enterprise .gd-reference-filters label:first-of-type{grid-column:1/-1}.gd-enterprise input,.gd-enterprise select{font-size:16px!important}.gd-enterprise .gd-reference-top{flex-direction:column}.gd-enterprise .gd-reference-top>button{max-width:100%}.gd-enterprise .gd-reference-top .gd-actions{justify-content:flex-start;gap:8px;flex-wrap:wrap}.gd-enterprise .gd-actions button{min-height:44px}.gd-enterprise .gd-score-row{margin-bottom:20px}}
/* All columns share one zero baseline, including short values. */
.gd-enterprise .gd-column-track{display:flex;align-items:flex-end;justify-content:center}
.gd-enterprise .gd-column-track>div{width:42px;margin:0 auto;flex:none}

/* Costos de merma: scoped to the general dashboard. No operational form styles. */
.gd-enterprise .gd-cost-section{margin:8px 0 30px;padding:22px;border:1px solid #dfe8f5;background:#f8faff;border-radius:18px;min-width:0}
.gd-enterprise .gd-cost-heading span{font-size:10px;font-weight:700;color:#365fe4;letter-spacing:1.4px}
.gd-enterprise .gd-cost-heading h3{margin:7px 0;color:#1a3154;font-size:21px;letter-spacing:-.4px}
.gd-enterprise .gd-cost-heading p,.gd-enterprise .gd-cost-explanation{color:#65758d;font-size:12px;line-height:1.6}
.gd-enterprise .gd-cost-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0 12px}
.gd-enterprise .gd-cost-kpi{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e0e8f4;border-radius:13px;padding:18px;min-width:0}
.gd-enterprise .gd-cost-kpi>span{font-size:11px;color:#516681;line-height:1.5}
.gd-enterprise .gd-cost-kpi strong{font-size:25px;letter-spacing:-.7px;color:#173a68;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.gd-enterprise .gd-cost-kpi small{font-size:10px;line-height:1.6;color:#67778b}
.gd-enterprise .gd-cost-financial{background:#173d83;border-color:#173d83}.gd-enterprise .gd-cost-financial strong{color:white}.gd-enterprise .gd-cost-financial>span,.gd-enterprise .gd-cost-financial small{color:#dce8ff}
.gd-enterprise .gd-cost-warning{background:#fff8e8;border-color:#f0dcaa}.gd-enterprise .gd-cost-warning strong{color:#946000}
.gd-enterprise .gd-cost-notice{font-size:12px;line-height:1.7;padding:14px 16px;background:#fff7e6;border:1px solid #f1dfb7;border-radius:10px;color:#7d5917;margin:14px 0;overflow-wrap:anywhere}
.gd-enterprise .gd-cost-chart-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:18px}
.gd-enterprise .gd-cost-chart-pair>.gd-chart-card,.gd-enterprise .gd-cost-chart-pair>.gd-chart-card:last-child{min-width:0;grid-column:auto;border:1px solid #e2eaf5;border-radius:12px;padding:17px;background:#fff}
.gd-enterprise .gd-cost-chart-pair .gd-chart-card h3{font-size:15px;font-weight:600}
@media(max-width:800px){.gd-enterprise .gd-cost-chart-pair{grid-template-columns:1fr}}
@media(max-width:550px){.gd-enterprise .gd-cost-section{padding:15px}.gd-enterprise .gd-cost-kpis{grid-template-columns:1fr}.gd-enterprise .gd-cost-heading h3{font-size:19px}}

/* Native navigation links retain browser context menu / Ctrl-click behavior. */
a[data-portal-link]{text-decoration:none;cursor:pointer;font-family:inherit;box-sizing:border-box}
a[data-portal-link][hidden]{display:none!important}
a[data-portal-link]:focus-visible{outline:3px solid #6b9cff;outline-offset:3px}
a[data-portal-link][aria-disabled="true"]{cursor:not-allowed;opacity:.5}
.gd-reference-tabs a[data-portal-link]{display:inline-flex;align-items:center;justify-content:center}
