/* =========================================================
   Задачник — оформление.
   Тёмная тема по умолчанию, светлая — html[data-theme="light"].
   Все цвета задаются токенами ниже; в компонентах — только var(--…).
   ========================================================= */

:root {
  --bg: #0d0e11;
  --surface: #15171b;
  --surface-2: #1b1e23;
  --surface-3: #23272d;
  --border: #262a31;
  --border-strong: #353a42;
  --text: #e8eaed;
  --muted: #8a909a;
  --faint: #5c626c;

  --accent: #c6f24e;          /* фирменный лаймовый: заливки, акценты */
  --accent-ink: #0d0e11;      /* текст на акцентной заливке */
  --accent-text: #c6f24e;     /* акцент для текста и ссылок */
  --accent-soft: rgba(198, 242, 78, .1);

  --info: #6ea8fe;            /* в работе */
  --warn: #f5b84a;            /* на проверке */
  --ok: #4ade80;              /* готово */
  --idle: #8a909a;            /* к работе */
  --danger: #ff6b6b;
  --meeting: #a78bfa;
  --meeting-soft: rgba(167, 139, 250, .1);

  --radius: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --overlay: rgba(5, 6, 8, .7);
  --glow: radial-gradient(600px 300px at 20% -10%, rgba(198, 242, 78, .07), transparent 70%);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --surface-3: #eceef1;
  --border: #e4e6ea;
  --border-strong: #d2d5db;
  --text: #15171b;
  --muted: #6b7280;
  --faint: #9ca3af;
  --accent-text: #4d7c0f;
  --accent-soft: rgba(132, 204, 22, .14);
  --info: #2563eb;
  --warn: #d97706;
  --ok: #16a34a;
  --idle: #9ca3af;
  --danger: #dc2626;
  --meeting: #7c3aed;
  --meeting-soft: rgba(124, 58, 237, .08);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .18);
  --overlay: rgba(15, 18, 24, .45);
  --glow: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--glow), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- элементы форм ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  min-width: 0;
  transition: border-color .15s, background .15s;
}
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--faint); }
select:disabled, input:disabled { opacity: .7; cursor: default; }
textarea { width: 100%; resize: vertical; min-height: 70px; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(var(--invert, 0)); opacity: .6; cursor: pointer; }
:root:not([data-theme="light"]) { --invert: 1; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
label > input, label > select, label > textarea { font-size: 14px; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--danger); }
.btn.small { padding: 3px 10px; font-size: 13px; }
.btn.link { border: none; background: none; padding: 0; color: var(--accent-text); }
.btn.icon { padding: 6px; width: 32px; height: 32px; }
.btn:disabled { opacity: .55; cursor: default; }
kbd {
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 4px; padding: 2px 5px; color: var(--muted);
}

