/* Басшылық. Карточки, плитки норм и диалоги — общие с «Кураторлық»
   (curator.css: .cur-bd, .ev-*, .bd-*); здесь только своё. */

.ld .cur-bd + .cur-bd { margin-top: 12px; }
.ld-tiles { grid-template-columns: repeat(5, 1fr); }
.ld-acts { display: flex; gap: 8px; }
.ld-acts .btn { padding: 8px 16px; font-size: 13px; }

/* Кураторы без встречи в этом месяце — плашки, чтобы пропуск был виден. */
.ld-gap { margin: 2px 0 10px; padding: 10px 12px; background: #fdf3e1; border-radius: 12px; }
.ld-gap b { display: block; font-size: 12px; color: #8a5a00; margin-bottom: 6px; }
.ld-gap div { display: flex; flex-wrap: wrap; gap: 4px; }
.ld-gap span { font-size: 12px; padding: 2px 8px; background: var(--surface); border-radius: 999px; color: var(--ink-2); }
.ld-gap.ok { background: var(--green-soft); }
.ld-gap.ok b { color: var(--green-dark); margin: 0; }

.ld-list { grid-template-columns: 1fr; }
.ld-row .bd-main small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.ld-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ld-chips button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  font: inherit; font-size: 13px; color: var(--ink); background: var(--surface-2);
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
}
.ld-chips button:hover { border-color: var(--green); }
.ld-chips i { font-style: normal; font-size: 11px; color: var(--ink-3); }

/* Дней дайындық в месяце до двадцати — в несколько колонок, а не столбом. */
.ld-preps { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

.ld-note { margin: 0 0 8px; font-size: 12px; color: var(--ink-3); }
.ld-talent { max-height: none; }

@media (max-width: 1100px) { .ld-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .ld-tiles { grid-template-columns: repeat(2, 1fr); }
  .ld-tiles > :last-child { grid-column: auto; }
}
