/* v3.css — платформа 2.0 по дизайну (design-canvas/*.dc.html, 25.09.2026), 1 в 1.
   Размеры и отступы — из разметки артбордов; цвета — токены кита
   (tahoe-tokens.css), поэтому тёмная тема приходит сама.
   Подключается ПОСЛЕДНИМ. Экранные правила — в v3-<экран>.css. */

/* ── Полотно ── */
html, body { background: var(--t-page); background-attachment: fixed; }
body { font-family: var(--t-font); font-size: 14px; color: var(--t-ink); }
@media (min-width: 861px) {
  /* Высота — процентами от окна, не 100vh: масштаб интерфейса платформа задаёт
     через zoom на корне, а 100vh считается от НЕуменьшенного окна — при масштабе
     65 % каркас (и табло в офисе) занимал две трети экрана, внизу пусто. */
  html, html body { height: 100%; }
  html .shell.on { padding: 14px; gap: 14px; height: 100%; box-sizing: border-box; }
  html .main { gap: 14px; }
}

/* ── Меню ── */
@media (min-width: 861px) {
  html .side { width: 236px; flex-shrink: 0; box-sizing: border-box; padding: 18px 14px 14px; gap: 2px;
    display: flex; flex-direction: column; background: var(--t-surface); border: 1px solid var(--t-line);
    border-radius: 30px; box-shadow: var(--sh-panel); overflow: hidden; }
  html .side-toggle, html .side-ver { display: none !important; }
  html .side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; margin: 0;
    background: none; border: 0; color: var(--t-ink); }
  html .side-logo-sq { width: 34px; height: 34px; border-radius: 17px; padding: 0; background: none;
    box-shadow: 0 6px 14px -6px rgba(10,95,208,.7); }
  html .side-brand-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
  html .side-search { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 8px 0 13px;
    border-radius: 20px; background: var(--t-nested); border: 1px solid var(--t-line); color: var(--t-ink-3);
    font-size: 14px; margin: 0 0 6px; box-shadow: none; width: 100%; }
  html .side-search svg { width: 16px; height: 16px; }
  html .side-search span { flex-grow: 1; text-align: left; margin: 0; }
  html .side-search kbd { font: inherit; font-size: 11px; font-weight: 600; background: var(--t-surface); border: 0;
    border-radius: 8px; padding: 3px 7px; color: var(--t-ink-3); }
  html .side-nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; scrollbar-width: none; min-height: 0; }
  html .side-nav::-webkit-scrollbar { display: none; }
  html .nav-group { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--t-ink-3); padding: 12px 12px 5px; }
  html .nav-btn { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 11px; border-radius: 15px;
    font-size: 14.5px; font-weight: 550; color: var(--t-ink); background: none; box-shadow: none; }
  html .nav-btn:hover { background: var(--t-row); }
  html .nav-btn .ic { width: 18px; height: 18px; color: var(--t-ink-3); stroke-width: 1.9; }
  html .nav-btn .lbl { flex-grow: 1; }
  html .side-nav .nav-btn.on { font-weight: 650; color: var(--t-blue); background: rgba(10,111,224,.1); box-shadow: none; }
  html .nav-btn.on::before { display: none; }
  html .nav-btn.on .ic { color: var(--t-blue); }
  html .nav-btn .cnt { min-width: 22px; height: 22px; padding: 0 7px; box-sizing: border-box; border-radius: 11px;
    background: var(--t-nested); color: var(--t-ink-2); font: 700 12px var(--t-font); margin: 0;
    display: flex; align-items: center; justify-content: center; box-shadow: none; }
  html .side-nav .nav-thumb, html .nav-thumb { display: none !important; }

  html .side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 2px;
    border: 0; border-top: 1px solid var(--t-line); border-radius: 0; background: none; box-shadow: none;
    flex-wrap: nowrap; cursor: pointer; }
  html .side-avatar { width: 34px; height: 34px; border-radius: 17px; background: #1c1c1e; color: #fff;
    font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  html .side-user-meta { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; margin: 0; }
  html .side-user-meta b { font-weight: 650; font-size: 14px; color: var(--t-ink); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; }
  html .side-user-meta .role { font-size: 12px; color: var(--t-ink-3); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; width: auto; }
  html .side-link { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #1b7a45;
    background: rgba(20,150,79,.1); border-radius: 10px; padding: 3px 8px; flex-shrink: 0; }
  html .side-link i { width: 6px; height: 6px; border-radius: 3px; background: #14964f; }
  html .side-link.off { color: var(--t-bad-ink); background: var(--t-bad-soft); }
  html .side-link.off i { background: var(--t-bad); }
  html .appear-pop { bottom: 64px; left: 14px; }
  html .ap-logout { color: var(--t-bad-ink); }
}
[data-theme="dark"] .side-avatar { background: #3a3d45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .side-avatar { background: #3a3d45; } }

/* ── Экраны дизайна 2.0: шапку и панели рисуют сами ── */
@media (min-width: 861px) {
  body.v3 .topbar { display: none; }
  body.v3 .content { padding: 0; overflow: hidden; background: transparent; }
}
.v3-panel { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 30px;
  box-shadow: var(--sh-panel); box-sizing: border-box; min-height: 0; }
.v3-head { display: flex; align-items: center; gap: 14px; padding: 0 16px 0 24px; height: 74px; }
.v3-h1 { font-size: 27px; font-weight: 700; letter-spacing: -.025em; margin: 0; white-space: nowrap; }
.v3-sub { font-size: 14.5px; font-weight: 600; color: var(--t-ink-3); }

/* ── Общие детали экранов 2.0 (значения — из артбордов) ── */
.grow { flex-grow: 1; }
.v3-btn-pri { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 40px;
  padding: 0 18px 0 14px; border-radius: 20px; border: 0; background: var(--t-blue-grad); color: #fff; font-weight: 650;
  font-size: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 20px -6px rgba(10,95,208,.85); cursor: pointer; }
.v3-btn-pri.sm { gap: 6px; height: 36px; padding: 0 14px 0 11px; border-radius: 18px; font-size: 13.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 18px -8px rgba(10,95,208,.85); }
.v3-btn-pri:hover { background: linear-gradient(180deg, #5cb0ff, #1a7cea); }
.v3-btn-round { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--t-line);
  background: var(--t-surface); display: flex; align-items: center; justify-content: center; color: var(--t-ink-2); cursor: pointer; }
.v3-btn-round:hover { background: var(--t-row); }
.v3-mchip { font-size: 11px; font-weight: 750; padding: 2px 7px; border-radius: 8px; white-space: nowrap; color: var(--t-ink);
  background: color-mix(in srgb, var(--mc) 16%, var(--t-surface)); border: 1px solid color-mix(in srgb, var(--mc) 45%, transparent); }
.v3-day { width: 40px; height: 40px; box-sizing: border-box; border-radius: 13px; display: flex; align-items: center;
  justify-content: center; font-size: 12px; font-weight: 800; border: 1px dashed rgba(60,66,78,.18); color: transparent; }
[data-theme="dark"] .v3-day:not(.on) { border-color: rgba(255,255,255,.2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .v3-day:not(.on) { border-color: rgba(255,255,255,.2); } }
.v3-day.on { background: color-mix(in srgb, var(--mc) 16%, var(--t-surface)); border: 1.5px solid var(--mc); color: var(--t-ink); }
.v3-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 9px; white-space: nowrap; display: inline-block; }
.v3-pill.incl { background: #eef1f5; color: #3a4a5c; }
.v3-pill.paid { background: rgba(20,150,79,.12); color: #1b7a45; }
.v3-pill.comp { background: rgba(123,45,139,.1); color: #6b2380; }
.v3-pill.miss { background: rgba(224,49,63,.12); color: #b3202e; }
.v3-alert { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 20px; font-weight: 650; }
.v3-alert.bad { background: rgba(224,49,63,.1); border: 1px solid rgba(224,49,63,.28); color: #9e1b28; }
.v3-alert.warn { background: rgba(255,178,60,.2); border: 1px solid rgba(200,130,40,.3); color: #6e4300; }
.v3-alert-btn { flex-shrink: 0; white-space: nowrap; height: 34px; display: flex; align-items: center; padding: 0 14px;
  border-radius: 17px; background: var(--t-surface); color: var(--t-ink); font-weight: 650; font-size: 13.5px;
  border: 1px solid var(--t-line); cursor: pointer; }
.v3-empty { border: 1px dashed var(--t-line-2); border-radius: 20px; padding: 16px; background: var(--t-row);
  color: var(--t-ink-3); font-weight: 500; }
[data-theme="dark"] .v3-pill.incl { background: rgba(255,255,255,.1); color: var(--t-ink-2); }
[data-theme="dark"] .v3-pill.paid { color: var(--t-ok-ink); background: rgba(52,199,89,.18); }
[data-theme="dark"] .v3-pill.miss { color: var(--t-bad-ink); background: rgba(255,90,100,.18); }
[data-theme="dark"] .v3-pill.comp { color: var(--t-comp-ink); background: rgba(199,125,255,.18); }
[data-theme="dark"] .v3-alert.warn { background: rgba(255,178,60,.14); border-color: rgba(255,178,60,.3); color: #ffcf85; }
[data-theme="dark"] .v3-alert.bad { background: rgba(255,90,100,.12); border-color: rgba(255,90,100,.3); color: #ff9aa2; }

/* ── Телефон: нижние вкладки и «Ещё» (MobMore.dc.html) ── */
@media (max-width: 860px) {
  html .mtabbar { padding: 4px 8px calc(22px + env(safe-area-inset-bottom, 0px) - 16px); background: rgba(255,255,255,.94);
    border-top: 1px solid var(--t-line); box-shadow: none; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  html .mtab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 4px;
    color: var(--t-ink-3); font-size: 11px; font-weight: 650; background: none; position: relative; }
  html .mtab svg { width: 23px; height: 23px; }
  html .mtab.on { color: var(--t-blue); }
  html .mtab .mtab-cnt { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px;
    box-sizing: border-box; border-radius: 9px; background: #e0313f; color: #fff; font-size: 11px; font-weight: 750;
    display: flex; align-items: center; justify-content: center; }
  [data-theme="dark"] .mtabbar { background: rgba(31,33,38,.94); }
}
@media (max-width: 860px) and (prefers-color-scheme: dark) { :root:not([data-theme]) .mtabbar { background: rgba(31,33,38,.94); } }

.v3mo { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 14px; }
.v3mo-top { padding: 16px 2px 10px; display: flex; flex-direction: column; gap: 8px; }
.v3mo-bar { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.v3mo-bar .grow { font-size: 14px; font-weight: 650; color: var(--t-ink-3); }
.v3mo-ic { width: 40px; height: 40px; border-radius: 20px; background: var(--t-surface); color: var(--t-ink); border: 0;
  display: flex; align-items: center; justify-content: center; }
.v3mo-ic.pri { background: var(--t-blue-grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(10,95,208,.85); }
.v3mo-title { font-size: 30px; font-weight: 760; letter-spacing: -.03em; line-height: 1.1; }
.v3mo-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--t-surface);
  color: var(--t-ink); border: 0; text-align: left; font: inherit; width: 100%; }
.v3mo-ava { width: 42px; height: 42px; border-radius: 21px; background: #1c1c1e; color: #fff; font-weight: 750;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v3mo-cap { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-ink-3); padding: 6px 6px 0; }
.v3mo-grp { border-radius: 20px; background: var(--t-surface); overflow: hidden; }
.v3mo-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; color: var(--t-ink); width: 100%;
  border: 0; background: none; font: inherit; text-align: left; border-bottom: 1px solid rgba(60,66,78,.08); }
.v3mo-row:last-child { border-bottom: 0; }
.v3mo-rico { width: 32px; height: 32px; border-radius: 10px; background: var(--t-nested); color: var(--t-blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.v3mo-rico svg { width: 17px; height: 17px; stroke-width: 2.2; }
.v3mo-rlbl { font-size: 16px; font-weight: 600; flex-grow: 1; }
.v3mo-cnt { min-width: 24px; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: 12px; font-size: 12.5px;
  font-weight: 750; display: flex; align-items: center; justify-content: center; background: var(--t-nested); color: var(--t-ink-2); }
.v3mo-cnt.bad { background: #e0313f; color: #fff; }
.v3mo-chev { color: #8a8f98; flex-shrink: 0; }
@media (max-width: 860px) {
  html body.v3 { background: var(--t-nested); }
  body.v3 .topbar { display: none; }
  body.v3 .content { padding: 0 0 calc(90px + env(safe-area-inset-bottom, 0px)); background: transparent; }
}
@media (max-width: 860px) { html body.v3::before { background: none; } }

/* Подложка страницы (body::before из tahoe-shell.css) — слой с z-index 0.
   Всё, что лежит без своего слоя, она накрывает: экран входа пропадал целиком,
   кроме поля пароля. Экран входа поднимаем над ней (заставка и так выше). */
.login-wrap { position: relative; z-index: 1; }
/* каркас старых экранов красит .shell обоями (app.css) — у экранов 2.0 фон ровный */
@media (max-width: 860px) { html body.v3 .shell, html body.v3 .main { background: transparent; } }
/* tahoe-shell.css даёт .shell.on отступ 14px и обои на любой ширине — на телефоне
   экраны 2.0 стоят от края на 14px сами (по макету), а не на 28 */
@media (max-width: 860px) { html body.v3 .shell.on { padding: 0; gap: 0; background: none; } }

/* ── Разделы, которых нет в макетах дизайна (журнал, водители, отчёт, акт,
   лог, аналитика…): содержимое — в белой панели, как у экранов 2.0, а не
   прямо на фоне. Шапка у них уже панелью (tahoe-shell.css). ── */
@media (min-width: 861px) {
  html body:not(.v3) .main > .content:not(.map-view):not(.pc-host):not(.sheet-mode) {
    background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 30px;
    box-shadow: var(--sh-panel); padding: 20px 24px 28px; }
}
/* закрытая панель уведомлений стоит за краем экрана — её тень не должна
   вылезать серой полосой справа (заметно на телефоне) */
.notif-drawer:not(.open) { box-shadow: none !important; }

/* ── Колокольчик в меню (на экранах 2.0 шапки нет) ── */
.side-bell { display: none; }
@media (min-width: 861px) {
  html .side { position: relative; }
  html .side-bell { display: flex; align-items: center; justify-content: center; position: absolute; top: 72px; right: 14px;
    width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--t-line); background: var(--t-surface);
    color: var(--t-ink-2); cursor: pointer; padding: 0; transition-property: background-color, scale; transition-duration: .15s; }
  html .side-bell:hover { background: var(--t-nested); }
  html .side-bell:active { scale: .96; }
  html .side-bell svg { width: 17px; height: 17px; }
  html .side-bell-n { position: absolute; top: -4px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px;
    box-sizing: border-box; border-radius: 9px; background: var(--t-bad); color: #fff; font-size: 10.5px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--t-surface); }
  html .side-search { width: calc(100% - 48px); }
  html .side-search kbd { white-space: nowrap; }
  html body.v3 #notif-bell { display: none; }
}

/* ── Меню значками: «Свернуть» в настройках (.min) или узкий компьютер (.auto-min) ── */
@media (min-width: 861px) {
  html .side:is(.min, .auto-min) { width: 68px; padding: 18px 10px 14px; align-items: center; }
  html .side:is(.min, .auto-min) :is(.side-brand-name, .side-search span, .side-search kbd, .nav-btn .lbl,
    .side-user-meta, .side-link) { display: none; }
  html .side:is(.min, .auto-min) .side-brand { order: -2; padding: 4px 0 12px; justify-content: center; }
  html .side:is(.min, .auto-min) .side-search { order: -1; width: 44px; height: 44px; padding: 0; justify-content: center;
    border-radius: 22px; margin: 0 0 6px; flex-shrink: 0; }
  html .side:is(.min, .auto-min) .side-bell { position: relative; top: auto; right: auto; width: 44px; height: 44px;
    border-radius: 22px; flex-shrink: 0; margin-bottom: 4px; }
  html .side:is(.min, .auto-min) .side-nav { width: 100%; align-items: center; }
  html .side:is(.min, .auto-min) .nav-group { font-size: 0; padding: 0; height: 1px; width: 28px; margin: 10px auto;
    background: var(--t-line); }
  html .side:is(.min, .auto-min) .nav-btn { position: relative; width: 42px; min-height: 40px; padding: 0;
    justify-content: center; gap: 0; border-radius: 22px; }
  html .side:is(.min, .auto-min) .nav-btn .cnt { position: absolute; top: 1px; right: -3px; min-width: 18px; height: 18px;
    padding: 0 5px; font-size: 10.5px; border-radius: 9px; box-shadow: 0 0 0 2px var(--t-surface); }
  html .side:is(.min, .auto-min) .side-user { justify-content: center; padding: 10px 0 2px; width: 100%; }
}

/* «Ещё» на большом телефоне/планшете — список по центру, а не лента на всю ширину */
@media (min-width: 600px) and (max-width: 860px) {
  .v3mo { max-width: 640px; margin: 0 auto; box-sizing: border-box; width: 100%; }
}

/* Шапка списка («Объекты 2 156 [+ Новый]»): когда число длинное и кнопка не
   влезает, v3FitHead ставит .tight — кнопка становится круглым «+» с подсказкой. */
/* поля слева и справа одинаковые: раньше справа было на 4px меньше, и кнопка
   «+ Новый» липла к краю панели несимметрично заголовку */
html :is(.v3o-lhead, .v3c-lhead) { min-width: 0; padding-left: 8px; padding-right: 8px; }
:is(.v3o-lhead, .v3c-lhead) > :is(.v3-h1, .v3o-total, .v3c-total) { white-space: nowrap; flex-shrink: 0; }
:is(.v3o-lhead, .v3c-lhead).tight .v3-btn-pri { font-size: 0; gap: 0; width: 36px; padding: 0; justify-content: center; }

/* Табло в офисе — во весь экран: без отступов каркаса и без белой панели
   «старых экранов» (у табло свой фон и свои карточки) */
@media (min-width: 861px) {
  html.tv-mode .shell.on { padding: 0 !important; gap: 0 !important; }
  html.tv-mode body .main > .content { background: none !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; padding: 0 !important; }
}

/* ── Кнопки «+ / −» на картах — как в полуручном режиме (mapfeel.js ставит их
   справа внизу): стеклянная капсула с круглыми кнопками. На телефоне скрыты —
   там щипок. ── */
.mtk-map .leaflet-control-zoom { border: 1px solid var(--t-line) !important; border-radius: 24px; padding: 5px;
  display: flex; flex-direction: column; gap: 4px; background: var(--t-surface); margin: 14px !important;
  box-shadow: 0 6px 18px -8px rgba(22,26,36,.28); }
.mtk-map .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; border-radius: 19px !important;
  border: 0 !important; background: var(--t-nested); color: var(--t-ink); font-size: 20px; font-weight: 400;
  transition-property: background-color, scale; transition-duration: .15s; }
.mtk-map .leaflet-control-zoom a:hover { background: var(--t-row); }
.mtk-map .leaflet-control-zoom a:active { scale: .96; }
.mtk-map .leaflet-control-zoom a.leaflet-disabled { opacity: .4; }
.mtk-map .leaflet-popup-content-wrapper { border-radius: 20px; }
@media (max-width: 860px) { .mtk-map .leaflet-control-zoom { display: none; } }

/* ── Меню по работе (01.10.2026): подразделы и «Ещё» ── */
.side-nav .nav-sec { display: flex; flex-direction: column; gap: 2px; }
.side-nav .nav-sec:not(.open) .nav-subs { display: none; }
.side-nav .nav-subs { display: flex; flex-direction: column; gap: 1px; margin: 0 0 4px; }
@media (min-width: 861px) {
  html .side-nav .nav-btn.sub { min-height: 32px; padding-left: 40px; font-size: 13.5px; font-weight: 550; color: var(--t-ink-2);
    border-radius: 12px; }
  html .side-nav .nav-btn.sub .ic { display: none; }
  html .side-nav .nav-btn.sub.on { color: var(--t-blue); background: rgba(10,111,224,.07); font-weight: 650; }
  /* у раздела с открытым подразделом — подсветка мягче: главное — подпункт */
  html .side-nav .nav-sec.open > .nav-btn.on { background: none; color: var(--t-ink); }
  html .side-nav .nav-sec.open > .nav-btn.on .ic { color: var(--t-blue); }
  html .nav-more-h { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; cursor: pointer;
    font-family: inherit; text-align: left; margin-top: 8px; }
  html .nav-more-h:hover { color: var(--t-ink-2); }
  html .nav-more-chev { transition: rotate .15s; }
  html .nav-more-h[aria-expanded="true"] .nav-more-chev { rotate: 180deg; }
  html .side-nav .nav-more { display: none; flex-direction: column; gap: 2px; }
  html .side-nav .nav-more.open { display: flex; }
  /* меню значками: подпунктов нет, «Ещё» — сразу значками под чертой */
  html .side:is(.min, .auto-min) .nav-subs { display: none !important; }
  /* «Ещё» значком «···»: раскрывается по нажатию, как и в широком меню */
  html .side:is(.min, .auto-min) .nav-more-h { font-size: 0; justify-content: center; width: 42px; height: 40px; padding: 0;
    margin: 8px auto 2px; border-radius: 20px; background: var(--t-nested); color: var(--t-ink-2); position: relative; }
  html .side:is(.min, .auto-min) .nav-more-h::before { content: '···'; font-size: 18px; font-weight: 800; letter-spacing: 1px;
    line-height: 1; }
  html .side:is(.min, .auto-min) .nav-more-h[aria-expanded="true"] { background: rgba(10,111,224,.1); color: var(--t-blue); }
  html .side:is(.min, .auto-min) .nav-more-chev { display: none; }
  html .side:is(.min, .auto-min) .nav-more.open { align-items: center; }
  html .side:is(.min, .auto-min) .nav-sec { align-items: center; }
}

/* «Полуручной режим» в меню — ссылка в новую вкладку: без подчёркивания, стрелка справа */
html .side a.nav-btn { text-decoration: none; color: inherit; }
html .side .nav-btn .nav-ext { width: 14px; height: 14px; margin-left: auto; flex-shrink: 0; opacity: .45; }
html .side:is(.min, .auto-min) .nav-btn .nav-ext { display: none; }