/* ---------- логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-mark .frame { stroke: var(--text); }
.logo-mark .tick { stroke: var(--accent); }
html[data-theme="light"] .logo-mark .tick { stroke: #65a30d; }
.logo-word { font-size: 17px; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.logo-word i { font-style: normal; color: var(--accent); }
html[data-theme="light"] .logo-word i { color: #65a30d; }
.logo.big { flex-direction: column; align-items: flex-start; gap: 14px; }
.logo.big .logo-mark { width: 48px; height: 48px; }
.logo.big .logo-word { font-size: 23px; }
/* галочка «рисуется» на странице входа */
.logo.big .tick { stroke-dasharray: 32; stroke-dashoffset: 32; animation: draw .7s .2s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- каркас ---------- */
.topbar {
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px; height: 58px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.badge {
  display: inline-block; background: var(--danger); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 0 6px; margin-left: 4px; line-height: 17px;
}
.user-menu { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.user-menu .who { display: flex; gap: 8px; align-items: center; color: inherit; }
.user-menu .who:hover { color: var(--text); text-decoration: none; }
.page { padding: 24px; max-width: 1500px; margin: 0 auto; }
.page.narrow { max-width: 920px; }

/* ---------- панель инструментов и фильтры ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.seg a { padding: 5px 14px; border-radius: 7px; color: var(--muted); transition: .15s; }
.seg a:hover { text-decoration: none; color: var(--text); }
.seg a.on { background: var(--surface-3); color: var(--text); font-weight: 600; }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 14px;
}
.filters label { min-width: 150px; }
.filters label.range { min-width: 140px; }
.filters label.grow { flex: 1; min-width: 200px; position: relative; }
.filters label.grow kbd { position: absolute; right: 9px; bottom: 9px; pointer-events: none; }
.filters select, .filters input { padding: 6px 8px; }

/* ---------- статистика ---------- */
.stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.stat:hover { border-color: var(--border-strong); background: var(--surface-2); }
.stat.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stat .n { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .l { display: flex; align-items: center; font-size: 12px; color: var(--muted); }
.stat.danger .n { color: var(--danger); }
.progress { display: flex; height: 4px; border-radius: 4px; overflow: hidden; background: var(--surface-2); margin: 0 0 16px; gap: 2px; }
.progress span { height: 100%; transition: width .4s ease; }
.found { margin: 0 2px 8px; font-size: 13px; }

/* ---------- статусы, приоритеты ---------- */
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; flex: none; }
.st-todo { background: var(--idle); }
.st-in_progress { background: var(--info); }
.st-review { background: var(--warn); }
.st-done { background: var(--ok); }
.st-bg-todo { background: color-mix(in srgb, var(--idle) 14%, transparent); }
.st-bg-in_progress { background: color-mix(in srgb, var(--info) 15%, transparent); }
.st-bg-review { background: color-mix(in srgb, var(--warn) 15%, transparent); }
.st-bg-done { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 10px 2px 9px; font-size: 12.5px; }
.status-select { border-radius: 999px; padding: 3px 8px; font-size: 12.5px; cursor: pointer; border-color: transparent; }
.status-select option { background: var(--surface); color: var(--text); }
.prio { font-size: 11.5px; font-weight: 600; border-radius: 5px; padding: 1px 7px; }
.prio-urgent { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
.prio-high { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.prio-low { background: var(--surface-2); color: var(--muted); }
.overdue { color: var(--danger); font-weight: 600; }
.due-rel { display: block; font-size: 11.5px; color: var(--muted); }
.due-rel.soon { color: var(--warn); }
.due-rel.late { color: var(--danger); }

/* ---------- реестр ---------- */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
th { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
tr.inactive td { color: var(--faint); }
table.registry { min-width: 900px; }
table.registry th { cursor: pointer; user-select: none; white-space: nowrap; background: var(--surface); position: sticky; top: 0; }
table.registry th:hover, table.registry th.sorted { color: var(--text); }
table.registry tbody tr { cursor: pointer; transition: background .1s; }
table.registry tbody tr:hover { background: var(--surface-2); }
table.registry tbody tr.mine td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
table.registry td { white-space: nowrap; }
table.registry td.title-cell { white-space: normal; min-width: 260px; font-weight: 500; }
td.id-cell { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--faint); }

/* ---------- доска ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.column { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; min-height: 200px; }
.column.drop { outline: 2px dashed var(--accent); outline-offset: -2px; }
.column-head { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; font-weight: 600; }
.column-head .count { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.card.mine { box-shadow: inset 3px 0 0 var(--accent); }
.card.dragging { opacity: .4; }
.card-title { font-weight: 500; margin-bottom: 8px; word-break: break-word; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--muted); }
.tag { background: var(--surface-3); border-radius: 5px; padding: 0 6px; font-size: 11.5px; }
.avatar {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface-3); color: var(--text); border: 1px solid var(--border-strong);
  font-size: 10px; font-weight: 700; flex: none; letter-spacing: .02em;
}
.empty { color: var(--muted); text-align: center; padding: 28px 8px; font-size: 13px; }

/* ---------- модальное окно ---------- */
.overlay {
  position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 16px; overflow-y: auto; z-index: 50;
  animation: fade .15s ease;
}
.modal {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 880px; padding: 22px 24px;
  animation: rise .18s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.modal.small { max-width: 460px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.modal-head .close { font-size: 22px; line-height: 1; border: none; background: none; cursor: pointer; color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.modal-head .close:hover { background: var(--surface-2); color: var(--text); }
.title-input { font-size: 20px; font-weight: 650; width: 100%; border-color: transparent; background: transparent; padding: 4px 8px; margin-left: -8px; letter-spacing: -.01em; }
.task-title { margin: 0; font-size: 20px; }
.task-layout { display: grid; grid-template-columns: 1fr 240px; gap: 26px; }
.task-side { display: flex; flex-direction: column; gap: 12px; }
.hint { font-size: 12px; color: var(--muted); }
.field-label { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.readonly-text { white-space: pre-wrap; word-break: break-word; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 10px; min-height: 48px; }
.hint-box { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: 12px; }
.form-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ---------- комментарии ---------- */
.comments { margin-top: 24px; }
.comment { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); }
.comment-body { flex: 1; min-width: 0; }
.comment-head { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.comment-head b { color: var(--text); font-weight: 600; }
.comment-text { white-space: pre-wrap; word-break: break-word; }
.comment.from-meeting { background: var(--meeting-soft); border: 1px solid color-mix(in srgb, var(--meeting) 25%, transparent); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.meeting-badge { color: var(--meeting); font-weight: 600; }
.comment-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* ---------- панели ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.panel.attention { border-color: color-mix(in srgb, var(--warn) 55%, transparent); box-shadow: inset 3px 0 0 var(--warn); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 14px; }
.list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.list-item:last-child { border-bottom: none; }
.token-box { background: var(--surface-2); border: 1px dashed var(--border-strong); border-radius: 8px; padding: 10px; font-family: ui-monospace, monospace; word-break: break-all; margin: 10px 0; }
.summary { white-space: pre-wrap; }

/* ---------- вход ---------- */
.login-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(500px 340px at 50% 30%, var(--accent-soft), transparent 70%);
}
.login-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 30px 26px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg);
}
.login-card .logo { margin-bottom: 6px; }
.login-card .tagline { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.login-alt { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.notice { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; }
.error { color: var(--danger); font-size: 13px; min-height: 18px; }

#toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-weight: 500;
  opacity: 0; transition: .2s; pointer-events: none; z-index: 100; max-width: 90vw; box-shadow: var(--shadow-lg);
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { background: var(--danger); color: #fff; }

/* ---------- адаптивность ---------- */
@media (max-width: 1000px) {
  .board { grid-template-columns: repeat(4, minmax(250px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .user-menu .name { display: none; }
}
@media (max-width: 720px) {
  .topbar { gap: 8px; padding: 0 12px; }
  .user-menu { gap: 6px; }
  .user-menu .name, .topbar .logo-word, #logout .label { display: none; }
  .nav { overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 9px; white-space: nowrap; }
  .stats { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 8px; padding: 0 14px; }
  .stats::-webkit-scrollbar { display: none; }
  .stat { flex: 0 0 auto; min-width: 104px; padding: 8px 12px; }
  .stat .n { font-size: 19px; }
  .page { padding: 14px; }
  .task-layout { grid-template-columns: 1fr; }
  .filters label { min-width: calc(50% - 5px); flex: 1; }
  .filters label.grow kbd { display: none; }
  .modal { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logo.big .tick { stroke-dashoffset: 0; }
}

/* ---------- поля реестра и импорт ---------- */
td .sub { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.import-plan { margin-top: 16px; padding: 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-2); }
.import-plan.done { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.import-plan table { margin: 8px 0; }
.import-plan td, .import-plan th { padding: 6px 10px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 14px; }
.plan-grid > div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.plan-grid .n { display: block; font-size: 22px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
details summary { cursor: pointer; font-weight: 600; margin: 6px 0; }
.warn-text { color: var(--warn); font-weight: 500; }
@media (max-width: 720px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.badge-soft { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; margin-left: 4px; background: var(--surface-3); color: var(--muted); vertical-align: 1px; }
.badge-soft.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* ---------- блоки, длинные формулировки, импорт с заменой ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.chips.people { padding: 8px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.chips-label { font-size: 12px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 5px 12px; font-size: 13px; transition: .15s;
}
.chip:hover { border-color: var(--border-strong); background: var(--surface-2); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip .cnt { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .85; }
.chip .cnt i { font-style: normal; opacity: .6; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
table.registry td.comment-cell { white-space: normal; min-width: 200px; max-width: 320px; font-size: 13px; color: var(--muted); }
table.registry td.people-cell { white-space: normal; min-width: 150px; }
table.registry td.title-cell { min-width: 300px; }
textarea.title-input { resize: vertical; min-height: 0; line-height: 1.35; }
.danger-box { border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--text); border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; font-size: 13px; }
.danger-box b { color: var(--danger); }
.btn.danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 600; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--text); margin: 4px 0 8px; cursor: pointer; }
.card .card-title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 720px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips.people { margin-left: 0; margin-right: 0; padding: 8px 10px; }
  .chip { flex: none; }
}
