/* Шрифты — локально, без обращений к Google Fonts.
   Inter — переменный шрифт: одна и та же пара байтов даёт 400, 500 и 600, поэтому на каждый набор знаков
   один файл и одно правило с диапазоном font-weight: 400 600. Вес выше 600 не используется.
   unicode-range — как у Google Fonts (Inter, css2): браузер скачивает только нужный набор.
   Кириллический файл стоит в <link rel="preload"> в templates/bootstrap/base.html.
   Лицензии: static/fonts/LICENSE-Inter.txt (SIL OFL 1.1), static/fonts/LICENSE-MaterialSymbols.txt (Apache 2.0). */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext (в том числе ₽ — U+20BD) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Иконки — Material Symbols Rounded, статический срез (opsz 24, wght 300, FILL 0, GRAD 0) только с нужными
   значками. Иконка пишется словом: <span class="mi" aria-hidden="true">download</span>.
   Имени, которого нет в файле, браузер покажет буквами — новый значок сначала добавьте в срез
   (fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,300,0,0&icon_names=…).
   В срезе: account_tree, add, apartment, arrow_upward, auto_awesome, call, chat, check_circle, content_copy, dashboard, delete, description,
   download, edit, edit_square, error, expand_more, filter_alt, help, image_not_supported, inventory_2, left_panel_close,
   left_panel_open, logout, menu, north, notifications, open_in_new, pan_tool_alt, person, progress_activity, refresh,
   rocket_launch, rss_feed, search, search_off, settings, smart_toy, south, table_view, tune, unfold_more, view_column
   (settings добавлен 16.10 для раздела «Настройки»; call и chat — 17.10 для строк звонков и чатов; notifications,
   progress_activity и check_circle — 18.10 для колокольчика «Уведомления»; delete — 18.10 для «Удалить» в списке стратегий;
   account_tree — 31.10 для ручной стратегии; имена в icon_names — по алфавиту). */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url('../fonts/material-symbols-rounded.woff2?v=20261031manualtree') format('woff2');
}

/* .material-symbols-outlined — прежнее имя класса (шаблоны, JS, тесты), .mi — короткое для нового кода.
   Цвет не задаётся — берётся у текста. Размеры: 16, 20 (по умолчанию), 24, 32. */
.material-symbols-outlined,
.mi {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.mi-16 { font-size: 16px; }
.mi-20 { font-size: 20px; }
.mi-24 { font-size: 24px; }
.mi-32 { font-size: 32px; }
