/* Внутренние страницы в языке главной (noc и ssc): тёмная шапка страницы, липкое меню разделов слева,
   разделы по ТЗ центра, протоколы кнопками по специальностям с окном файлов. */

.acc-links{display:flex;flex-wrap:wrap;gap:10px 24px}

/* Шапка страницы как первый экран главной, только ниже: голубоватый фон в сетке монитора, справа линия ЭКГ, заходит под прозрачную шапку */
.page-hero{position:relative;overflow:hidden;padding:calc(64px + var(--hdr,72px)) 0 64px;color:#0a0f24;background:radial-gradient(60% 120% at 100% 0%,#dbe3f3 0%,transparent 60%)}
.page-hero__inner{position:relative;z-index:2}
.page-hero .breadcrumb{margin-bottom:26px}
.page-hero h1{max-width:920px;margin:0 0 18px;font-size:clamp(34px,3.6vw,50px);font-weight:500;line-height:1.1;letter-spacing:-1.2px;color:var(--heading)}
.page-hero h1 span{color:inherit}
.page-hero__lead{max-width:720px;margin:0;font-size:clamp(16px,1.4vw,18px);line-height:1.75;color:#2a3242}
/* ссылка в тексте шапки страницы - как ссылки dovuz (.text-link): тёмно-синий текст 500, без подчёркивания
   и без стрелки, при наведении красная; в строке текста держится по базовой линии */
.page-hero__lead .text-link{display:inline;font-size:inherit;white-space:nowrap;transition:color .2s}
.page-hero__facts{display:flex;flex-wrap:wrap;gap:20px 48px;margin:36px 0 0;padding:28px 0 0;border-top:1px solid #d0d8e6;list-style:none}
.page-hero__facts li{display:flex;flex-direction:column;gap:6px;max-width:260px}
.page-hero__facts b{font-size:clamp(24px,2.2vw,32px);font-weight:700;line-height:1;color:#001b72}
.page-hero__facts span{font-size:14px;line-height:1.45;color:#5b6478}
@media(max-width:768px){.page-hero{padding:calc(40px + var(--hdr,62px)) 0 48px}.page-hero__facts{gap:18px 32px}}

/* Раскладка: меню разделов слева липнет, справа разделы */
.tz-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:56px;align-items:start;padding:56px 0 72px}
.tz-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:4px;padding:14px;background:#fff;border:1.5px solid #d0d8e6;border-radius:18px;box-shadow:0 10px 30px #040d2e0f}
.tz-side a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;font-size:15px;font-weight:500;line-height:1.3;color:#0a0f24;transition:background-color .2s,color .2s}
.tz-side a:hover{background:#f4f6fa;color:#001b72}
.tz-side a.is-active{background:linear-gradient(135deg,#040d2e 0%,#011c73 55%,#052091 100%);color:#fff}
.tz-main{min-width:0}
@media(max-width:1000px){
  .tz-layout{grid-template-columns:1fr;gap:28px;padding:32px 0 56px}
  .tz-side{position:sticky;top:var(--hdr,63px);z-index:5;flex-direction:row;gap:6px;padding:8px;overflow-x:auto;scrollbar-width:none;border-radius:16px}
  .tz-side::-webkit-scrollbar{display:none}
  .tz-side a{flex-shrink:0;padding:8px 12px;white-space:nowrap;font-size:14px}
  /* без номеров в строку входит больше пунктов */
}

/* Раздел */
/* 44px до и после черты между разделами (было 64, заказчик: «отступы слишком большие»), на телефоне 34px.
   Якорь встаёт под шапку за счёт scroll-padding-top у html, свой запас раздела нужен только на узком экране,
   где под шапкой липнет строка меню разделов; подсветку меню js/site.js считает от этих же величин */
.tz-sec{padding:0 0 44px;scroll-margin-top:0}
.tz-sec+.tz-sec{padding-top:44px;border-top:1px solid #d0d8e6}
.tz-main>.tz-sec:last-child{padding-bottom:0}
.tz-sec h2{margin:0 0 18px;font-size:clamp(28px,2.6vw,36px);font-weight:500;line-height:1.2;letter-spacing:-.8px;color:var(--heading)}
.tz-sec h2 span{color:inherit}
.tz-lead{max-width:760px;margin:0 0 28px;font-size:17px;line-height:1.75;color:#2a3242}
.tz-text{max-width:820px;margin:0 0 20px;font-size:16px;line-height:1.75;color:#2a3242}
.tz-sub{margin:40px 0 18px;font-size:22px;font-weight:700;line-height:1.3;color:#0a0f24}
.tz-sub--first{margin-top:0}
@media(max-width:1000px){.tz-sec{scroll-margin-top:28px}}
@media(max-width:620px){.tz-sec{padding-bottom:34px}.tz-sec+.tz-sec{padding-top:34px}}

/* Этапы: крупный номер на градиенте */
.tz-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 24px;padding:0;list-style:none}
.tz-stages--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tz-stage{display:flex;flex-direction:column;gap:18px;padding:28px 26px;background:#fff;border:1.5px solid #d0d8e6;border-radius:20px;box-shadow:0 10px 30px #040d2e0f}
.tz-stage__num{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#ab052b 0%,#eb002d 100%);color:#fff;font-size:24px;font-weight:700;box-shadow:0 10px 24px -8px #dc143c8c;transform:rotate(-4deg)}
.tz-stage:nth-child(even) .tz-stage__num{background:linear-gradient(135deg,#040d2e 0%,#011c73 55%,#052091 100%);box-shadow:0 10px 24px -8px #011c738c}
.tz-stage h3{margin:0 0 8px;font-size:20px;font-weight:700;line-height:1.3;color:#0a0f24}
.tz-stage p{margin:0;font-size:15px;line-height:1.65;color:#2a3242}
/* планшет: два этапа остаются в два столбца; три и больше - столбцом, номер слева от текста, как на телефоне */
@media(max-width:900px){.tz-stages:has(>li:nth-child(3)){grid-template-columns:1fr}.tz-stages:has(>li:nth-child(3)) .tz-stage{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:20px}}
@media(max-width:620px){.tz-stages{grid-template-columns:1fr}}

/* Пометки - блоки оповещения (заказчик): белая карточка с острыми углами, слева тёмно-синяя черта и значок, у важной красные;
   ссылка в пометке как ссылки dovuz. Так же пометка о сроках в «Если выписка не появилась» (.tz-noshow__note) */
.tz-note,.tz-noshow__note{display:flex;gap:14px;align-items:flex-start;padding:18px 24px 18px 20px;border-left:4px solid #011c73;border-radius:0;background:#fff;box-shadow:0 10px 30px #040d2e0f}
.tz-note i,.tz-noshow__note i{flex-shrink:0;margin-top:4px;font-size:18px;color:#011c73}
.tz-note p{margin:0;font-size:15px;line-height:1.7;color:#1d2433}
.tz-note a{font-weight:500;color:#011c73;text-decoration:none}
.tz-note a:hover{color:#eb002d}
.tz-note--warn{border-left-color:var(--red)}
.tz-note--warn i{color:var(--red)}
.tz-note+.file-list{margin-top:16px}

/* Списки */
/* «Кто проходит?»: список в одну колонку (в две пункты вставали 2+1 и выглядели разбросанными), маркер -
   тёмно-синий кружок с белой галочкой, как в «Для кого» на «О центре» */
.tz-who{display:grid;gap:14px;max-width:860px;margin:0;padding:0;list-style:none}
.tz-who li{position:relative;padding-left:34px;font-size:15px;line-height:1.65;text-wrap:wrap;color:#1d2433}
.tz-who li:before{content:"\f00c";position:absolute;left:0;top:3px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--g-navy);color:#fff;font:900 11px/22px "Font Awesome 7 Free";text-align:center}
.tz-who+.tz-note{margin-top:26px}
.tz-checklist{display:grid;gap:12px;margin:0 0 4px;padding:0;list-style:none}
.tz-checklist li{position:relative;padding-left:30px;font-size:15px;line-height:1.6;color:#1d2433}
/* маркер списка - просто синяя галочка, без кружка (заказчик) */
.tz-checklist li:before,.tz-acc .tz-checklist li:before{content:"\f00c";position:absolute;left:2px;top:0;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:#011c73;font:900 15px/1.6 "Font Awesome 7 Free";text-align:left}
.tz-list{display:grid;gap:12px;margin:0;padding:0 0 0 18px;font-size:15px;line-height:1.65;color:#1d2433}
.tz-list a{font-weight:500;color:#001b72}

/* Шаблон заявления внутри тёмной карточки */
.tz-card--dark .tz-file{width:100%;margin-top:auto;border-color:transparent;background:#ffffff14;color:#fff}
.tz-card--dark .tz-file:hover{border-color:#eb002d;background:#ffffff1f}
.tz-card--dark .tz-file__ico{background:#fff;color:#001b72}
.tz-card--dark .tz-file__text small{color:#ffffffb3}
.tz-card--dark .tz-file__go{color:#eb002d}

/* Карточки и сетки */
.tz-grid{display:grid;gap:20px}
.tz-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tz-stack{display:flex;flex-direction:column;gap:20px}
.tz-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px 26px;background:#fff;border:1.5px solid #d0d8e6;border-radius:20px;box-shadow:0 10px 30px #040d2e0f}
.tz-card h3{margin:0;font-size:20px;font-weight:700;line-height:1.3;color:#0a0f24}
.tz-card p{margin:0;font-size:15px;line-height:1.65;color:#2a3242}
.tz-card__ico{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#ab052b 0%,#eb002d 100%);color:#fff;font-size:22px;box-shadow:0 10px 24px -8px #dc143c8c;transform:rotate(-4deg)}
.tz-card__ico--blue{background:linear-gradient(135deg,#040d2e 0%,#011c73 55%,#052091 100%);box-shadow:0 10px 24px -8px #011c738c}
.tz-card .home-more{margin-top:auto}
.tz-card--dark{position:relative;overflow:hidden;border:0;background:radial-gradient(80% 90% at 90% 0%,#0a2a9a 0%,transparent 60%),linear-gradient(135deg,#020718 0%,#040d2e 50%,#011c73 100%);color:#fff}
.tz-card--dark h3{color:#fff}
.tz-card--dark p{color:#ffffffd1}
.tz-contacts{display:flex;flex-direction:column;gap:14px;margin:4px 0 0;padding:0;list-style:none}
.tz-contacts li{display:flex;gap:14px;align-items:flex-start;font-size:15px;line-height:1.55;color:#ffffffe6}
.tz-contacts i{display:grid;flex-shrink:0;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffff1a;color:#eb002d;font-size:14px}
.tz-contacts a{font-weight:500;color:#fff}
.tz-contacts a:hover{color:#eb002d}
@media(max-width:900px){.tz-grid--2{grid-template-columns:1fr}}

/* Файлы: строка-ссылка с значком, названием и действием */
.tz-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tz-file{display:flex;align-items:center;gap:16px;margin-top:20px;padding:16px 20px;background:#fff;border:1.5px solid #d0d8e6;border-radius:16px;color:#0a0f24;transition:border-color .2s,box-shadow .2s,transform .2s}
.tz-files .tz-file{margin-top:0}
.tz-file:hover{border-color:var(--red);box-shadow:0 14px 30px -18px #040d2e59;transform:translateY(-2px)}
.tz-file__ico{display:grid;flex-shrink:0;place-items:center;width:46px;height:46px;border-radius:12px;background:#e8ecf4;color:#001b72;font-size:20px}
.tz-file__text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.tz-file__text b{font-size:16px;font-weight:700;line-height:1.35}
.tz-file__text small{font-size:13px;color:#5b6478}
.tz-file__go{display:inline-flex;flex-shrink:0;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--red)}
@media(max-width:900px){.tz-files{grid-template-columns:1fr}}
@media(max-width:520px){.tz-file__go{display:none}}

/* Ближайшие этапы из расписания */
.tz-upcoming{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.tz-upcoming li{display:flex;gap:16px;align-items:center;padding:14px 18px;background:#fff;border:1.5px solid #d0d8e6;border-radius:14px}
.tz-upcoming__date{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:58px;padding:6px 0;border-radius:12px;background:linear-gradient(135deg,#040d2e 0%,#011c73 55%,#052091 100%);color:#fff;line-height:1.1}
.tz-upcoming__date b{font-size:22px;font-weight:700}
.tz-upcoming__date small{font-size:12px;color:#ffffffbf}
.tz-upcoming li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.tz-upcoming li div b{font-size:15px;font-weight:700;line-height:1.35;color:#0a0f24}
.tz-upcoming li div span{font-size:13px;color:#5b6478}
/* «Все занятия по специальности в расписании» под этапами в кабинете: расписание с поиском ?q= */
.tz-upcoming__more{margin-top:12px}
.tz-upcoming__more i{font-size:12px}
.tz-upcoming__empty{grid-column:1/-1;color:#5b6478}
@media(max-width:900px){.tz-upcoming{grid-template-columns:1fr}}

/* Путь на сайте ФМЗА: шаги стрелками */
.tz-actions{display:flex;flex-wrap:wrap;gap:14px}

/* Пошаговая инструкция ФРМР */
.tz-numbered{display:grid;gap:14px;margin:0;padding:0;list-style:none;counter-reset:num}
.tz-numbered li{position:relative;display:flex;flex-direction:column;gap:4px;padding:20px 24px 20px 82px;background:#fff;border:1.5px solid #d0d8e6;border-radius:18px;counter-increment:num}
.tz-numbered li:before{content:counter(num);position:absolute;left:22px;top:18px;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#ab052b,#eb002d);color:#fff;font-size:18px;font-weight:700;transform:rotate(-4deg)}
.tz-numbered li:nth-child(even):before{background:linear-gradient(135deg,#040d2e,#052091)}
.tz-numbered b{font-size:17px;font-weight:700;color:#0a0f24}
.tz-numbered span{font-size:15px;line-height:1.6;color:#2a3242}
.tz-numbered a{font-weight:500;color:#001b72}

/* Деканаты */
.tz-deans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.tz-deans li{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:16px;row-gap:4px;align-items:center;padding:20px 22px;background:#fff;border:1.5px solid #d0d8e6;border-radius:18px}
.tz-deans__ico{grid-row:1/3;display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#e8ecf4;color:#001b72;font-size:20px}
.tz-deans b{font-size:16px;font-weight:700;line-height:1.3;color:#0a0f24}
.tz-deans a{font-size:17px;font-weight:700;color:var(--red)}
@media(max-width:700px){.tz-deans{grid-template-columns:1fr}}

/* Ссылки списком */
.tz-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.tz-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;height:100%;padding:14px 18px;background:#fff;border:1.5px solid #d0d8e6;border-radius:14px;font-size:15px;font-weight:500;line-height:1.4;color:#0a0f24;transition:border-color .2s,color .2s}
.tz-links a:after{content:"\f35d";flex-shrink:0;font:900 13px/1 "Font Awesome 7 Free";color:var(--red)}
.tz-links a:hover{border-color:var(--red);color:#001b72}
@media(max-width:800px){.tz-links{grid-template-columns:1fr}}

/* Контактное лицо */
.tz-person__role{font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--red)}

/* Баннер раздела */
.tz-banner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:20px;padding:34px 38px;overflow:hidden;border-radius:20px;background:linear-gradient(120deg,#4a0013 0%,#8a0322 55%,#c8002a 100%);color:#fff;box-shadow:0 30px 60px -34px #8a032299}
.tz-banner--blue{background:radial-gradient(70% 120% at 90% 0%,#0a2a9a 0%,transparent 60%),linear-gradient(135deg,#020718 0%,#040d2e 50%,#011c73 100%);box-shadow:0 30px 60px -34px #011c7399}
.tz-banner>*{position:relative}
.tz-banner h3{margin:0 0 10px;font-size:24px;font-weight:700;color:#fff}
.tz-banner p{max-width:760px;margin:0;font-size:15px;line-height:1.7;color:#ffffffd9}
.tz-banner p b{color:#fff}
@media(max-width:900px){.tz-banner{flex-direction:column;align-items:flex-start;padding:28px 24px}}

/* Шаги выписки */
.tz-steps{display:grid;gap:14px;margin:0 0 6px;padding:0;list-style:none;counter-reset:st}
.tz-steps li{position:relative;padding-left:44px;font-size:15px;line-height:1.6;color:#2a3242;counter-increment:st}
.tz-steps li:before{content:counter(st);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#ab052b,#eb002d);color:#fff;font-size:14px;font-weight:700}
.tz-steps b{color:#0a0f24}

/* Вкладки */
.tz-tabs__bar{display:inline-flex;flex-wrap:wrap;gap:6px;margin-bottom:26px;padding:6px;background:#fff;border:1.5px solid #d0d8e6;border-radius:16px}
.tz-tabs__bar button{padding:12px 22px;border:0;border-radius:12px;background:none;color:#0a0f24;font:700 14px/1.2 Stem,Arial,sans-serif;letter-spacing:.6px;text-transform:uppercase;cursor:pointer;transition:background-color .2s,color .2s}
.tz-tabs__bar button:hover{color:#001b72;background:#f4f6fa}
.tz-tabs__bar button[aria-selected="true"]{background:linear-gradient(135deg,#040d2e 0%,#011c73 55%,#052091 100%);color:#fff}
.tz-tabs__bar button:focus-visible{outline:3px solid #eb002d;outline-offset:2px}
.tz-tabs__panel[hidden]{display:none}
.tz-tabs__panel>.home-btn{margin-top:22px}
@media(max-width:520px){.tz-tabs__bar{display:flex}.tz-tabs__bar button{flex:1 1 0;padding:12px 10px}}

/* Протоколы: поиск и кнопки специальностей, как на образце в ТЗ */
.proto__tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin-bottom:22px}
.proto__search{position:relative;flex:0 1 420px}
.proto__search i{position:absolute;left:18px;top:50%;font-size:14px;color:#5b6478;transform:translateY(-50%)}
.proto__search input{width:100%;min-height:50px;padding:0 18px 0 46px;border:1.5px solid #d0d8e6;border-radius:14px;background:#fff;color:#0a0f24;font:inherit;font-size:15px;outline:0;transition:border-color .2s,box-shadow .2s}
.proto__search input:focus{border-color:#001b72;box-shadow:0 0 0 3px #001b7224}
.proto__count{font-size:14px;color:#5b6478}
.proto__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.tz-main .proto__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.proto__btn{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;height:100%;min-height:64px;padding:14px 16px 14px 18px;border:1.5px solid #d0d8e6;border-radius:16px;background:#fff;color:#0a0f24;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.proto__btn b{font-size:15px;font-weight:700;line-height:1.35}
.proto__btn span{display:inline-flex;flex-shrink:0;align-items:center;gap:6px;padding:5px 10px;border-radius:20px;background:#e8ecf4;font-size:13px;font-weight:700;color:var(--red);transition:background-color .2s,color .2s}
.proto__btn:hover span{background:var(--red);color:#fff}
.proto__btn span i{font-size:11px}
.proto__btn:hover{border-color:var(--red);box-shadow:0 16px 30px -18px #040d2e59;transform:translateY(-3px)}
.proto__btn:focus-visible{outline:3px solid #001b72;outline-offset:2px}
.proto__empty,.proto__note{grid-column:1/-1;margin:0;padding:18px 0;color:#5b6478;font-size:15px}
.proto__note{padding:16px 0 0}
.proto__note a{font-weight:500;color:#001b72}
@media(max-width:1100px){.proto__grid,.tz-main .proto__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.proto__grid,.tz-main .proto__grid{grid-template-columns:1fr}.proto__btn{min-height:0}}
.proto__more{display:flex;justify-content:center;margin-top:18px}
.proto__more[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.proto__btn,.tz-file{transition:none}.proto__btn:hover,.tz-file:hover{transform:none}}
.proto-page .demo-results{margin-top:40px}

/* Окно со списком протоколов специальности */
.proto-session{margin-top:24px}
.proto-session h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:15px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#001b72}
.proto-session h3:before{content:"";width:18px;height:3px;border-radius:2px;background:var(--red)}
/* Таблица протоколов на странице специальности (стоит в карточке сессии, низ замыкает рамка карточки):
   шапка светло-синей полосой с чертой снизу, строки через черту, черты между столбцами сплошные */
.proto-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
.proto-table th{padding:12px 16px;background:#e8ecf4;border-bottom:1px solid #d3dbe8;font-size:11.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;white-space:nowrap;color:#001b72}
.proto-table th:last-child{text-align:right}
.proto-table td{padding:12px 16px;border-top:1px solid var(--line);font-size:14px;line-height:1.45;color:#4a5468;vertical-align:middle}
.proto-table th+th{border-left:1px solid #d3dbe8}
.proto-table td+td{border-left:1px solid var(--line)}
.proto-table th:first-child,.proto-table td:first-child{padding-left:22px}
.proto-table th:last-child,.proto-table td:last-child{padding-right:18px}
.proto-table tr:nth-child(even) td{background:#f6f8fc}
.proto-table__type{width:1%}
.proto-table__type img{display:block;width:36px;height:36px}
.proto-table__name b{display:block;font-size:15px;font-weight:500;color:var(--heading)}
.proto-table__name small{display:block;margin-top:2px;font-size:13px;color:#5b6478}
.proto-table__date,.proto-table__size{width:1%;white-space:nowrap}
.proto-table td.proto-table__get{width:1%;text-align:right;white-space:nowrap}
.proto-table a{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1.5px solid #011c73;border-radius:10px;background:#fff;color:#011c73;font-size:13px;font-weight:700;transition:background-color .2s,border-color .2s,color .2s}
.proto-table a:hover{border-color:transparent;background:linear-gradient(135deg,#011c73 0%,#040d2e 100%);color:#fff}
@media(max-width:620px){
        /* строка таблицы карточкой: значок вида и название, ниже дата и размер, справа кнопка */
  .proto-table thead{display:none}
  .proto-table,.proto-table tbody{display:block}
  .proto-table tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:12px 16px;border-top:1px solid var(--line)}
  .proto-table td,.proto-table td+td,.proto-table td:first-child,.proto-table td:last-child{display:block;width:auto!important;padding:0;border:0;background:none!important}
  .proto-table__type{grid-column:1;grid-row:1/3}
  .proto-table__name{grid-column:2;grid-row:1}
  .proto-table__date,.proto-table__size{grid-row:2;font-size:13px}
  .proto-table__date{grid-column:2}
  .proto-table__size{grid-column:3;text-align:right}
  .proto-table td.proto-table__get{grid-column:3;grid-row:1}
}

/* После шапки страницы обычные разделы (расписание, документы, контакты) начинаются с полного отступа */
.page-hero+.section,.page-hero+.section.contacts-page,.page-hero+.section.schedule-days,.page-hero+.home-sec{padding-top:56px}
@media(max-width:768px){.page-hero+.section,.page-hero+.section.contacts-page,.page-hero+.section.schedule-days,.page-hero+.home-sec{padding-top:36px}}

/* Заголовки карточек внутренних страниц весом 500, как заголовки разделов */
.tz-stage h3,.tz-card h3,.tz-sub,.tz-banner h3,.tz-numbered b,.tz-file__text b,.tz-deans b,.proto__btn b{font-weight:500;letter-spacing:-.2px}
.tz-stage h3,.tz-card:not(.tz-card--dark) h3,.tz-sub{color:var(--heading)}
.tz-sub{font-size:24px}
/* Телефон: линия ЭКГ в шапке страницы уходит в нижнюю полосу и не перечёркивает текст */
@media(max-width:920px){.page-hero .hero-ecg{inset:auto 0 0 0;height:56px}}

/* Тёмная справка рядом со списком не растягивается по высоте соседки и едет вместе с глазом */
.tz-grid--2:has(.tz-card--dark){align-items:start}
@media(min-width:921px){.tz-grid--2>.tz-card--dark{position:sticky;top:110px}}
.tz-card--dark .tz-file{margin-top:8px}
/* «Кто проходит»: список с линиями на общем фоне вместо отдельных белых коробок, на широком экране в две колонки */

/* Шапка страницы как первый экран главной: сразу под шапкой сайта, слева крошки, заголовок, описание и цифры,
   справа фото центра в скруглённой рамке по высоте текста; граница колонок по середине контейнера */
.page-hero{padding:calc(var(--hdr,72px) + 32px) 0 40px}
.page-hero__inner{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}
.page-hero__inner:has(.page-hero__shot),.page-hero__inner:has(.ph-aside){grid-template-columns:minmax(0,1fr) 50%;column-gap:48px}
.page-hero__text{min-width:0;display:flex;flex-direction:column}
.page-hero .breadcrumb{margin-bottom:20px;font-size:14px;color:#5b6478}
.page-hero .breadcrumb a{color:#001b72}
.page-hero .breadcrumb [aria-current]{color:#5b6478}
.page-hero h1{font-size:clamp(32px,3.2vw,46px);margin-bottom:16px}
.page-hero__lead{font-size:17px;line-height:1.7}
.page-hero__facts{margin-top:auto;padding-top:22px;border-top:1px solid #c5d0e3}
.page-hero__lead+.page-hero__facts{margin-top:28px}
.page-hero__text>.page-hero__lead:last-child{margin-bottom:0}
.page-hero__shot{position:relative;min-height:260px;margin:0}
.page-hero__shot img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:24px;box-shadow:0 40px 70px -38px #011c7380}
.page-hero .hero-ecg{display:none}
@media(max-width:920px){
  .page-hero__inner:has(.page-hero__shot){grid-template-columns:1fr;row-gap:28px}
  .page-hero__shot{min-height:0;aspect-ratio:16/9}
  .page-hero__shot img{border-radius:18px}
}
@media(max-width:768px){.page-hero{padding:calc(var(--hdr,62px) + 24px) 0 32px}}
/* цифры шапки в один ряд, как на первом экране главной */
.page-hero__facts{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;justify-content:start;gap:16px 40px}
.page-hero__facts li{max-width:200px}
@media(max-width:620px){.page-hero__facts{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}}

/* Справка в шапке страницы вместо фото: синяя карточка как карточка контактов на главной, высота по тексту слева */
.ph-aside{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:24px 28px;border-radius:24px;background:var(--g-blue);color:#fff;box-shadow:0 40px 70px -38px #011c7399}
.ph-aside:before{content:"";position:absolute;inset:0;background:url('../img/Graphika_RGB_blue.webp') right -60px top -80px/700px auto no-repeat;opacity:.07;pointer-events:none}
.ph-aside>*{position:relative}
.ph-aside__title{margin:0 0 6px;font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.2px;color:#fff}
.ph-aside__list{display:grid;margin:0 0 20px;padding:0;list-style:none}
.ph-aside__list li{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #ffffff1f}
.ph-aside__list li:last-child{border-bottom:0}
.ph-aside__ico{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--g-red);color:#fff;font-size:14px}
.ph-aside__label{display:block;font-size:11.5px;font-weight:700;line-height:1.3;letter-spacing:.8px;text-transform:uppercase;color:#c8d2f0}
.ph-aside__value{display:block;margin-top:2px;font-size:15px;font-weight:500;line-height:1.45;color:#fff}
.ph-aside__value a{color:#fff}
.ph-aside__value a:hover{color:#c8d2f0}
.ph-aside .home-btn{align-self:flex-start;margin-top:auto;color:#011c73}
@media(max-width:920px){.page-hero__inner:has(.ph-aside){grid-template-columns:1fr;row-gap:28px}}
@media(max-width:520px){.ph-aside{padding:20px 18px;border-radius:18px}.ph-aside .home-btn{align-self:stretch}}

/* Протоколы таблицей: шапка светло-синей полосой, как у расписания; строка открывает окно с файлами */
.proto__table-wrap{overflow:hidden;background:#fff;border:1.5px solid var(--card-line);border-radius:0;box-shadow:0 10px 30px #040d2e0f}
.proto-list{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
/* палитра таблицы протоколов: шапка ровным тёмно-синим (как шапка сессии на странице специальности), номера и число
   файлов тёмно-синие, красный только у полосы наведённой строки и залитой кнопки «Открыть» */
.proto-list th{padding:13px 16px;background:#011c73;border-bottom:0;font-size:11.5px;font-weight:700;letter-spacing:1px;text-align:left;text-transform:uppercase;white-space:nowrap;color:#fff}
.proto-list td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:middle;font-size:14px;line-height:1.45;color:#4a5468}
/* черты между столбцами сплошные; низ таблицы замыкает рамка .proto__table-wrap */
.proto-list th+th{border-left:1px solid #ffffff26}
.proto-list td+td{border-left:1px solid var(--line)}
.proto-list tbody tr{cursor:pointer;transition:background-color .15s}
/* направление без протоколов: строка не ведёт никуда, тон тише */
.proto-list tbody tr.is-empty{cursor:default}
.proto-list tbody tr.is-empty:not([hidden]):hover td{background:#fff}
.proto-list tbody tr.is-empty:nth-child(even of :not([hidden])):hover td{background:#f6f8fc}
.proto-list tr.is-empty .proto-list__name,.proto-list tr.is-empty .proto-list__last{color:#5b6478}
/* чередование считает только видимые строки: при поиске скрытые строки его не сбивают */
.proto-list tbody tr:nth-child(even of :not([hidden])) td{background:#f6f8fc}
.proto-list tbody tr:not([hidden]):hover td{background:#e6edfb}
.proto-list tbody tr:not([hidden]):hover td:first-child{box-shadow:inset 3px 0 0 #eb002d}
.proto-list th:first-child,.proto-list td:first-child{width:56px;padding-left:22px}
.proto-list th:last-child,.proto-list td:last-child{width:1%;padding-right:18px;text-align:right}
.proto-list__num{font-weight:600;color:#001b72!important}
.proto-list__name{font-size:15px!important;font-weight:500;color:var(--heading)!important}
.proto-list__last b{display:block;font-weight:500;color:#2a3242}
.proto-list__last span{font-size:13px;color:#5b6478}
.proto-list th:nth-child(4),.proto-list__files{width:90px;text-align:center!important}
.proto-list__files{font-size:15px!important;font-weight:700;color:#011c73!important}
.proto-list__open{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1.5px solid #011c73;border-radius:10px;background:#fff;color:#011c73;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s}
.proto-list tbody tr:hover .proto-list__open,.proto-list__open:focus-visible{border-color:transparent;background:linear-gradient(135deg,#011c73 0%,#040d2e 100%);color:#fff}
.proto-list__open:focus-visible{outline:3px solid #001b72;outline-offset:2px}
.proto-list .proto__empty td{padding:22px;text-align:left;color:#5b6478;cursor:default}
/* на телефоне строка карточкой: специальность и кнопка, ниже последний протокол и число файлов */
@media(max-width:620px){
  .proto-list thead{display:none}
  .proto-list,.proto-list tbody{display:block}
  .proto-list tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 16px}
  /* черта только между видимыми строками: первая видимая (и при поиске тоже) не дублирует верх рамки */
  .proto-list tbody tr:not([hidden])~tr{border-top:1px solid var(--line)}
  .proto-list td,.proto-list td+td,.proto-list th:first-child,.proto-list td:first-child,.proto-list td:last-child{display:block;width:auto!important;padding:0;border:0;background:none!important;text-align:left!important}
  .proto-list__num{display:none!important}
  .proto-list__name{grid-column:1;grid-row:1}
  .proto-list__go{grid-column:2;grid-row:1/3;align-self:center}
  .proto-list__last{grid-column:1;grid-row:2}
  .proto-list__files{grid-column:1;grid-row:3;font-size:13px}
  .proto-list__files:after{content:" " attr(data-word);font-weight:400;color:#5b6478}
}
@media(prefers-reduced-motion:reduce){.proto-list tbody tr,.proto-list__open{transition:none}}

/* Страница специальности: сессии таблицами на белых карточках, внизу папка на krasgmu.ru и соседние специальности */
.proto-spec{padding-top:8px}
.proto-spec .proto-session{margin:0 0 24px;padding:22px 26px 10px;background:#fff;border:1.5px solid var(--card-line);border-radius:18px;box-shadow:0 10px 30px #040d2e0f}
.proto-spec .proto-session h2{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:15px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#001b72}
.proto-spec .proto-session h2:before{content:"";width:18px;height:3px;border-radius:2px;background:var(--red)}
@media(max-width:620px){.proto-spec .proto-session{padding:16px 14px 6px}}

/* Меню разделов в шапке страницы справа (на месте прежней справки), содержимое страницы на всю ширину */
.page-hero__inner:has(.tz-side--hero){grid-template-columns:minmax(0,1fr) 50%;column-gap:48px}
.tz-layout:not(:has(> .tz-side)){grid-template-columns:minmax(0,1fr)}
.page-hero .tz-side--hero{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px 10px;padding:18px;overflow:visible}
.tz-side__title{grid-column:1/-1;margin:2px 4px 6px;font-size:11.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#5b6478}
.page-hero .tz-side--hero a{white-space:normal}
@media(max-width:920px){
  .page-hero__inner:has(.tz-side--hero){grid-template-columns:1fr;row-gap:24px}
  .page-hero .tz-side--hero{position:static;top:auto;z-index:auto;flex-direction:column;overflow:visible;border-radius:16px}
  .page-hero .tz-side--hero a span{display:grid}
}
@media(max-width:520px){.page-hero .tz-side--hero{grid-template-columns:1fr}}
/* пункты меню делят высоту карточки поровну: низ карточки вровень с текстом слева без пустоты */
.page-hero .tz-side--hero{grid-template-rows:auto;grid-auto-rows:1fr}
.page-hero .tz-side--hero a{align-self:center}
@media(max-width:920px){.page-hero .tz-side--hero{grid-auto-rows:auto}}
/* цифры шапки переносятся, если не помещаются в ряд (на «О центре» их четыре) */
.page-hero__facts{display:flex;flex-wrap:wrap;gap:16px 40px}

/* «Протоколы»: вкладки и поиск сразу под описанием страницы; поиск справа в строке вкладок, число специальностей во вкладке */
.proto-page--top,.page-hero+.proto-page--top{padding-top:0}
.proto-page--top .tz-tabs{position:relative}
.proto-page--top .tz-tabs__bar{margin-bottom:22px}
.proto-page--top .proto__tools{position:absolute;top:0;right:0;margin:0}
.proto-page--top .proto__search{width:360px;flex:none}
.proto-page--top .proto__search input{min-height:56px}
.proto-page--top .proto__count{display:none}
.tz-tabs__count{display:inline-grid;place-items:center;min-width:26px;height:22px;margin-left:8px;padding:0 7px;border-radius:11px;background:#e8ecf4;color:#001b72;font-size:12px;letter-spacing:0;vertical-align:1px}
.tz-tabs__bar button[aria-selected="true"] .tz-tabs__count{background:#ffffff26;color:#fff}
@media(max-width:1100px){.proto-page--top .proto__tools{position:static;margin-bottom:18px}.proto-page--top .proto__search{width:100%}}
.page-hero+.proto-spec{padding-top:0}

/* «Расписание»: неделя сразу под шапкой страницы */
.page-hero+.section.schedule-days{padding-top:0}
/* после шапки страницы разделы-полосы начинаются без лишнего зазора */
.page-hero+.home-sec{padding-top:0}

/* Страница специальности: сессия — одна карточка-таблица, как список на «Протоколах»: сверху название сессии и число файлов,
   шапка столбцов светло-синей полосой во всю ширину, строки на всю ширину карточки, кнопка загрузки как «Открыть» */
.proto-spec .proto-session{padding:0;overflow:hidden}
/* шапка сессии тёмно-синей полосой с узором (как карточка «Не нашли ответ?»), под ней светлая шапка таблицы */
.proto-session__head{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:16px 22px;background:linear-gradient(135deg,#011c73 0%,#040d2e 100%)}
.proto-session__head:before{content:"";position:absolute;inset:0;background:url('../img/Graphika_RGB_blue.webp') right -40px center/520px auto no-repeat;opacity:.12;pointer-events:none}
.proto-session__head>*{position:relative}
.proto-spec .proto-session h2{display:block;margin:0;font-size:17px;font-weight:500;letter-spacing:-.2px;text-transform:none;color:#fff}
.proto-spec .proto-session h2:before{display:none}
@media(max-width:620px){.proto-spec .proto-session{padding:0}.proto-session__head{padding:14px 16px}}

/* Страницы с разделами: слева содержимое, справа меню разделов одной колонкой, прилипает под шапкой при прокрутке
   и подсвечивает текущий раздел; ничто его не перекрывает */
.tz-layout--right{grid-template-columns:minmax(0,1fr) 270px;gap:48px}
.tz-layout--right>.tz-side{grid-column:2;grid-row:1;position:sticky;top:calc(var(--hdr,72px) + 20px);z-index:2}
.tz-layout--right>.tz-main{grid-column:1;grid-row:1}
.tz-side--right .tz-side__title{display:block;margin:2px 10px 8px}
@media(max-width:1000px){
  .tz-layout--right{grid-template-columns:1fr;gap:20px}
  .tz-layout--right>.tz-side{grid-column:auto;grid-row:auto;top:var(--hdr,63px);z-index:5}
  .tz-layout--right>.tz-main{grid-column:auto;grid-row:auto}
  .tz-side--right .tz-side__title{display:none}
}

/* Страницы с разделами: заголовок страницы внутри левой колонки, меню разделов справа начинается вровень с крошками */
.tz-layout--right{padding-top:28px}
.page-hero--in{margin:0 0 8px;padding:0;overflow:visible;background:none;border:0}
.page-hero--in .page-hero__text{display:block}
.page-hero--in .page-hero__facts{margin-top:28px}
@media(max-width:1000px){.tz-layout--right{padding-top:20px}}
.page-hero--in{margin-bottom:44px}
@media(max-width:768px){.page-hero--in{margin-bottom:32px}}
/* Телефон и планшет: полоса разделов под заголовком страницы, прямо перед первым разделом (а не над крошками),
   дальше прилипает под шапкой. Левая колонка разворачивается (display: contents), чтобы полоса встала между
   шапкой страницы и разделами */
@media(max-width:1000px){
  .tz-layout--right{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .tz-layout--right>*,.tz-layout--right>.tz-main>*{min-width:0}
  .tz-layout--right>.tz-main{display:contents}
  .tz-layout--right>.tz-main>.page-hero--in{order:-2;margin-bottom:22px}
  .tz-layout--right>.tz-side{order:-1;margin-bottom:30px}
  /* полоса во всю ширину экрана, без скруглений: поля контейнера (site.css: 32 / 20 / 16 px) снимаем отрицательным
     отступом, первый пункт стоит вровень с текстом страницы */
  .tz-layout--right>.tz-side--right{margin-inline:-32px;padding:8px 32px;border-width:1px 0;border-radius:0;scroll-padding-inline:32px}
  /* прилипшая полоса продолжает шапку: заходит под неё на 1 px (без шва при дробной высоте шапки), тот же
     полупрозрачный фон с размытием, без верхней черты; тень шапки на этих страницах не ложится на полосу, тень даёт полоса */
  .tz-layout--right>.tz-side--right{top:calc(var(--hdr,62px) - 1px);border-top:0;background:#f8fafdeb;-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);box-shadow:0 18px 40px -20px #040d2e59}
  body:has(.tz-side--right) .site-header .header-bar{box-shadow:none}
  /* на 769-1000 px шапка плавающая (поля, скругление) и не сходилась с полосой во всю ширину: на страницах с полосой
     шапка во всю ширину, как на телефоне */
  body:has(.tz-side--right) .site-header{padding-top:0}
  body:has(.tz-side--right) .header-bar{width:100%;border-width:0 0 1px;border-radius:0}
}
@media(max-width:520px){.tz-layout--right>.tz-side--right{margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}}
@media(max-width:360px){.tz-layout--right>.tz-side--right{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}}

.page-hero__actions{margin-top:24px}

/* Списки файлов как в dovuz («Организационные документы»): каждый файл - белая карточка, значок вида файла (img/files),
   название, под ним вид, размер или источник, справа кнопка-рамка «Скачать»/«Открыть»; при наведении карточка
   приподнимается, кнопка заливается тёмно-синим. Размер и кнопка держатся у верхнего края при длинном названии */
.file-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
/* файлы всегда в один столбец на всю ширину (заказчик: название документа должно идти во всю строку) */
.file-list--two{grid-template-columns:1fr}
.file-item{display:flex;align-items:flex-start;gap:16px;height:100%;padding:14px 16px 14px 18px;background:#fff;border:1px solid var(--line-strong);border-radius:16px;box-shadow:0 6px 18px -14px #040d2e40;color:var(--heading);transition:transform .2s,box-shadow .2s,border-color .2s}
.file-item:hover{transform:translateY(-2px);border-color:#bdcce0;box-shadow:0 14px 28px -16px #040d2e59;color:var(--heading)}
.file-item__ico{flex-shrink:0;width:40px;height:40px}
.file-item__ico img{display:block;width:40px;height:40px}
/* ссылка на папку или сайт, а не файл: тёмно-синяя плитка со значком */
.file-item__ico--link{display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#011c73 0%,#040d2e 100%);color:#fff;font-size:16px}
.file-item__body{display:grid;gap:3px;flex:1;min-width:0;padding-top:2px}
.file-item__body b{font-size:15.5px;font-weight:500;line-height:1.35;color:var(--heading)}
.file-item__body small{font-size:13px;line-height:1.4;color:var(--muted)}
.file-item__act{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;height:38px;padding:0 16px;border:1.5px solid var(--navy-700);border-radius:10px;font-size:14px;font-weight:500;color:var(--navy-700);white-space:nowrap;transition:background-color .2s,color .2s}
.file-item__act i{font-size:13px}
.file-item:hover .file-item__act{background:var(--navy-700);color:#fff}
.file-item:focus-visible{outline:3px solid #eb002d;outline-offset:3px}
@media(max-width:900px){.file-list--two{grid-template-columns:1fr}}
@media(max-width:620px){.file-item{gap:12px;padding:12px}.file-item__ico,.file-item__ico img{width:34px;height:34px}.file-item__ico--link{font-size:14px}.file-item__act{width:38px;padding:0;justify-content:center;gap:0;font-size:0}.file-item__act i{font-size:14px}}
@media(prefers-reduced-motion:reduce){.file-item,.file-item__act{transition:none}.file-item:hover{transform:none}}

/* select2.min.css подключается на странице после site.css и перебивает его оформление выбора;
   те же правила из site.css с html впереди (новости, таблица результатов), выбор выглядит как в dovuz */
html /* select2: светлая тема в цветах сайта,html как в ssc */
.select2-container{width:100%!important}
html .select2-container--default .select2-selection--single{display:flex;align-items:center;height:52px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .25s,box-shadow .25s}
html .select2-container--default.select2-container--focus .select2-selection--single,html .select2-container--default.select2-container--open .select2-selection--single{border-color:var(--blue);box-shadow:0 0 0 3px #001b721f}
html .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;font-family:Stem,Arial,sans-serif;font-size:15px;line-height:1.4;color:var(--ink)}
html .select2-container--default .select2-selection--single .select2-selection__arrow{top:0;right:14px;width:16px;height:100%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001b72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .18s}
html .select2-container--default .select2-selection--single .select2-selection__arrow b{display:none}
html .select2-container--open .select2-selection__arrow{transform:rotate(180deg)}
html .select2-container--open{z-index:1200}
html .select2-dropdown{overflow:hidden;padding:6px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 24px 48px -22px #0b1a4a59}
html .select2-container--default .select2-results>.select2-results__options{max-height:340px}
html .select2-container--default .select2-results__option{padding:10px 14px;border-radius:10px;font-family:Stem,Arial,sans-serif;font-size:15px;color:#4a5a70}
html .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#f1f5fb;color:var(--blue)}
html .select2-container--default .select2-results__option[aria-selected=true]{background:#eaf0fb;color:var(--blue);font-weight:500}
html .select2-container--default .select2-selection--single{border-color:var(--line-strong)}
html .select2-container--default.select2-container--focus .select2-selection--single,html .select2-container--default.select2-container--open .select2-selection--single{border-color:var(--navy-700);box-shadow:var(--ring)}
html .select2-dropdown{border-color:var(--line)}
html .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--tint);color:var(--navy-700)}
html .select2-container--default .select2-results__option[aria-selected=true]{background:var(--tint-2);color:var(--navy-700)}
/* раскрытый список select2 прикреплён к body: правило ширины 100% выше растягивало его на всю страницу от правого
   края поля, и внизу появлялась горизонтальная прокрутка; ширину списку задаёт сам select2 по ширине поля */
html body>.select2-container,html .select2-container:not(.select2){width:auto!important}

/* ===== Внутренние страницы в одном стиле с «О центре» (05.10.2026; отступы разделов см. «Раздел» в начале файла) ===== */

/* Тёмные баннеры (апелляция, ФАЦ, виртуальный тур) каноническим градиентом с узором, как карточка руководителя на «О центре» */
.tz-banner,.tz-banner--blue{background:var(--g-navy);box-shadow:0 18px 40px -22px #040d2ea6}
.tz-banner:before{content:"";position:absolute;inset:0;background:url('../img/Graphika_RGB_blue.webp') right -40px top -60px/900px auto no-repeat;opacity:.07;pointer-events:none}
.tz-banner p{color:#d5def0}
.tz-banner .home-btn--white{flex-shrink:0;color:#011c73}
.tz-banner .home-btn--white:hover{color:#011c73}

/* Номера шагов единым тёмно-синим: проверка кабинета ФРМР */
.tz-steps li:before{background:var(--g-navy)}
.tz-numbered{grid-template-columns:repeat(2,minmax(0,1fr))}
.tz-numbered li{box-shadow:0 10px 30px #040d2e0f}
.tz-numbered li:before,.tz-numbered li:nth-child(even):before{background:var(--g-navy)}
.tz-links li:last-child:nth-child(odd){grid-column:1/-1}
.tz-upcoming li{box-shadow:0 10px 30px #040d2e0f}
@media(max-width:1100px) and (min-width:1001px){.tz-numbered{grid-template-columns:1fr}}
@media(max-width:760px){.tz-numbered{grid-template-columns:1fr}}
@media(max-width:520px){.tz-numbered li{padding:18px 18px 18px 70px}.tz-numbered li:before{left:16px;top:16px}}
.tz-banner h3{line-height:1.3}
@media(max-width:520px){.tz-banner h3{font-size:21px}}

/* «Результаты и апелляция»: блоки друг под другом во всю ширину (выписка с шагами в две колонки, пометка,
   «Если выписка не появилась»); парой разной высоты в одной из карточек оставалась пустота */
.tz-results{grid-template-columns:minmax(0,1fr)}
.tz-results>.tz-card{align-items:stretch}
.tz-results>.tz-card>.home-btn{align-self:flex-start}
.tz-results>.tz-stack{display:contents}
.tz-results .tz-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 36px}
@media(max-width:760px){.tz-results .tz-steps{grid-template-columns:1fr;gap:14px}}
.proto__tools[hidden]{display:none}
/* «Кто проходит» последним в разделе: у последней строки нет черты, ниже сразу черта раздела */

/* Деканаты: тёмно-синий значок, телефон цветом заголовка с красной трубкой */
.tz-deans li{box-shadow:0 10px 30px #040d2e0f}
.tz-deans__ico{background:var(--g-navy);color:#fff}
.tz-deans a{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:500;color:var(--heading)}
.tz-deans a:before{content:"\f095";font:900 13px/1 "Font Awesome 7 Free";color:var(--red)}
.tz-deans a:hover{color:var(--red)}

/* Список в карточке на всю ширину, на широкой колонке в две колонки */
.tz-card--list{align-items:stretch}
.tz-card--list h3{margin-bottom:4px}
/* пункты текут колонками (как газета), без провалов рядом с короткими пунктами */
.tz-checklist--two{display:block;margin:0 0 -10px;columns:2;column-gap:40px}
/* пункт не ниже галочки: иначе на стыке колонок её кусок уезжал в соседнюю колонку */
.tz-checklist--two li{min-height:26px;margin-bottom:14px;break-inside:avoid}
@media(max-width:760px){.tz-checklist--two{columns:1}.tz-checklist--two li{margin-bottom:12px}}
/* короткий список (ПА, 4 пункта) построчно в две колонки: длинные пункты в одной строке, короткие в другой, без пустого угла */
.tz-checklist--rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px;margin:0}
@media(max-width:760px){.tz-checklist--rows{grid-template-columns:1fr;gap:12px}}
/* периодическая: списки документов во вкладках в белых карточках, как на ПСА */
.tz-tabs__panel>.file-list+.tz-card--list{margin-top:20px}
/* телефон: поля карточек как у карточек «Кто проходит?», текст списков не сжимается в узкую полосу */
@media(max-width:520px){.tz-acc .tz-card{padding:22px 18px}}

/* Страницы видов аккредитации (psa, pa, periodic, обёртка .tz-acc): значки, номера этапов и галочки
   единым тёмно-синим вместо красных и синих вперемешку; раскладка по ширине колонки раздела */
.tz-acc .tz-sec,.tz-acc .page-hero--in{container-type:inline-size}
.tz-acc .tz-stage__num,.tz-acc .tz-stage:nth-child(even) .tz-stage__num,.tz-acc .tz-card__ico{background:var(--g-navy);box-shadow:0 10px 24px -8px #011c738c}
.tz-acc .tz-stage h3{margin-bottom:8px}

/* Цифры шапки белыми карточками, как на «О центре»: число и тёмно-синий значок в строку, подпись под чертой */
.tz-facts{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:16px;margin:30px 0 0;padding:0;list-style:none}
.tz-facts li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"num ico" "txt txt";align-items:center;align-content:start;gap:12px 14px;padding:20px 20px 18px;background:#fff;border:1.5px solid var(--card-line);border-radius:18px;box-shadow:0 10px 30px #040d2e0f}
.tz-facts i{grid-area:ico;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--g-navy);color:#fff;font-size:16px}
.tz-facts b{grid-area:num;font-size:32px;font-weight:700;line-height:1;letter-spacing:-.5px;white-space:nowrap;color:#001b72}
.tz-facts span{grid-area:txt;align-self:start;padding-top:12px;border-top:1px solid #e3e7ee;font-size:14px;line-height:1.45;color:#5b6478}
/* узкая колонка: карточки друг под другом, значок слева от числа и подписи */
@container (max-width:640px){
  .tz-facts{grid-auto-flow:row;grid-template-columns:1fr;gap:10px;margin-top:24px}
  .tz-facts li{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"ico num" "ico txt";gap:4px 14px;padding:14px 16px;border-radius:16px}
  .tz-facts b{font-size:24px}
  .tz-facts span{padding-top:0;border-top:0;font-size:13.5px}
}

/* «Куда подать» (ПСА): тёмная карточка как карточка руководителя на «О центре»: слева способ подачи и шаблон,
   справа через черту адрес, часы, телефон и почта с красными значками */
.tz-where{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:28px 36px;margin:0 0 20px;padding:30px 32px;overflow:hidden;border-radius:20px;background:var(--g-navy);color:#fff;box-shadow:0 18px 40px -22px #040d2ea6}
.tz-where:before{content:"";position:absolute;inset:0;background:url('../img/Graphika_RGB_blue.webp') right -40px top -60px/900px auto no-repeat;opacity:.07;pointer-events:none}
.tz-where>*{position:relative}
.tz-where__main{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0}
.tz-where h3{margin:0;font-size:26px;font-weight:500;line-height:1.2;letter-spacing:-.4px;color:#fff}
.tz-where__main p{margin:0 0 6px;font-size:16px;line-height:1.6;color:#d5def0}
.tz-where__main p b{font-weight:500;color:#fff}
.tz-where .file-item{height:auto;border-color:transparent}
.tz-where__list{display:grid;gap:16px;margin:0;padding:4px 0 4px 36px;border-left:1px solid #ffffff26;list-style:none}
.tz-where__list li{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:14px}
.tz-where__ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--g-red);color:#fff;font-size:15px}
.tz-where__val{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:15px;line-height:1.5;color:#fff}
.tz-where__val small{font-size:11.5px;font-weight:700;line-height:1.3;letter-spacing:.8px;text-transform:uppercase;color:#c8d2f0}
.tz-where__val a{font-weight:500;color:#fff}
.tz-where__val a:hover{color:#c8d2f0}
@container (max-width:760px){
  .tz-where{grid-template-columns:1fr;gap:22px;padding:24px 22px}
  .tz-where h3{font-size:22px}
  .tz-where__list{padding:20px 0 0;border-left:0;border-top:1px solid #ffffff26}
}

/* Ответственные (периодическая): белые карточки как сотрудники на «О центре»: значок в тёмно-синем круге, ФИО,
   направление тёмно-синей подписью, должность, почта цветом заголовка с красным значком у низа карточки */
.tz-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.tz-person{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:18px;padding:24px 26px;background:#fff;border:1.5px solid var(--card-line);border-radius:18px;box-shadow:0 10px 30px #040d2e0f}
.tz-person__ava{position:relative;display:grid;overflow:hidden;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--g-navy);color:#fff;font-size:24px}
.tz-person__ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tz-person__body{display:flex;flex-direction:column;align-self:stretch;gap:4px;min-width:0}
.tz-person h3{margin:0;font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.2px;color:var(--heading)}
.tz-person__area{font-size:14px;font-weight:500;line-height:1.45;color:#011c73}
.tz-person__body p{margin:6px 0 14px;font-size:14.5px;line-height:1.6;color:#4a5468}
/* почта под чертой у низа карточки, как контакты в карточке специалиста на «О центре»: у короткой карточки пустота не висит */
.tz-person__body a{display:flex;align-items:center;gap:8px;align-self:stretch;margin-top:auto;padding-top:14px;border-top:1px solid #e3e7ee;font-size:15px;font-weight:500;color:var(--heading);overflow-wrap:anywhere}
.tz-person__body a i{font-size:13px;color:var(--red)}
.tz-person__body a:hover{color:var(--red)}
@container (max-width:700px){.tz-people{grid-template-columns:1fr}}
@media(max-width:520px){.tz-person{grid-template-columns:52px minmax(0,1fr);gap:14px;padding:18px}.tz-person__ava{width:52px;height:52px;font-size:20px}}
/* Список select2: выше (все пункты фильтров видны без прокрутки), а если прокрутка всё же нужна - тонкая
   светлая полоса с тёмно-синим бегунком внутри скругления, не красная полоса сайта */
html .select2-results>.select2-results__options{padding:4px 0;scrollbar-width:thin;scrollbar-color:#b9c6de transparent}
html .select2-results__options::-webkit-scrollbar{width:8px}
html .select2-results__options::-webkit-scrollbar-track{margin:6px 0;background:transparent}
html .select2-results__options::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px;background:#b9c6de}
html .select2-results__options::-webkit-scrollbar-thumb:hover{background:#011c73}

/* «Если выписка не появилась» (results-appeal): пометка о сроках блоком оповещения (см. «Пометки»), три пути белыми
   карточками одной высоты, как соседние .tz-card (тёмно-синяя наклонная плитка-значок, подпись, текст).
   Перестройка по ширине колонки, а не окна: рядом с меню разделов колонка узкая */
.tz-noshow{container-type:inline-size;margin-top:36px}
.tz-noshow__note{margin:0 0 20px;font-size:15px;line-height:1.7;color:#1d2433}
.tz-noshow__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.tz-noshow__list li{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px 24px;background:#fff;border:1.5px solid var(--card-line);border-radius:20px;box-shadow:0 10px 30px #040d2e0f}
.tz-noshow__ico{display:grid;place-items:center;width:54px;height:54px;margin-bottom:4px;border-radius:16px;background:var(--g-navy);box-shadow:0 10px 24px -8px #011c738c;color:#fff;font-size:21px;transform:rotate(-4deg)}
.tz-noshow__list b{font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.2px;color:var(--heading)}
.tz-noshow__list p{margin:0;font-size:15px;line-height:1.6;color:#4a5468}
.tz-noshow__list a{font-weight:500;color:#011c73}
.tz-noshow__list a:hover{color:#eb002d}
@container (max-width:820px){.tz-noshow__list{grid-template-columns:1fr;gap:12px}.tz-noshow__list li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:18px;row-gap:6px;padding:20px}.tz-noshow__ico{grid-row:1/3;margin:0}}

/* Апелляция: тёмно-синий баннер с узором. Сверху заголовок с условием и справа через черту срок (крупная «2»),
   снизу через черту два пункта с галочками и белая кнопка ФАЦ */
.tz-appeal{position:relative;margin-top:36px;padding:30px 34px;overflow:hidden;border-radius:22px;background:var(--g-navy);box-shadow:0 18px 40px -22px #040d2ea6;color:#fff}
.tz-appeal:before{content:"";position:absolute;inset:0;background:url('../img/Graphika_RGB_blue.webp') right -40px top -60px/900px auto no-repeat;opacity:.07;pointer-events:none}
.tz-appeal>*{position:relative}
.tz-appeal__top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}
.tz-appeal__intro h3{margin:0 0 8px;font-size:26px;font-weight:500;line-height:1.25;color:#fff}
.tz-appeal__intro p{margin:0;max-width:640px;font-size:15.5px;line-height:1.65;color:#d5def0}
.tz-appeal__term{display:flex;align-items:center;gap:16px;padding-left:32px;border-left:1px solid #ffffff2e}
.tz-appeal__term b{font-size:64px;font-weight:700;line-height:.85;letter-spacing:-1px;color:#ff3355}
.tz-appeal__term span{max-width:220px;font-size:13.5px;line-height:1.45;color:#c8d2f0}
.tz-appeal__term strong{display:block;margin-bottom:2px;font-size:17px;font-weight:600;color:#fff}
.tz-appeal__bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;margin-top:24px;padding-top:22px;border-top:1px solid #ffffff2e}
.tz-appeal__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:0;padding:0;list-style:none}
.tz-appeal__list li{position:relative;padding-left:28px;font-size:14.5px;line-height:1.6;color:#d5def0}
.tz-appeal__list li:before{content:"\f00c";position:absolute;left:0;top:0;font:900 14px/1.6 "Font Awesome 7 Free";color:#ff3355}
.tz-appeal .home-btn--white,.tz-appeal .home-btn--white:hover{color:#011c73}
@media(max-width:900px){.tz-appeal__top,.tz-appeal__bottom{grid-template-columns:1fr;gap:20px}.tz-appeal__term{padding:18px 0 0;border-left:0;border-top:1px solid #ffffff2e}.tz-appeal__list{grid-template-columns:1fr}.tz-appeal .home-btn{justify-self:start}}
@media(max-width:620px){.tz-appeal{padding:24px 20px;border-radius:18px}.tz-appeal__intro h3{font-size:22px}.tz-appeal__term b{font-size:52px}}

/* Выписка через «Госуслуги» (results-appeal): путь из стрелок слева направо, как «Как записать класс» в dovuz -
   цвет густеет от светло-голубого к тёмно-синему; в стрелке номер на круге и шаг, пояснение белой карточкой под своей
   стрелкой (карточки одной высоты, ровно под телом стрелки, между ними 10 px).
   У стрелок рамка 2 px: фон стрелки - цвет рамки, заливка в ::before на 2 px меньше с той же формой (clip-path: inherit).
   Колонка уже 860 px - стрелки сверху вниз, пояснение внутри стрелки; у короткого пути ФМЗА (без пояснений) порог 560 px */
.tz-flowbox{container:flow/inline-size;display:flex;flex-direction:column;align-items:flex-start}
.tz-flowbox--path{container:flowpath/inline-size}
.tz-flowbox--path .tz-flow{margin-bottom:20px}
.tz-flowbox--path .tz-flow__head{flex:1;min-height:84px}
.tz-flow__txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.tz-flow__txt small{font-size:13px;line-height:1.35;color:#4a5468}
.tz-flow li:last-child .tz-flow__txt small{color:#c8d2f0}
.tz-flowbox__title{margin:0 0 16px;font-size:22px;font-weight:500;line-height:1.3;color:var(--heading)}
.tz-flow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;margin:0 0 24px;padding:0;list-style:none;counter-reset:none}
.tz-flow li{display:flex;flex-direction:column;min-width:0}
.tz-flow li+li{margin-left:-22px}
.tz-flow__head{position:relative;isolation:isolate;display:flex;align-items:center;gap:14px;min-height:96px;padding:18px 46px 18px 52px;background:#a7b7dc;clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%,32px 50%)}
.tz-flow__head:before{content:"";position:absolute;inset:2px;z-index:-1;background:#e9eef9;clip-path:inherit}
.tz-flow li:first-child .tz-flow__head{padding-left:22px;border-radius:20px 0 0 20px;clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%)}
.tz-flow li:last-child .tz-flow__head{padding-right:24px;border-radius:0 20px 20px 0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,32px 50%)}
.tz-flow li:first-child .tz-flow__head:before{border-radius:18px 0 0 18px}
.tz-flow li:last-child .tz-flow__head:before{border-radius:0 18px 18px 0}
.tz-flow li:nth-child(2) .tz-flow__head{background:#98abd6}
.tz-flow li:nth-child(2) .tz-flow__head:before{background:#dae3f5}
.tz-flow li:nth-child(3) .tz-flow__head{background:#879dcf}
.tz-flow li:nth-child(3) .tz-flow__head:before{background:#c9d6f0}
.tz-flow li:last-child .tz-flow__head{background:#011c73}
.tz-flow li:last-child .tz-flow__head:before{background:var(--g-navy)}
.tz-flow__num{display:grid;flex-shrink:0;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--g-navy);box-shadow:0 8px 16px -8px #011c73b3;color:#fff;font-size:16px;font-weight:700}
.tz-flow li:last-child .tz-flow__num{background:#fff;color:#011c73;box-shadow:none}
.tz-flow b{min-width:0;font-size:15.5px;font-weight:500;line-height:1.3;color:var(--heading)}
.tz-flow li:last-child b{color:#fff}
/* пояснение: карточка на всю оставшуюся высоту шага; сдвиги подобраны так, что четыре карточки равной ширины
   встают ровно под стрелками (у второй и следующих стрелок li начинается на 22 px левее из-за нахлёста) */
.tz-flow p{flex:1;margin:12px 7.5px 0 0;padding:16px 18px 18px;background:#fff;border:1.5px solid var(--card-line);border-radius:16px;box-shadow:0 10px 30px #040d2e0f;font-size:14.5px;line-height:1.6;text-wrap:pretty;color:#3a4356}
.tz-flow li:nth-child(2) p{margin-left:24.5px;margin-right:5px}
.tz-flow li:nth-child(3) p{margin-left:27px;margin-right:2.5px}
.tz-flow li:nth-child(4) p{margin-left:29.5px;margin-right:0}
@container flow (max-width:860px){
  .tz-flow{grid-auto-flow:row;grid-template-columns:1fr}
  .tz-flow li{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:center;padding:38px 22px 42px;background:#a7b7dc;clip-path:polygon(0 0,50% 22px,100% 0,100% calc(100% - 22px),50% 100%,0 calc(100% - 22px))}
  .tz-flow li:before{content:"";position:absolute;inset:2px;z-index:-1;background:#e9eef9;clip-path:inherit}
  .tz-flow li+li{margin:-14px 0 0}
  .tz-flow li:first-child{padding-top:22px;border-radius:18px 18px 0 0;clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),50% 100%,0 calc(100% - 22px))}
  .tz-flow li:last-child{padding-bottom:24px;border-radius:0 0 18px 18px;clip-path:polygon(0 0,50% 22px,100% 0,100% 100%,0 100%)}
  .tz-flow li:first-child:before{border-radius:16px 16px 0 0}
  .tz-flow li:last-child:before{border-radius:0 0 16px 16px}
  .tz-flow li:nth-child(2){background:#98abd6}
  .tz-flow li:nth-child(2):before{background:#dae3f5}
  .tz-flow li:nth-child(3){background:#879dcf}
  .tz-flow li:nth-child(3):before{background:#c9d6f0}
  .tz-flow li:last-child{background:#011c73}
  .tz-flow li:last-child:before{background:var(--g-navy)}
  .tz-flow__head,.tz-flow li:first-child .tz-flow__head,.tz-flow li:last-child .tz-flow__head{display:contents}
  .tz-flow__head:before{display:none}
  .tz-flow__num{grid-row:1/3}
  .tz-flow b,.tz-flow__txt{grid-column:2}
  .tz-flow li:nth-child(n) p{grid-column:2;margin:0;padding:4px 0 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:14px}
  .tz-flow li:last-child p{color:#d5def0}
}
@container flowpath (max-width:560px){
  .tz-flow{grid-auto-flow:row;grid-template-columns:1fr}
  .tz-flow li{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:center;padding:38px 22px 42px;background:#a7b7dc;clip-path:polygon(0 0,50% 22px,100% 0,100% calc(100% - 22px),50% 100%,0 calc(100% - 22px))}
  .tz-flow li:before{content:"";position:absolute;inset:2px;z-index:-1;background:#e9eef9;clip-path:inherit}
  .tz-flow li+li{margin:-14px 0 0}
  .tz-flow li:first-child{padding-top:22px;border-radius:18px 18px 0 0;clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),50% 100%,0 calc(100% - 22px))}
  .tz-flow li:last-child{padding-bottom:24px;border-radius:0 0 18px 18px;clip-path:polygon(0 0,50% 22px,100% 0,100% 100%,0 100%)}
  .tz-flow li:first-child:before{border-radius:16px 16px 0 0}
  .tz-flow li:last-child:before{border-radius:0 0 16px 16px}
  .tz-flow li:nth-child(2){background:#98abd6}
  .tz-flow li:nth-child(2):before{background:#dae3f5}
  .tz-flow li:nth-child(3){background:#879dcf}
  .tz-flow li:nth-child(3):before{background:#c9d6f0}
  .tz-flow li:last-child{background:#011c73}
  .tz-flow li:last-child:before{background:var(--g-navy)}
  .tz-flow__head,.tz-flow li:first-child .tz-flow__head,.tz-flow li:last-child .tz-flow__head{display:contents}
  .tz-flow__head:before{display:none}
  .tz-flow__num{grid-row:1/3}
  .tz-flow b,.tz-flow__txt{grid-column:2}
  .tz-flow li:nth-child(n) p{grid-column:2;margin:0;padding:4px 0 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:14px}
  .tz-flow li:last-child p{color:#d5def0}
}

/* номер перечисления «1)» в тексте (js/site.js) - синий полужирный */
.list-num{font-weight:600;color:#1f4fc8}

/* Карточки деканатов и ответственных по содержимому: строки не разносятся до высоты соседней карточки */
.tz-deans li{align-content:center}
/* телефоны деканатов и почта ответственных - ссылки, цвет ссылок сайта */
.tz-deans a,.tz-person__body a{color:#011c73}
[tabindex="-1"]:focus:not(:focus-visible){outline:none}

/* Ответственные (периодическая) одной белой карточкой, строками через тонкую черту, как на странице контактов:
   значок, ФИО, направление тёмно-синей подписью, должность приглушённо; почта справа вровень с ФИО */
.tz-people--rows{display:block;overflow:hidden;background:#fff;border:1px solid #d6ddea;border-radius:18px;box-shadow:0 1px 2px #011c730f,0 12px 30px -18px #040d2e4d}
.tz-people--rows .tz-person{grid-template-columns:56px minmax(0,1fr);align-items:start;gap:18px;padding:22px 26px;background:none;border:0;border-radius:0;box-shadow:none}
.tz-people--rows .tz-person+.tz-person{border-top:1px solid #e1e7f1}
.tz-people--rows .tz-person__ava{width:56px;height:56px;font-size:21px;box-shadow:0 10px 20px -10px #011c7399}
.tz-people--rows .tz-person__body{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name mail" "area mail" "role mail";column-gap:32px;row-gap:3px;align-items:start}
.tz-people--rows .tz-person__body h3{grid-area:name;font-size:18px}
.tz-people--rows .tz-person__area{grid-area:area;font-size:13.5px}
.tz-people--rows .tz-person__body p{grid-area:role;max-width:560px;margin:3px 0 0}
.tz-people--rows .tz-person__body a{grid-area:mail;align-self:start;margin:0;padding:2px 0 0;border:0;white-space:nowrap}
@container (max-width:700px){
  .tz-people--rows .tz-person{padding:20px}
  .tz-people--rows .tz-person__body{display:flex;flex-direction:column;gap:3px}
  .tz-people--rows .tz-person__body a{margin-top:10px;padding:0;white-space:normal}
}
@media(max-width:520px){.tz-people--rows .tz-person{grid-template-columns:44px minmax(0,1fr);gap:14px;padding:18px}.tz-people--rows .tz-person__ava{width:44px;height:44px;font-size:17px}}

/* Документы строками (периодическая): без белой карточки (заказчик), строки через тонкую черту, синяя галочка,
   название документа, ниже приглушённо уточнение; уточнение не шире строки чтения */
.tz-doclist{margin:0;padding:0;list-style:none;border-top:1px solid #c9d3e6}
.tz-doclist li{position:relative;display:grid;gap:3px;padding:14px 0 15px 34px;border-bottom:1px solid #c9d3e6}
.tz-doclist li:before{content:"\f00c";position:absolute;left:4px;top:14px;color:#011c73;font:900 15px/1.5 "Font Awesome 7 Free"}
.tz-doclist b{max-width:820px;font-size:16px;font-weight:500;line-height:1.45;color:var(--heading)}
.tz-doclist span{max-width:820px;font-size:14.5px;line-height:1.6;color:#4a5468}
.tz-text+.tz-doclist{margin-top:-4px}
.tz-tabs__panel>.file-list+.tz-doclist__title{margin-top:36px}
.tz-doclist__title{margin:0 0 14px;font-size:22px;font-weight:500;line-height:1.3;color:var(--heading)}
@media(max-width:520px){.tz-doclist li{padding-left:28px}.tz-doclist li:before{left:1px}.tz-doclist b{font-size:15.5px}}

/* второй абзац шапки (сведения, которые раньше стояли карточками-цифрами) */
.page-hero__lead+.page-hero__lead--more{margin-top:12px}

/* ===== Шлифовка по аудиту (19.10.2026) ===== */
/* iPhone приближает страницу, если шрифт поля меньше 16 px */
@media(max-width:620px){html input:not([type=checkbox]):not([type=radio]),html textarea{font-size:16px}}
/* полоса разделов на телефоне: зона нажатия не меньше 40 px */
@media(max-width:1000px){.tz-side a{min-height:40px}}
/* этапы на телефоне: номер слева от заголовка, карточка вдвое ниже */
@media(max-width:620px){
  .tz-stage{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:14px;padding:20px 18px}
  .tz-stage__num{width:44px;height:44px;border-radius:12px;font-size:19px}
}
/* протоколы на телефоне: значок вида файла слева на обе строки, кнопка «Скачать» выше */
@media(max-width:620px){
  .proto-table tr{grid-template-columns:36px minmax(0,1fr) auto}
  .proto-table a{min-height:40px}
}
/* вкладки видов на телефоне строками: длинное «Первичная специализированная» не разбрасывает остальные */
@media(max-width:520px){
  .proto-page .tz-tabs__bar{display:grid;grid-template-columns:1fr}
  .proto-page .tz-tabs__bar button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}
}
/* наведение не «залипает» после касания на телефоне */
@media(hover:none){.file-item:hover,.tz-file:hover,.proto__btn:hover{transform:none}}

/* Страница 404: крупный контурный номер, заголовок и шесть выходов плитками */
.nf-hero{padding-bottom:72px}
.nf-acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.nf-code{margin:0 0 6px;font-size:clamp(96px,14vw,168px);font-weight:700;line-height:.9;letter-spacing:-4px;color:transparent;-webkit-text-stroke:2px #011c73}
@media(max-width:760px){.nf-links{grid-template-columns:1fr}}

/* единый радиус карточек и тёмных панелей - 18 px, как у большинства блоков сайта (были 20 и 22) */
.tz-stage,.tz-card,.tz-banner,.tz-where,.tz-noshow__list li,.tz-appeal{border-radius:18px}

/* подзаголовок сразу под вводным абзацем раздела (контакты ПА) */
.tz-sub--near{margin-top:6px}

/* окно «Подробнее» о тренажёре: каталог (page-equipment, js/equipment.js) и лента на главной (js/site.js) -
   здесь, а не в стилях каталога: главная их не грузит */
/* Окно «Подробнее»: шапка с разделом и названием липнет при прокрутке, ниже фото меньше карточки слева и описание справа;
   у позиции без описания фото крупно во всю ширину */
.eqc-dialog{width:min(880px,calc(100% - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:20px;background:#fff;color:#0a0f24;box-shadow:0 40px 90px -30px #040d2e99}
.eqc-dialog::backdrop{background:#040d2ecc}
.eqc-dialog__head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 30px 20px;background:#fff;border-bottom:1.5px solid #e3e7ee}
.eqc-dialog__head small{display:block;margin-bottom:8px;font-size:12px;font-weight:700;line-height:1.3;letter-spacing:1.2px;text-transform:uppercase;color:#5b6478}
.eqc-dialog__head h2{margin:0;font-size:clamp(19px,1.8vw,23px);font-weight:500;line-height:1.3;letter-spacing:-.2px;color:var(--heading)}
.eqc-dialog__close{display:grid;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;border:1.5px solid #d0d8e6;border-radius:12px;background:#fff;color:#0a0f24;font-size:18px;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.eqc-dialog__close:hover{background:#040d2e;border-color:#040d2e;color:#fff}
.eqc-dialog__close:focus-visible{outline:3px solid #eb002d;outline-offset:2px}
.eqc-dialog__body{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 26px;align-items:start;padding:24px 30px 30px}
.eqc-dialog__photo{position:relative;aspect-ratio:1;border:1.5px solid #e3e7ee;border-radius:14px;background:#f2f5fa}
.eqc-dialog__photo img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:contain;mix-blend-mode:multiply}
.eqc-dialog__body:has(.eqc-dialog__photo[hidden]){grid-template-columns:minmax(0,1fr)}
.eqc-dialog.is-photo .eqc-dialog__body{grid-template-columns:minmax(0,1fr)}
.eqc-dialog.is-photo .eqc-dialog__photo{width:100%;max-width:560px;aspect-ratio:4/3;justify-self:center}
.eqc-dialog.is-photo .eqc-dialog__photo img{inset:20px;width:calc(100% - 40px);height:calc(100% - 40px)}
.eqc-dialog__text p{margin:0 0 12px;font-size:15px;line-height:1.7;color:#2a3242}
.eqc-dialog__text ul{display:grid;gap:6px;margin:0 0 14px;padding:0;list-style:none}
.eqc-dialog__text li{position:relative;padding-left:20px;font-size:15px;line-height:1.6;color:#2a3242}
.eqc-dialog__text li:before{content:"";position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--red)}
@media(max-width:620px){
  /* окно на весь экран */
  .eqc-dialog{width:100%;max-width:100%;height:100%;max-height:100%;margin:0;border-radius:0}
  /* длинное название не занимает пол-экрана липкой шапкой: шапка уезжает, кнопка закрытия остаётся в углу */
  .eqc-dialog__head{position:static;padding:20px 76px 16px 18px}
  .eqc-dialog__head h2{font-size:18px}
  .eqc-dialog__close{position:fixed;top:14px;right:14px;z-index:3;box-shadow:0 8px 20px -8px #040d2e59}
  .eqc-dialog__body{grid-template-columns:1fr;gap:14px;padding:18px 18px 24px}
  /* фото в окне не крупнее фото в карточке */
  .eqc-dialog__photo{width:88px;border-radius:12px}
  .eqc-dialog__photo img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}
  .eqc-dialog.is-photo .eqc-dialog__photo{width:100%}
}
/* окно «Подробнее»: открытые столбцы таблицы учёта строками «подпись: значение» */
.eqc-facts{display:grid;gap:10px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.eqc-facts div{display:grid;gap:2px}
.eqc-facts dt{font-size:13px;color:var(--muted)}
.eqc-facts dd{margin:0;font-size:15px;line-height:1.5;color:var(--heading)}
@media(prefers-reduced-motion:reduce){.eqc-dialog__close{transition:none}}
