/* Кольори ліцею для адмінки (Sveltia CMS будує всю палітру від одного відтінку) */
:root {
  --sui-base-hue: 218;
  --sui-font-family-default: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Кольорові іконки розділів у лівому меню */
[role='treeitem'] > .row > .icon {
  color: var(--ic, currentColor);
  background: color-mix(in srgb, var(--ic, #888) 14%, transparent);
  border-radius: 8px;
  padding: 4px;
  font-variation-settings: 'FILL' 1;
}
[role='treeitem'][aria-selected='true'] > .row > .icon { background: var(--ic); color: #fff; }
[role='treeitem'][data-label='Новини'] { --ic: #1e4fa3; }
[role='treeitem'][data-label='Оголошення'] { --ic: #e67700; }
[role='treeitem'][data-label='Події'] { --ic: #0f8a5f; }
[role='treeitem'][data-label='Про ліцей'] { --ic: #1e4fa3; }
[role='treeitem'][data-label='Безпечне середовище'] { --ic: #0f8a5f; }
[role='treeitem'][data-label='Учням'] { --ic: #d9480f; }
[role='treeitem'][data-label='Батькам'] { --ic: #c2255c; }
[role='treeitem'][data-label='Педагогам'] { --ic: #6741d9; }
[role='treeitem'][data-label='Життя ліцею'] { --ic: #e67700; }
[role='treeitem'][data-label='Фотоальбоми'] { --ic: #0c8599; }
[role='treeitem'][data-label='Інші сторінки'] { --ic: #495057; }
[role='treeitem'][data-label='Контакти й налаштування'] { --ic: #495057; }
[role='treeitem'][data-label='Меню сайту'] { --ic: #495057; }

/* Кнопка «Панель керування» у верхній панелі — з підписом */
button[aria-label='Панель керування'] { width: auto !important; padding-inline: 10px 14px !important; gap: 6px; background: #f2b705 !important; color: #1b1b1b !important; border-radius: 999px !important; }
button[aria-label='Панель керування']::after { content: 'Панель керування'; font-weight: 700; font-size: 13px; }
button[aria-label='Панель керування'][aria-checked='true'] { background: #1e4fa3 !important; color: #fff !important; }
button[aria-label='Панель керування']::after { white-space: nowrap; }
/* Довгі назви розділів — переносом, а не «…» */
[role='treeitem'] > .row > .label { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
