/* Стили портала. Цвета — токены на :root, тёмная тема — по настройке системы. */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #ebecf0;
  --text: #172b4d;
  --muted: #6b778c;
  --border: #dfe1e6;
  --accent: #2f6fde;
  --accent-text: #ffffff;
  --danger: #c9372c;
  --asap: #e2483d;
  --blocked: #d97706;
  --focus: #4c9aff;
  --radius: 8px;
  --shadow: 0 1px 2px rgb(9 30 66 / 16%);
  --topbar-h: 52px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Цвета типов и меток Kaiten: API отдаёт номер цвета, оттенки подобраны близко к Kaiten. */
  --c-0: #8993a4;
  --c-1: #8993a4; --c-2: #36b37e; --c-3: #2f6fde; --c-4: #6554c0; --c-5: #e2483d;
  --c-6: #ff991f; --c-7: #00a3bf; --c-8: #c054be; --c-9: #57a55a; --c-10: #f5cd47;
  --c-11: #8f7ee7; --c-12: #4c9aff; --c-13: #f87168; --c-14: #22a06b; --c-15: #e774bb;
  --c-16: #a54800; --c-17: #1d7f8c; --c-18: #5e4db2; --c-19: #b38600; --c-20: #626f86;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d2125;
    --surface: #22272b;
    --surface-2: #2c333a;
    --text: #dee4ea;
    --muted: #9fadbc;
    --border: #38414a;
    --accent: #579dff;
    --accent-text: #1d2125;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 var(--font);
}

a { color: var(--accent); }
h1 { font-size: 22px; margin: 0 0 16px; }
h2 { font-size: 17px; margin: 28px 0 12px; }
.muted { color: var(--muted); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* --- Шапка --- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--topbar-h);
  padding: 0 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.topbar__nav { display: flex; gap: 4px; }

.topbar__nav a {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
}

.topbar__nav a:hover { background: var(--surface-2); color: var(--text); }
.topbar__nav a[aria-current="page"] { background: var(--surface-2); color: var(--text); font-weight: 600; }

.topbar__user { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.topbar__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- Содержимое --- */

.page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 48px; }
/* Доска — во всю ширину, с горизонтальной прокруткой колонок. */
.page--wide { max-width: none; padding: 16px 20px 32px; }

