/* Боковая панель (десктоп от 960px) — одна на главной и страницах услуг: разметка — render.js (side), строка
   раздела — /side.js. Токены (--ink, --paper, --pen, --muted, --red, шрифты) — общие у site/new/assets/style.css и
   site/uslugi/uslugi.css. Место панели на странице задаёт сама страница: на главной — колонка .app, у услуг — fixed. */
.side { display: none; }
@media (min-width: 960px) {
  .side { display: flex; flex-direction: column; gap: 16px; padding: 28px 22px 22px; background: var(--paper); color: var(--ink); overflow-y: auto; font: 400 16px/1.5 var(--f-ui); }
  .side .mark { font: 400 27px/1 var(--f-display); color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; align-self: flex-start; white-space: nowrap; letter-spacing: -.01em; }
  .side .dot { display: inline-block; width: .36em; height: .36em; margin: 0 .07em; border-radius: 50%; background: var(--red); }
  .side .tag { align-self: flex-start; padding: 7px 10px; border-radius: 6px; background: #DCEAFB; color: var(--pen); font: 600 13px/1 var(--f-ui); }
  .side-about { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
  .side-about b { color: var(--ink); font-weight: 600; }

  /* Страницы сайта; текущая — длинный штрих, под ней строка раздела страницы на экране */
  .side .nav { display: grid; gap: 2px; margin-top: 12px; }
  .side .nav a { width: max-content; display: flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; transform-origin: left center; transition: transform .25s ease, color .25s; }
  .side .nav a i { width: 14px; height: 1.5px; background: currentColor; transition: width .3s ease; }
  .side .nav a:hover { transform: scale(1.08); color: var(--ink); }
  .side .nav a[aria-current] { color: var(--ink); font-weight: 600; }
  .side .nav a[aria-current] i { width: 30px; }
  /* одна строка фиксированной высоты: смена подписи (opacity/transform, /side.js) ничего не сдвигает */
  .nav-sec { display: block; height: 20px; margin: -4px 0 6px 42px; overflow: hidden; font: 500 12px/20px var(--f-mono); color: var(--pen); }
  .nav-sec > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  /* внизу — только «Написать»: окно сайта /lead.js */
  .side-btns { margin-top: auto; display: grid; justify-items: start; }
  .side .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; font: 600 15px/1 var(--f-ui); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s; }
  .side .btn-dark { background: var(--ink); color: var(--paper); }
  .side .btn-dark:hover { background: #3A3530; }
}
