/* =========================================================================
   Атлас ФМБА — оформление, версия 3. Подключается после app.css.
   Принципы: тёплая бумага и тёмно-синие чернила; один красный акцент —
   только для действий-ссылок, ключевых чисел и текущего раздела;
   разделители-волосяные линии вместо рамок у каждого блока; никакой
   декоративной графики — только данные и настоящие фотографии.
   ========================================================================= */

/* ---------- База ---------- */
body{ font-feature-settings:"tnum" 0, "ss01" 0; text-rendering:optimizeLegibility }
h1,h2,h3,h4{ font-weight:700; letter-spacing:-.015em }
h1{ font-size:clamp(26px, 2.2vw + 14px, 34px); letter-spacing:-.025em; line-height:1.12 }
a{ color:var(--ink) }
.table td a[href^="mailto:"],.dl a{ color:var(--info) }
:focus-visible{ outline-color:var(--accent) }
::selection{ background:var(--brand-soft) }
.page{ max-width:1296px; padding:0 max(24px, env(safe-area-inset-left)) }
.sec{ padding-top:40px; padding-bottom:72px }

.eyebrow{ margin:0; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--brand) }
.eyebrow--muted{ color:var(--ink-3); letter-spacing:.1em; font-size:12px }

/* Ссылка-действие: красная, со стрелкой; обычные ссылки в тексте — чернильные с подчёркиванием. */
.link{ display:inline-flex; align-items:center; gap:6px; padding:0; border:0; background:none; color:var(--brand); font-weight:500; font-size:var(--fs-14); text-decoration:none; white-space:nowrap; cursor:pointer }
.link .ic{ width:18px; height:18px; transition:transform var(--dur) var(--ease) }
.link:hover{ color:var(--brand-hover); text-decoration:none }
.link:hover .ic{ transform:translateX(3px) }
.link--quiet{ color:var(--ink-2) } .link--quiet:hover{ color:var(--ink) } .link--quiet:hover .ic{ transform:none }
.link--back{ color:var(--ink-3); font-size:var(--fs-13) } .link--back:hover{ color:var(--ink) } .link--back:hover .ic{ transform:translateX(-3px) }

.btn{ border-radius:var(--r-sm); font-weight:500 }
.btn--primary{ font-weight:600 }
.btn--danger{ color:var(--bad) }
.btn--danger:hover{ background:var(--bad-soft); color:var(--bad) }
.btn--primary.btn--danger{ background:var(--bad); --b:var(--bad); color:#fff }
.btn--primary.btn--danger:hover{ background:color-mix(in srgb, var(--bad) 86%, #000); color:#fff }
.card{ border-radius:var(--r-lg) }
.chip.is-active,.chip[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink) }
.badge{ border-radius:var(--r-pill); font-weight:500; padding:0 9px }
.badge .ic{ width:14px; height:14px }
.tab[aria-selected="true"]::after,.tab.is-active::after{ background:var(--brand) }
.empty{ border-radius:var(--r-lg); background:transparent }

.notice{ margin:0; padding:12px 14px; border-left:3px solid var(--info); background:var(--info-soft); border-radius:0 var(--r-sm) var(--r-sm) 0; font-size:var(--fs-13); line-height:1.5; color:var(--ink) }
.notice .ic{ width:16px; height:16px; margin-right:6px; vertical-align:-3px }
.notice--bad{ border-color:var(--bad); background:var(--bad-soft) }
.notice--warn{ border-color:var(--warn); background:var(--warn-soft) }
.nw > .notice,.ws > .notice{ margin-bottom:20px }

/* Заголовок страницы и заголовок блока */
.pg-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px 24px; flex-wrap:wrap; margin-bottom:28px }
.pg-head > div:first-child{ min-width:0; flex:1 1 320px }
.pg-head p{ margin-top:8px; color:var(--ink-3); max-width:70ch }
.pg-head__a{ display:flex; gap:8px; align-items:center; flex-wrap:wrap }
.hm-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:8px 24px; flex-wrap:wrap; margin-bottom:20px }
.hm-head h2{ font-size:clamp(20px, 1vw + 16px, 26px); letter-spacing:-.02em; min-width:0 }
.hm-head .eyebrow{ margin-bottom:6px }

/* ---------- Шапка ---------- */
.hdr{ background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px) }
.hdr__in{ display:grid; grid-template-columns:max-content minmax(0,1fr) max-content; gap:clamp(16px, 2.2vw, 32px); max-width:1296px; padding:0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)) }
.brand{ gap:10px; color:var(--ink); white-space:nowrap }
.brand__sign{ flex:none; display:block }
.brand__name{ font-size:20px; font-weight:500; letter-spacing:-.03em }
.brand__name b{ font-weight:700 }
.nav{ gap:clamp(2px, .7vw, 10px); height:100%; min-width:0 }
.nav [hidden]{ display:none !important }
.nav__a{ height:100%; padding:0 6px; border-radius:0; font-size:15px; font-weight:500; color:var(--ink-2); flex:none }
.nav__a:hover{ background:none; color:var(--ink) }
.nav__a[aria-current="page"]{ color:var(--ink); font-weight:600 }
.nav__a[aria-current="page"]::after{ left:6px; right:6px; bottom:-1px; height:2px; background:var(--brand); border-radius:0 }
.nav__a--edu .nav__pip{ display:none }
.hdr__tools{ gap:2px }
.hdr__tools .btn--ghost{ color:var(--ink-2) }
/* Часы убраны из шапки: место отдано полной навигации; московское время есть на карте и в карточках. */
.clock{ display:none }
.clock b{ font-size:15px; font-weight:600 }
.clock span{ font-size:12px; letter-spacing:.04em }
.login{ display:inline-flex; align-items:center; gap:8px; height:40px; margin-left:10px; padding:0 4px 0 16px; border:0; border-left:1px solid var(--line); background:none; color:var(--ink); font-weight:500; font-size:15px; max-width:190px }
.login:hover{ color:var(--brand) }
.login__t{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.login.is-in .ic{ color:var(--ok) }
.dot{ background:var(--brand); box-shadow:0 0 0 2px var(--bg) }
@media (max-width:1023px){
  :root{ --hdr:56px }
  .hdr__in{ grid-template-columns:max-content 1fr; gap:8px; padding-inline:16px 10px }
  .hdr .nav{ display:none } .hdr__tools{ justify-self:end }
  .brand__name{ font-size:18px } .brand__sign{ width:26px; height:25px }
  .login{ margin-left:2px; padding:0 8px; border-left:0; min-width:40px; justify-content:center } .login__t{ display:none }
  .page{ padding:0 16px }
  .sec{ padding-top:28px; padding-bottom:48px }
}
@media (max-width:359px){ .hdr__opt#a11yBtn{ display:none } }

/* Нижняя панель на телефоне */
.tabbar a[aria-current="page"]{ color:var(--brand) }

/* ---------- Главная ---------- */
.home{ padding-top:clamp(28px, 4vw, 48px); padding-bottom:72px }
.hm-hero{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:clamp(24px, 4vw, 56px); align-items:center }
.hm-hero--solo{ grid-template-columns:minmax(0,1fr) }
.hm-hero--solo .hm-hero__side{ display:none }
.hm-hero--solo .hm-hero__main{ max-width:760px }
.hm-hero__main{ min-width:0 }
.hm-hero h1{ margin:18px 0 0; font-size:clamp(30px, 2.6vw + 12px, 50px); font-weight:800; letter-spacing:-.035em; line-height:1.06 }
.hm-hero h1 span{ display:block }
.hm-hero__sub{ margin-top:18px; font-size:clamp(16px, .5vw + 14px, 19px); line-height:1.45; color:var(--ink-2); max-width:44ch }
.hsearch{ margin-top:28px; gap:10px }
.hsearch > .ic{ left:16px }
.hsearch .input{ height:52px; font-size:16px; padding-left:48px; padding-right:16px; border-radius:var(--r-sm); min-width:0; flex:1 }
.hsearch .btn{ position:static; height:52px; padding:0 24px; font-size:16px; flex:none; transform:none }
.hsearch .suggest{ top:calc(100% + 6px) }
.hm-hero__links{ display:flex; flex-wrap:wrap; gap:12px 32px; margin-top:22px }
.hm-hero__links .link{ font-size:16px }
.hm-hero__side{ min-width:0 }
.hm-lead__ph{ aspect-ratio:16/10; border-radius:var(--r-lg) }
.hm-lead a{ position:relative; display:block; color:#fff; text-decoration:none; border-radius:var(--r-lg); overflow:hidden; background:var(--accent) }
.hm-lead .nw-pic{ display:block; aspect-ratio:16/10 }
.hm-lead .nw-pic img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform 600ms var(--ease) }
.hm-lead a:hover .nw-pic img{ transform:scale(1.025) }
.hm-lead__body{ position:absolute; inset:auto 0 0 0; display:flex; flex-direction:column; gap:8px; padding:56px clamp(16px, 2.2vw, 28px) clamp(16px, 2vw, 24px); background:linear-gradient(to top, rgba(10,16,30,.92) 0%, rgba(10,16,30,.72) 45%, rgba(10,16,30,0) 100%) }
.hm-lead h2{ color:#fff; font-size:clamp(18px, 1.1vw + 12px, 26px); line-height:1.22; letter-spacing:-.015em; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden }
.hm-lead .nw-kicker{ color:#fff; opacity:.85 }
.hm-lead .nw-meta{ color:rgba(255,255,255,.78) }
.hm-lead p{ display:none }
.hm-lead:is(.is-text,.is-pending) a{ background:var(--surface); color:var(--ink); border:1px solid var(--line); border-top:3px solid var(--brand); border-radius:0 0 var(--r-lg) var(--r-lg) }
.hm-lead:is(.is-text,.is-pending) .hm-lead__body{ position:static; background:none; padding:clamp(20px, 3vw, 36px) }
.hm-lead:is(.is-text,.is-pending) h2{ color:var(--ink); -webkit-line-clamp:5 }
.hm-lead:is(.is-text,.is-pending) .nw-kicker{ color:var(--brand); opacity:1 }
.hm-lead:is(.is-text,.is-pending) .nw-meta{ color:var(--ink-3) }
.hm-lead:is(.is-text,.is-pending) p{ color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden }
.hm-lead.is-pending .nw-pic{ position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; aspect-ratio:auto }

.hm-stats{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); margin:clamp(28px, 4vw, 44px) 0 0; border-block:1px solid var(--line) }
.hm-stat{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; padding:18px 20px; color:var(--ink); text-decoration:none; border-left:1px solid var(--line); min-width:0 }
.hm-stat:first-child{ border-left:0; padding-left:0 }
.hm-stat b{ font-size:clamp(28px, 2vw + 12px, 40px); font-weight:700; letter-spacing:-.03em; line-height:1; color:var(--brand) }
.hm-stat span{ font-size:clamp(14px, .4vw + 12px, 17px); line-height:1.25; min-width:0; overflow-wrap:anywhere }
.hm-stat--ok b{ color:var(--ok) }
.hm-stat:hover span{ text-decoration:underline; text-underline-offset:3px }

.hblock{ margin-top:clamp(36px, 4.4vw, 52px) }
.hblock:empty{ display:none }

.hm-work{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); border-block:1px solid var(--line) }
.hm-work__col{ padding:22px 24px; border-left:1px solid var(--line); min-width:0 }
.hm-work__col:first-child{ border-left:0; padding-left:0 }
.hm-work__t{ display:inline-flex; align-items:center; gap:10px; font-size:clamp(17px, .6vw + 14px, 20px); font-weight:600; letter-spacing:-.01em; color:var(--ink); text-decoration:none }
.hm-work__t .ic{ color:var(--brand); transition:transform var(--dur) var(--ease) }
.hm-work__t:hover .ic{ transform:translateX(4px) }
.hm-work__col > p{ margin-top:6px; font-size:var(--fs-13); color:var(--ink-3) }
.hm-work__task{ display:flex; justify-content:space-between; gap:12px; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); font-size:var(--fs-13); color:var(--ink); text-decoration:none }
.hm-work__task span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.hm-work__task small{ flex:none; color:var(--ink-3); font-size:12px; font-variant-numeric:tabular-nums }
.hm-work__task:hover span{ text-decoration:underline }
.is-bad{ color:var(--bad) !important } .is-warn{ color:var(--warn) !important } .is-ok{ color:var(--ok) !important }

.hm-cats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); column-gap:clamp(24px, 4vw, 56px); border-top:1px solid var(--line) }
.hm-cat{ display:grid; grid-template-columns:10px minmax(0,1fr) auto; align-items:center; gap:14px; padding:15px 4px; border:0; border-bottom:1px solid var(--line); background:none; color:var(--ink); font-size:16px; text-align:left }
.hm-cat i{ width:10px; height:10px; border-radius:2px; background:var(--c) }
.hm-cat span{ min-width:0; overflow-wrap:anywhere }
.hm-cat b{ font-weight:600; color:var(--ink-3); transition:color var(--dur) var(--ease) }
.hm-cat:hover span{ text-decoration:underline; text-underline-offset:3px } .hm-cat:hover b{ color:var(--brand) }

.hm-two{ display:grid; grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:clamp(32px, 5vw, 72px); align-items:start }
.hm-two > section{ min-width:0 }
.hm-geo .hm-head h2{ font-size:clamp(18px, .8vw + 14px, 22px); max-width:30ch; text-wrap:balance }
.hm-geo__f{ display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; margin-top:14px; font-size:13px; color:var(--ink-3) }
.feed{ border-top:1px solid var(--line) }
.feed__i{ display:grid; grid-template-columns:56px minmax(0,1fr); gap:2px 12px; padding:13px 0; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none }
.feed__i:hover b{ text-decoration:underline; text-underline-offset:3px }
.feed__d{ grid-row:span 2; font-size:13px; color:var(--ink-3); font-variant-numeric:tabular-nums; padding-top:2px }
.feed__i b{ font-weight:500; overflow-wrap:anywhere }
.feed__m{ font-size:13px; color:var(--ink-3) }

.near{ margin-top:20px } .near:empty{ display:none }

@media (max-width:1023px){
  .hm-hero{ grid-template-columns:minmax(0,1fr) }
  .hm-stats{ grid-template-columns:repeat(2, minmax(0,1fr)) }
  .hm-stat{ padding:16px }
  .hm-stat:nth-child(odd){ border-left:0; padding-left:0 }
  .hm-stat:nth-child(n+3){ border-top:1px solid var(--line) }
  .hm-two{ grid-template-columns:minmax(0,1fr) }
  .hm-cats{ grid-template-columns:repeat(2, minmax(0,1fr)) }
}
@media (max-width:699px){
  .hm-work{ grid-template-columns:minmax(0,1fr) }
  .hm-work__col{ border-left:0; padding:18px 0; border-top:1px solid var(--line) } .hm-work__col:first-child{ border-top:0 }
  .hm-cats{ grid-template-columns:minmax(0,1fr) }
  .hsearch .btn{ padding:0 18px }
}
@media (max-width:379px){
  .hsearch{ flex-wrap:wrap } .hsearch .btn{ width:100% }
  .hm-stat{ flex-direction:column; gap:4px }
}

/* ---------- Новости ---------- */
.nw-kicker{ font-size:12px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:var(--brand) }
.nw-meta{ display:flex; flex-wrap:wrap; gap:2px 0; font-size:13px; line-height:1.4; color:var(--ink-3) }
.nw-meta > * + *::before{ content:"|"; margin:0 10px; color:var(--line-strong) }
.nw-doc{ color:var(--info) }
.nw-note{ font-size:13px; color:var(--ink-3) }
.nw-pic{ display:block; overflow:hidden; background:var(--surface-2); border-radius:var(--r-md) }
.nw-pic img{ display:block; width:100%; height:100%; object-fit:cover }

.nw-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(20px, 2.6vw, 36px) }
.nw-card{ min-width:0 }
.nw-card a{ display:flex; flex-direction:column; gap:14px; height:100%; color:var(--ink); text-decoration:none }
.nw-card .nw-pic{ aspect-ratio:16/10 }
.nw-card .nw-pic img{ transition:transform 500ms var(--ease) }
.nw-card a:hover .nw-pic img{ transform:scale(1.03) }
.nw-card__body{ display:flex; flex-direction:column; gap:8px; min-width:0 }
.nw-card h3{ font-size:clamp(16px, .5vw + 14px, 19px); font-weight:600; line-height:1.3; letter-spacing:-.01em; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden }
.nw-card a:hover h3{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px }
.nw-card p{ font-size:var(--fs-13); line-height:1.5; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden }
/* Публикация без снимка — текстовая карточка с линейкой сверху, а не картинка-заглушка. */
.nw-card.is-text a{ padding-top:16px; border-top:2px solid var(--ink) }
.nw-card.is-text h3{ -webkit-line-clamp:6 }
.nw-card.is-text p{ -webkit-line-clamp:6 }