.empty {
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.empty p { margin: 4px 0; }

/* --- Плитки досок --- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tile:hover { outline: 2px solid var(--accent); }
.tile__title { font-weight: 600; }
.tile__foot { margin-top: auto; padding-top: 6px; }

/* --- Колонка и карточка доски --- */

.column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  max-width: 100%;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.column__head {
  display: flex;
  justify-content: space-between;
  padding: 4px 6px;
  font-weight: 600;
}

.count { color: var(--muted); font-weight: 400; }

.kcard {
  position: relative;
  padding: 10px 12px;
  border-radius: 6px;
  border-left: 3px solid transparent;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.kcard--asap { border-left-color: var(--asap); }
.kcard--blocked { border-left-color: var(--blocked); }

.kcard__type {
  float: right;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0 0 4px 8px;
  border-radius: 4px;
  background: var(--type-color, var(--c-1));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.kcard__title { font-weight: 500; }
.kcard__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }

.color-0 { --type-color: var(--c-0); }
.color-1 { --type-color: var(--c-1); }
.color-2 { --type-color: var(--c-2); }
.color-3 { --type-color: var(--c-3); }
.color-4 { --type-color: var(--c-4); }
.color-5 { --type-color: var(--c-5); }
.color-6 { --type-color: var(--c-6); }
.color-7 { --type-color: var(--c-7); }
.color-8 { --type-color: var(--c-8); }
.color-9 { --type-color: var(--c-9); }
.color-10 { --type-color: var(--c-10); }
.color-11 { --type-color: var(--c-11); }
.color-12 { --type-color: var(--c-12); }
.color-13 { --type-color: var(--c-13); }
.color-14 { --type-color: var(--c-14); }
.color-15 { --type-color: var(--c-15); }
.color-16 { --type-color: var(--c-16); }
.color-17 { --type-color: var(--c-17); }
.color-18 { --type-color: var(--c-18); }
.color-19 { --type-color: var(--c-19); }
.color-20 { --type-color: var(--c-20); }

/* Метка: цветная точка и название. */
.kcard__tags { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--type-color, var(--c-0)); }

.badge {
  padding: 1px 8px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.badge--asap { background: var(--asap); color: #fff; font-weight: 600; }
.badge--blocked { background: var(--blocked); color: #fff; }
.badge--overdue { background: color-mix(in srgb, var(--asap) 18%, var(--surface)); color: var(--asap); font-weight: 600; }
.badge--editor { background: var(--c-2); color: #fff; }
.badge--viewer { background: var(--surface-2); color: var(--muted); }

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c-4);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.avatar--sm { width: 22px; height: 22px; font-size: 10px; }
.avatar--resp { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--accent); }
.avatar--more { background: var(--surface-2); color: var(--muted); }
.kcard__people { display: flex; gap: 2px; margin-left: auto; }

/* --- Кнопки --- */

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.btn {
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.btn:hover { background: var(--surface-2); }
.btn--primary { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.btn--primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn--danger { border-color: var(--danger); color: var(--danger); }

/* --- Телефон --- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { gap: 12px; padding: 0 12px; }
  .topbar__brand span:last-child { display: none; }
  .topbar__name { display: none; }
  .page { padding: 16px 12px 40px; }
  .page--wide { padding: 12px; }
  .tiles { grid-template-columns: 1fr; }
  .column { width: 100%; }
  .btn { min-height: 44px; }
}

/* --- Доска --- */

/* На телефоне шапка доски переносится: название, фильтр «Мои», кнопка — строками (#201). */
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.board-head h1 { margin: 0; overflow-wrap: anywhere; }

/* Колонки шире экрана — прокрутка по горизонтали внутри доски, не всей страницы. */
.board-scroll { overflow-x: auto; padding-bottom: 8px; }

.board {
  border-collapse: separate;
  border-spacing: 8px 0;
  margin: 0 -8px;
  table-layout: fixed;
}

.board th, .board td { width: 272px; min-width: 272px; vertical-align: top; text-align: left; }

.board__col, .board__sub {
  padding: 8px 10px;
  background: var(--surface-2);
  font-weight: 600;
}

.board__col { border-radius: var(--radius) var(--radius) 0 0; border-top: 3px solid var(--c-1); }
.board__col--type2 { border-top-color: var(--c-3); }
.board__col--type3 { border-top-color: var(--c-2); }
.board__col--over { background: color-mix(in srgb, var(--asap) 18%, var(--surface-2)); }
.board__sub { font-weight: 500; font-size: 13px; border-top: 1px solid var(--border); }

.board__col-title { margin-right: 6px; }

.board__lane th {
  padding: 14px 10px 6px;
  background: transparent;
  font-weight: 600;
}

.board__cell {
  height: 48px;
  padding: 6px;
  background: var(--surface-2);
}

.board__cell .kcard { display: block; font-size: 14px; margin-bottom: 8px; color: var(--text); text-decoration: none; }
.board__cell .kcard:hover { outline: 2px solid var(--accent); }
.board tbody tr:last-child .board__cell { border-radius: 0 0 var(--radius) var(--radius); }

@media (max-width: 640px) {
  .board th, .board td { width: 244px; min-width: 244px; }
}

/* Перетаскивание касанием (#201): долгое нажатие на карточку не выделяет текст и не открывает
   меню ссылки, иначе на телефоне вместо перетаскивания всплывает «Открыть в новой вкладке». */
.board__cell[data-sortable] .kcard { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.sortable-chosen { outline: 2px solid var(--accent); }

/* --- Карточка --- */

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.card-head h1 { margin: 0; overflow-wrap: anywhere; }
.card-head .kcard__type { margin-top: 4px; }
.card-head .badge { margin-top: 4px; flex-shrink: 0; }

.card-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.card-main > section:first-child h2, .card-main > p:first-child { margin-top: 0; }
.card-side {
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fields { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 0; }
.fields dt { color: var(--muted); font-size: 13px; margin-top: 10px; }
.fields dt:first-child { margin-top: 0; }
.fields dd { margin: 0; overflow-wrap: anywhere; }
.field-value { white-space: pre-line; }
.people { display: flex; flex-direction: column; gap: 4px; }
.person { display: inline-flex; align-items: center; gap: 6px; }

.md { overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 { font-size: 16px; margin: 16px 0 8px; }
.md pre { overflow-x: auto; padding: 10px; background: var(--surface-2); border-radius: 6px; }
.md code { font-size: 13px; }
.md blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--border); color: var(--muted); }
.md table { border-collapse: collapse; display: block; overflow-x: auto; }
.md th, .md td { border: 1px solid var(--border); padding: 4px 8px; }

.blocker {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--blocked);
  background: color-mix(in srgb, var(--blocked) 10%, var(--surface));
  border-radius: 6px;
}
.blocker p { margin: 0; }
.blocker__reason { font-weight: 500; }

.checklist__items { list-style: none; margin: 0; padding: 0; }
.checklist__item { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.checklist__item input { margin: 0; flex-shrink: 0; }
.checklist__item > :not(.checklist__text) { flex-shrink: 0; }
.checklist__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.checklist__item--done .checklist__text { color: var(--muted); text-decoration: line-through; }

.files { margin: 0 0 8px; padding-left: 20px; }
.files__name { overflow-wrap: anywhere; }

.comment { padding: 12px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: 0; }
.comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }

@media (max-width: 900px) {
  .card-page { grid-template-columns: minmax(0, 1fr); }
}

/* --- Вход --- */

.auth { max-width: 420px; margin: 48px auto 0; }
.form { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.form__label { font-weight: 500; }
.form .btn { margin-top: 8px; }
.input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }

@media (max-width: 640px) {
  .auth { margin-top: 16px; }
}
.input--code { max-width: 180px; font-size: 22px; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.form__error { margin: 0; color: var(--danger); }

/* --- Профиль --- */

.topbar__profile { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); text-decoration: none; border-radius: 6px; }
.topbar__profile:hover .topbar__name { text-decoration: underline; }
.btn--quiet { border-color: transparent; background: none; color: var(--muted); }
.btn--quiet:hover { background: var(--surface-2); color: var(--text); }
.profile { max-width: 480px; }
.devices { list-style: none; margin: 0 0 16px; padding: 0; max-width: 640px; }
.device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.device__name { font-weight: 500; }

.relations { margin: 0 0 12px; padding-left: 20px; }
.relations__title { font-size: 14px; color: var(--muted); font-weight: 500; margin: 12px 0 6px; }
.related--hidden { color: var(--muted); font-style: italic; }
.related--done { text-decoration: line-through; }

/* --- Изменение не сохранено --- */

.kept dt { font-weight: 500; margin-top: 12px; }
.kept dd { margin: 4px 0 0; }
.kept textarea { resize: vertical; }

/* --- Правка на месте (#152) --- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.btn--sm { min-height: 28px; padding: 2px 10px; font-size: 13px; }
.card-title { display: flex; align-items: flex-start; gap: 8px; flex: 1; min-width: 0; }
.card-title h1 { margin: 0; overflow-wrap: anywhere; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
.section-head { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 12px; }
.section-head h2 { margin: 0 auto 0 0; }
.inline-edit { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.inline-edit__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.input--title { font-size: 20px; font-weight: 600; }
.input--text { min-height: 200px; resize: vertical; font-family: inherit; line-height: 1.5; }
.preview:not(:empty) { padding: 12px; border: 1px dashed var(--border); border-radius: 6px; }
@media (max-width: 640px) {
  .btn--sm { min-height: 36px; }
}

/* --- Поля карточки в боковой панели (#153) --- */

.side-block { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.card-side > .side-block:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.side-block .section-head { margin: 0 0 8px; }
.side-block__title { font-size: 13px; font-weight: 500; color: var(--muted); }
.side-block .fields dt:first-child { margin-top: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
.tag-list .tag form { display: inline; }
.tag__remove {
  min-width: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 4px;
  background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer;
}
.tag__remove:hover { background: var(--surface-2); color: var(--text); }

/* --- Кастомные поля (#154) --- */

.prop-field { display: flex; flex-direction: column; gap: 4px; }
.choices { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; }
.check { display: flex; align-items: center; gap: 8px; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; }
.required { color: var(--danger); }

/* --- Новая карточка (#155) --- */

.board-head { flex-wrap: wrap; }
.board-head__new { margin-left: auto; white-space: nowrap; }
.new-card { max-width: 640px; }

/* --- Перемещение (#156) --- */

.place { margin: 0; }
.wip-note { margin: 8px 0 0; padding: 6px 10px; border-radius: 6px; background: var(--danger-bg, rgba(229, 72, 77, 0.12)); color: var(--danger); font-size: 13px; }

/* --- Перетаскивание (#157) --- */

.board-status { margin: 0 0 8px; font-size: 13px; }
[data-sortable] { min-height: 48px; }
[data-sortable] .kcard { cursor: grab; }
.sortable-ghost { opacity: 0.4; }
.sortable-chosen { box-shadow: 0 0 0 2px var(--focus); }

/* --- Комментарии (#158) --- */

.comment-form { margin-top: 16px; }
.input--comment { min-height: 80px; resize: vertical; font-family: inherit; line-height: 1.5; }
.mentions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.comment__actions { display: flex; gap: 4px; margin-top: 4px; }
.comment__actions form { display: inline; }

/* --- Чек-листы (#161) --- */

.checklist__item form:first-child { display: contents; }
.check-toggle {
  width: 20px; height: 20px; padding: 0; flex-shrink: 0; align-self: center;
  border: 1px solid var(--border); border-radius: 4px; background: var(--surface);
  color: var(--accent-text); font-size: 13px; line-height: 1; cursor: pointer;
}
.check-toggle[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.check-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.checklist__edit { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.checklist__add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.checklist__add .input { flex: 1; min-width: 160px; min-height: 36px; }
.checklist__add .form__error { flex-basis: 100%; }
.checklist__new { margin-top: 20px; }
@media (max-width: 640px) {
  .check-toggle { width: 28px; height: 28px; }
}

/* --- Блокировки (#162) --- */

.blocker form { margin-top: 6px; }

/* --- Мои карточки (#164) --- */

.board-filter { display: flex; gap: 4px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; }
.board-filter a { padding: 4px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 14px; }
.board-filter a[aria-current="page"] { background: var(--surface-2); color: var(--text); }

/* Обновления опросом (#90): плашка «Карточку изменили». */
.live-notice { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--accent); border-radius: 6px; }
.live-notice[hidden] { display: none; }

/* История карточки (#193). */
.history { margin: 0; padding: 0; list-style: none; }
.history__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }

/* Поиск (#195): поле в шапке и страница результатов. */
.topbar__search { flex: 0 1 260px; min-width: 0; }
.topbar__search .input { width: 100%; }
.input--sm { padding-top: 4px; padding-bottom: 4px; }
.search-form { display: flex; gap: 8px; margin: 0 0 16px; }
.search-form .input { flex: 1; min-width: 0; }
.search-group h2 { margin-top: 24px; }
.search-results { margin: 0; padding-left: 20px; }
.search-results li { padding: 4px 0; }
/* На телефоне поля поиска в шапке нет — вместо него ссылка на страницу поиска. */
.topbar__search-link { display: none; }
@media (max-width: 640px) {
  .topbar__search { display: none; }
  .topbar__search-link { display: inline-block; }
}

/* Фильтры доски (#196). */
.board-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.board-filters select { width: auto; max-width: 220px; }

/* Телефон (#201): правила после базовых, чтобы перекрыть их. */
@media (max-width: 640px) {
  .board-head__new { margin-left: 0; }
  .board-filters select { flex: 1 1 140px; max-width: none; }
  .history__item { flex-direction: column; }
}
@media (max-width: 640px) {
  /* «Мои доски» не разламывается на две строки. */
  .topbar__nav a { padding: 6px 8px; white-space: nowrap; }
  .topbar__user .btn--quiet { padding-left: 8px; padding-right: 8px; }
}

/* Админка (#206). */
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.admin-table th { font-weight: 600; color: var(--muted); font-size: 13px; }
.admin-form { max-width: 640px; }
.input--date { max-width: 200px; }
.board-picker { margin: 12px 0; padding: 0; border: 0; }
.board-picker__tools { position: sticky; top: 0; z-index: 1; display: grid; gap: 4px; padding: 8px 0; background: var(--bg); }
.board-picker__tools p { margin: 0; }
.board-picker__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.board-picker__row select { width: auto; }
.board-tree { margin: 0; padding: 0; list-style: none; }
.board-tree .board-tree { padding-left: 20px; }
.board-tree__boards { margin: 0 0 4px; padding: 0 0 0 20px; list-style: none; }
.board-tree__title { padding: 6px 0; cursor: pointer; font-weight: 600; }
.board-tree__title--folder::after { content: " · папка"; color: var(--muted); font-weight: 400; }
.notice { padding: 8px 12px; border: 1px solid var(--accent); border-radius: 6px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
