.dg-view{color:#f4f1eb}
.dg-loading{min-height:380px;display:grid;place-content:center;color:#d4d9df;font-size:18px}
.dg-content{display:grid;gap:14px}
.dg-metrics{display:grid;grid-template-columns:1.15fr repeat(3,1fr);gap:12px}
.dg-metrics>div,.dg-map-card,.dg-chart-card,.dg-timeline{background:#1b212c;border:1px solid #8899b04b}
.dg-metrics>div{min-height:95px;padding:17px 20px}
.dg-metrics span{display:block;color:#bec4cd;font-size:16px}
.dg-metrics strong{display:block;margin-top:12px;color:#f4efe7;font:600 clamp(26px,2.2vw,35px) var(--num);line-height:1.08}
.dg-metrics #dg-scope-name,.dg-metrics #fl-scope-name{color:#f4efe7;font-size:24px;font-weight:600}
.dg-metrics #dg-scope-sub,.dg-metrics #fl-scope-sub{margin-top:12px;color:#bcc4cd;font:500 16px var(--sans)}
.dg-metrics #dg-difference,.dg-metrics #fl-difference{color:#edb582}
.dg-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:14px}
.dg-map-card,.dg-chart-card{min-width:0;display:flex;flex-direction:column;overflow:hidden}
.dg-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:73px;padding:16px 20px}
.dg-card-head h2{margin:0;font-size:23px;font-weight:550;white-space:nowrap}
.dg-layer-picker,.dg-scope-controls{display:flex;align-items:center;gap:6px}
.dg-layer-picker button,.dg-scope-controls button{min-height:38px;padding:6px 13px;border:1px solid #8697ad6b;border-radius:4px;background:#28313f;color:#d8dde3;font-size:16px}
.dg-layer-picker button[aria-pressed=true],.dg-scope-controls button[aria-pressed=true]{border-color:#e4af80;background:#5b493a;color:#fff1dc}
.dg-scope-controls select{min-height:38px;min-width:112px;max-width:145px;padding:5px 8px;border:1px solid #8697ad6b;border-radius:4px;background:#28313f;color:#ece9e2;font-size:16px}
.dg-map-wrap{flex:1;display:grid;place-items:center;padding:0 6px;background:radial-gradient(ellipse at 49% 43%,#293342 0%,#161e29 76%);border-block:1px solid #8596ad30}
.dg-map-wrap svg{display:block;width:100%;height:auto;max-height:560px;min-height:385px}
.dg-city{stroke:#162234;stroke-width:1.5;stroke-linejoin:round;cursor:pointer;transition:fill .15s,stroke .15s;outline:none}
.dg-city:hover,.dg-city:focus-visible{stroke:#fff5de;stroke-width:3;filter:drop-shadow(0 0 5px #fff2da88)}
.dg-city.selected{stroke:#fff2d3;stroke-width:4;filter:drop-shadow(0 0 7px #ffdf9caa)}
.dg-map-foot{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;min-height:62px;padding:12px 18px;color:#c8cdd4;font-size:15px}
.dg-legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.dg-legend span{display:inline-flex;align-items:center;gap:4px;font:500 15px var(--num)}
.dg-legend i{width:14px;height:14px;border:1px solid #dce0e655;border-radius:3px}
.dg-chart-wrap{flex:1;display:grid;place-items:center;padding:0 11px 0 0;background:linear-gradient(180deg,#1b2533,#1a212d)}
.dg-chart-wrap svg{display:block;width:100%;height:auto;max-height:530px}
.dg-chart-grid{stroke:#8293a842;stroke-width:1}
.dg-chart-axis{fill:#c4cbd3;font:22px var(--num)}
.dg-chart-pred,.dg-chart-actual{fill:none;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.dg-chart-pred{stroke:#e9af7a}.dg-chart-actual{stroke:#88a2c4}
.dg-chart-current{stroke:#e7d1afaa;stroke-width:2;stroke-dasharray:5 6}
.dg-chart-dot-pred{fill:#f1bf8f;stroke:#1b2533;stroke-width:3}
.dg-chart-dot-actual{fill:#aac0dc;stroke:#1b2533;stroke-width:3}
.dg-chart-legend{display:flex;align-items:center;justify-content:center;gap:23px;min-height:62px;padding:12px;color:#d1d5dc;font-size:16px}
.dg-chart-legend span{display:inline-flex;align-items:center;gap:7px}
.dg-chart-legend i{width:25px;height:4px;border-radius:3px}
.fl-chart-footer{justify-content:space-between;padding-inline:20px}
.fl-curve-keys,.fl-chart-window{display:flex;align-items:center;gap:17px}
.fl-curve-keys span{display:inline-flex;align-items:center;gap:7px}
.fl-chart-window{gap:4px}
.fl-chart-window button{min-height:37px;padding:5px 11px;border:1px solid #8697ad6b;border-radius:4px;background:#28313f;color:#d8dde3;font-size:15px}
.fl-chart-window button[aria-pressed=true]{border-color:#e4af80;background:#5b493a;color:#fff1dc}
.dg-legend-pred{background:#e9af7a}.dg-legend-actual{background:#88a2c4}
.dg-timeline{display:grid;grid-template-columns:210px 44px minmax(120px,1fr) 64px auto;align-items:center;gap:14px;padding:15px 18px}
.dg-time-label{display:grid;gap:5px}
.dg-time-label strong{font-size:19px;font-weight:600;line-height:1.2}
.dg-time-label span{color:#bdc5ce;font-size:15px}
#dg-play,#fl-play{width:44px;min-height:44px;padding:0;border-color:#e5ac78;background:#634a37;color:#fff0d9;font-size:21px}
.dg-range{min-width:0}
.dg-range input{display:block;width:100%;accent-color:#e5ad79}
.dg-range-labels{display:flex;justify-content:space-between;gap:8px;margin-top:5px;color:#bdc5ce;font:500 14px var(--num)}
#dg-reset,#fl-reset{min-height:42px;padding:6px 9px;background:#29313e;border:1px solid #8799af69;font-size:16px}
.dg-week-picker{display:flex;gap:5px;padding:3px;border:1px solid #8697ad50;border-radius:5px;background:#202938}
.dg-week-picker button{min-height:38px;padding:6px 11px;border:0;background:transparent;color:#ced3db;font-size:15px;white-space:nowrap}
.dg-week-picker button[aria-pressed=true]{background:#5a493b;color:#fff1dd}
.dg-note{margin:0;color:#b9c1ca;font-size:15px;line-height:1.4}
@media(max-width:1250px){.dg-main{grid-template-columns:1fr}.dg-map-wrap svg{max-height:520px}.dg-chart-wrap svg{max-height:460px}.dg-timeline{grid-template-columns:180px 44px minmax(120px,1fr) 64px;gap:11px}.dg-week-picker{grid-column:1/-1;justify-self:end}}
@media(max-width:750px){.dg-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dg-metrics>div{min-height:80px;padding:12px 14px}.dg-metrics strong{font-size:27px}.dg-metrics #dg-scope-name,.dg-metrics #fl-scope-name{font-size:22px}.dg-card-head{padding:13px 15px;min-height:62px}.dg-card-head h2{font-size:21px}.dg-map-wrap svg{min-height:310px}.dg-map-foot{padding:12px 14px}.dg-chart-head{flex-wrap:wrap}.dg-chart-wrap svg{min-height:270px}.dg-timeline{grid-template-columns:minmax(0,1fr) 44px 64px;gap:9px;padding:13px}.dg-time-label{grid-column:1/-1}.dg-range{grid-column:1;grid-row:2}#dg-play,#fl-play{grid-column:2;grid-row:2}#dg-reset,#fl-reset{grid-column:3;grid-row:2}.dg-week-picker{grid-column:1/-1;justify-self:stretch}.dg-week-picker button{flex:1}.dg-chart-axis{font-size:24px}}
@media(max-width:420px){.dg-map-wrap svg{min-height:255px}.dg-map-foot>span{width:100%}.dg-legend{gap:7px}.dg-legend span{font-size:14px}.dg-chart-wrap svg{min-height:230px}.dg-chart-axis{font-size:27px}.dg-note{font-size:14px}.fl-chart-footer{gap:10px;padding-inline:12px}.fl-curve-keys{gap:11px}.fl-chart-window button{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.dg-city{transition:none}}