.nw-body{ display:grid; grid-template-columns:minmax(0,1fr) 248px; gap:clamp(32px, 4vw, 64px); align-items:start }
.nw-main{ min-width:0; grid-column:1; grid-row:1 }
.nw-aside{ grid-column:2; grid-row:1; position:sticky; top:calc(var(--hdr) + 24px); min-width:0 }
.nw-filters__t{ font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); padding-bottom:10px; border-bottom:1px solid var(--ink) }
.nw-filters__chips{ display:grid }
.nw-topic{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:11px 0 11px 12px; border:0; border-bottom:1px solid var(--line); border-left:2px solid transparent; background:none; color:var(--ink-2); font-size:var(--fs-14); text-align:left }
.nw-topic:hover{ color:var(--ink) } .nw-topic b{ font-weight:500; color:var(--ink-4); font-size:13px }
.nw-topic[aria-pressed="true"]{ color:var(--ink); font-weight:600; border-left-color:var(--brand) } .nw-topic[aria-pressed="true"] b{ color:var(--brand) }
.nw-norm{ display:flex; align-items:center; gap:10px; margin-top:16px; font-size:var(--fs-13); color:var(--ink-2); cursor:pointer; min-height:32px }
@media (max-width:1099px){
  .nw-body{ grid-template-columns:minmax(0,1fr); gap:24px }
  .nw-aside{ grid-column:1; grid-row:1; position:static } .nw-main{ grid-row:2 }
  .nw-filters{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px; padding-bottom:16px; border-bottom:1px solid var(--line) }
  .nw-filters__t{ display:none }
  .nw-filters__chips{ display:flex; flex-wrap:wrap; gap:8px; min-width:0 }
  .nw-topic{ height:34px; padding:0 14px; border:1px solid var(--line-strong); border-radius:var(--r-pill); background:var(--surface); font-size:var(--fs-13); white-space:nowrap; align-items:center; gap:8px }
  .nw-topic[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); font-weight:500 } .nw-topic[aria-pressed="true"] b{ color:inherit; opacity:.7 }
  .nw-norm{ margin-top:0 }
}
.nw-top{ display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); grid-template-rows:auto auto; gap:clamp(20px, 2.6vw, 36px) }
.nw-top--1{ grid-template-columns:minmax(0,1fr) } .nw-top--2{ grid-template-rows:auto }
.nw-top .nw-card--lead{ grid-row:1 / -1 }
.nw-card--lead h3{ font-size:clamp(20px, 1.4vw + 12px, 30px); line-height:1.18; letter-spacing:-.02em; -webkit-line-clamp:5 }
.nw-card--lead p{ font-size:var(--fs-14); -webkit-line-clamp:3 }
.nw-top--3 .nw-card:not(.nw-card--lead) a{ flex-direction:row; align-items:flex-start }
.nw-top--3 .nw-card:not(.nw-card--lead) .nw-pic{ flex:0 0 42%; aspect-ratio:4/3 }
.nw-top--3 .nw-card:not(.nw-card--lead) .nw-card__body{ flex:1 }
.nw-top--3 .nw-card:not(.nw-card--lead) h3{ font-size:17px; -webkit-line-clamp:5 }
.nw-top--3 .nw-card:not(.nw-card--lead) + .nw-card:not(.nw-card--lead):not(.is-text){ padding-top:clamp(20px, 2.6vw, 36px); border-top:1px solid var(--line) }
.nw-hot{ margin-bottom:clamp(40px, 5vw, 64px) }
.nw-feed{ min-width:0 }
.nw-day{ margin-bottom:8px }
.nw-day__t{ position:sticky; top:var(--hdr); z-index:2; margin:0; padding:10px 0; background:var(--bg); border-bottom:1px solid var(--ink); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase }
.nw-row a{ display:grid; grid-template-columns:56px minmax(0,1fr) 148px; gap:20px; padding:20px 0; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none }
.nw-row.is-text a{ grid-template-columns:56px minmax(0,1fr) }
.nw-row__time{ font-size:var(--fs-13); color:var(--ink-3); padding-top:2px }
.nw-row__body{ display:flex; flex-direction:column; gap:6px; min-width:0 }
.nw-row h3{ font-size:17px; font-weight:600; line-height:1.32; letter-spacing:-.01em; overflow-wrap:anywhere }
.nw-row a:hover h3{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px }
.nw-row p{ font-size:var(--fs-13); line-height:1.5; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.nw-row__pic{ aspect-ratio:3/2; align-self:start; border-radius:var(--r-sm) }
.nw-more{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding-top:24px }
@media (max-width:899px){
  .nw-grid{ grid-template-columns:minmax(0,1fr) }
  .nw-grid .nw-card:not(.is-text) a{ flex-direction:row } .nw-grid .nw-card .nw-pic{ flex:0 0 38%; aspect-ratio:4/3 } .nw-grid .nw-card__body{ flex:1 }
  .nw-grid .nw-card + .nw-card:not(.is-text){ padding-top:20px; border-top:1px solid var(--line) }
  .nw-top{ grid-template-columns:minmax(0,1fr) } .nw-top .nw-card--lead{ grid-row:auto }
}
@media (max-width:599px){
  .nw-row a{ grid-template-columns:minmax(0,1fr) 88px; gap:6px 14px; padding:16px 0 }
  .nw-row.is-text a{ grid-template-columns:minmax(0,1fr) }
  .nw-row__time{ grid-column:1 / -1; font-size:12px }
  .nw-row h3{ font-size:16px } .nw-row p{ display:none }
  .nw-row__pic{ aspect-ratio:1 }
  .nw-top--3 .nw-card:not(.nw-card--lead) .nw-pic,.nw-grid .nw-card .nw-pic{ flex-basis:104px; aspect-ratio:1 }
  .nw-filters__chips{ flex-wrap:nowrap; overflow-x:auto; margin-inline:-16px; padding-inline:16px; scrollbar-width:none; flex:1 1 100% }
  .nw-filters__chips::-webkit-scrollbar{ display:none }
}

/* ---------- Сборы и кабинеты ---------- */
.ws h2{ font-size:22px } .ws h3{ font-size:16px; margin:0 } .ws h4{ font-size:14px; margin:24px 0 10px; color:var(--ink-3); font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:12px }
.ws-tabs{ margin:-8px 0 24px }
.ws-gate{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:clamp(24px, 5vw, 72px); align-items:start; padding-top:28px; border-top:1px solid var(--line) }
.ws-gate p{ margin:10px 0 20px; color:var(--ink-2); max-width:46ch }
.ws-gate ul{ list-style:none; margin:0; padding:0; counter-reset:g }
.ws-gate li{ counter-increment:g; display:grid; grid-template-columns:36px minmax(0,1fr); gap:2px 8px; padding:14px 0; border-bottom:1px solid var(--line) }
.ws-gate li:first-child{ padding-top:0 }
.ws-gate li::before{ content:counter(g, decimal-leading-zero); grid-row:span 2; color:var(--brand); font-weight:600; font-size:13px; font-variant-numeric:tabular-nums; padding-top:2px }
.ws-gate li b{ font-weight:600 } .ws-gate li span{ color:var(--ink-3); font-size:var(--fs-13) }
.ws-metrics{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); border-block:1px solid var(--line); margin-bottom:28px }
.ws-metrics > div{ display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 10px; padding:16px 20px; border-left:1px solid var(--line); min-width:0 }
.ws-metrics > div:first-child{ border-left:0; padding-left:0 }
.ws-metrics b{ font-size:28px; font-weight:700; letter-spacing:-.02em; line-height:1.1 }
.ws-metrics span{ font-size:var(--fs-13); color:var(--ink-3) }
.ws-list{ border-top:1px solid var(--ink) }
.ws-task{ display:grid; grid-template-columns:minmax(0,1fr) 170px 190px 20px; gap:20px; align-items:center; padding:18px 4px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none }
.ws-task:hover{ background:var(--surface-2) } .ws-task:hover b{ text-decoration:underline; text-underline-offset:3px }
.ws-task.is-closed b{ color:var(--ink-3) }
.ws-task__main{ display:grid; gap:4px; min-width:0 }
.ws-task__main b{ font-size:16px; font-weight:600; overflow-wrap:anywhere }
.ws-task small{ font-size:13px; color:var(--ink-3) }
.ws-task__due,.ws-task__state{ display:grid; gap:5px; min-width:0; font-size:var(--fs-13); justify-items:start }
.ws-task__state .ws-bar{ justify-self:stretch }
.ws-task > .ic{ color:var(--ink-4); width:18px; height:18px }
.ws-asof{ margin-top:16px; font-size:12px; color:var(--ink-4) }

.ws-bar{ display:flex; gap:2px; height:8px; width:100%; border-radius:2px; overflow:hidden; background:var(--surface-3) }
.ws-bar i{ display:block; min-width:4px; flex-basis:0 }
.ws-bar__wait{ background:var(--line-strong) } .ws-bar__work{ background:var(--warn) } .ws-bar__sent{ background:var(--info) } .ws-bar__accepted{ background:var(--ok) }
.ws-progress .ws-bar{ height:10px }
.ws-legend{ display:flex; flex-wrap:wrap; gap:8px 28px; margin:12px 0 0 }
.ws-legend > div{ display:flex; align-items:baseline; gap:8px } .ws-legend dt{ font-size:var(--fs-13); color:var(--ink-2); display:flex; align-items:center; gap:8px }
.ws-legend dt i{ width:10px; height:10px; border-radius:2px; flex:none } .ws-legend dd{ margin:0; font-weight:600 }

.ws-doc,.ws-flow,.ws-answer,.ws-recipients,.ws-form,.ws-people > section{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg) }
.ws-doc{ padding:clamp(18px, 2.4vw, 28px); margin-top:12px }
.ws-doc__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px 24px; flex-wrap:wrap }
.ws-doc__head > div:first-child{ min-width:0; flex:1 1 320px } .ws-doc__head h2{ overflow-wrap:anywhere; font-size:clamp(20px, 1vw + 16px, 26px); letter-spacing:-.02em }
.ws-doc__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; margin-top:10px; font-size:var(--fs-13); color:var(--ink-3) } .ws-doc__meta b{ color:var(--ink); font-weight:600 }
.ws-tools{ display:flex; flex-wrap:wrap; gap:6px }
.ws-text{ white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6 }
.ws-doc__text{ margin-top:18px; max-width:80ch }
.ws-doc h3{ margin-top:24px; padding-top:18px; border-top:1px solid var(--line) }
.ws-doc .notice{ margin-top:12px }
.ws-attach{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px }
.ws label.btn{ cursor:pointer }
.ws-files{ list-style:none; margin:6px 0 0; padding:0 }
.ws-files li{ display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid var(--line) }
.ws-files li:last-child{ border-bottom:0 }
.ws-files__ic{ color:var(--ink-3); flex:none; display:flex }
.ws-files__name{ flex:1; min-width:0; overflow-wrap:anywhere; font-size:var(--fs-14); font-weight:500 }
.ws-files__name small{ display:block; margin-top:2px; font-size:12px; font-weight:400; color:var(--ink-3) }
.ws-files__a{ display:flex; gap:4px; flex:none }
.ws-nofiles{ margin-top:8px; font-size:var(--fs-13) }
.ws-flow{ padding:20px clamp(18px, 2.4vw, 28px); margin-top:16px } .ws-flow h3{ margin-bottom:14px }
.ws-detail{ display:grid; grid-template-columns:300px minmax(0,1fr); gap:16px; align-items:start; margin-top:16px }
.ws-detail--solo{ grid-template-columns:minmax(0,1fr) }
.ws-recipients{ overflow:auto; max-height:70vh }
.ws-recipients a{ display:grid; gap:8px; justify-items:start; padding:14px 16px; border-bottom:1px solid var(--line); border-left:3px solid transparent; color:var(--ink); text-decoration:none }
.ws-recipients a:last-child{ border-bottom:0 } .ws-recipients a:hover{ background:var(--surface-2) }
.ws-recipients a[aria-current]{ border-left-color:var(--brand); background:var(--surface-2) }
.ws-recipients b{ font-size:var(--fs-14); font-weight:600; overflow-wrap:anywhere }
.ws-answer{ padding:clamp(18px, 2.4vw, 28px); min-width:0 }
.ws-answer__head{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap } .ws-answer__head h3{ font-size:18px; min-width:0; overflow-wrap:anywhere }
.ws-answer__dates{ margin:6px 0 14px; font-size:var(--fs-13); color:var(--ink-3) }
.ws-answer .notice{ margin-bottom:10px }
.ws-drop{ position:relative; display:flex; align-items:center; gap:12px; margin-top:12px; padding:16px; border:1px dashed var(--line-strong); border-radius:var(--r-md); cursor:pointer; color:var(--ink-2) }
.ws-drop:hover,.ws-drop:focus-within{ border-color:var(--accent); background:var(--surface-2) }
.ws-drop b{ display:block; font-weight:600; color:var(--ink) } .ws-drop small{ font-size:12px; color:var(--ink-3) }
.ws-drop input{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer }
.ws-answer__a{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:16px; font-size:var(--fs-13) }
.ws-thread article{ padding:10px 0 10px 14px; border-left:2px solid var(--line-strong); margin-bottom:10px }
.ws-thread article > div{ display:flex; flex-wrap:wrap; gap:4px 12px; align-items:baseline; font-size:var(--fs-13) }
.ws-thread time{ color:var(--ink-3); font-size:12px } .ws-thread p{ margin-top:4px }
.ws-msg{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; margin-top:12px }
.ws-msg textarea{ min-height:44px } .ws-msg .ws-error{ grid-column:1 / -1 }
.ws-error{ color:var(--bad); font-size:var(--fs-13); margin:0 } .ws-error:empty{ display:none }
.ws-log{ margin-top:16px; border-top:1px solid var(--line); padding-top:4px }
.ws-log summary{ cursor:pointer; padding:12px 0; font-weight:600; font-size:var(--fs-14) }
.ws-log ol{ list-style:none; margin:0; padding:0 }
.ws-log li{ display:grid; grid-template-columns:130px minmax(0,1fr) auto; gap:12px; padding:8px 0; border-top:1px solid var(--line); font-size:var(--fs-13) }
.ws-log time,.ws-log small{ color:var(--ink-3); font-size:12px }

.ws-form{ display:grid; gap:18px; padding:clamp(18px, 2.4vw, 28px); max-width:760px; margin-top:12px }
.ws-form--dlg{ padding:0; border:0; background:none; margin:0; max-width:none; min-width:0 }
.ws-form .input,.ws-form .select{ width:100% }
.ws-form input[type=file]{ font-size:var(--fs-13); max-width:100% }
.ws-form__short{ max-width:240px }
.ws-form__a{ display:flex; flex-wrap:wrap; gap:8px }
.ws-picker{ margin:0; padding:0; border:0; min-width:0 }
.ws-picker legend{ padding:0; margin-bottom:8px; font-size:var(--fs-13); font-weight:500; color:var(--ink-2) }
.ws-picker__tools{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px } .ws-picker__tools .search{ flex:1 1 240px } .ws-picker__tools .input{ height:32px; font-size:var(--fs-13) }
.ws-picker__list{ max-height:300px; overflow:auto; border:1px solid var(--line-strong); border-radius:var(--r-sm) }
.ws-picker__list label{ display:flex; align-items:center; gap:12px; padding:9px 12px; border-bottom:1px solid var(--line); cursor:pointer; font-size:var(--fs-14) }
.ws-picker__list label[hidden]{ display:none } .ws-picker__list label:hover{ background:var(--surface-2) }
.ws-picker__list small{ display:block; font-size:12px; color:var(--ink-3) } .ws-picker__list p{ padding:14px }
.ws-people{ display:grid; grid-template-columns:minmax(0,1fr) minmax(280px, 380px); gap:20px; align-items:start }
.ws-people > section{ padding:clamp(18px, 2.4vw, 28px) } .ws-people .ws-form{ margin-top:0 } .ws-people p{ margin-top:8px }
.ws-users{ margin-top:16px; border-top:1px solid var(--line) }
.ws-user{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding:14px 0; border-bottom:1px solid var(--line) }
.ws-user > span:first-child{ flex:1 1 200px; min-width:0 } .ws-user b{ overflow-wrap:anywhere } .ws-user small{ display:block; color:var(--ink-3); font-size:12px }
.ws-user__a{ display:flex; gap:6px; flex-wrap:wrap }
.ws-password{ user-select:all; font:500 20px var(--font-mono) }
.pf-cab{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; font-size:var(--fs-13); color:var(--ink-2) } .pf-cab p{ flex:1 1 220px }
@media (max-width:899px){
  .ws-gate,.ws-people,.ws-detail{ grid-template-columns:minmax(0,1fr) }
  .ws-recipients{ max-height:240px }
  .ws-task{ grid-template-columns:minmax(0,1fr) auto; gap:10px 16px } .ws-task > .ic{ display:none }
  .ws-task__main{ grid-column:1 / -1 } .ws-task__state{ justify-items:end; text-align:right; min-width:120px }
  .ws-metrics{ grid-template-columns:repeat(2, minmax(0,1fr)) }
  .ws-metrics > div{ padding:14px 16px } .ws-metrics > div:nth-child(odd){ border-left:0; padding-left:0 } .ws-metrics > div:nth-child(n+3){ border-top:1px solid var(--line) }
  .ws-log li{ grid-template-columns:minmax(0,1fr) } .ws-log li{ gap:2px }
}
@media (max-width:519px){
  .ws-files li{ flex-wrap:wrap } .ws-files__name{ flex-basis:calc(100% - 40px) } .ws-files__a{ margin-left:32px }
  .ws-msg{ grid-template-columns:minmax(0,1fr) }
  .ws-tools .btn{ flex:1 1 auto }
}

/* ---------- Подборки ---------- */
.setbar{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding:12px 14px; margin-bottom:12px; border:1px solid var(--line); border-left:3px solid var(--brand); border-radius:0 var(--r-md) var(--r-md) 0; background:var(--surface) }
.setbar > .ic{ color:var(--ink-3) }
.setbar__t{ flex:1 1 220px; min-width:0; display:grid; gap:2px } .setbar__t b{ overflow-wrap:anywhere } .setbar__t span{ font-size:var(--fs-13); color:var(--ink-3) }
.rail__set{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px }
.rail__set .rail__i{ min-width:0 }
.rail__del{ color:var(--ink-4) } .rail__del:hover{ color:var(--bad); background:var(--bad-soft) }

