/* Веб-кабинет «Задачи вашей команды» — в стиле avetdigital.ru:
   заголовки Montserrat 900, текст JetBrains Mono, основной #107FCE, скругления 25px, мягкие тени. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/montserrat-cyrillic.woff2?v=2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/montserrat-latin.woff2?v=2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrainsmono-cyrillic.woff2?v=2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/jetbrainsmono-latin.woff2?v=2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --primary: #107FCE; --primary-dark: #005EBF; --primary-soft: rgba(16,127,206,.08);
  --text: #1C1C1C; --muted: #54595F; --line: #E4E4E4; --bg: #F4F7FB; --card: #FFFFFF;
  --late: #E5484D; --late-soft: #FDECEC; --ok: #1E9E5A; --ok-soft: #E3F7EA;
  --radius: 25px; --shadow: 0 0 10px rgba(0,0,0,.08); --shadow-hover: 2px 8px 23px 3px rgba(0,0,0,.12);
  --head: "Montserrat", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); font: 15px/1.6 var(--mono); background-color: var(--bg);
  /* мягкие цветные пятна фона: сквозь них «жидкое стекло» плиток и шапки выглядит объёмным */
  background-image: radial-gradient(900px 620px at 6% -8%, rgba(16,127,206,.20), transparent 62%),
    radial-gradient(760px 560px at 100% 14%, rgba(0,94,191,.13), transparent 60%),
    radial-gradient(820px 640px at 46% 108%, rgba(52,199,89,.10), transparent 62%),
    radial-gradient(600px 420px at 88% 70%, rgba(229,72,77,.06), transparent 60%);
  background-attachment: fixed; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--head); font-weight: 900; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(24px, 3.75vw, 37px); line-height: 1.1; margin: 0 0 10px; }
h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 44px 0 14px; }
h3 { font-size: 15px; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--late); font-weight: 700; }

/* --- шапка --- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 48px); view-transition-name: top;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 8px 30px -14px rgba(16,60,120,.30), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(16,127,206,.08); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none;
  font: 900 18px/1 var(--head); }
.brand img { border-radius: 12px; }
.user { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.user a { color: var(--text); text-decoration: none; font-weight: 600; }
.user a:hover { color: var(--primary); }
.user .name { color: var(--muted); }
.user form { margin: 0; }
button.ghost, button.link { background: none; border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: var(--radius); padding: 6px 16px; font: 600 13px var(--mono); cursor: pointer; }
button.ghost:hover, button.link:hover { background: var(--primary); color: #fff; }

main { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px); }
footer { text-align: center; color: var(--muted); font-size: 12px; padding: 36px 16px; }
.flash { background: var(--ok-soft); color: var(--ok); border-radius: var(--radius); padding: 10px 20px; font-weight: 600;
  display: inline-block; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.crumbs a { text-decoration: none; }

/* --- вход --- */
.login { max-width: 560px; margin: 8vh auto; border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.login h1 { font-size: clamp(28px, 4vw, 38px); }

/* --- жидкое стекло: полупрозрачная заливка, размытие фона, светлая кромка и блик сверху --- */
.glass, .table-wrap, .chart-box, .task-form, .history, .readonly, .login {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.52) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 14px 34px -16px rgba(16,60,120,.30), 0 2px 6px rgba(16,60,120,.05),
    inset 0 1px 0 rgba(255,255,255,.95), inset 0 -10px 24px -18px rgba(16,127,206,.18); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 70% at 12% 0%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%); }

