/* Города обучения: ранжированные полосы по уровням образования, раскрытие — список организаций. */
.edu .edu-panel__b>.btn[data-tab=programs]{max-width:100%;white-space:normal;text-align:left;height:auto;min-height:32px;padding-block:8px;line-height:1.5}
.edu-geography{container:edu-geography / inline-size;color:var(--ink)}
.edu-geography__head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px 24px;padding:24px 24px 18px}
.edu-geography__head h2{margin:0 0 6px;font-size:20px;line-height:1.3;letter-spacing:-.015em;font-weight:700}
.edu-geography__head p{margin:0;color:var(--ink-3);font-size:14px;line-height:1.5;white-space:normal}
.edu-geography__key{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none;margin:0;padding:0;font-size:13px;color:var(--ink-2)}
.edu-geography__key li{display:inline-flex;align-items:center;gap:7px}
.edu-geography__key i,.edu-geo-city__levels i{width:10px;height:10px;border-radius:2px;flex:none;display:inline-block}
.edu-geography__cities{padding:0 24px 8px;min-width:0}
.edu-geography__hint{font-size:14px;line-height:1.6;color:var(--ink-3);margin:0;padding:0 24px 24px}
.edu-geo-city{border-top:1px solid var(--line);min-width:0}
.edu-geo-city>summary{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr) minmax(96px,auto) 16px;gap:20px;align-items:center;padding:14px 0;cursor:pointer;list-style:none;border-radius:4px}
.edu-geo-city>summary::-webkit-details-marker{display:none}
.edu-geo-city>summary:hover .edu-geo-city__name>b{text-decoration:underline;text-underline-offset:3px}
.edu-geo-city>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.edu-geo-city__name{display:grid;gap:1px;min-width:0}
.edu-geo-city__name>b{font-size:16px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.edu-geo-city__name>small{font-size:13px;color:var(--ink-3);line-height:1.4}
.edu-geo-city__bar{display:block;min-width:0}
.edu-geo-city__bar>span{display:flex;gap:2px;height:14px;min-width:3px;border-radius:2px;overflow:hidden}
.edu-geo-city__bar i{display:block;flex-basis:0;min-width:2px}
.edu-geo-city__total{display:grid;gap:1px;text-align:right}
.edu-geo-city__total>b{font-size:22px;font-weight:700;line-height:1.2;letter-spacing:-.02em;white-space:nowrap;font-variant-numeric:tabular-nums}
.edu-geo-city__total>small{font-size:12px;color:var(--ink-3);line-height:1.4;white-space:nowrap}
.edu-geo-city>summary>.edu-ic{width:16px;height:16px;color:var(--ink-3);transition:transform 120ms ease}
.edu-geo-city[open]>summary>.edu-ic{transform:rotate(90deg)}
.edu-geo-city__body{padding:0 0 16px;min-width:0}
.edu-geo-city__levels{display:flex;flex-wrap:wrap;gap:4px 20px;padding:0 0 10px;font-size:13px;line-height:1.5;color:var(--ink-2)}
.edu-geo-city__levels>span{display:inline-flex;align-items:center;gap:7px}
.edu-geo-city__levels b{font-weight:600;color:var(--ink)}
.edu-geo-city__body ul{list-style:none;padding:0;margin:0;min-width:0;border-top:1px solid var(--line)}
.edu-geo-city__body li{border-bottom:1px solid var(--line);min-width:0}
.edu-geo-city__body button{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:12px;align-items:center;text-align:left;width:100%;border:0;border-radius:4px;background:none;color:var(--ink);padding:11px 8px;cursor:pointer;font-family:inherit}
.edu-geo-city__body button:hover{background:var(--surface-2)}
.edu-geo-city__body button:focus-visible{outline:2px solid var(--accent);outline-offset:0}
.edu-geo-city__body button>span{min-width:0}
.edu-geo-city__body button b{display:block;font-size:15px;line-height:1.45;font-weight:500;overflow-wrap:anywhere;white-space:normal}
.edu-geo-city__body button small{display:block;font-size:13px;line-height:1.45;color:var(--ink-3);margin-top:2px;overflow-wrap:anywhere}
.edu-geo-city__body button>strong{font-size:16px;line-height:1.4;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.edu-geo-city__body button>.edu-ic{color:var(--ink-3);width:14px;height:14px}
.edu-geography__foot{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:16px 24px;border-top:1px solid var(--line)}
.edu-geography__foot>p{font-size:13px;line-height:1.55;color:var(--ink-3);margin:0;max-width:70ch;flex:1 1 300px}
@container edu-geography (max-width:620px){
  .edu-geography__head{padding:20px 16px 14px}
  .edu-geography__cities{padding:0 16px 8px}
  .edu-geo-city>summary{grid-template-columns:minmax(0,1fr) auto 16px;gap:6px 12px}
  .edu-geo-city__bar{grid-column:1 / -1;grid-row:2}
  .edu-geo-city__total>b{font-size:20px}
  .edu-geography__foot{padding:16px}
}
@media(prefers-reduced-motion:reduce){.edu-geo-city>summary>.edu-ic{transition:none}}
@media print{.edu-geography__foot>.link{display:none}.edu-geo-city{break-inside:avoid}}
