/* Kepler dashboard · «География» (dash-geo.js). Every rule is scoped under .dgeo. */
.dgeo{container:dgeo/inline-size;min-width:0;color:var(--ink,#efe9df);font-variant-numeric:lining-nums tabular-nums}
.dgeo *{box-sizing:border-box}
.dgeo-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.dgeo-head:empty{display:none}
.dgeo-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0;font-size:16px;font-weight:600;color:var(--ink,#efe9df)}
.dgeo-note{font-size:12px;font-weight:400;color:#b2a9be}
.dgeo-seg{margin-left:auto;display:inline-flex;padding:3px;border-radius:9px;background:#1d1c24;border:1px solid var(--line,rgba(255,255,255,.09))}
.dgeo-seg button{font:inherit;font-size:12px;color:var(--dim,#a9a3b5);cursor:pointer;border:0;background:none;padding:5px 10px;border-radius:7px}
.dgeo-seg button[aria-pressed="true"]{background:#281d3d;color:var(--lilac,#dccbff)}
.dgeo-seg button:focus-visible{outline:2px solid var(--acc-lift,#b79cff);outline-offset:1px}
.dgeo-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
.dgeo-mapcol{min-width:0}
.dgeo-mapwrap{position:relative;min-width:0}
.dgeo-svg{display:block;width:100%;height:auto}
.dgeo-ph{display:grid;place-items:center;width:100%;aspect-ratio:1008/547;border-radius:12px;background:#17161d;border:1px dashed var(--line,rgba(255,255,255,.09));color:var(--dim,#a9a3b5);font-size:12.5px}
.dgeo-ph.dgeo-err{color:var(--faint,#827d91)}
.dgeo-rg{fill:#2c2a35;stroke:#121118;stroke-width:.8;stroke-linejoin:round}
.dgeo-rg[tabindex]{cursor:pointer;outline:none}
.dgeo-rg:hover,.dgeo-rg:focus-visible{stroke:#fff;stroke-width:1.6}
.dgeo-rg.dgeo-nd{fill:#2c2a35}
.dgeo-rg.dgeo-c0,.dgeo-rg.dgeo-s1{fill:#3a3347}
.dgeo-rg.dgeo-c1,.dgeo-rg.dgeo-s2{fill:#4a3870}
.dgeo-rg.dgeo-c2,.dgeo-rg.dgeo-s3{fill:#6b47b8}
.dgeo-rg.dgeo-c3,.dgeo-rg.dgeo-s4{fill:#9268ee}
.dgeo-rg.dgeo-c4,.dgeo-rg.dgeo-s5{fill:#cdb4ff}
.dgeo-rg.dgeo-s0{fill:#332f3d}
.dgeo-bubs{pointer-events:none}
.dgeo-bub circle{fill:rgba(19,18,25,.82);stroke:#efe9df;stroke-width:1.3}
.dgeo-bub text{font-size:11px;font-weight:650;fill:#fff;font-family:inherit}
.dgeo-bub.dgeo-hot circle{fill:#cdb4ff;stroke:#fff}
.dgeo-bub.dgeo-hot text{fill:#1a1424}
.dgeo-tip{position:absolute;z-index:3;left:0;top:0;min-width:206px;max-width:calc(100% - 4px);padding:11px 13px;border-radius:12px;background:rgba(24,22,32,.97);border:1px solid #4b3475;box-shadow:0 10px 30px rgba(0,0,0,.5);font-size:12px;pointer-events:none}
.dgeo-tip[hidden]{display:none}
.dgeo-tip strong{display:block;font-size:13px;margin-bottom:7px}
.dgeo-tip dl{display:grid;grid-template-columns:auto auto;gap:3px 16px;margin:0}
.dgeo-tip dt{color:var(--dim,#a9a3b5)}
.dgeo-tip dd{margin:0;text-align:right;font-weight:600}
.dgeo-tip-n{margin-top:7px;font-size:10.5px;color:var(--faint,#827d91)}
.dgeo-legend{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;margin-top:10px;font-size:11.5px;color:var(--dim,#a9a3b5)}
.dgeo-sw{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-2px;background:#2c2a35}
.dgeo-sw.dgeo-nd{background:#24232b;border:1px solid #3a3842}
.dgeo-sw.dgeo-c0,.dgeo-sw.dgeo-s1{background:#3a3347}
.dgeo-sw.dgeo-c1,.dgeo-sw.dgeo-s2{background:#4a3870}
.dgeo-sw.dgeo-c2,.dgeo-sw.dgeo-s3{background:#6b47b8}
.dgeo-sw.dgeo-c3,.dgeo-sw.dgeo-s4{background:#9268ee}
.dgeo-sw.dgeo-c4,.dgeo-sw.dgeo-s5{background:#cdb4ff}
.dgeo-sw.dgeo-s0{background:#332f3d}
/* Цена конверсии относительно плана: дешевле плана → вдвое дороже. */
.dgeo-rg.dgeo-p0,.dgeo-sw.dgeo-p0{fill:#4fae84;background:#4fae84}
.dgeo-rg.dgeo-p1,.dgeo-sw.dgeo-p1{fill:#a3c46a;background:#a3c46a}
.dgeo-rg.dgeo-p2,.dgeo-sw.dgeo-p2{fill:#d9b26f;background:#d9b26f}
.dgeo-rg.dgeo-p3,.dgeo-sw.dgeo-p3{fill:#e08a5a;background:#e08a5a}
.dgeo-rg.dgeo-p4,.dgeo-sw.dgeo-p4{fill:#d9605f;background:#d9605f}
.dgeo-rank{min-width:0}
.dgeo-rank h4{margin:2px 0 10px;font-size:13px;font-weight:600;color:var(--dim,#a9a3b5)}
.dgeo-ol{list-style:none;margin:0;padding:0}
.dgeo-li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:4px 10px;padding:8px 0;border-bottom:1px solid var(--hair,rgba(255,255,255,.07))}
.dgeo-ol>.dgeo-li:last-child{border-bottom:0}
.dgeo-n{color:var(--faint,#827d91);font-size:12px;padding-top:1px}
.dgeo-nm{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:12.5px}
.dgeo-nm-t{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dgeo-off{flex:none;padding:1px 6px;border-radius:6px;background:#22202a;border:1px solid var(--line,rgba(255,255,255,.09));color:var(--faint,#827d91);font-size:10.5px;white-space:nowrap}
.dgeo-cv{font-weight:650;font-size:14px;text-align:right;white-space:nowrap}
.dgeo-cv.dgeo-na{font-weight:500;font-size:12px;color:var(--faint,#827d91)}
.dgeo-bar{grid-column:2/4;display:flex;align-items:center;gap:10px;min-width:0;font-size:11px;color:var(--dim,#a9a3b5)}
.dgeo-bar i{display:block;flex:none;height:4px;border-radius:4px;background:linear-gradient(90deg,#6b47b8,#cdb4ff)}
.dgeo-bar span{margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.dgeo-li.dgeo-hot .dgeo-nm-t{color:var(--lilac,#dccbff)}
.dgeo-li.dgeo-unmapped .dgeo-nm-t{color:var(--dim,#a9a3b5)}
.dgeo-more{margin-top:4px;border-top:1px solid var(--hair,rgba(255,255,255,.07))}
.dgeo-more summary{cursor:pointer;padding:8px 0;font-size:12px;color:var(--acc-lift,#b79cff)}
.dgeo-more summary:focus-visible{outline:2px solid var(--acc-lift,#b79cff);outline-offset:2px;border-radius:4px}
.dgeo-empty{margin:0;font-size:12.5px;color:var(--dim,#a9a3b5)}
.dgeo-remainder{margin:8px 0 0;padding-top:8px;border-top:1px dashed var(--hair,rgba(255,255,255,.07));font-size:11.5px;color:var(--faint,#827d91)}
.dgeo-cover{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#1c1b22;border:1px solid var(--hair,rgba(255,255,255,.07));font-size:11.5px;color:var(--dim,#a9a3b5);line-height:1.5}
@container dgeo (max-width:700px){
  .dgeo-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .dgeo-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .dgeo-seg{margin-left:0}
  .dgeo-tip{min-width:0;padding:9px 11px}
}