/* --- показатели: стеклянные плитки с объёмом; клик «проваливает» в список задач --- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 8px;
  perspective: 900px; }
.stat { border-radius: var(--radius); padding: 22px 24px; overflow: hidden; --tint: rgba(16,127,206,.16); }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, var(--tint), transparent 70%); pointer-events: none; }
.stat.late { --tint: rgba(229,72,77,.20); } .stat.ok { --tint: rgba(30,158,90,.18); }
.stat b { display: block; font: 900 40px/1 var(--head); color: var(--primary); text-shadow: 0 6px 18px var(--tint); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.stat.late b { color: var(--late); } .stat.ok b { color: var(--ok); }
a.stat { text-decoration: none; color: inherit; transform-style: preserve-3d; will-change: transform;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1); }
a.stat .go { position: absolute; top: 20px; right: 22px; font-style: normal; color: var(--primary); opacity: 0;
  transform: translateX(-6px); transition: opacity .3s, transform .3s; }
a.stat.late .go { color: var(--late); } a.stat.ok .go { color: var(--ok); }
/* наклон при наведении — только с мышью: на телефоне «наведение» залипает после касания */
@media (hover: hover) {
  a.stat:hover { transform: translateY(-6px) rotateX(7deg) scale(1.02);
    box-shadow: 0 26px 40px -18px rgba(16,60,120,.40), 0 4px 10px rgba(16,60,120,.06),
      inset 0 1px 0 #fff, inset 0 -10px 24px -18px rgba(16,127,206,.25); }
  a.stat:hover .go { opacity: 1; transform: none; }
}
a.stat:active { transform: translateY(2px) scale(.95); transition-duration: .12s; }   /* «нажатие внутрь» */
a.stat:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* --- страница категории: плитка вырастает в большую панель --- */
.drill-hero { border-radius: var(--radius); padding: 28px 32px; margin: 6px 0 18px; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; --tint: rgba(16,127,206,.18); }
.drill-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, var(--tint), transparent 70%); }
.drill-hero.late { --tint: rgba(229,72,77,.22); } .drill-hero.ok { --tint: rgba(30,158,90,.2); }
.drill-hero b { font: 900 56px/1 var(--head); color: var(--primary); text-shadow: 0 8px 24px var(--tint); }
.drill-hero.late b { color: var(--late); } .drill-hero.ok b { color: var(--ok); }
.drill-hero span { font: 900 clamp(20px, 2.6vw, 26px)/1.2 var(--head); }
.drill-hero em { flex-basis: 100%; font-style: normal; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.tabs .chip b { margin-left: 4px; }

/* --- группы: стеклянные карточки, подъём при наведении --- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.card.glass::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #4FB3F6); }
.card b { font: 900 17px/1.3 var(--head); }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
@media (hover: hover) {
  a.card:hover { transform: translateY(-3px); box-shadow: 0 22px 38px -18px rgba(16,60,120,.38), inset 0 1px 0 #fff; }
}
a.card:active { transform: scale(.98); }
.badge { align-self: flex-start; border-radius: var(--radius); padding: 2px 12px; font-size: 12px; font-weight: 700; }
.badge.late { background: var(--late-soft); color: var(--late); }

/* --- таблицы --- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: rgba(255,255,255,.35); text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); padding: 16px 16px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th a.sort { color: var(--muted); text-decoration: none; }
th a.sort:hover, th a.sort.on { color: var(--primary); }
th a.sort .arrow { font-size: 10px; margin-left: 4px; }
td { padding: 14px 16px; border-bottom: 1px solid rgba(16,60,120,.07); vertical-align: middle; }
tbody tr { transition: background .1s; }
tbody tr:hover { background: var(--primary-soft); }
tr:last-child td { border-bottom: 0; }
tr.is-late td:first-child { box-shadow: inset 4px 0 0 var(--late); }
td.num { color: var(--muted); white-space: nowrap; }
td.nowrap { white-space: nowrap; }
td a { color: var(--text); font-weight: 600; text-decoration: none; }
td a:hover { color: var(--primary); }
.empty { padding: 20px 4px; }
.prio, .status { display: inline-block; border-radius: var(--radius); padding: 3px 12px; font-size: 12px; font-weight: 700;
  white-space: nowrap; }
.prio.p1 { background: var(--late-soft); color: #B42318; } .prio.p2 { background: #FFF4D6; color: #8A6100; }
.prio.p3 { background: var(--ok-soft); color: var(--ok); }
.status.s-new { background: #EEF1F5; color: var(--text); } .status.s-in_progress { background: var(--primary-soft); color: var(--primary); }
.status.s-done { background: var(--ok-soft); color: var(--ok); } .status.s-cancelled { background: #F1F1F1; color: var(--muted); }
.late { color: var(--late); font-weight: 700; }

/* --- кнопки, фильтры, формы --- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; align-items: center; }
.btn { display: inline-block; background: var(--primary); color: #fff; border: 0; border-radius: var(--radius);
  padding: 12px 26px; font: 700 14px var(--mono); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--primary-dark); }
.btn.ghost-dark { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }
.btn.danger { background: var(--late); } .btn.danger:hover { background: #C53035; }
.chip { border-radius: var(--radius); padding: 8px 18px; text-decoration: none; color: var(--text); font-weight: 600;
  font-size: 13px; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 4px 12px -8px rgba(16,60,120,.35); transition: background .15s, color .15s; }
.chip:hover { color: var(--primary); background: rgba(255,255,255,.85); }
.chip.active { background: linear-gradient(135deg, #2A93DE, var(--primary-dark)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px rgba(0,94,191,.6); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; align-items: flex-end; }
.filters.glass { border-radius: var(--radius); padding: 16px 18px; }
/* фильтры графиков — ровная сетка: 6 колонок на компьютере, 3 на планшете, 2 на телефоне */
.chart-filters { padding: 12px 16px; gap: 8px 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.chart-filters label > * { width: 100%; min-width: 0; }
.chart-filters button { align-self: end; }
.chart-filters .presets { grid-column: 1 / -1; }
.chart-filters select, .chart-filters input { padding: 7px 12px; font-size: 13px; }
.chart-filters button { padding: 8px 20px; font-size: 13px; }
.chart-filters .chip { padding: 5px 14px; font-size: 12px; }
.chart-filters label { display: flex; flex-direction: column; gap: 3px; font: 700 10px var(--mono); text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); }
.chart-filters .presets { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; align-items: center; }
.chart-filters .reset { margin-left: auto; font-size: 12px; color: var(--muted); }
select, input[type=search], input[type=date], textarea { font: 14px var(--mono); border: 1.5px solid rgba(16,60,120,.10);
  border-radius: var(--radius); padding: 10px 16px; background: rgba(255,255,255,.72); color: var(--text); }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--primary); }