/* ---------- Маркеры карты и погода (общие для движков) ---------- */
.ymk,.ycl{ position:relative; background:transparent; border:0; padding:0; cursor:pointer; display:block; width:0; height:0; color:var(--ink) }
.ymk .mk,.lmk .mk{ position:absolute; transform:translate(-50%,-50%); width:30px; height:30px; border-radius:50%; background:var(--surface); color:var(--c); border:2px solid var(--c); display:grid; place-items:center; box-shadow:0 1px 5px #0003 }
.mk__dot{ display:grid; place-items:center } .mk__dot .ic{ width:17px; height:17px }
.mk__label{ display:none; position:absolute; left:36px; top:50%; transform:translateY(-50%); font-size:12px; font-weight:500; color:var(--ink); background:var(--surface); padding:5px 8px; border-radius:5px; box-shadow:0 1px 6px #0002; width:max-content; max-width:220px; line-height:1.3 }
.ymk:hover .mk__label,.lmk:hover .mk__label,.mk.is-selected .mk__label,.atlas-labels:not(.is-far) .mk__label{ display:block }
.mk.is-selected{ outline:4px solid color-mix(in srgb,var(--c) 25%,transparent) }
.ycl .mcl{ position:absolute; transform:translate(-50%,-50%); width:42px; height:42px; display:grid; place-items:center }
.mk.lbl-off:not(.is-selected) .mk__label{ display:none }
.mk.lbl-l .mk__label,.mk.is-flip .mk__label{ left:auto; right:36px }
.mk.lbl-b .mk__label{ left:50%; top:36px; transform:translateX(-50%) }
.mk.lbl-t .mk__label{ left:50%; top:auto; bottom:36px; transform:translateX(-50%) }
.lmk{ width:0!important; height:0!important; background:none!important; border:0!important }
.mapv__foot [data-state=fallback]{ color:var(--warn) }
.wx__scene{ display:none } .wx__text{ display:grid; gap:4px } .wx__temp{ font-size:22px } .wx__info,.wx__info small{ display:block; font-size:13px } .wx__asof{ font-size:11px; color:var(--ink-3) }

/* ---------- Реестр, образование, карта: общий ритм и новая палитра ---------- */
.reg{ padding-top:40px }
.reg__top{ align-items:flex-end; margin-bottom:24px }
.reg__top h1{ font-size:clamp(26px, 2.2vw + 14px, 34px) }
.reg__top .muted{ margin-top:6px }
.reg__fbar{ border-radius:var(--r-lg) }
.table th{ background:var(--surface); font-size:12px; letter-spacing:.08em; padding:12px }
.table td{ padding:14px 12px }
.table tbody tr.is-sel{ background:var(--brand-soft) }
.t-org{ min-width:240px }
.t-org b:hover{ color:var(--brand) }
.t-acts{ flex-wrap:nowrap }
.lock-inline{ white-space:nowrap } .lock-inline:hover{ color:var(--brand) }
.rail__i[aria-current="true"]{ box-shadow:inset 2px 0 var(--brand); border-radius:0; background:var(--surface-2) }
:root{ --sky-night:#1B2A44; --sky-dusk:#8E9BB3; --sky-day:#F4F1EA; --sky-work:#DCE3EE }
[data-theme="dark"]{ --sky-night:#0A0F18; --sky-dusk:#1B2536; --sky-day:#222C40; --sky-work:#2F4266 }
@media (max-width:1023px){ .reg{ padding-top:24px } }
.reg .table td:nth-child(3){ min-width:176px }
.reg .table td:nth-child(6){ min-width:196px }
.reg .table td:nth-child(7){ min-width:216px }
.reg .table .t-sub{ line-height:1.4 }
@media (max-width:1023px){ .hsearch .btn{ display:inline-flex } }
/* Образование: стили раздела подключаются скриптом позже, поэтому селекторы с #main */
:is(#main,#printArea) .edu-top{ padding-top:40px; margin-bottom:8px }
:is(#main,#printArea) .edu-top__eyebrow{ color:var(--brand) } :is(#main,#printArea) .edu-top__eyebrow .edu-ic{ display:none }
:is(#main,#printArea) .edu-top__eyebrow .edu-cap{ color:var(--brand); font-size:13px; font-weight:600; letter-spacing:.12em }
:is(#main,#printArea) .edu-h1{ font-size:clamp(26px, 2.2vw + 14px, 34px); line-height:1.12; letter-spacing:-.025em; margin-top:12px }
@media (max-width:1023px){ :is(#main,#printArea) .edu-top{ padding-top:24px } }
/* Узкие экраны: переключатели и панели действий не раздвигают страницу */
.section-head__a{ min-width:0; max-width:100% }
.seg{ max-width:100%; overflow-x:auto; scrollbar-width:none } .seg::-webkit-scrollbar{ display:none }
.seg button{ flex:none }
.orow .badge{ white-space:normal; height:auto; min-height:22px; padding-block:2px; line-height:1.3 }

/* ---------- Иконки категорий и метки карты ---------- */
.cat-ic{ border-radius:7px; background:color-mix(in srgb, var(--c) 13%, var(--surface)) }
.cat-ic .ic{ width:20px; height:20px; stroke-width:1.75 }
.cat-ic--sm .ic{ width:15px; height:15px; stroke-width:2 }
/* Метка: белый знак на цвете категории — различается на любой подложке карты */
.ymk .mk,.lmk .mk{ width:30px; height:30px; background:var(--c); color:#fff; border:2px solid var(--surface); box-shadow:0 1px 4px rgba(10,16,30,.35); transition:transform var(--dur) var(--ease) }
.mk__dot .ic{ width:18px; height:18px; stroke-width:1.9 }
.ymk:hover .mk,.lmk:hover .mk{ transform:translate(-50%,-50%) scale(1.12) }
.mk.is-selected{ width:38px; height:38px; outline:6px solid color-mix(in srgb, var(--c) 28%, transparent); z-index:2 }
.mk.is-selected .mk__dot .ic{ width:22px; height:22px }
.mk__label{ font-weight:600; border-radius:4px; box-shadow:0 1px 5px rgba(10,16,30,.25) }
.mk.is-selected .mk__label{ left:44px }
.mcl{ background:var(--accent); color:var(--accent-ink); border:2px solid var(--surface); box-shadow:0 1px 5px rgba(10,16,30,.35), 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); font-weight:700 }

/* ---------- Лента времени на карте ---------- */
.tz{ display:block; padding:0; overflow:hidden; border-radius:var(--r-lg); background:var(--surface); border:1px solid var(--line) }
.tz__h{ display:flex; align-items:center; gap:8px 16px; min-height:40px; padding:0 12px 0 6px }
.tz__tog{ position:static; display:inline-flex; align-items:center; gap:8px; min-width:0; height:40px; padding:0 8px; border:0; background:none; color:var(--ink); font-weight:600; font-size:var(--fs-13) }
.tz__tog > span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.tz__tog .ic{ width:18px; height:18px; color:var(--ink-3); flex:none }
.tz__tog:hover{ color:var(--brand) }
.tz__key{ display:flex; align-items:center; gap:6px; margin-left:auto; font-size:12px; color:var(--ink-3); white-space:nowrap }
.tzb__k{ width:10px; height:10px; border-radius:2px; margin-left:10px; border:1px solid var(--line-strong) }
.tzb__k.is-work{ background:var(--surface); box-shadow:inset 0 3px 0 var(--ok) } .tzb__k.is-day{ background:var(--sky-day) } .tzb__k.is-night{ background:var(--sky-night); border-color:var(--sky-night) }
.tz__clr{ font-size:var(--fs-13) } .tz__key + .tz__clr{ margin-left:0 } .tz__clr{ margin-left:auto }
.tz.is-collapsed{ right:auto }
.tzb{ display:grid; grid-template-columns:repeat(11, minmax(86px, 1fr)); gap:1px; background:var(--line); border-top:1px solid var(--line); overflow-x:auto; scrollbar-width:none; scroll-snap-type:x proximity }
.tzb::-webkit-scrollbar{ display:none }
.tzb__z{ --fg:var(--ink); --fg2:var(--ink-3); position:relative; display:grid; gap:1px; padding:9px 7px 10px 8px; border:0; background:var(--sky-day); color:var(--fg); text-align:left; min-width:0; scroll-snap-align:start; transition:filter var(--dur) var(--ease) }
.tzb__z.is-work{ background:var(--surface); box-shadow:inset 0 3px 0 var(--ok) }
.tzb__z.is-dusk{ background:var(--sky-dusk); --fg:#fff; --fg2:rgba(255,255,255,.78) }
.tzb__z.is-night{ background:var(--sky-night); --fg:#fff; --fg2:rgba(255,255,255,.66) }
.tzb__z:hover{ filter:brightness(.96) } .tzb__z.is-night:hover,.tzb__z.is-dusk:hover{ filter:brightness(1.18) }
.tzb__z:focus-visible{ outline:2px solid var(--brand); outline-offset:-2px; z-index:1 }
.tzb__top{ display:flex; justify-content:space-between; gap:6px; font-size:12px; font-weight:500; color:var(--fg2); letter-spacing:.02em }
.tzb__top .num{ font-weight:700; color:var(--fg) }
.tzb__z.is-zero .tzb__top .num{ font-weight:400; color:var(--fg2) }
.tzb__t{ font-size:21px; font-weight:700; letter-spacing:-.02em; line-height:1.15 }
.tzb__c{ font-size:11px; letter-spacing:-.01em; color:var(--fg2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.tzb__day{ position:relative; height:4px; margin-top:7px; border-radius:2px; background:color-mix(in srgb, var(--fg) 16%, transparent) }
.tzb__work{ position:absolute; top:0; bottom:0; border-radius:2px; background:color-mix(in srgb, var(--fg) 42%, transparent) }
.tzb__z.is-work .tzb__work{ background:var(--ok) }
.tzb__now{ position:absolute; top:-3px; bottom:-3px; width:2px; margin-left:-1px; border-radius:1px; background:var(--fg) }
.tzb__z.is-active{ box-shadow:inset 0 0 0 2px var(--brand) }
.tzb__z.is-active::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--brand) }
[data-theme=dark]{ --sky-dusk:#1E2A40; --sky-day:#2A3650 } [data-theme=dark] .tzb__z{ --fg:#E9ECF2; --fg2:#9BA4B5 } [data-theme=dark] .tzb__z.is-work{ background:#34466A }
:root:not([data-theme=dark]){ --sky-dusk:#4A5A7C }
@media (max-width:1279px){ .tz__key{ display:none } }
@media (max-width:1023px){ .tzb{ grid-template-columns:repeat(11, 92px) } .tz__tog > span{ white-space:normal; text-align:left; line-height:1.25 } .tz__h{ min-height:44px } }

/* =========================================================================
   Версия 4 · «Прибор». Главная — живая карта сети; плакатная типографика.
   ========================================================================= */
:root{ --font-display:"Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif }
.home{ padding:0 0 72px }

/* Шапка на главной сливается с тёмной картой */
body[data-section="home"] .hdr{ --bg:#0A101C; --surface:#0A101C; --surface-2:#1B2331; --ink:#FFFFFF; --ink-2:#C4CAD5; --ink-3:#8F97A6; --line:#1E2839; --brand:#F0806F; background:#0A101C; border-bottom-color:#1E2839; backdrop-filter:none; -webkit-backdrop-filter:none; color:#fff }
body[data-section="home"] .hdr .brand{ color:#fff }

.hx{ --hx:#0A101C; --surface:#151B27; --surface-2:#1B2331; --line:#232D40; --line-strong:#3A4660; --ink:#E9ECF2; --ink-2:#C4CAD5; --ink-3:#8F97A6; --ink-4:#677186; --brand:#F0806F; --ok:#5BC98A; --accent:#DDE5F3; --accent-ink:#0E131C; --accent-soft:#222C40;
  --sky-night:#070B13; --sky-dusk:#141C2C; --sky-day:#222D45;
  position:relative; background:radial-gradient(120% 80% at 70% 62%, #121B2E 0%, var(--hx) 62%); color:var(--ink); overflow:hidden }
.hx__in{ position:relative; padding-top:clamp(20px, 3vw, 40px); padding-bottom:clamp(16px, 2vw, 28px) }
.hx__top{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px 40px; flex-wrap:wrap }
.hx__title{ min-width:0; flex:1 1 520px }
.hx__eyebrow{ display:flex; flex-wrap:wrap; gap:4px 20px; margin:0; font:500 12px/1.4 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3) }
.hx__eyebrow span:first-child{ color:var(--brand) }
.hx h1{ margin:14px 0 0; font-family:var(--font-display); font-weight:900; font-size:clamp(52px, 9.6vw, 146px); line-height:.84; letter-spacing:-.005em; text-transform:uppercase; color:#fff }
.hx h1 span{ display:block; color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.82) }
@supports not (-webkit-text-stroke:1px #fff){ .hx h1 span{ color:rgba(255,255,255,.6) } }
.hx__now{ display:flex; gap:0; margin:0 0 0 auto; flex:none }
@media (min-width:1024px){ .hx h1 span{ white-space:nowrap } }
.hx__now > div{ padding:0 0 4px 22px; margin-left:22px; border-left:1px solid var(--line-strong) }
.hx__now > div:first-child{ margin-left:0 }
.hx__now dt{ font:500 11px/1.4 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-3) }
.hx__now dd{ margin:6px 0 0; display:flex; align-items:baseline; gap:8px }
.hx__now b{ font-family:var(--font-display); font-weight:800; font-size:clamp(44px, 4.4vw, 68px); line-height:.9; color:#fff }
.hx__now #hOpen{ color:var(--ok) }
.hx__now span{ font-size:14px; color:var(--ink-3) }

.hx__find{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 28px; margin-top:clamp(20px, 2.6vw, 34px) }
.hx .hsearch{ margin:0; flex:1 1 420px; max-width:620px; gap:0 }
.hx .hsearch .input{ height:54px; border-radius:var(--r-sm) 0 0 var(--r-sm); border:1px solid var(--line-strong); border-right:0; background:rgba(255,255,255,.05); color:#fff; font-size:16px }
.hx .hsearch .input::placeholder{ color:var(--ink-3) }
.hx .hsearch .input:focus{ border-color:#fff; box-shadow:none; background:rgba(255,255,255,.09) }
.hx .hsearch > .ic{ color:var(--ink-3) }
.hx .hsearch .btn{ display:inline-flex; height:54px; padding:0 26px; border-radius:0 var(--r-sm) var(--r-sm) 0; border:1px solid #E5553F; background:#E5553F; color:#fff; font-weight:700; font-size:16px; letter-spacing:.02em }
.hx .hsearch .btn:hover{ background:#F0694F; border-color:#F0694F }
.hx__links{ display:flex; flex-wrap:wrap; gap:10px 26px }
.hx__links a,.hx__links button{ display:inline-flex; align-items:center; gap:7px; padding:0; border:0; background:none; color:#fff; font-weight:500; font-size:15px; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.3); padding-bottom:3px }
.hx__links .ic{ width:17px; height:17px; transition:transform var(--dur) var(--ease) }
.hx__links a:hover,.hx__links button:hover{ border-bottom-color:var(--brand); color:var(--brand) } .hx__links a:hover .ic{ transform:translateX(3px) }
.hx .near{ margin-top:16px } .hx .near .card{ background:var(--surface); border-color:var(--line) }

.hx__stage{ display:grid; grid-template-columns:minmax(0,1fr) 236px; gap:clamp(16px, 2.4vw, 36px); align-items:end; margin-top:clamp(10px, 1.6vw, 22px) }
.hx__map{ position:relative; aspect-ratio:2.18 / 1; min-width:0; max-height:62vh; touch-action:pan-y }
.hx__map canvas{ position:absolute; inset:0; width:100%; height:100%; display:block }
.hxm__tip{ position:absolute; z-index:3; display:grid; gap:1px; max-width:min(280px, 80%); padding:8px 11px; border-radius:6px; background:#fff; color:#141C2E; font-size:13px; line-height:1.35; box-shadow:0 8px 24px rgba(0,0,0,.45); pointer-events:none; white-space:normal }
.hxm__tip b{ font-weight:700 } .hxm__tip span{ color:#687080; font-size:12px }
.hx__cats{ display:grid; min-width:0; padding-bottom:6px }
.hx__cats p{ margin:0 0 8px; padding-bottom:8px; border-bottom:1px solid var(--line-strong); font:500 11px/1.4 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2) }
.hx__cats p span{ display:block; margin-top:2px; letter-spacing:.04em; text-transform:none; color:var(--ink-4) }
.hx-cat{ position:relative; display:grid; grid-template-columns:9px minmax(0,1fr) auto; align-items:center; gap:11px; padding:8px 8px 8px 0; border:0; border-bottom:1px solid var(--line); background:none; color:var(--ink-2); font-size:15px; text-align:left; transition:color var(--dur) var(--ease), padding var(--dur) var(--ease), background var(--dur) var(--ease) }
.hx-cat i{ width:9px; height:9px; border-radius:50%; background:var(--c); box-shadow:0 0 0 0 var(--c); transition:box-shadow var(--dur) var(--ease) }
.hx-cat b{ font-family:var(--font-display); font-weight:800; font-size:24px; line-height:1; color:#fff }
.hx-cat span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.hx-cat:hover,.hx-cat:focus-visible{ color:#fff; padding-left:10px; background:linear-gradient(90deg, color-mix(in srgb, var(--c) 22%, transparent), transparent 80%); outline:none }
.hx-cat:hover i,.hx-cat:focus-visible i{ box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent) }
.hx-cat:hover b,.hx-cat:focus-visible b{ color:var(--c) }
.hx-cat:focus-visible{ box-shadow:inset 2px 0 0 var(--c) }
.hx__rail .tzb{ border-top:1px solid var(--line); background:var(--line) }
.hx__rail .tzb__z{ --fg:#E9ECF2; --fg2:#8F97A6 }
.hx__rail .tzb__z.is-work{ background:#2B3B5E; box-shadow:inset 0 3px 0 var(--ok) }
.hx__rail .tzb__z.is-dusk,.hx__rail .tzb__z.is-night{ --fg2:#7C8597 }

/* Бегущая строка свежих заголовков */
.hx-ticker{ display:flex; align-items:stretch; border-bottom:1px solid var(--ink); background:var(--bg); font-size:14px; min-height:44px }
.hx-ticker__k{ flex:none; display:flex; align-items:center; padding:0 16px; background:var(--ink); color:var(--bg); font:500 11px/1 var(--font-mono); letter-spacing:.16em; text-transform:uppercase }
.hx-ticker__w{ flex:1; min-width:0; overflow:hidden; display:flex; align-items:center; mask-image:linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); -webkit-mask-image:linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent) }
.hx-ticker__r{ display:flex; flex:none; white-space:nowrap; animation:hx-run 110s linear infinite; will-change:transform }
.hx-ticker__dup{ display:flex }
.hx-ticker__w:hover .hx-ticker__r,.hx-ticker__w:focus-within .hx-ticker__r{ animation-play-state:paused }
.hx-ticker__r a{ display:inline-flex; align-items:baseline; gap:10px; padding:0 26px; color:var(--ink); text-decoration:none; border-right:1px solid var(--line-strong) }
.hx-ticker__r a:hover{ color:var(--brand) }
.hx-ticker time{ font:500 12px var(--font-mono); color:var(--brand) }
.hx-ticker__all{ flex:none; display:flex; align-items:center; gap:6px; padding:0 18px; border-left:1px solid var(--ink); color:var(--ink); font-weight:600; text-decoration:none; white-space:nowrap }
.hx-ticker__all:hover{ background:var(--ink); color:var(--bg) } .hx-ticker__all .ic{ width:16px; height:16px }
@keyframes hx-run{ to{ transform:translateX(-50%) } }
@media (prefers-reduced-motion:reduce){ .hx-ticker__r{ animation:none } .hx-ticker__dup{ display:none } .hx-ticker__w{ overflow-x:auto } }

/* Числа сети — плакатный набор */
.hx-nums{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); border-bottom:1px solid var(--ink) }
.hx-num{ display:grid; align-content:end; gap:6px; padding:clamp(18px, 2.6vw, 34px) 20px clamp(16px, 2vw, 24px); border-left:1px solid var(--line-strong); color:var(--ink); text-decoration:none; min-width:0 }
.hx-num:first-child{ border-left:0; padding-left:0 }
.hx-num b{ font-family:var(--font-display); font-weight:900; font-size:clamp(76px, 12.5vw, 196px); line-height:.78; letter-spacing:-.01em; transition:color var(--dur) var(--ease) }
.hx-num span{ font-size:clamp(14px, .5vw + 12px, 17px); line-height:1.25; color:var(--ink-2); overflow-wrap:anywhere }
.hx-num:hover b{ color:var(--brand) }

/* Нумерованные заголовки блоков главной */
#homeBlocks{ counter-reset:hb }
#homeBlocks .hm-head{ counter-increment:hb; align-items:flex-end; margin-bottom:24px; padding-bottom:14px; border-bottom:1px solid var(--ink) }
#homeBlocks .hm-head h2{ font-family:var(--font-display); font-weight:800; font-size:clamp(38px, 4.6vw, 68px); line-height:.9; letter-spacing:0; text-transform:uppercase; max-width:none; display:flex; align-items:flex-start; gap:14px }
#homeBlocks .hm-head h2::before{ content:counter(hb, decimal-leading-zero); flex:none; margin-top:.5em; font:500 13px/1 var(--font-mono); letter-spacing:.08em; color:var(--brand) }
#homeBlocks .hm-head .eyebrow{ display:none }
.hm-geo__lead{ margin:-8px 0 18px; font-size:17px; font-weight:600; line-height:1.35; max-width:36ch }
.hblock{ margin-top:clamp(44px, 5.4vw, 76px) }
.hm-work{ border-top:1px solid var(--ink); border-bottom:1px solid var(--ink) }
.hm-work__t{ font-family:var(--font-display); font-weight:800; font-size:clamp(28px, 2.7vw, 40px); line-height:.95; text-transform:uppercase; letter-spacing:.005em }
.hm-work__col{ padding-block:26px } .hm-work__col > p{ margin-top:10px }
.hm-work__col:hover{ background:var(--surface) }

/* Заголовки страниц — тот же плакатный шрифт */
.pg-head h1,.reg__top h1,:is(#main,#printArea) .edu-h1,.sec > .section-head h1{ font-family:var(--font-display); font-weight:800; font-size:clamp(46px, 5.4vw, 84px); line-height:.88; letter-spacing:0; text-transform:uppercase }
.nw-day__t{ font-family:var(--font-mono); font-weight:500; font-size:12px; letter-spacing:.12em }
.nw-card--lead h3{ font-weight:700 }
.ws-metrics b,.org-edu__enrolled strong,.pf-facts dd:not(.is-text),.org-edu dd{ font-family:var(--font-display); font-weight:800; letter-spacing:0 }
.ws-metrics b{ font-size:44px; line-height:.9 }
.org-edu__enrolled strong{ font-size:clamp(64px, 12cqi + 10px, 96px); font-weight:900; line-height:.8 }
.org-edu dd{ font-size:30px; line-height:1 } .org-edu__mini-stats dd{ font-size:24px } .org-edu__program-stats dd{ font-size:22px }
.pf-facts dd:not(.is-text){ font-size:30px; line-height:1 }

@media (max-width:1023px){
  .hx__stage{ grid-template-columns:minmax(0,1fr) }
  .hx__cats{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; margin-inline:-16px; padding:2px 16px 8px } .hx__cats::-webkit-scrollbar{ display:none }
  .hx__cats p{ display:none }
  .hx-cat{ flex:none; grid-template-columns:9px auto auto; padding:7px 12px; border:1px solid var(--line-strong); border-radius:var(--r-pill); font-size:14px } .hx-cat b{ font-size:19px }
  .hx-cat:hover,.hx-cat:focus-visible{ padding-left:12px }
  .hx-nums{ grid-template-columns:repeat(2, minmax(0,1fr)) }
  .hx-num:nth-child(odd){ border-left:0; padding-left:0 } .hx-num:nth-child(n+3){ border-top:1px solid var(--line-strong) }
  .hx__now > div{ padding-left:16px; margin-left:16px } .hx__now > div:first-child{ padding-left:0; border-left:0 }
  .hx-ticker__k{ padding:0 10px } .hx-ticker__all{ display:none }
}
@media (max-width:519px){
  .hx h1{ font-size:clamp(46px, 15.5vw, 76px) }
  .hx .hsearch .btn{ padding:0 16px }
  .hx__map{ margin-inline:-10px }
}

#homeBlocks .notice{ margin-bottom:20px }
.nw-top--home .nw-card--lead.is-text h3{ font-size:clamp(28px, 3.3vw, 48px); line-height:1.08; letter-spacing:-.025em; -webkit-line-clamp:7 }
.nw-top--home .nw-card--lead.is-text a{ border-top-width:3px }
@media (max-width:1023px){ .hx__now{ margin-left:0 } }
:is(#main,#printArea) .edu-hero__v,.stat--lg .stat__value,.ws-gate li::before{ font-family:var(--font-display); font-weight:800; letter-spacing:0 }
:is(#main,#printArea) .edu-hero__v{ font-size:clamp(48px, 5vw, 72px); line-height:.9 } .stat--lg .stat__value{ font-size:60px; line-height:.9 }
.ws-gate li::before{ font-size:28px; line-height:1 }
/* Линза на карте главной */
.hx__mapwrap{ position:relative; min-width:0 }
.hx__map{ cursor:zoom-in; border-radius:8px; outline:none }
.hx__map:focus-visible{ box-shadow:0 0 0 2px var(--brand) }
.hx__hint{ position:absolute; left:0; bottom:0; margin:0; font:500 11px/1.4 var(--font-mono); letter-spacing:.06em; color:var(--ink-3); pointer-events:none }
.hx__hint::before{ content:""; display:inline-block; width:12px; height:12px; margin-right:8px; border:1.5px solid currentColor; border-radius:50%; vertical-align:-2px }
.hx__hint-t{ display:none }
@media (hover:none){ .hx__hint-m{ display:none } .hx__hint-t{ display:inline } }
.hx__hint{ transition:opacity var(--dur) var(--ease) } .hx__mapwrap:has(.is-lens) .hx__hint{ opacity:0 }

/* ---------- Главная: доска часовых поясов ---------- */
.zb-legend{ display:flex; align-items:center; flex-wrap:wrap; gap:12px 28px; margin-top:clamp(22px, 3vw, 36px) }
.zb-key{ display:flex; align-items:center; gap:8px; font:500 11px/1.4 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3) }
.zb-key .zb-t{ --c:#C9D3E6; margin-left:10px } .zb-key .zb-t:first-child{ margin-left:0 }
.zb-cats{ display:flex; flex-wrap:wrap; gap:6px 8px }
.zb-cats .hx-cat{ display:inline-flex; gap:8px; padding:5px 11px 5px 9px; border:1px solid var(--line-strong); border-radius:999px; font-size:13px; background:none }
.zb-cats .hx-cat b{ font-size:17px }
.zb-cats .hx-cat:hover,.zb-cats .hx-cat:focus-visible{ padding-left:9px; border-color:var(--c); background:color-mix(in srgb, var(--c) 18%, transparent); box-shadow:none }

.zb{ --cw:minmax(108px, 1fr); position:relative; display:grid; grid-template-columns:var(--zbcols, repeat(11, minmax(108px, 1fr))); gap:1px; margin-top:18px; background:#1A2335; border-top:1px solid #26314A; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#3A4660 transparent; scroll-snap-type:x proximity }
.zb-col{ container-type:inline-size; --fg:#E9ECF2; --fg2:#8F97A6; display:flex; flex-direction:column; min-width:0; background:#0C1322; scroll-snap-align:start }
.zb-col__h{ position:relative; display:grid; gap:1px; padding:12px 10px 10px; background:var(--zbsky, #121A2B); color:var(--fg) }
.zb-col.is-work{ --zbsky:#25365A } .zb-col.is-work .zb-col__h{ box-shadow:inset 0 3px 0 #5BC98A }
.zb-col.is-day{ --zbsky:#1D2840 } .zb-col.is-dusk{ --zbsky:#141C2E } .zb-col.is-night{ --zbsky:#090E19; --fg2:#6F788A }
.zb-col__z{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px; padding:0; border:0; background:none; color:var(--fg2); font:500 11px/1.3 var(--font-mono); letter-spacing:.06em; text-align:left; cursor:pointer }
.zb-col__z:hover span:first-child,.zb-col__z:focus-visible span:first-child{ color:#fff; text-decoration:underline; text-underline-offset:3px }
.zb-col__t{ font-family:var(--font-display); font-weight:800; font-size:min(46px, 34cqi); line-height:.95; letter-spacing:.01em; color:#fff }
.zb-col.is-night .zb-col__t{ color:#9AA4B8 }
.zb-col__c{ font-size:12.5px; color:var(--fg2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.zb-day{ position:relative; height:4px; margin:8px 0 6px; border-radius:2px; background:rgba(255,255,255,.12) }
.zb-day__w{ position:absolute; top:0; bottom:0; border-radius:2px; background:rgba(255,255,255,.32) } .zb-col.is-work .zb-day__w{ background:#5BC98A }
.zb-day__n{ position:absolute; top:-3px; bottom:-3px; width:2px; margin-left:-1px; border-radius:1px; background:#fff }
.zb-col__s{ font:500 10.5px/1.3 var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--fg2) } .zb-col.is-work .zb-col__s{ color:#5BC98A }
.zb-col__n{ display:flex; align-items:baseline; gap:7px; flex-wrap:wrap; padding:12px 10px 4px; border-top:1px solid #1E283C }
.zb-col__n b{ font-family:var(--font-display); font-weight:900; font-size:min(58px, 42cqi); line-height:.85; color:#fff }
.zb-col__n span{ font-size:12px; color:#8F97A6 }
.zb-col.is-empty .zb-col__n b{ color:#3A4660 }
.zb-col__b{ display:block; columns:156px; column-gap:18px; padding:10px 10px 18px }
.zb-col__b > .zb-g{ break-inside:avoid; margin-bottom:12px }
.zb-g{ display:grid; gap:6px; min-width:0 }
.zb-col.is-wide .zb-col__h{ grid-template-columns:auto 1fr }
.zb-g__h{ display:flex; justify-content:space-between; align-items:baseline; gap:6px; padding:0; border:0; background:none; color:#C4CAD5; font-size:12px; line-height:1.25; text-align:left; cursor:pointer; min-width:0 }
.zb-g__h span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0 }
.zb-g__h b{ font:500 11px var(--font-mono); color:#8F97A6 }
.zb-g__h:hover span,.zb-g__h:focus-visible span{ color:#fff; text-decoration:underline; text-underline-offset:3px }
.zb-g__t{ display:flex; flex-wrap:wrap; gap:3px }
.zb-t{ display:inline-block; width:10px; height:10px; border-radius:2px; box-shadow:inset 0 0 0 1.5px var(--c); cursor:pointer; transition:transform 120ms var(--ease), opacity 160ms var(--ease) }
.zb-t.is-open{ background:var(--c); box-shadow:none }
.zb-t:hover{ transform:scale(1.6); position:relative; z-index:2; box-shadow:0 0 0 2px #0C1322, 0 0 0 3.5px #fff }
.zb.is-hl .zb-t{ opacity:.12 }
.zb[data-hl=msch] .zb-t[data-cat=msch],.zb[data-hl=med] .zb-t[data-cat=med],.zb[data-hl=sci] .zb-t[data-cat=sci],.zb[data-hl=cgie] .zb-t[data-cat=cgie],.zb[data-hl=terr] .zb-t[data-cat=terr],.zb[data-hl=div] .zb-t[data-cat=div],.zb[data-hl=blood] .zb-t[data-cat=blood],.zb[data-hl=san] .zb-t[data-cat=san],.zb[data-hl=edu] .zb-t[data-edu]{ opacity:1; transform:scale(1.2) }
.zb-tip{ position:absolute; z-index:6; display:grid; gap:2px; max-width:260px; padding:9px 12px; border-radius:6px; background:#fff; color:#141C2E; font-size:13px; line-height:1.35; box-shadow:0 10px 28px rgba(0,0,0,.45); pointer-events:none }
.zb-tip b{ font-weight:700 } .zb-tip span{ color:#687080; font-size:12px } .zb-tip .status{ font-size:12px; font-style:normal }
.hx{ position:relative }
@media (max-width:1023px){ .zb{ grid-template-columns:var(--zbcols-m) } .zb-cats{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-inline:-16px; padding-inline:16px } .zb-cats::-webkit-scrollbar{ display:none } .zb-cats .hx-cat{ flex:none } }
@media (prefers-reduced-motion:reduce){ .zb-t{ transition:none } }
@container (max-width:118px){ .zb-col__z span:last-child{ display:none } .zb-col__n span{ flex-basis:100% } }

/* =========================================================================
   Шапки разделов — тёмная «приборная» полоса во всю ширину, как на главной.
   ========================================================================= */
html{ overflow-x:clip }
.sec{ padding-top:0 } .reg{ padding-top:0 }
.reg__top,.nw > .pg-head,.ws > .pg-head,:is(#main,#printArea) .edu-top,.page.sec > .section-head:first-child{
  --bg:#0A101C; --surface:#151B27; --surface-2:#1B2331; --line:#26314A; --line-strong:#3A4660; --ink:#FFFFFF; --ink-2:#C4CAD5; --ink-3:#8F97A6; --ink-4:#677186; --brand:#F0806F; --accent:#DDE5F3; --accent-ink:#0E131C; --accent-soft:#222C40; --ok:#5BC98A;
  position:relative; display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px 40px; margin:0 0 32px; padding:clamp(36px, 5vw, 64px) 0 clamp(26px, 3vw, 38px);
  background:#0A101C; color:#fff; box-shadow:0 0 0 100vmax #0A101C; clip-path:inset(0 -100vmax); border:0 }
.reg__top h1,.nw > .pg-head h1,.ws > .pg-head h1,:is(#main,#printArea) .edu-top .edu-h1,.page.sec > .section-head:first-child h1{ color:#fff; font-size:clamp(52px, 7vw, 112px); line-height:.84; margin:0 }
.reg__top p,.nw > .pg-head p,.ws > .pg-head p,:is(#main,#printArea) .edu-top .edu-lead,.page.sec > .section-head:first-child p{ color:#9AA4B8 !important; margin-top:14px; max-width:62ch; font-size:15px }
:is(#main,#printArea) .edu-top{ margin-bottom:0 } :is(#main,#printArea) .edu-top__eyebrow .edu-cap{ color:#F0806F }
.reg__top .section-head__t,.nw > .pg-head > div:first-child,.ws > .pg-head > div:first-child{ flex:1 1 420px; min-width:0 }
/* бегущий показатель-подпись под заголовком: моно-капс, как приборная шкала */
.reg__top::after,.nw > .pg-head::after,.ws > .pg-head::after,:is(#main,#printArea) .edu-top::after,.page.sec > .section-head:first-child::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:6px; background:repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 12px); opacity:.6 }
.band-stats{ display:flex; gap:0; margin:0 }
.band-stats > div{ padding:0 0 2px 24px; margin-left:24px; border-left:1px solid #3A4660 } .band-stats > div:first-child{ margin-left:0; padding-left:0; border-left:0 }
.band-stats dt{ font:500 11px/1.4 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#8F97A6 }
.band-stats dd{ margin:6px 0 0; font-family:var(--font-display); font-weight:800; font-size:clamp(36px, 3.6vw, 56px); line-height:.9; color:#fff }
.band-stats .is-ok dd{ color:#5BC98A }
.reg__top .seg{ background:#151B27; border-color:#26314A } .reg__top .seg button{ color:#9AA4B8 } .reg__top .seg button[aria-selected=true]{ background:#fff; color:#0A101C; box-shadow:none }
.reg__top{ row-gap:24px } .reg__top .seg{ order:3 } .reg__top .band-stats{ margin-left:auto }
.nw > .pg-head .btn,.ws > .pg-head .btn:not(.btn--primary),:is(#main,#printArea) .edu-top .btn{ background:transparent; border-color:#3A4660; color:#fff }
.ws > .pg-head .btn--primary{ background:#E5553F; border-color:#E5553F; color:#fff }
.nw > .notice,.ws > .notice{ margin-top:0 }
@media (max-width:767px){
  .band-stats > div{ padding-left:14px; margin-left:14px } .band-stats dd{ font-size:34px }
  .reg__top .seg{ width:100% }
}

/* Реестр: панель фильтров продолжает тёмную полосу заголовка */
.reg__top{ margin-bottom:0 }
.reg__fbar{ --surface:#151B27; --surface-2:#1B2331; --line:#26314A; --line-strong:#3A4660; --ink:#FFFFFF; --ink-2:#C4CAD5; --ink-3:#8F97A6; --ink-4:#677186; --accent:#DDE5F3; --accent-ink:#0E131C; --accent-soft:#222C40; --brand:#F0806F;
  margin-bottom:28px; padding:14px 0 18px; border:0; border-radius:0; background:#0A101C; color:#fff; box-shadow:0 0 0 100vmax #0A101C; clip-path:inset(0 -100vmax) }
.reg__fbar .input,.reg__fbar .select,.reg__fbar .dd,.reg__fbar .chip,.reg__fbar .btn{ background:#121A2B; border-color:#2A3550; color:#E9ECF2 }
.reg__fbar .input::placeholder{ color:#6F788A } .reg__fbar .chip.is-active,.reg__fbar .chip[aria-pressed=true]{ background:#fff; border-color:#fff; color:#0A101C }
.reg__fbar .btn--ghost{ background:transparent; border-color:transparent }
.reg__fbar .kbd{ background:#1B2331; border-color:#3A4660; color:#9AA4B8 }
.reg__fbar a,.reg__fbar .link{ color:#F0806F }
.reg__body{ min-width:0 }

/* Образование: вкладки как оглавление журнала */
:is(#main,#printArea) .edu-tabs{ margin:0 0 28px; padding:0; gap:0; border-bottom:1px solid var(--ink) }
:is(#main,#printArea) .edu-tabs .tab{ height:auto; padding:18px 22px 14px 0; margin-right:22px; font-family:var(--font-display); font-weight:800; font-size:clamp(22px, 2.2vw, 32px); text-transform:uppercase; letter-spacing:.01em; color:var(--ink-4) }
:is(#main,#printArea) .edu-tabs .tab.is-active,:is(#main,#printArea) .edu-tabs .tab[aria-selected=true]{ color:var(--ink) } :is(#main,#printArea) .edu-tabs .tab::after{ left:0; right:22px; height:4px; background:var(--brand) }
:is(#main,#printArea) .edu-tabs .edu-tabn{ font:500 12px var(--font-mono); color:var(--brand); vertical-align:super; margin-left:4px }

/* Новости: дни ленты — крупное число, как в газетной полосе */
.nw-day__t{ display:flex; align-items:baseline; gap:14px; padding:18px 0 10px; border-bottom:2px solid var(--ink) }
.nw-day__t b{ font-family:var(--font-display); font-weight:900; font-size:54px; line-height:.8; letter-spacing:0 }
.nw-day__t span{ font:500 12px var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3) }

/* Карточка организации: тёмная шапка с цветом категории и плакатным названием */
.pf__bar{ background:#0A101C; color:#fff; border-bottom-color:#1E283C }
.pf__bar .btn--ghost{ color:#C4CAD5 } .pf__bar .btn--ghost:hover{ background:#1B2331; color:#fff } .pf__bar .pf__crumb{ color:#9AA4B8 }
.pf__head{ --surface:#151B27; --surface-2:#1B2331; --line:#26314A; --line-strong:#3A4660; --ink:#FFFFFF; --ink-2:#C4CAD5; --ink-3:#8F97A6; --ok:#5BC98A; --bad:#F08079;
  position:relative; background:#0A101C; color:#fff; padding-top:26px; box-shadow:inset 4px 0 0 var(--c) }
.profile .pf__head h1{ font-family:var(--font-display); font-weight:900; font-size:clamp(40px, 7cqi + 14px, 72px); line-height:.86; letter-spacing:0; text-transform:uppercase; color:#fff }
.profile .pf__head .pf__official{ color:#C4CAD5 } .pf__head .pf__place{ color:#8F97A6 }
.pf__head .pf__status{ border-color:#26314A }
.pf__head .pf__acts .btn{ background:transparent; border-color:#3A4660; color:#fff } .pf__head .pf__acts .btn:hover{ background:#1B2331 }
.pf__head .pf__acts .btn--primary{ background:#E5553F; border-color:#E5553F } .pf__head .pf__acts .btn--primary:hover{ background:#F0694F }
.pf__head .badge--edu{ background:#33270F; color:#F5B052 } .pf__head .mono{ color:#8F97A6 }
.pf__body{ padding-top:22px }
.profile .pf-acc__t{ font-family:var(--font-display); font-weight:800; font-size:26px; text-transform:uppercase; letter-spacing:.01em }

.reg__top .section-head__t{ flex-basis:100% }
.profile .pf__head{ padding-top:26px }
.profile .org-edu dd{ font-family:var(--font-display); font-weight:800; font-size:32px; line-height:1; letter-spacing:0 }
.profile .org-edu__mini-stats dd{ font-size:24px } .profile .org-edu__program-stats dd{ font-size:22px }
.profile .org-edu__enrolled strong{ font-family:var(--font-display); font-weight:900; font-size:clamp(64px, 12cqi + 10px, 96px); line-height:.8; letter-spacing:0 }
:is(#main,#printArea) .edu-top > div{ min-width:0 }
:is(#main,#printArea) .edu-top .edu-h1{ overflow-wrap:anywhere; hyphens:auto }
@media (max-width:420px){ .reg__top h1,.nw > .pg-head h1,.ws > .pg-head h1,:is(#main,#printArea) .edu-top .edu-h1,.page.sec > .section-head:first-child h1{ font-size:clamp(38px, 12.4vw, 52px) } }

/* ---------- Предпросмотр файлов сборов (assets/file-preview.js) ---------- */
.fpv{ position:fixed; inset:0; z-index:80 } .fpv[hidden]{ display:none }
.fpv__scrim{ position:absolute; inset:0; background:rgba(6,10,20,.55) }
.fpv__card{ position:absolute; top:0; right:0; bottom:0; width:min(940px, 72vw); display:grid; grid-template-rows:auto auto minmax(0,1fr); background:var(--surface); box-shadow:var(--shadow-pop); animation:fpv-in .22s var(--ease) }
@keyframes fpv-in{ from{ transform:translateX(24px); opacity:0 } to{ transform:none; opacity:1 } }
.fpv__head{ display:flex; align-items:center; gap:12px; padding:12px 14px 12px 20px; background:#0A101C; color:#fff }
.fpv__kind{ flex:none; padding:4px 7px; border-radius:4px; font:700 11px/1 var(--font-mono); color:#fff; background:var(--k, #6B7088) }
.tk-file--pdf{ --k:#C0392B } .tk-file--doc{ --k:#2B5AA6 } .tk-file--xls{ --k:#1D7A46 } .tk-file--img{ --k:#8A4FBF } .tk-file--txt{ --k:#5A6478 } .tk-file--zip{ --k:#8A6D3B }
.fpv__titles{ display:grid; gap:2px; min-width:0; flex:1 }
.fpv__titles b{ font-size:15px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.fpv__titles small{ font-size:12px; color:#9AA4B8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.fpv__tools{ display:flex; gap:6px; flex:none }
.tk-btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px; height:36px; padding:0 12px; border:1px solid #3A4660; border-radius:var(--r-sm); background:transparent; color:#fff; font-weight:500; font-size:14px }
.tk-btn:hover{ background:#1B2331 } .tk-btn .ic{ width:18px; height:18px }
.tk-btn--icon{ width:36px; padding:0 } .tk-btn--sm{ height:30px; width:30px }
.fpv__delete:hover{ color:#F08079; border-color:#F08079 }
.fpv__nav{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 20px; border-bottom:1px solid var(--line); min-height:48px }
.fpv__nav .tk-btn{ color:var(--ink); border-color:var(--line-strong) } .fpv__nav .tk-btn:hover{ background:var(--surface-2) }
.fpv__sheets{ display:flex; align-items:center; gap:6px; overflow-x:auto; min-width:0 }
.fpv__label{ font-size:13px; color:var(--ink-3) }
.fpv__sheet{ flex:none; padding:5px 10px; border:0; border-radius:var(--r-pill); background:var(--surface-2); font-size:13px; font-weight:500; color:var(--ink-2) }
.fpv__sheet[aria-pressed=true]{ background:var(--accent); color:var(--accent-ink) }
.fpv__pager{ display:flex; align-items:center; gap:8px; margin-left:auto; font-size:13px; font-weight:600; color:var(--ink-2) } .fpv__pager[hidden]{ display:none }
.fpv__body{ position:relative; overflow:auto; background:var(--bg) }
.fpv__frame{ display:block; width:100%; height:100%; min-height:60vh; border:0; background:#fff } .fpv__frame--doc{ height:calc(100% - 40px) }
.fpv__img{ display:block; max-width:calc(100% - 32px); margin:16px auto; border-radius:6px; box-shadow:0 4px 18px rgba(0,0,0,.18) }
.fpv__text{ margin:0; padding:18px 22px; font:13px/1.55 var(--font-mono); white-space:pre-wrap; overflow-wrap:anywhere; color:var(--ink) }
.fpv__sheetwrap{ padding:14px 16px 20px }
.fpv__table{ border-collapse:collapse; font-size:13px; background:var(--surface) }
.fpv__table th,.fpv__table td{ border:1px solid var(--line); padding:5px 8px; text-align:left; vertical-align:top; max-width:360px; overflow-wrap:anywhere; color:var(--ink) }
.fpv__table thead th{ position:sticky; top:0; z-index:1; background:var(--surface-2); color:var(--ink-3); text-align:center }
.fpv__table .fpv__rn,.fpv__table .fpv__corner{ position:sticky; left:0; background:var(--surface-2); color:var(--ink-3); text-align:center; min-width:34px } .fpv__table .fpv__corner{ z-index:2 }
.fpv__table td.is-num{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap }
.fpv__more,.fpv__empty{ margin:10px 0 0; padding:0 16px 12px; font-size:13px; color:var(--ink-3) }
.fpv__loading{ padding:40px; text-align:center; color:var(--ink-3) }
.fpv__msg{ display:grid; justify-items:center; gap:8px; padding:60px 24px; text-align:center; color:var(--ink-2) }
.fpv__msg strong{ font-size:18px; color:var(--ink) } .fpv__msg .tk-btn{ margin-top:8px; background:var(--accent); color:var(--accent-ink); border-color:var(--accent) }
html.fpv-open{ overflow:hidden }
@media (max-width:767px){ .fpv__card{ width:100% } .fpv__download span{ display:none } .fpv__download{ width:36px; padding:0 } }
@media (prefers-reduced-motion:reduce){ .fpv__card{ animation:none } }

/* ---------- Главная: здание ФМБА на заднем плане ----------
   assets/hero-building.webp — тонированное фото фасада; можно заменить сгенерированной
   картинкой с тем же именем (промпт — в docs/CODEX_HANDOFF.md). */
.hx__bg{ position:absolute; z-index:0; top:0; right:0; width:min(78%, 1280px); height:min(100%, 820px); pointer-events:none;
  background:url("assets/hero-building.webp") right top / cover no-repeat; opacity:.62; filter:saturate(.8) brightness(.78);
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 58%), linear-gradient(180deg, #000 55%, transparent 98%); -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 30%, #000 58%), linear-gradient(180deg, #000 55%, transparent 98%); mask-composite:intersect }
.hx::before{ content:""; position:absolute; z-index:0; inset:0; pointer-events:none; background:linear-gradient(180deg, rgba(10,16,28,0) 40%, #0A101C 78%) }
.hx__in,.hx .zb{ position:relative; z-index:1 }
@media (max-width:767px){ .hx__bg{ width:100%; height:440px; opacity:.4; background-position:70% top } }
@media (prefers-contrast:more){ .hx__bg{ display:none } }

/* ---------- Заголовок главной: контур без внутренних линий букв (Д, А) ----------
   text-stroke обводит каждый контур глифа, и пересечения внутри «Д» и «А» видны.
   Обводка вдвое толще под заливкой цветом фона: наружу торчит только внешний край. */
@supports (paint-order:stroke fill){
  .hx h1 span{ color:#0B111E; -webkit-text-stroke:3px rgba(255,255,255,.86); paint-order:stroke fill }
}
@supports not (paint-order:stroke fill){ .hx h1 span{ color:rgba(255,255,255,.55); -webkit-text-stroke:0 } }

/* ---------- Навигация с иконками ---------- */
.nav__a > .ic{ display:inline-block; width:17px; height:17px; opacity:.6; margin-right:1px }
.nav__a[aria-current=page] > .ic{ opacity:1; color:var(--brand) }
.nav__a:hover > .ic{ opacity:.9 }

/* ---------- Карточка: копирование названий и контрастные разделы ---------- */
.pf__names{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px }
.pf__names .btn{ height:30px; padding:0 10px; font-size:13px; background:transparent; border-color:#3A4660; color:#C4CAD5 }
.pf__names .btn:hover{ background:#1B2331; color:#fff } .pf__names .btn:disabled{ opacity:.35 }
.pf-acc{ border-bottom:1px solid var(--line-strong) }
.pf-acc > summary{ padding-left:14px; padding-right:12px; margin:0 -14px; border-radius:6px; transition:background var(--dur) var(--ease) }
.pf-acc > summary:hover{ background:var(--surface-2) }
.pf-acc__s{ display:inline-flex; align-items:center; gap:6px; justify-self:end }
.pf-acc__s .ic{ width:20px; height:20px; color:var(--ink-3); transition:transform var(--dur) var(--ease) }
.pf-acc__o{ display:none; font:600 12px var(--font-mono); letter-spacing:.08em; text-transform:uppercase }
.pf-acc > summary{ grid-template-columns:auto minmax(0,1fr) auto }
/* раскрытый раздел: заметный блок с акцентной полосой, «шапка» прилипает при прокрутке */
.pf-acc[open]{ margin:10px -14px; padding:0 14px 6px; border:0; border-left:4px solid var(--brand); border-radius:0 8px 8px 0; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line) }
.pf-acc[open] > summary{ position:sticky; top:0; z-index:2; margin:0 -14px; padding-left:14px; border-radius:0 8px 0 0; background:var(--surface-2); border-bottom:1px solid var(--line-strong) }
.pf-acc[open] > summary .pf-acc__t{ color:var(--brand) }
.pf-acc[open] .pf-acc__o{ display:inline; color:var(--ink-2) }
.pf-acc[open] > summary .pf-acc__s{ padding:4px 6px 4px 10px; border:1px solid var(--line-strong); border-radius:999px; background:var(--surface) }
.pf-acc[open] > summary:hover .pf-acc__s{ border-color:var(--ink) }
.pf-acc[open] .pf-acc__s .ic{ transform:rotate(180deg); color:var(--ink) }
.pf-acc[open] > summary .pf-acc__d{ display:none }
.pf-acc__b{ padding-top:14px }
.pf-acc__close{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:16px; padding:10px; border:1px dashed var(--line-strong); border-radius:6px; background:none; color:var(--ink-2); font-size:13px; cursor:pointer }
.pf-acc__close:hover{ border-style:solid; border-color:var(--ink); color:var(--ink) } .pf-acc__close .ic{ width:16px; height:16px }
.pf-acc > summary .pf-acc__t:hover{ color:inherit }

/* ---------- Заметный сброс фильтров ---------- */
.fbar__reset{ --b:#E5553F; background:#E5553F; color:#fff; font-weight:600 }
.fbar__reset:hover{ background:#F0694F; --b:#F0694F; color:#fff }
.fbar__reset b{ display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:rgba(255,255,255,.25); font-size:12px }
.fbar__reset .ic{ width:16px; height:16px }
.fbar__tl{ font:500 11px var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); align-self:center; margin-right:4px }
[data-tokens]{ flex-wrap:wrap; gap:6px }

/* ---------- Образование: уровни — «лестница» ---------- */
:is(#main,#printArea) .edu-ladder{ display:grid; gap:40px }
:is(#main,#printArea) .edu-step__h{ display:flex; align-items:baseline; gap:16px; padding-bottom:12px; margin-bottom:18px; border-bottom:2px solid var(--ink) }
:is(#main,#printArea) .edu-step__h b{ font:500 13px var(--font-mono); color:var(--brand); letter-spacing:.08em }
:is(#main,#printArea) .edu-step__h h2{ margin:0; font-family:var(--font-display); font-weight:800; font-size:clamp(32px, 3.6vw, 52px); line-height:.9; text-transform:uppercase; color:var(--ink) }
:is(#main,#printArea) .edu-step__cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap:20px }
:is(#main,#printArea) .edu-lv{ display:flex; flex-direction:column; gap:14px; padding:22px 24px 18px; background:var(--surface); border:1px solid var(--line); border-top:5px solid var(--lv); border-radius:0 0 10px 10px; min-width:0 }
:is(#main,#printArea) .edu-lv__who{ font:600 11.5px var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3) }
:is(#main,#printArea) .edu-lv__h h3{ margin:6px 0 0; font-family:var(--font-display); font-weight:900; font-size:clamp(40px, 3.6vw, 56px); line-height:.86; text-transform:uppercase; color:var(--ink) }
:is(#main,#printArea) .edu-lv__full{ margin:6px 0 0; font-size:14px; color:var(--ink-3) }
:is(#main,#printArea) .edu-lv__what{ margin:0; font-size:16px; line-height:1.45; color:var(--ink) }
:is(#main,#printArea) .edu-lv__facts{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:12px; margin:0; padding:12px 0; border-block:1px solid var(--line) }
:is(#main,#printArea) .edu-lv__facts dt{ font-size:12.5px; color:var(--ink-3) } :is(#main,#printArea) .edu-lv__facts dd{ margin:2px 0 0; font-size:14px; line-height:1.35; color:var(--ink) }
:is(#main,#printArea) .edu-lv__nums{ display:grid; grid-template-columns:1fr 1fr; gap:12px }
:is(#main,#printArea) .edu-lv__nums b{ display:block; font-family:var(--font-display); font-weight:900; font-size:52px; line-height:.85; color:var(--ink) }
:is(#main,#printArea) .edu-lv__nums div:last-child b{ color:var(--lv) }
:is(#main,#printArea) .edu-lv__nums span{ display:block; margin-top:6px; font-size:13px; color:var(--ink-3) }
:is(#main,#printArea) .edu-lv__list summary{ display:flex; align-items:center; gap:6px; padding:8px 0; cursor:pointer; list-style:none; font-weight:600; font-size:14px }
:is(#main,#printArea) .edu-lv__list summary::-webkit-details-marker{ display:none } :is(#main,#printArea) .edu-lv__list[open] summary .edu-ic{ transform:rotate(90deg) }
:is(#main,#printArea) .edu-lv__list ul{ list-style:none; margin:0; padding:0; max-height:320px; overflow:auto }
:is(#main,#printArea) .edu-lv__list li button{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(40px,1fr) auto; align-items:center; gap:12px; width:100%; padding:7px 4px; border:0; border-top:1px solid var(--line); background:none; text-align:left; color:var(--ink); cursor:pointer }
:is(#main,#printArea) .edu-lv__list li button:hover{ background:var(--surface-2) }
:is(#main,#printArea) .edu-lv__on{ font-size:14px; font-weight:500; min-width:0; overflow-wrap:anywhere } :is(#main,#printArea) .edu-lv__on small{ display:block; font-size:12px; font-weight:400; color:var(--ink-3) }
:is(#main,#printArea) .edu-lv__bar{ height:8px; border-radius:2px; background:var(--surface-2); overflow:hidden } :is(#main,#printArea) .edu-lv__bar i{ display:block; height:100% }
:is(#main,#printArea) .edu-lv__list b{ font-variant-numeric:tabular-nums; font-weight:700; text-align:right; min-width:36px }
:is(#main,#printArea) .edu-lv__go{ align-self:flex-start; margin-top:auto }

/* ---------- Образование: руководители ---------- */
:is(#main,#printArea) .edu-heads__bar{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin-bottom:18px }
:is(#main,#printArea) .edu-heads__q{ flex:1 1 320px; max-width:520px } :is(#main,#printArea) .edu-heads__q .input{ height:44px }
:is(#main,#printArea) .edu-heads__lock{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-bottom:18px; padding:14px 16px; border-left:4px solid var(--brand); background:var(--surface); font-size:14px; color:var(--ink-2) }
:is(#main,#printArea) .edu-heads__lock span{ flex:1 1 280px }
:is(#main,#printArea) .edu-heads__list{ list-style:none; margin:0; padding:0; border-top:2px solid var(--ink) }
:is(#main,#printArea) .edu-head{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap:8px 24px; align-items:start; padding:16px 0; border-bottom:1px solid var(--line) }
:is(#main,#printArea) .edu-head__org{ display:grid; gap:2px; padding:0; border:0; background:none; text-align:left; color:var(--ink); cursor:pointer; min-width:0 }
:is(#main,#printArea) .edu-head__org b{ font-size:16px; font-weight:600; overflow-wrap:anywhere } :is(#main,#printArea) .edu-head__org:hover b{ color:var(--brand); text-decoration:underline; text-underline-offset:3px }
:is(#main,#printArea) .edu-head__org small{ font-size:13px; color:var(--ink-3) }
:is(#main,#printArea) .edu-head__p{ display:grid; gap:2px; min-width:0 } :is(#main,#printArea) .edu-head__pos{ font-size:13px; color:var(--ink-3) }
:is(#main,#printArea) .edu-head__name{ display:flex; align-items:center; gap:4px; font-size:16px; font-weight:600; overflow-wrap:anywhere }
:is(#main,#printArea) .edu-head__c{ display:grid; gap:4px; min-width:0; font-size:14px } :is(#main,#printArea) .edu-head__c span{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; min-width:0 }
:is(#main,#printArea) .edu-head__c a{ color:var(--ink); overflow-wrap:anywhere } :is(#main,#printArea) .edu-head__c small{ color:var(--ink-3); font-size:12px }
:is(#main,#printArea) .edu-head .copy{ width:28px; height:28px }
@media (max-width:767px){ :is(#main,#printArea) .edu-head{ grid-template-columns:minmax(0,1fr); gap:6px } :is(#main,#printArea) .edu-lv{ padding:18px 16px 14px } :is(#main,#printArea) .edu-lv__facts{ grid-template-columns:minmax(0,1fr) } }
:is(#main,#printArea) .edu-heads__q{ position:relative; display:flex; align-items:center } :is(#main,#printArea) .edu-heads__q > .edu-ic{ position:absolute; left:14px; color:var(--ink-3); pointer-events:none } :is(#main,#printArea) .edu-heads__q .input{ padding-left:42px }
.hx__bg{ opacity:.5 }
.hx__now b,.hx__now dt,.hx__links a,.hx__links button{ text-shadow:0 1px 14px #0A101C, 0 0 2px #0A101C }

/* =========================================================================
   Реестр 2.0: компактная шапка, липкие фильтры, плотная таблица с группами.
   ========================================================================= */
.reg__top{ padding:clamp(22px, 3vw, 34px) 0 18px; align-items:center }
.reg__top h1{ font-size:clamp(44px, 5vw, 76px) }
.reg__top .section-head__t{ flex-basis:auto; flex:1 1 360px }
.reg__top p{ margin-top:8px }
.reg__top .band-stats dd{ font-size:clamp(30px, 2.8vw, 44px) }
.reg__top::after{ display:none }
@media (min-width:1024px){
  .reg__fbar{ position:sticky; top:var(--hdr); z-index:30; padding-top:10px; padding-bottom:12px; border-bottom:1px solid #26314A }
  .reg__fbar .fbar{ gap:8px }
}
.reg .table-wrap{ max-height:none }
.rt-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin:0 0 12px }
.rt-hint{ font-size:13px }
.rt-wrap{ border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); overflow:clip }
.rt{ width:100%; table-layout:fixed; font-size:14px }
.rt thead th{ position:sticky; top:calc(var(--hdr) + var(--fbh, 0px)); z-index:5; background:var(--surface); padding:10px 12px; border-bottom:2px solid var(--ink); box-shadow:0 1px 0 var(--line) }
@media (max-width:1023px){ .rt thead th{ top:var(--hdr) } }
.rt td{ padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:middle; overflow-wrap:anywhere }
.rt tbody tr[data-row]{ cursor:pointer; box-shadow:inset 3px 0 0 transparent; transition:background var(--dur) var(--ease), box-shadow var(--dur) var(--ease) }
.rt tbody tr[data-row]:hover{ background:var(--surface-2); box-shadow:inset 3px 0 0 var(--c) }
.rt tbody tr.is-open{ background:color-mix(in srgb, var(--c) 10%, var(--surface)); box-shadow:inset 3px 0 0 var(--c) }
.rt tbody tr.is-sel{ background:var(--brand-soft) }
.rt-cb{ width:44px } .rt-org{ width:30% } .rt-place{ width:15% } .rt-now{ width:12% } .rt-head{ width:18% } .rt-mail{ width:auto } .rt-act{ width:112px }
.rt td > span:not(.rt-sub):not(.status),.rt-name{ display:block }
.rt-name{ color:var(--ink); font-weight:600; font-size:15px; line-height:1.3; text-decoration:none }
.rt tbody tr:hover .rt-name{ color:var(--brand) }
.rt-sub{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px; margin-top:3px; font-size:12.5px; color:var(--ink-3) }
.rt-cat{ width:8px; height:8px; border-radius:2px; background:var(--c); margin-right:3px }
.rt-edu{ display:inline-flex; align-items:center; gap:3px; color:var(--edu) } .rt-edu .ic{ width:13px; height:13px }
.rt-now .status{ font-size:13px }
.rt-mail a{ color:var(--info); font-size:13.5px }
.rt-act{ text-align:right; white-space:nowrap } .rt-act .btn{ opacity:.45 } .rt tbody tr:hover .rt-act .btn,.rt-act .btn:focus-visible,.rt-act .btn[aria-pressed=true]{ opacity:1 }
.rt .lock-inline{ font-size:12.5px }
.rt-group th{ padding:18px 12px 8px; background:var(--bg); border-bottom:1px solid var(--ink); text-align:left; font-weight:400; text-transform:none; letter-spacing:0; color:var(--ink) }
.rt-group th span{ font-family:var(--font-display); font-weight:800; font-size:26px; text-transform:uppercase; line-height:1 }
.rt-group th b{ margin-left:10px; font:600 13px var(--font-mono); color:var(--brand) }
.rt-group th small{ margin-left:10px; font-size:12.5px; color:var(--ok) }
.rt-group[style] th span::before{ content:""; display:inline-block; width:12px; height:12px; margin-right:10px; border-radius:3px; background:var(--c); vertical-align:2px }
@media (max-width:1199px){ .rt-head{ display:none } .rt-org{ width:38% } }
@media (max-width:899px){ .rt-mail,.rt-act{ display:none } .rt-org{ width:auto } .rt-place{ width:28% } .rt-now{ width:22% } .rt-hint{ display:none } }
/* «Список» — карточки в несколько колонок */
.rgrid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap:10px }
.rgrid .orow{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:12px; align-items:start }
.rgrid .orow:hover{ border-color:var(--line-strong); background:var(--surface) }
.rgrid .orow.is-sel{ border-color:var(--brand); background:var(--brand-soft) }
.reg__top h1{ white-space:nowrap; font-size:clamp(40px, 4.4vw, 64px) }
.reg__fbar{ margin-bottom:18px }
.rt-org{ width:31% } .rt-place{ width:15% } .rt-now{ width:12% } .rt-head{ width:19% } .rt-act{ width:112px }
@media (max-width:1199px){ .rt-org{ width:40% } }
@media (max-width:899px){ .rt-org{ width:auto } .rt-place{ width:30% } .rt-now{ width:26% } }
@media (max-width:519px){ .reg__top h1{ white-space:normal } .rt-place{ width:34% } .rt-now{ display:none } .rt-cb{ width:36px } .rt td,.rt th{ padding-inline:8px } }
.rt-org{ width:28% } .rt-place{ width:13% } .rt-now{ width:10% } .rt-head{ width:18% } .rt-act{ width:108px }
.rt-mail a{ overflow-wrap:break-word; word-break:normal }
@media (max-width:1199px){ .rt-org{ width:36% } .rt-place{ width:16% } .rt-now{ width:12% } }
@media (max-width:899px){ .rt-org{ width:auto } .rt-place{ width:30% } .rt-now{ width:26% } }
@media (max-width:519px){ .rt-place{ width:36% } }
.pf__acts .pf__mailset{ width:38px; padding:0; margin-left:-4px }
@container orgcard (max-width:460px){ .pf__acts .pf__mailset{ display:none } }

/* ---------- Узкие телефоны: поиск главной, панель карты ---------- */
/* Слои Яндекс Карт (ссылка «Открыть Яндекс Карты», копирайты) не поднимаются над списком организаций. */
.mapv__map{ z-index:0; isolation:isolate }
/* Счётчик, сортировка и «ещё» — в одну строку. */
.mapv .fbar__r:has(> [data-count]){ flex-wrap:nowrap }
.mapv .fbar__r:has(> [data-count]) .select{ min-width:120px; flex:0 1 auto }
.mapv .fbar__r:has(> [data-count]) .fbar__count{ white-space:nowrap }
@media (max-width:699px){
  .mapv__foot{ gap:12px }
  .mapv__foot > span{ min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
  .mapv__foot > span:first-child{ flex:1 1 auto }
  .mapv__foot .ymaps{ flex:0 1 auto; max-width:55% }
}
@media (max-width:379px){
  .hx .hsearch{ flex-wrap:nowrap }
  .hx .hsearch .btn{ width:auto; padding:0 14px }
  .hx .hsearch .input{ padding-left:42px; padding-right:8px }
  .hx .hsearch > .ic{ left:14px }
}

/* ======================================================================
   Читаемость (15.11.2026). Узкий заглавный шрифт — только для заголовка страницы
   и крупных цифр; мелкие подписи не меньше 12 px и без моноширинной разрядки;
   «закрыто» — нейтральный серый, красный оставлен для просрочек и ошибок.
   ====================================================================== */
/* 1. Вкладки, названия организаций и заголовки блоков — обычным шрифтом */
:is(#main,#printArea) .edu-tabs .tab{ font-family:var(--font-ui); font-weight:600; font-size:16px; text-transform:none; letter-spacing:0; padding:14px 0 12px; margin-right:26px }
:is(#main,#printArea) .edu-tabs .tab::after{ right:0; height:3px }
.profile .pf__head h1{ font-family:var(--font-ui); font-weight:700; font-size:clamp(24px, 2.6cqi + 14px, 32px); line-height:1.15; letter-spacing:-.01em; text-transform:none }
.profile .pf-acc__t{ font-family:var(--font-ui); font-weight:650; font-size:18px; letter-spacing:0; text-transform:none }
#homeBlocks .hm-head h2{ font-family:var(--font-ui); font-weight:700; font-size:clamp(24px, 2.2vw, 30px); line-height:1.15; letter-spacing:-.01em; text-transform:none }
.hm-work__t{ font-family:var(--font-ui); font-weight:700; font-size:20px; line-height:1.2; letter-spacing:0; text-transform:none }
:is(#main,#printArea) .edu-step__h h2{ font-family:var(--font-ui); font-weight:700; font-size:clamp(22px, 2vw, 28px); line-height:1.15; text-transform:none }
:is(#main,#printArea) .edu-lv__h h3{ font-family:var(--font-ui); font-weight:700; font-size:clamp(24px, 2.2vw, 30px); line-height:1.15; text-transform:none }
.rt-group th span{ font-family:var(--font-ui); font-weight:650; font-size:16px; text-transform:none; letter-spacing:0 }

/* 2. Мелкие служебные подписи: обычный шрифт, 12–13 px, умеренная разрядка */
.hx__eyebrow,.hx__now dt,.hx__cats p,.zb-key,.band-stats dt,.fbar__tl,.nw-day__t span,:is(#main,#printArea) .edu-lv__who,.hx-ticker__k{ font-family:var(--font-ui); font-size:12.5px; font-weight:600; letter-spacing:.06em }
.zb-g__h b.num,.zb-col__z span,.zb-col__s,.tzb__c{ font-size:12px }
.rt-sub .mono,.pf__kick .mono{ font-size:12.5px }
.edu-dyn__date,.ws-views small{ font-size:12px }

/* 3. «Закрыто» — обычное состояние вне рабочих часов, а не тревога */
.status--bad::before{ background:var(--ink-4) }

/* 4, 9. Реестр: одно пояснение вместо пустых строк, должность не растягивает строку, понятные значки */
.rt-notice{ margin:0 0 14px }
.rt-head > span:first-child{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
.rt-act .btn{ opacity:.7 }

/* 7. Компактные шапки внутренних разделов: содержимое видно на первом экране */
.reg__top,.nw > .pg-head,.ws > .pg-head,:is(#main,#printArea) .edu-top,.page.sec > .section-head:first-child{ padding:clamp(24px, 3vw, 40px) 0 clamp(18px, 2vw, 26px) }
.reg__top h1,.nw > .pg-head h1,.ws > .pg-head h1,:is(#main,#printArea) .edu-top .edu-h1,.page.sec > .section-head:first-child h1{ font-size:clamp(40px, 4.6vw, 72px) }
@media (max-width:699px){
  .reg__top,.nw > .pg-head,.ws > .pg-head,:is(#main,#printArea) .edu-top,.page.sec > .section-head:first-child{ padding:18px 0 16px; gap:12px 20px; margin-bottom:20px }
  .reg__top h1,.nw > .pg-head h1,.ws > .pg-head h1,:is(#main,#printArea) .edu-top .edu-h1,.page.sec > .section-head:first-child h1{ font-size:clamp(32px, 10vw, 40px) }
  .reg__top p,.nw > .pg-head p,.ws > .pg-head p,:is(#main,#printArea) .edu-top .edu-lead,.page.sec > .section-head:first-child p{ margin-top:6px; font-size:13.5px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }
}

/* 6. Главная: доска поясов свёрнута в строку, раскрывается по кнопке */
.hx.is-zb-closed .zb,.hx.is-zb-closed .zb-legend{ display:none }
.hx-zbtoggle{ display:flex; align-items:center; gap:12px; width:100%; margin-top:22px; padding:12px 16px; border:1px solid rgba(255,255,255,.18); border-radius:var(--r-sm); background:rgba(255,255,255,.04); color:#fff; font:inherit; text-align:left; cursor:pointer }
.hx-zbtoggle:hover{ background:rgba(255,255,255,.08) }
.hx-zbtoggle > .ic{ flex:none; width:20px; height:20px; color:#9AA4B8 }
.hx-zbtoggle > span:first-of-type{ display:grid; gap:2px; flex:1; min-width:0 }
.hx-zbtoggle b{ font-weight:600; font-size:15px }
.hx-zbtoggle small{ font-size:13px; color:#9AA4B8 }
.hx-zbtoggle__a{ display:inline-flex; align-items:center; gap:6px; font-size:14px; color:#C4CAD5; white-space:nowrap }
.hx-zbtoggle__a .ic{ width:16px; height:16px; transition:transform var(--dur) var(--ease) }
.hx-zbtoggle[aria-expanded=true] .hx-zbtoggle__a .ic{ transform:rotate(180deg) }
.hx:not(.is-zb-closed) .hx-zbtoggle{ margin-bottom:14px }

/* 8. Карточка организации: одно меню «Копировать», редкие действия — в «Ещё» */
.pf-menu{ position:relative; display:inline-block }
.pf-menu > summary{ list-style:none; cursor:pointer }
.pf-menu > summary::-webkit-details-marker{ display:none }
.pf-menu > summary .ic{ width:16px; height:16px }
.pf-menu__list{ position:absolute; z-index:30; top:calc(100% + 6px); left:0; display:grid; gap:2px; min-width:270px; max-width:min(380px, 86vw); padding:6px; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:0 12px 32px rgba(10,16,28,.22) }
.pf__acts{ position:relative } .pf__acts .pf-menu{ position:static } .pf__acts .pf-menu__list{ left:0; right:auto }
.pf-menu__list button{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:10px; row-gap:1px; align-items:center; padding:8px 10px; border:0; border-radius:var(--r-sm); background:none; color:inherit; font:inherit; text-align:left; cursor:pointer }
.pf-menu__list button:hover,.pf-menu__list button:focus-visible{ background:var(--surface-2) }
.pf-menu__list button .ic{ grid-row:span 2; width:18px; height:18px; color:var(--ink-2) }
.pf-menu__list button b{ font-weight:600; font-size:14px }
.pf-menu__list button span{ font-size:12.5px; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.pf-menu__list button:not(:has(.ic)) > *{ grid-column:1 / -1 }

/* 10. Подсказки к значкам шапки появляются сразу при наведении и фокусе */
.hdr__tools .btn--icon{ position:relative }
@media (hover:hover){
  .hdr__tools .btn--icon[aria-label]:hover::after,.hdr__tools .btn--icon[aria-label]:focus-visible::after{ content:attr(aria-label); position:absolute; top:calc(100% + 8px); right:0; z-index:80; padding:6px 10px; border-radius:6px; background:#0E131C; color:#fff; font:500 12.5px/1.3 var(--font-ui); white-space:nowrap; pointer-events:none; box-shadow:0 6px 18px rgba(0,0,0,.25) }
}

/* 11. Затухание по краю у прокручиваемых полос фильтров */
.fbar__chips.is-fade-r,.zb-cats.is-fade-r,:is(#main,#printArea) .edu-tabs.is-fade-r{ -webkit-mask-image:linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image:linear-gradient(to right, #000 calc(100% - 44px), transparent) }
.fbar__chips.is-fade-l,.zb-cats.is-fade-l,:is(#main,#printArea) .edu-tabs.is-fade-l{ -webkit-mask-image:linear-gradient(to right, transparent, #000 44px); mask-image:linear-gradient(to right, transparent, #000 44px) }
.fbar__chips.is-fade-l.is-fade-r,.zb-cats.is-fade-l.is-fade-r,:is(#main,#printArea) .edu-tabs.is-fade-l.is-fade-r{ -webkit-mask-image:linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image:linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent) }

/* 12. Источники в «Образовании» свёрнуты */
:is(#main,#printArea) .edu-srcs summary{ cursor:pointer; color:var(--ink-3); font-size:13px }
:is(#main,#printArea) .edu-srcs summary:hover{ color:var(--ink) }
:is(#main,#printArea) .edu-srcs .edu-src{ margin-top:8px }
.profile .pf-acc__o{ text-transform:none; letter-spacing:0 }
.reg__body > :empty{ display:none }
@media (max-width:699px){ .reg__fbar{ margin-bottom:0; padding-bottom:12px } }
:is(#main,#printArea) .edu-top__eyebrow .edu-cap,.eyebrow{ letter-spacing:.06em }

/* ---------- Карта: кластер — кольцо из цветов категорий, число в центре ---------- */
.mcl.mcl--pie{ background:radial-gradient(circle closest-side, var(--surface) 0 60%, transparent 62%), var(--pie); color:var(--ink); border:0; font-weight:700; box-shadow:0 0 0 2px var(--surface), 0 2px 8px rgba(10,16,30,.35) }
.ycl:hover .mcl--pie,.cluster-icon:hover .mcl--pie{ box-shadow:0 0 0 2px var(--surface), 0 0 0 5px color-mix(in srgb, var(--ink) 25%, transparent), 0 2px 8px rgba(10,16,30,.35) }

/* ---------- Реестр: категории на компьютере переносятся, а не уходят за край ---------- */
@media (min-width:700px){ .reg .fbar__chips{ flex-wrap:wrap; overflow:visible; -webkit-mask-image:none; mask-image:none } }

/* ---------- Образование → Уровни: «Где учат» — обучаются / выпуск по годам ---------- */
.edu-lv[data-mode=now] .edu-lv__grad,.edu-lv[data-mode=grad] .edu-lv__now{ display:none }
:is(#main,#printArea) .edu-lv__mode{ display:flex; width:fit-content; margin:2px 0 10px }
:is(#main,#printArea) .edu-lv[data-mode=now] [data-lvmode=now],:is(#main,#printArea) .edu-lv[data-mode=grad] [data-lvmode=grad]{ background:var(--surface); color:var(--ink); box-shadow:0 0 0 1px var(--line) }
:is(#main,#printArea) .edu-lv__list ul{ max-height:none; overflow:visible }
.edu-lv__now:not(.is-all) .edu-lv__more,.edu-lv__grad:not(.is-all) .edu-lv__more{ display:none }
:is(#main,#printArea) .edu-lv__all{ margin-top:8px; font-size:14px }
.edu-grad{ overflow-x:auto }
.edu-grad table{ width:100%; border-collapse:collapse; font-size:14px }
.edu-grad th,.edu-grad td{ padding:8px 6px; border-top:1px solid var(--line); text-align:left; vertical-align:top }
.edu-grad thead th{ border-top:0; padding-top:4px; font-size:12.5px; font-weight:600; color:var(--ink-3) }
.edu-grad .r{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap }
.edu-grad th:first-child{ padding-left:0 } .edu-grad td:last-child,.edu-grad th:last-child{ padding-right:0 }
.edu-grad tbody th{ font-weight:500; min-width:0 }
.edu-grad tbody th .edu-link{ font:inherit; text-align:left }
.edu-grad tbody th small{ display:block; margin-top:1px; font-size:12px; font-weight:400; color:var(--ink-3) }
.edu-grad tbody td:nth-child(2),.edu-grad tfoot td:nth-child(2),.edu-grad thead th:nth-child(2){ color:var(--ink); font-weight:700 }
.edu-grad thead th:nth-child(2){ color:var(--ink); box-shadow:inset 0 -2px 0 var(--lv) }
.edu-grad tfoot th,.edu-grad tfoot td{ font-weight:700; border-top:2px solid var(--line-strong) }
.edu-grad__note{ margin:8px 0 0; font-size:12.5px; line-height:1.4; color:var(--ink-3) }

/* ---------- Полосы прокрутки: тонкие, скруглённые, в цвет темы ---------- */
::-webkit-scrollbar{ width:10px; height:10px }
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{ background:transparent }
::-webkit-scrollbar-thumb{ background:color-mix(in srgb, var(--ink) 22%, transparent); border:3px solid transparent; border-radius:999px; background-clip:padding-box }
::-webkit-scrollbar-thumb:hover{ background-color:color-mix(in srgb, var(--ink) 40%, transparent) }
::-webkit-scrollbar-button{ display:none; width:0; height:0 }
@supports (-moz-appearance:none){ *{ scrollbar-width:thin; scrollbar-color:color-mix(in srgb, var(--ink) 28%, transparent) transparent } }

/* Двухтоновые значки на главной и в «Образовании» (18.11.2026) */
.hx__now dt .ic{ width:16px; height:16px; margin-right:5px; vertical-align:-3px }
.zb-col__s .ic{ width:13px; height:13px; margin-right:4px; vertical-align:-2px; opacity:.85 }
.edu-grad__note .ic, .edu-hero__l .ic{ width:16px; height:16px; margin-right:6px; vertical-align:-3px; color:var(--edu) }

/* =========================================================================
   Печать образования (education.js: printDialog, printEdu) — листы A4 для руководителя
   ========================================================================= */
.edu-pd{ display:grid; gap:16px }
.edu-pd__lead{ margin:0; color:var(--ink-2) }
.edu-pd__presets{ display:flex; flex-wrap:wrap; gap:8px }
.edu-pd fieldset{ border:0; margin:0; padding:0; display:grid; gap:8px }
.edu-pd legend{ padding:0; margin-bottom:6px; font-weight:600; font-size:14px }
.edu-pd__tabs{ grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)) }
.edu-pd__tabs legend, .edu-pd__or legend{ grid-column:1 / -1 }
.edu-pd label:has(> input[type=checkbox]), .edu-pd__or label{ display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-md); cursor:pointer; background:var(--surface) }
.edu-pd label:has(> input:checked){ border-color:var(--edu); background:var(--edu-soft) }
.edu-pd label input{ margin-top:3px; accent-color:var(--edu); flex:none }
.edu-pd label > span:last-child{ display:grid; gap:2px } .edu-pd small{ color:var(--ink-3); font-size:12.5px }
.edu-pd__or{ grid-template-columns:1fr 1fr }
.edu-pd__sheet{ flex:none; border:1.5px solid var(--ink-3); border-radius:3px; background:var(--surface-2) }
.edu-pd__sheet.is-landscape{ width:34px; height:24px } .edu-pd__sheet.is-portrait{ width:24px; height:34px }
.edu-pd__hint{ display:flex; gap:8px; align-items:flex-start; margin:0; font-size:13px; color:var(--ink-3) } .edu-pd__hint .edu-ic, .edu-pd__hint .ic{ flex:none; margin-top:2px }
.edu-pd__a{ display:flex; justify-content:flex-end }
@media (max-width:520px){ .edu-pd__or{ grid-template-columns:1fr } }

/* Справки для печати (education.js: epSummary, epLevel, epOrg, printDocs) */
#printArea.is-measure{ display:block !important; position:absolute; left:-30000px; top:0; width:190mm; visibility:hidden; background:#fff }
#printArea.is-measure.is-landscape{ width:277mm }
.edu-pd__orgs{ border:0; margin:0; padding:0; display:grid; gap:8px }
.edu-pd__orgs legend{ padding:0; margin-bottom:6px; font-weight:600; font-size:14px }
.edu-pd__olist{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:4px 10px; max-height:220px; overflow:auto; padding:4px; border:1px solid var(--line); border-radius:var(--r-md) }
.edu-pd__olist label{ display:flex; gap:8px; align-items:flex-start; padding:6px 8px; border-radius:var(--r-sm); cursor:pointer; font-size:13.5px }
.edu-pd__olist label:hover{ background:var(--surface-2) } .edu-pd__olist label:has(input:checked){ background:var(--edu-soft) }
.edu-pd__olist span{ display:grid } .edu-pd__olist small{ color:var(--ink-3); font-size:12px }
.edu-pd__olist input{ margin-top:3px; accent-color:var(--edu) }
.edu-pd__a{ align-items:center; gap:14px }
.ep-opt{ display:flex; gap:10px; align-items:flex-start }
.edu-lv__print{ margin-top:8px; align-self:flex-start }
.org-edu__foot{ display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; justify-content:space-between }

@media print{ html, body{ background:#fff !important } }
/* Вёрстка справок действует и вне печати: перед печатью область замеряется (is-measure). */
  #printArea.is-edu{ color:#141C2E; font:400 9pt/1.4 var(--font-ui); background:#fff }
  #printArea.is-edu *{ -webkit-print-color-adjust:exact; print-color-adjust:exact }
  .ep{ --ep-ink:#141C2E; --ep-2:#3B4455; --ep-3:#687080; --ep-line:#E2DCD0; --ep-soft:#F5F2EB }
  .ep-sheet{ break-after:page } .ep-sheet:last-child{ break-after:auto }
  .ep-h{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; padding:12px 16px; background:#0A101C; color:#fff; border-radius:5px; break-inside:avoid }
  .ep-k{ font:500 7pt/1 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#F0806F }
  .ep-h h1{ margin:5px 0 0; font:800 22pt/.95 var(--font-display); text-transform:uppercase; color:#fff; letter-spacing:.005em }
  .ep-sub{ margin:5px 0 0; color:#C4CAD5; font-size:8.5pt }
  .ep-note{ margin:4px 0 0; color:#F3D9A6; font-size:8.5pt; font-weight:500 }
  .ep-h__f{ display:flex; gap:18px; margin:0; text-align:right; flex:none }
  .ep-h__f dt{ font-size:6.5pt; color:#9AA4B8; text-transform:uppercase; letter-spacing:.06em }
  .ep-h__f dd{ margin:2px 0 0; font:700 12pt/1 var(--font-ui); color:#fff; font-variant-numeric:tabular-nums; white-space:nowrap }
  .ep-kpis{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); margin:10px 0 4px; border:1px solid var(--ep-line); border-radius:5px; overflow:hidden; break-inside:avoid }
  .ep-kpi{ padding:8px 10px; border-left:1px solid var(--ep-line); display:grid; gap:1px; align-content:start }
  .ep-kpi:first-child{ border-left:0 }
  .ep-kpi span{ font-size:7pt; color:var(--ep-3); text-transform:uppercase; letter-spacing:.04em }
  .ep-kpi b{ font:800 20pt/1 var(--font-display); color:var(--ep-ink); font-variant-numeric:tabular-nums }
  .ep-kpi small{ font-size:7.5pt; color:var(--ep-2); line-height:1.3 }
  .ep-kpi.is-lead{ background:#FBF3E4 } .ep-kpi.is-lead b{ color:#96600F }
  .ep-kpi.is-accent b{ color:#A8392B }
  .ep-sec{ margin-top:12px }
  .ep-sec h2{ display:flex; align-items:baseline; gap:8px; margin:0 0 5px; font:700 11pt/1.2 var(--font-ui); color:var(--ep-ink); break-after:avoid }
  .ep-sec h2 small{ font-weight:400; font-size:8pt; color:var(--ep-3) }
  .ep-sec h3{ margin:8px 0 4px; font:600 8pt/1.2 var(--font-ui); text-transform:uppercase; letter-spacing:.06em; color:var(--ep-3); break-after:avoid }
  .ep-t{ width:100%; border-collapse:collapse; font-size:8pt; font-variant-numeric:tabular-nums }
  .ep-t thead{ display:table-header-group } .ep-t tfoot{ display:table-row-group }
  .ep-t th, .ep-t td{ padding:3.5px 5px; border-bottom:1px solid var(--ep-line); text-align:left; vertical-align:middle }
  .ep-t thead th{ font-size:6.8pt; font-weight:600; color:var(--ep-3); text-transform:uppercase; letter-spacing:.03em; border-bottom:1.2px solid var(--ep-ink); white-space:nowrap }
  .ep-t tbody th{ font-weight:500; color:var(--ep-ink) } .ep-t tbody th small{ display:block; font-weight:400; font-size:6.8pt; color:var(--ep-3) }
  .ep-t tfoot th, .ep-t tfoot td{ border-top:1.2px solid var(--ep-ink); border-bottom:0; font-weight:700; background:var(--ep-soft) }
  .ep-t tr{ break-inside:avoid }
  .ep-t .r{ text-align:right } .ep-t b{ font-weight:700 }
  .ep-t__grp th{ border-bottom:0 !important; padding-bottom:0 !important; color:var(--ep-2) !important }
  .ep-t .ep-y.is-first, .ep-t .ep-c:first-of-type{ border-left:1px solid var(--ep-line) }
  .ep-t td.ep-y.is-first{ background:#FBF3E4 } .ep-t td.ep-y.is-first b{ color:#96600F }
  .ep-t .ep-c{ color:var(--ep-2) }
  .ep-barcol{ width:18% }
  .ep-bar{ display:inline-block; vertical-align:middle; width:100%; max-width:120px; height:6px; background:var(--ep-soft); border-radius:3px; overflow:hidden }
  .ep-bar i{ display:block; height:100%; border-radius:3px }
  .ep-t--orgs .ep-bar{ max-width:90px; margin-right:6px }
  .ep-pc{ font-size:7pt; color:var(--ep-3) }
  .ep-split{ display:inline-block; vertical-align:middle; width:90px; height:6px; border-radius:3px; background:#E8D7B4; overflow:hidden } .ep-split i{ display:block; height:100%; background:#96600F }
  .ep-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:5px; vertical-align:1px }
  .ep-dash{ color:#B8BCC4 }
  .ep-code{ font-family:var(--font-mono); font-size:7pt; color:var(--ep-3); white-space:nowrap; width:1% }
  .ep-where{ font-size:7pt; color:var(--ep-2); line-height:1.35 }
  .ep-t--spec td.ep-where b{ color:var(--ep-ink) }
  .ep-fn{ margin:4px 0 0; font-size:7pt; color:var(--ep-3) }
  .ep-two{ display:grid; grid-template-columns:1.2fr 1fr; gap:14px; break-inside:avoid }
  .ep-years{ display:grid; grid-template-columns:repeat(auto-fit, minmax(50px, 1fr)); border:1px solid var(--ep-line); border-radius:5px; overflow:hidden }
  .ep-years div{ padding:6px 8px; border-left:1px solid var(--ep-line); display:grid; gap:2px } .ep-years div:first-child{ border-left:0 }
  .ep-years span{ font-size:7pt; color:var(--ep-3) } .ep-years b{ font:800 15pt/1 var(--font-display); color:var(--ep-ink) }
  .ep-years .is-first{ background:#FBF3E4 } .ep-years .is-first b{ color:#96600F }
  .ep-lvblock{ border-top:2px solid var(--hue); padding-top:6px; margin-top:14px }
  .ep-rest th, .ep-rest td{ background:var(--ep-soft); color:var(--ep-2) }
  .ep-sheet--summary .ep-t th, .ep-sheet--summary .ep-t td{ padding-top:2.6px; padding-bottom:2.6px }
  .ep-sheet--summary .ep-sec{ margin-top:9px }
  .ep-f{ display:flex; justify-content:space-between; gap:12px; margin-top:12px; padding-top:5px; border-top:1px solid var(--ep-line); font-size:6.8pt; color:var(--ep-3) }
.edu-pd__all{ padding:10px 12px; border:1px solid var(--line); border-radius:var(--r-md); cursor:pointer }
.edu-pd__all:has(input:checked){ border-color:var(--edu); background:var(--edu-soft) }
.edu-pd__all input{ margin-top:3px; accent-color:var(--edu) } .edu-pd__all span{ display:grid; gap:2px }
.edu-pd .edu-pd__olist label:has(> input[type=checkbox]){ border:0; padding:6px 8px; background:none; border-radius:var(--r-sm) }
.edu-pd .edu-pd__olist label:has(> input:checked){ background:var(--edu-soft) }
.edu-pd .edu-pd__orgs .search{ max-width:none }
/* Специальности в справке по уровню — всегда с нового листа */
@media print{ .ep-specpage{ break-before:page; margin-top:0 } }

/* =========================================================================
   ДПО: вкладка «ДПО» в «Образовании» (education.js: vDpo, данные tools/apply_dpo.py)
   ========================================================================= */
.edu-dpo{ --dpo-pk:var(--edu); --dpo-pp:color-mix(in oklab, var(--edu) 55%, var(--ink)) }
.edu-dpo__top{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px }
.edu-dpo__years button{ display:inline-flex; align-items:baseline; gap:5px }
.edu-dpo__years small{ font-size:11px; color:var(--ink-3); font-weight:400 }
.edu-dpo__bars{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:14px; height:210px; align-items:end; padding:6px 2px 0; border-bottom:1px solid var(--line-strong) }
.edu-dpo__bar{ display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:6px; height:100%; padding:0; border:0; background:none; color:inherit; font:inherit; cursor:pointer }
.edu-dpo__bar b{ font-size:14px; font-variant-numeric:tabular-nums }
.edu-dpo__bar > span:last-child{ font-size:13px; color:var(--ink-3); padding:4px 0 6px }
.edu-dpo__col{ width:min(64px, 70%); display:flex; flex-direction:column; justify-content:flex-end; background:var(--dpo-pk); border-radius:6px 6px 0 0; opacity:.5; transition:opacity var(--dur) var(--ease) }
.edu-dpo__col i{ display:block; background:var(--dpo-pp); border-radius:0 }
.edu-dpo__bar.is-on .edu-dpo__col, .edu-dpo__bar:hover .edu-dpo__col{ opacity:1 }
.edu-dpo__bar.is-on > span:last-child{ color:var(--ink); font-weight:600 }
.edu-dpo__lk{ display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:4px; vertical-align:-1px }
.edu-dpo__lk.is-pk{ background:var(--dpo-pk) } .edu-dpo__lk.is-pp{ background:var(--dpo-pp) }
.edu-dpo__months{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:6px; height:210px; align-items:end; border-bottom:1px solid var(--line-strong) }
.edu-dpo__months > div{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:4px; height:100%; min-width:0 }
.edu-dpo__months b{ font-size:12px; font-variant-numeric:tabular-nums }
.edu-dpo__months > div > span:last-child{ font-size:12px; color:var(--ink-3); padding:3px 0 6px }
.edu-dpo__mcol{ flex:1; width:min(34px, 80%); display:flex; align-items:flex-end }
.edu-dpo__mcol i{ display:block; width:100%; background:var(--dpo-pk); border-radius:4px 4px 0 0; min-height:2px }
.edu-dpo__t td{ vertical-align:middle }
.edu-dpo__barc{ width:22% }
.edu-dpo__hb{ display:block; height:7px; border-radius:4px; background:var(--surface-2); overflow:hidden }
.edu-dpo__hb i{ display:block; height:100%; background:var(--dpo-pk); border-radius:4px }
.edu-dpo__hb.is-soft i{ background:color-mix(in oklab, var(--edu) 60%, var(--surface)) }
.edu-dpo__yc{ color:var(--ink-3) } .edu-dpo__yc.is-on{ color:var(--ink); font-weight:600; background:var(--edu-soft) }
.edu-dpo__list{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
.edu-dpo__list li{ display:grid; gap:4px; min-width:0 }
.edu-dpo__li{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; min-width:0 }
.edu-dpo__li > span{ min-width:0; overflow-wrap:anywhere } .edu-dpo__li small{ display:block; color:var(--ink-3); font-size:12.5px; margin-top:1px }
.edu-dpo__li b{ font-variant-numeric:tabular-nums }
.edu-dpo__list--s{ gap:8px } .edu-dpo__list--s .edu-dpo__li{ font-size:14px }
.edu-dpo__more{ margin-top:12px }
.edu-dpo__type{ display:inline-block; min-width:26px; margin-right:8px; padding:1px 5px; border-radius:4px; font-size:11px; font-weight:700; text-align:center; background:var(--edu-soft); color:var(--edu); vertical-align:1px }
.edu-dpo__type.is-pp{ background:color-mix(in oklab, var(--edu) 70%, var(--ink)); color:#fff }
.edu-dpo__who{ color:var(--ink-3); font-size:13px }
.edu-dpo__sp{ display:grid; grid-template-columns:140px minmax(0,1fr); gap:4px 12px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line) }
.edu-dpo__sp small{ grid-column:2; color:var(--ink-3) }
.edu-dpo__spb{ display:block; height:10px; border-radius:5px; background:var(--dpo-pp); overflow:hidden } .edu-dpo__spb i{ display:block; height:100%; background:var(--dpo-pk) }
@media (max-width:640px){ .edu-dpo__bars, .edu-dpo__months{ height:170px } .edu-dpo__months b{ font-size:10px } }
.edu-dpo .edu-hero__nums{ grid-template-columns:repeat(5, minmax(0,1fr)) }
@media (max-width:900px){ .edu-dpo .edu-hero__nums{ grid-template-columns:repeat(2, minmax(0,1fr)) } .edu-dpo .edu-hero__nums > :last-child{ grid-column:1 / -1 } }
.edu-dpo__acts{ display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center }
.edu-dpo__acts{ display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center }

/* =========================================================================
   «Образование»: главный экран — плитки разделов, раздел — панель с подвкладками
   (education.js: GROUPS, vHome, secBar, navigate). Цвет раздела — --g.
   ========================================================================= */
.edu-g-overview{ --g:var(--edu) } .edu-g-students{ --g:var(--c-med) } .edu-g-admission{ --g:var(--c-sci) } .edu-g-dpo{ --g:var(--c-cgie) } .edu-g-orgs{ --g:var(--c-terr) }
.edu-hubs{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px }
.edu-hub{ position:relative; display:flex; flex-direction:column; min-width:0; border-radius:16px; background:var(--surface); border:1px solid var(--line); overflow:hidden; animation:eduHubIn .4s cubic-bezier(.2,.8,.2,1) backwards; animation-delay:calc(var(--i, 0) * 45ms) }
.edu-hub::before{ content:""; position:absolute; inset:0 0 auto; height:4px; background:var(--g) }
.edu-hub.is-wide{ grid-column:span 2 }
.edu-hub__main{ position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); align-content:start; gap:6px 14px; padding:24px 24px 18px; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; flex:1 }
.edu-hub__ic{ grid-row:span 2; display:grid; place-items:center; width:48px; height:48px; border-radius:12px; background:color-mix(in srgb, var(--g) 12%, var(--surface)); color:var(--g) }
.edu-hub__ic .ic{ width:26px; height:26px }
.edu-hub__t{ font:800 30px/1 var(--font-display); text-transform:uppercase; letter-spacing:.01em; color:var(--ink) }
.edu-hub__lead{ color:var(--ink-3); font-size:14px; line-height:1.4 }
.edu-hub__n{ grid-column:1 / -1; display:flex; align-items:baseline; gap:10px; margin-top:14px }
.edu-hub__n b{ font:800 52px/.9 var(--font-display); color:var(--g); font-variant-numeric:tabular-nums }
.edu-hub__n small{ color:var(--ink-2); font-size:14px }
.edu-hub__split{ grid-column:1 / -1; display:flex; gap:3px; height:8px; margin-top:4px }
.edu-hub__split i{ border-radius:4px }
.edu-hub__facts{ grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:4px 16px; font-size:13px; color:var(--ink-3) }
.edu-hub__facts i{ display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:5px }
.edu-hub__go{ position:absolute; top:22px; right:22px; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--surface-2); color:var(--ink-2); transition:transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease) }
.edu-hub__subs{ display:flex; flex-wrap:wrap; gap:6px; padding:0 24px 20px }
.edu-hub__subs button{ padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink-2); font:500 13px/1 var(--font-ui); cursor:pointer }
.edu-hub__subs button:hover{ border-color:var(--g); color:var(--g) }
.edu-hub{ transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease) }
.edu-hub:hover{ transform:translateY(-3px); box-shadow:0 14px 34px -16px color-mix(in srgb, var(--g) 55%, transparent); border-color:color-mix(in srgb, var(--g) 40%, var(--line)) }
.edu-hub:hover .edu-hub__go{ background:var(--g); color:#fff; transform:translateX(3px) }
.edu-hub__main:focus-visible{ outline:2px solid var(--g); outline-offset:-4px; border-radius:16px }
@keyframes eduHubIn{ from{ opacity:0; transform:translateY(12px) } }
@media (max-width:1000px){ .edu-hubs{ grid-template-columns:repeat(2, minmax(0,1fr)) } }
@media (max-width:640px){ .edu-hubs{ grid-template-columns:minmax(0,1fr) } .edu-hub.is-wide{ grid-column:auto } .edu-hub__n b{ font-size:42px } .edu-hub__main{ padding:20px 18px 14px } .edu-hub__subs{ padding:0 18px 16px } }

.edu-secbar{ position:relative; margin:0 0 22px; padding:16px 20px 0; border-radius:16px; background:var(--surface); border:1px solid var(--line); overflow:hidden }
.edu-secbar::before{ content:""; position:absolute; inset:0 0 auto; height:4px; background:var(--g) }
.edu-secbar__top{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding-bottom:14px }
.edu-back{ display:inline-flex; align-items:center; gap:6px; padding:7px 12px 7px 9px; border-radius:999px; border:1px solid var(--line); background:var(--surface-2); color:var(--ink-2); font:500 13px/1 var(--font-ui); cursor:pointer }
.edu-back:hover{ color:var(--g); border-color:var(--g) }
.edu-secbar__t{ display:flex; align-items:center; gap:10px; min-width:0 }
.edu-secbar__ic{ display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:color-mix(in srgb, var(--g) 12%, var(--surface)); color:var(--g) } .edu-secbar__ic .ic{ width:22px; height:22px }
.edu-secbar__t h2{ margin:0; font:800 30px/1 var(--font-display); text-transform:uppercase; letter-spacing:.01em }
.edu-secbar__jump{ margin-left:auto; display:flex; flex-wrap:wrap; gap:4px }
.edu-secbar__jump button{ padding:6px 10px; border:0; border-radius:8px; background:none; color:var(--ink-3); font:500 13px/1 var(--font-ui); cursor:pointer } .edu-secbar__jump button:hover{ background:var(--surface-2); color:var(--ink) }
:is(#main,#printArea) .edu-secbar .edu-subtabs{ margin:0 -20px; padding:0 20px; border-bottom:0; border-top:1px solid var(--line) }
:is(#main,#printArea) .edu-secbar .edu-subtabs .tab{ padding:14px 0 12px; margin-right:24px }
:is(#main,#printArea) .edu-secbar .edu-subtabs .tab.is-active{ box-shadow:inset 0 -3px 0 var(--g); color:var(--ink) }
@media (max-width:760px){ .edu-secbar__jump{ display:none } .edu-secbar__t h2{ font-size:24px } }
/* Переходы (education.js: navigate): только opacity и transform, заполнение «backwards» — после анимации
   ничего не удерживается, поэтому эффект наведения на плитку не конфликтует с появлением. */
.edu.is-leaving .edu-hub{ transition:opacity .18s ease, transform .18s ease, box-shadow .18s ease; pointer-events:none }
.edu.is-leaving .edu-hub:not(.is-picked){ opacity:0; transform:translateY(6px) scale(.985) }
.edu.is-leaving .edu-hub.is-picked{ transform:translateY(-4px) scale(1.01); box-shadow:0 20px 44px -18px color-mix(in srgb, var(--g) 60%, transparent); border-color:var(--g) }
.edu.is-enter .edu-secbar{ animation:eduSecIn .36s cubic-bezier(.2,.8,.2,1) backwards }
.edu.is-enter .edu-body{ animation:eduBodyIn .44s cubic-bezier(.2,.8,.2,1) .06s backwards }
.edu.is-swap .edu-body{ animation:eduSwap .24s ease-out backwards }
@keyframes eduSecIn{ from{ opacity:0; transform:translateY(-8px) } }
@keyframes eduBodyIn{ from{ opacity:0; transform:translateY(14px) } }
@keyframes eduSwap{ from{ opacity:0; transform:translateY(4px) } }
@media (prefers-reduced-motion: reduce){ .edu-hub, .edu.is-enter .edu-secbar, .edu.is-enter .edu-body, .edu.is-swap .edu-body{ animation:none } .edu.is-leaving .edu-hub{ transition:none } }

/* Приёмная кампания (vAdm, vAdmSpo, vAdmOrd, vAdmAsp, vAdmNext) */
.edu-adm{ --dpo-pk:var(--c-sci); --adm-p:color-mix(in oklab, var(--hue, var(--edu)) 35%, var(--surface)) }
.edu-adm__cards{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px }
.edu-adm__card{ display:grid; gap:12px; padding:18px 20px; border-radius:14px; border:1px solid var(--line); border-top:4px solid var(--hue); background:var(--surface); color:inherit; font:inherit; text-align:left; cursor:pointer; transition:transform .2s var(--ease), box-shadow .2s var(--ease) }
.edu-adm__card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px -16px rgba(10,16,28,.35) }
.edu-adm__card-h{ display:flex; justify-content:space-between; align-items:center; font-size:16px }
.edu-adm__card-f{ display:flex; flex-wrap:wrap; gap:4px 14px; font-size:13px; color:var(--ink-3) } .edu-adm__card-f b{ color:var(--ink) }
.edu-adm__bars{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:10px; height:130px; align-items:end; border-bottom:1px solid var(--line-strong) }
.edu-adm__bars.is-big{ height:200px; max-width:560px }
.edu-adm__bar{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:4px; height:100% }
.edu-adm__bar b{ font-size:13px; font-variant-numeric:tabular-nums }
.edu-adm__bar small{ font-size:12px; color:var(--ink-3); padding:3px 0 5px }
.edu-adm__col{ width:min(56px, 72%); display:flex; flex-direction:column; justify-content:flex-start; background:var(--hue); border-radius:6px 6px 0 0; opacity:.55 }
.edu-adm__bar.is-cur .edu-adm__col{ opacity:1 } .edu-adm__bar.is-cur small{ color:var(--ink); font-weight:600 }
.edu-adm__col i.is-p{ display:block; background:color-mix(in oklab, var(--hue) 40%, var(--surface)); border-radius:6px 6px 0 0 }
.edu-adm__lk{ display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:4px; background:var(--edu) } .edu-adm__lk.is-p{ background:color-mix(in oklab, var(--edu) 40%, var(--surface)) }
.edu-adm__legend{ margin-top:-6px }
.edu-adm__t td, .edu-adm__t th{ vertical-align:middle }
.edu-adm__t th.c{ text-align:center }
.edu-adm__cur{ background:color-mix(in srgb, var(--edu) 7%, transparent) }
.edu-adm__t .edu-delta{ margin-left:4px; font-size:11px }
.edu-adm__sub{ display:block; color:var(--ink-3); font-size:12px }
.edu-adm__first td{ border-top:1.5px solid var(--line-strong) }
.edu-adm__fillc{ min-width:170px; white-space:nowrap }
.edu-adm__fill{ display:inline-block; vertical-align:middle; width:90px; height:8px; margin-right:8px; border-radius:4px; background:var(--surface-2); overflow:hidden }
.edu-adm__fill i{ display:block; height:100%; border-radius:4px; background:var(--warn) }
.edu-adm__fill.is-ok i{ background:var(--ok) } .edu-adm__fill.is-low i{ background:var(--bad) }
.edu-adm__alert{ border-color:color-mix(in srgb, var(--bad) 35%, var(--line)) }
.edu-adm__alert .edu-panel__t{ display:flex; align-items:center; gap:8px } .edu-adm__alert .edu-panel__t .ic, .edu-adm__alert .edu-panel__t .edu-ic{ color:var(--bad) }
.edu-dpo__hb.is-bad i{ background:var(--bad) }
.edu-adm__barc{ width:24% }
.edu-adm__reasons{ margin:0; padding-left:20px; display:grid; gap:10px; line-height:1.45 }
.edu-adm__next{ display:flex; align-items:center; gap:14px; padding:16px 20px; border-radius:14px; border:1px solid var(--line); background:color-mix(in srgb, var(--c-sci) 7%, var(--surface)); color:inherit; font:inherit; text-align:left; cursor:pointer }
.edu-adm__next > span{ flex:1; display:grid; gap:3px } .edu-adm__next small{ color:var(--ink-3) } .edu-adm__next > .ic, .edu-adm__next > .edu-ic{ color:var(--c-sci) }
.edu-adm__ok{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; background:var(--ok-soft); color:var(--ok); font-size:13px; font-weight:500 }
.edu-adm__sci{ display:flex; align-items:center; gap:18px; flex-wrap:wrap }
.edu-adm__sci > div{ display:grid } .edu-adm__sci b{ font:800 46px/1 var(--font-display) } .edu-adm__sci span{ color:var(--ink-3); font-size:13px }
.edu-adm__sci .is-now b{ color:var(--c-sci) }
.edu-adm__added{ margin:12px 0 0; line-height:1.7 }
.edu-adm__pros{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px }
.edu-adm__pg h3{ margin:0 0 8px; font-size:15px } .edu-adm__pg h3 small{ color:var(--ink-3); font-weight:400 }
.edu-adm__pg ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
.edu-adm__pg li{ display:grid; gap:3px; padding:10px 12px; border-radius:10px; background:var(--surface-2) }
.edu-adm__pg li span{ font-size:13px; color:var(--ink-2) } .edu-adm__pg em{ font-style:normal; color:var(--c-sci); font-weight:500 }
@media (max-width:900px){ .edu-adm__cards{ grid-template-columns:minmax(0,1fr) } }
/* Справка по приёмной кампании (epAdm) */
.ep-d{ margin-left:3px; font-size:6.5pt; color:var(--ep-3, #687080) } .ep-d.is-up{ color:#1F7A4D } .ep-d.is-down{ color:#B3261E }
.ep-list{ margin:0; padding-left:16px; font-size:8pt; line-height:1.45; display:grid; gap:4px }
.ep-pros{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px } .ep-pros h3{ margin-top:0 }