.filters button { font: 700 14px var(--mono); border: 0; border-radius: var(--radius); padding: 10px 22px;
  background: var(--text); color: #fff; cursor: pointer; }
.task-form { border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.task-form label { display: flex; flex-direction: column; gap: 8px; font: 700 12px var(--mono); text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); }
.task-form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.task-form textarea { resize: vertical; min-height: 90px; border-radius: 18px; font-size: 15px; text-transform: none;
  letter-spacing: 0; color: var(--text); }
.task-form .btn { align-self: flex-start; }
.task-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0 20px; font-size: 13px; }
.readonly { border-radius: var(--radius); padding: 22px; font-size: 17px; font-weight: 600; }
.danger-zone { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; max-width: 900px; }
.danger-zone .check { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.history { list-style: none; padding: 0; margin: 0; font-size: 13px; border-radius: var(--radius); overflow: hidden; }
.history li { padding: 12px 22px; border-bottom: 1px solid rgba(16,60,120,.07); }
.history li:last-child { border-bottom: 0; }

/* --- графики (внизу страницы) --- */
.charts { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 4px; }
.charts h2 { margin: 24px 0 12px; }
.chart-box { border-radius: var(--radius); padding: 24px; margin: 16px 0; }
.chart-box h3 + .small { margin: -8px 0 8px; }
/* раздел графиков в один экран: большой график слева, полосы — в колонке справа */
.chart-layout { display: grid; gap: 14px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.chart-side { display: grid; gap: 14px; }
.chart-pair { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.chart-pair .chart-box { margin: 0; }
.chart-pair svg.chart .lbl-left, .chart-pair svg.chart .val-left { font-size: 14px; }
.chart-layout .chart-box { margin: 0; padding: 18px 20px; }
.chart-layout h3 { font-size: 14px; margin-bottom: 8px; }
.charts .stats { margin: 12px 0; }
.stats.mini { gap: 12px; }
.stats.mini .stat { padding: 14px 18px; }
.stats.mini .stat b { font-size: 28px; }
.stats.mini .stat span { margin-top: 4px; font-size: 12px; }
svg.chart.bars { max-width: 480px; }
svg.chart.narrow { display: none; }
.chart-side svg.chart .lbl-left, .chart-side svg.chart .val-left { font-size: 14px; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart .axis { stroke: var(--line); }
svg.chart text { font-family: var(--mono); fill: var(--muted); font-size: 11px; }
svg.chart .val { text-anchor: middle; fill: var(--text); font-weight: 700; }
svg.chart .lbl { text-anchor: middle; }
svg.chart .lbl-left { font-size: 12px; fill: var(--text); font-weight: 600; }
svg.chart .val-left { font-size: 12px; fill: var(--text); font-weight: 700; }
.c-created { fill: var(--primary); color: var(--primary); } .c-done { fill: #34C759; color: #34C759; }
.bar-p1 { fill: #FF5A5F; } .bar-p2 { fill: #FFC233; } .bar-p3 { fill: #34C759; }
.bar-late { fill: var(--late); } .bar-done { fill: #34C759; } .bar-open { fill: var(--primary); }
.legend { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

/* --- анимация перехода между страницами: «проваливание» внутрь плитки (Chrome, Edge, Safari 18.2+) --- */
@view-transition { navigation: auto; }
.vt-open { view-transition-name: drill-open; } .vt-work { view-transition-name: drill-work; }
.vt-overdue { view-transition-name: drill-overdue; } .vt-done { view-transition-name: drill-done; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(root) { animation: .4s cubic-bezier(.4,0,.2,1) both vt-dive-out; }
::view-transition-new(root) { animation: .5s cubic-bezier(.2,.8,.2,1) .05s both vt-dive-in; }
@keyframes vt-dive-out { to { opacity: 0; transform: scale(1.06); filter: blur(4px); } }
@keyframes vt-dive-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  a.stat, a.card, a.stat .go { transition: none; } a.stat:hover, a.card:hover { transform: none; }
}

/* --- планшет --- */
@media (max-width: 980px) {
  .chart-layout { grid-template-columns: 1fr; }
  .chart-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .chart-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  th { padding: 14px 10px 10px; } td { padding: 12px 10px; }
  .stat { padding: 18px 18px; }
}

/* --- телефон --- */
@media (max-width: 680px) {
  body { background-attachment: scroll; }           /* fixed-фон на iPhone дёргается при прокрутке */
  .top { padding: 10px 16px; gap: 8px; } .brand { font-size: 15px; } .brand img { width: 30px; height: 30px; }
  .user { gap: 10px; } .user .name { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px 18px; } .stat b { font-size: 32px; }
  .stats.mini .stat b { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
  .table-wrap table { min-width: 620px; }          /* прочие таблицы (руководитель) листаются вбок */
  /* таблица задач на телефоне — стопка карточек: номер и название, группа, затем метки и срок */
  .table-wrap.tasks { overflow: hidden; }
  .table-wrap.tasks table { min-width: 0; }
  .table-wrap.tasks thead { display: none; }
  .table-wrap.tasks tbody { display: block; }
  .table-wrap.tasks tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 14px 16px;
    border-bottom: 1px solid rgba(16,60,120,.07); }
  .table-wrap.tasks tr:last-child { border-bottom: 0; }
  .table-wrap.tasks tr.is-late { box-shadow: inset 4px 0 0 var(--late); }
  .table-wrap.tasks td { display: block; padding: 0; border: 0; box-shadow: none !important; }
  .table-wrap.tasks td.num { font-size: 12px; }
  .table-wrap.tasks td.ttl { flex: 1 1 calc(100% - 48px); font-size: 14px; line-height: 1.4; }
  .table-wrap.tasks td.grp { flex-basis: 100%; font-size: 12px; color: var(--muted); white-space: normal; }
  .table-wrap.tasks td.who { flex: 1 1 0; min-width: 0; font-size: 12px; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .table-wrap.tasks td.due { margin-left: auto; font-size: 12px; }
  .filters > select, .filters > input, .filters > button { flex: 1 1 140px; min-width: 0; }
  .filters > input[type=search] { flex-basis: 100%; }
  .chart-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drill-hero { padding: 20px 22px; } .drill-hero b { font-size: 44px; }
  .chart-layout .chart-box, .chart-box { padding: 16px; }
  svg.chart.wide { display: none; } svg.chart.narrow { display: block; }   /* узкий высокий график */
  svg.chart .lbl-left, svg.chart .val-left { font-size: 14px; }
  .task-form { padding: 20px; }
  /* кнопки группы: главная на всю ширину, остальные — компактно в один ряд */
  .actions { gap: 8px; align-items: stretch; }
  .actions .btn { display: flex; align-items: center; justify-content: center; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .actions .btn.ghost-dark { flex: 1 1 40%; padding: 10px 12px; font-size: 13px; }
  .table-wrap.tasks td.who:has(> .muted:only-child) { display: none; }   /* без исполнителя — не показываем «—» */
}
