/* Табло заявок e-Lab Factor — макет D (1920×1080, масштабируется под экран) */

:root {
  --bg: #06112A;
  --bar: #081734;
  --card: #0F2347;
  --panel: #0D1F42;
  --line: #16294D;
  --line2: #1C3260;
  --text: #FFFFFF;
  --soft: #C7D4EC;
  --muted: #9DB0D3;
  --ok: #34D399;
  --warn: #FFB020;
  --late: #FF5B4A;
  --blue: #3BA8FF;
  --orange: #FF7A00;
  /* ===== Зелёный «В работе» — менять здесь ===== */
  --work: #4CD137;          /* яркий зелёный: бейдж, рамка, имя менеджера, реакция, «Взяты в работу» */
  --work-soft: #7CE85F;     /* посветлее — мелкий текст («реакция N мин», чип согласия) */
  --work-bg-1: #1F7A2A;     /* фон карточки «В работе»: верхний левый угол (светлее) */
  --work-bg-2: #165E26;     /* …середина */
  --work-bg-3: #114A22;     /* …нижний правый угол (темнее) */
  --work-glow: rgba(76, 209, 55, 0.25); /* свечение вокруг карточки (0 — без свечения) */
  /* ===== Зелёная (мятная) карточка «Позвонить первым» (ждёт до 30 мин) — менять здесь ===== */
  --ok-tint: rgba(52, 211, 153, 0.16);  /* прозрачный мятный поверх тёмной основы (больше число — зеленее) */
  --ok-base: #0A1614;       /* тёмная нейтральная основа под мятным */
  --ok-glow: rgba(52, 211, 153, 0.22);  /* свечение вокруг карточки */
  /* ===== Жёлтая карточка «Позвонить первым» (ждёт 30 мин – 1 ч 30 мин) — менять здесь ===== */
  --warn-tint: rgba(255, 176, 32, 0.20); /* прозрачный жёлтый поверх тёмной основы (больше число — желтее) */
  --warn-base: #16120A;     /* тёмная нейтральная основа под жёлтым (на синем жёлтый сереет) */
  --warn-glow: rgba(255, 176, 32, 0.28); /* свечение вокруг карточки */
  /* ===== Красная карточка «Дольше нормы» (ждёт больше 1 ч 30 мин) — менять здесь ===== */
  --late-tint: rgba(255, 91, 74, 0.20); /* прозрачный красный поверх тёмной основы (больше число — краснее) */
  --late-base: #170C0B;     /* тёмная нейтральная основа под красным (на синем красный уходит в сиреневый) */
  --late-glow: rgba(255, 91, 74, 0.30); /* свечение вокруг карточки */
  /* Пороги ожидания (до 30 мин и т.д.) — отдельно, --ok / --warn / --late */
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

/* Курсор прячется, если мышь не двигали 3 секунды */
body.hide-cursor,
body.hide-cursor * { cursor: none; }

body {
  color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.mono { font-family: var(--mono); }

/* ---------- Холст 1920×1080 ---------- */
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* ---------- Шапка ---------- */
.top {
  height: 104px;
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 22px; }
/* Знак e-Lab Factor (белый вариант, public/img/logo-white.svg) */
.logo { width: 60px; height: 60px; display: block; flex-shrink: 0; }
.brand-name { font-size: 34px; font-weight: 700; white-space: nowrap; }
.brand-sep { width: 1px; height: 40px; background: #24406F; }
.brand-sub { font-size: 30px; font-weight: 500; color: var(--muted); white-space: nowrap; }

.live {
  display: flex;
  align-items: center;
  gap: 14px;
  padding:  10px 14px;
  border-radius: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #5EEAB4;
  background: rgba(52, 211, 153, 0.10);
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  white-space: nowrap; max-width: 720px; min-width: 0; /* статус в одну строку, не сдвигает логотип и часы */
}
#liveText { overflow: hidden; text-overflow: ellipsis; }
.live-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: currentColor;
  animation: blink 2s ease-in-out infinite;
}
.live.is-error { color: #1A0603; background: var(--late); border-color: var(--late); }
.live.is-wait { color: var(--muted); background: var(--panel); border-color: var(--line2); }

.clock { display: flex; align-items: baseline; gap: 24px; }
.date { font-size: 28px; color: var(--muted); white-space: nowrap; }
.time { font-size: 68px; font-weight: 700; line-height: 1; }

/* ---------- Основная часть ---------- */
.body {
  flex: 1;
  min-height: 0;
  padding: 32px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 40px;
}
.left, .right { display: flex; flex-direction: column; gap: 16px; min-height: 0; }

.sec-head { height: 40px; display: flex; align-items: baseline; justify-content: space-between; }
.label { font-size: 26px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.label-ok { color: var(--ok); }
.label-warn { color: var(--warn); }
.label-muted { color: var(--muted); }
.label-late { color: #FF8A7A; }
.label-blue { color: var(--blue); height: 40px; display: flex; align-items: baseline; }
.label-gap { margin-top: 12px; }
.norm { font-size: 24px; color: var(--muted); }

.queue { display: flex; flex-direction: column; gap: 16px; min-height: 0; flex: 1; overflow: hidden; }
/* Цвет уровня ожидания: ставит JS через data-level */
[data-level="ok"]   { --lvl: var(--ok); }
[data-level="warn"] { --lvl: var(--warn); }
[data-level="late"] { --lvl: var(--late); }

/* ---------- Главная карточка «Позвонить первым» ---------- */
.featured {
  flex-shrink: 0;
  border-radius: 22px;
  border: 3px solid var(--lvl, var(--warn));
  background: var(--card);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  transition: border-color 0.6s;
}
/* Ждёт до 30 минут — мятная карточка */
.featured[data-level="ok"] {
  background: linear-gradient(var(--ok-tint), var(--ok-tint)), var(--ok-base); /* мягкая мятная подложка */
  box-shadow: 0 0 40px var(--ok-glow);
}
.featured[data-level="ok"] .timer-box, .featured[data-level="ok"] .qr-box { background: rgba(3, 12, 10, 0.6); }
/* Ждёт больше 30 минут — жёлтая карточка, дольше нормы — красная */
.featured[data-level="warn"] {
  background: linear-gradient(var(--warn-tint), var(--warn-tint)), var(--warn-base); /* мягкая жёлтая подложка */
  box-shadow: 0 0 40px var(--warn-glow);
}
.featured[data-level="late"] {
  background: linear-gradient(var(--late-tint), var(--late-tint)), var(--late-base); /* мягкая красная подложка */
  box-shadow: 0 0 40px var(--late-glow);
}
.featured[data-level="warn"] .timer-box, .featured[data-level="warn"] .qr-box { background: rgba(12, 9, 2, 0.6); }
.featured[data-level="late"] .timer-box, .featured[data-level="late"] .qr-box { background: rgba(14, 4, 3, 0.6); }

.f-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.f-top { display: flex; align-items: center; gap: 18px; }
.badge {
  padding: 8px 20px; border-radius: 999px;
  background: var(--lvl, var(--warn)); color: #140A00;
  font-size: 24px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.f-meta { font-size: 26px; color: var(--muted); white-space: nowrap; }
.f-name {
  font-size: 72px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}
.f-phone { font-size: 70px; font-weight: 700; letter-spacing: -0.02em; }
.f-email { font-size: 32px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { padding: 8px 18px; border-radius: 12px; font-size: 24px; font-weight: 700; }
.chip-ok { background: rgba(52, 211, 153, 0.14); color: #5EEAB4; }

.f-side { display: flex; flex-direction: column; gap: 16px; }
.timer-box {
  border-radius: 20px;
  background: var(--bar);
  padding: 44px 41px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cap { font-size: 20px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.f-timer { font-size: 90px; font-weight: 800; line-height: 1; color: var(--lvl, var(--warn)); }
.bar { width: 100%; height: 12px; border-radius: 6px; background: var(--line2); overflow: hidden; margin-top: 6px; }
.bar-fill { height: 12px; width: 0; border-radius: 6px; background: var(--lvl, var(--warn)); transition: width 0.9s linear; }
.cap2 { font-size: 20px; color: var(--muted); }

.qr-box {
  border-radius: 20px; background: var(--bar);
  padding: 16px 22px;
  display: flex; align-items: center; gap: 20px;
}
.qr {
  width: 110px; height: 110px; flex-shrink: 0;
  background: #FFFFFF; border-radius: 10px; padding: 8px;
}
.qr svg { display: block; width: 100%; height: 100%; }
.qr-text { display: flex; flex-direction: column; gap: 4px; }
.qr-text b { font-size: 26px; line-height: 1.2; }
.qr-text span { font-size: 22px; color: var(--muted); line-height: 1.3; }

/* ---------- Остальная очередь ---------- */
.row {
  height: 88px; flex-shrink: 0;
  border-radius: 6px 22px 22px 6px; /* слева почти прямые углы — цветная полоска ровная, не дугой */
  background: var(--panel);
  border-left: 6px solid var(--lvl, var(--warn));
  padding: 0 36px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px 90px 170px;
  align-items: center;
  gap: 24px;
}
.r-name { display: flex; align-items: center; gap: 16px; min-width: 0; }
.r-name .nm { font-size: 36px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-badge {
  display: none; flex-shrink: 0;
  padding: 4px 12px; border-radius: 8px;
  background: var(--blue); color: var(--bg);
  font-size: 18px; font-weight: 800; letter-spacing: 0.08em;
}
.row.is-new .new-badge { display: inline-block; }
.r-phone { font-size: 30px; font-weight: 500; color: var(--soft); white-space: nowrap; }
.r-recv { font-size: 26px; color: var(--muted); }
.r-timer { font-size: 48px; font-weight: 800; color: var(--lvl, var(--warn)); text-align: right; white-space: nowrap; }
/* Таймер дольше часа («16ч 02м», «1д 16ч») — мельче, чтобы влезал */
.f-timer.is-long { font-size: 66px; }
.r-timer.is-long { font-size: 38px; }
.call-wait-timer.is-long { font-size: 48px; }

.more {
  flex-shrink: 0;
  font-size: 28px; font-weight: 700; color: var(--muted);
  padding: 8px 30px;
}

/* ---------- Пусто (D5) ---------- */
.empty {
  flex: 1; min-height: 0;
  border-radius: 22px;
  border: 2px dashed #24406F;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; text-align: center; padding: 40px;
}
.empty-ring {
  width: 180px; height: 180px; border-radius: 50%;
  border: 6px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  animation: breathe 4s ease-in-out infinite;
}
.empty-title { font-size: 68px; font-weight: 800; letter-spacing: -0.01em; }
.empty-sub { font-size: 32px; color: var(--muted); }
.empty-hint { font-size: 28px; color: var(--muted); }

/* ---------- Правая колонка ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { border-radius: 22px; background: var(--panel); padding: 20px 28px; display: flex; flex-direction: column; gap: 4px; }
.stat-cap { font-size: 24px; color: var(--muted); }
.stat-num { font-family: var(--mono); font-size: 84px; font-weight: 500; line-height: 1.05; }
.stat-num.is-ok { color: var(--ok); }
.stat-num.is-warn { color: var(--warn); }
.stat-num.is-late { color: #FF8A7A; }
.stat-ok { color: var(--work); }
.stat-unit { font-family: 'Onest', system-ui, sans-serif; font-size: 34px; color: var(--muted); font-weight: 700; } /* «мин» — обычным шрифтом */
.stat-num.is-long { font-size: 84px; white-space: nowrap; } /* «2 ч 26 мин» */
.stat-num.is-long .stat-unit { font-size: 28px; }

.t-empty { font-size: 24px; color: var(--muted); padding: 8px 4px; }

/* ---------- E2: очередь пуста, но сегодня брали заявки ---------- */
/* Карточка «В работе» — как «Позвонить первым», но зелёная */
.featured.inwork {
  --lvl: var(--work);
  background: linear-gradient(135deg, var(--work-bg-1) 0%, var(--work-bg-2) 45%, var(--work-bg-3) 100%); /* зелёная карточка */
  box-shadow: 0 0 40px var(--work-glow);
}
.inwork .f-meta { color: #CDEFC4; }
.inwork .f-email { color: #E4F7DE; }
.inwork .work-box { background: rgba(4, 30, 8, 0.55); }
.inwork .cap, .inwork .w-sub { color: #B9E3AE; }
.inwork .badge { color: #0B1F04; }
.inwork .chip-ok { background: rgba(4, 30, 8, 0.45); color: var(--work-soft); }
.inwork [data-level="ok"] { --lvl: var(--work); } /* реакция в норме — тем же зелёным; дольше — жёлтый/красный как обычно */
.inwork .f-side { justify-content: space-between; }
.work-box {
  flex: 1;
  border-radius: 20px;
  background: var(--bar);
  padding: 22px 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-width: 0;
}
.w-who {
  font-size: 56px; font-weight: 800; line-height: 1.1; color: var(--work);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w-react { font-size: 64px; font-weight: 800; line-height: 1.05; color: var(--lvl, var(--ok)); white-space: nowrap; }
.w-who.is-mid { font-size: 42px; }
.w-who.is-small {
  font-size: 32px; white-space: normal; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.w-react.is-long { font-size: 52px; }
.w-sub { font-size: 22px; line-height: 1.3; color: var(--muted); }

/* Под карточкой — спокойная панель «Новых заявок нет» */
.idle {
  flex: 1; min-height: 0;
  border-radius: 22px;
  border: 2px dashed #24406F;
  display: flex; align-items: center; justify-content: center; gap: 32px;
  padding: 24px 40px;
}
.idle-ring {
  width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%;
  border: 4px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.idle-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.idle-title { font-size: 44px; font-weight: 800; }
.idle-sub { font-size: 26px; color: var(--muted); }
.idle-sub b { color: var(--text); }

/* ---------- Менеджеры за неделю ---------- */
.managers { flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; }
.mgr {
  flex-shrink: 0;
  border-radius: 22px; background: var(--panel);
  padding: 14px 26px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.mgr[hidden] { display: none; }
.mgr-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
.place {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #140A00;
}
.place-1 { background: #FFB020; }
.place-2 { background: #C7D4EC; }
.place-3 { background: #B4703C; color: #FFFFFF; }
.place-n { background: var(--line2); color: var(--soft); }
.mgr-name { flex: 1; min-width: 0; font-size: 32px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mgr-count { flex-shrink: 0; font-size: 22px; color: var(--muted); white-space: nowrap; }
.mgr-count b { font-size: 44px; font-weight: 700; color: var(--text); line-height: 1; }
.mgr-bottom { display: flex; align-items: center; gap: 20px; }
.mgr-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--line2); overflow: hidden; }
.mgr-bar-fill { height: 8px; border-radius: 4px; background: var(--blue); }
.mgr-react { flex-shrink: 0; min-width: 190px; text-align: right; font-size: 22px; color: var(--muted); white-space: nowrap; } /* фикс. ширина — полосы одной длины */
.mgr-react b { color: var(--work-soft); font-weight: 700; }

/* ---------- Подвал ---------- */
.bottom {
  height: 64px; flex-shrink: 0;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 22px; color: var(--muted);
}
.legend { display: flex; align-items: center; gap: 40px; }
.legend span { display: flex; align-items: center; gap: 10px; }
.sw { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.sw-ok { background: var(--ok); }
.sw-warn { background: var(--warn); }
.sw-late { background: var(--late); }

.live.is-sound-off { color: #1A0E00; background: var(--warn); border-color: var(--warn); }

/* ---------- Вызов: новая заявка (D2) ---------- */
.call {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--bg);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.call[hidden] { display: none; }

.call-banner {
  height: 128px; flex-shrink: 0;
  border-radius: 22px;
  background: linear-gradient(90deg, #FFB020, #FF7A00);
  color: #140A00;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  animation: callPulse 1.3s ease-in-out infinite;
}
.call-title { display: flex; align-items: center; gap: 28px; }
.call-bell {
  width: 76px; height: 76px; border-radius: 50%;
  background: #140A00;
  display: flex; align-items: center; justify-content: center;
  animation: bellRing 1.3s ease-in-out infinite;
}
.call-title-text { font-size: 64px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.call-right { display: flex; align-items: center; gap: 28px; }
.call-more {
  padding: 10px 22px; border-radius: 999px;
  background: #140A00; color: #FFB020;
  font-size: 28px; font-weight: 800;
}
.call-time { font-size: 64px; font-weight: 800; }

.call-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 28px; }
.call-card {
  border-radius: 22px; background: var(--card); border: 2px solid var(--line2);
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  min-width: 0;
}
.call-meta { font-size: 32px; color: var(--muted); }
.call-name {
  font-size: 104px; font-weight: 800; line-height: 1.04; letter-spacing: -0.025em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}
.call-phone { font-size: 112px; font-weight: 800; line-height: 1.1; color: var(--warn); white-space: nowrap; letter-spacing: -0.02em; }
.call-email { font-size: 44px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-card .chip { font-size: 28px; padding: 10px 22px; border-radius: 14px; margin-top: 8px; align-self: flex-start; }

.call-qr {
  border-radius: 22px; background: var(--card); border: 2px solid var(--warn);
  padding: 44px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; text-align: center;
}
.call-qr-title { font-size: 38px; font-weight: 800; line-height: 1.2; }
.call-qr-code { width: 340px; height: 340px; background: #FFFFFF; border-radius: 24px; padding: 22px; }
.call-qr-code svg { display: block; width: 100%; height: 100%; }
.call-steps { display: flex; flex-direction: column; gap: 10px; font-size: 28px; font-weight: 700; }
.call-steps b { color: var(--warn); margin-right: 8px; }

.call-bottom {
  height: 96px; flex-shrink: 0;
  border-radius: 22px; background: var(--panel);
  padding: 0 44px;
  display: flex; align-items: center; justify-content: space-between;
}
.call-others { font-size: 30px; font-weight: 600; }
.call-others .muted { color: var(--muted); }
.call-others .mono { color: var(--warn); font-weight: 700; }
.call-wait { display: flex; align-items: baseline; gap: 18px; }
.call-wait-cap { font-size: 26px; color: var(--muted); }
.call-wait-timer { font-size: 56px; font-weight: 800; color: var(--lvl, var(--ok)); }

/* ---------- D3: заявку взяли в работу ---------- */
.tk {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(3, 9, 22, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tk[hidden] { display: none; }
.tk-card {
  width: 1320px;
  border-radius: 22px;
  background: var(--ok);
  color: #04241A;
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  animation: pop 0.5s ease-out both;
}
.tk-icon {
  width: 200px; height: 200px; border-radius: 50%;
  background: #04241A;
  display: flex; align-items: center; justify-content: center;
}
.tk-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tk-eyebrow { font-size: 30px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.tk-who { font-size: 112px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-client { font-size: 40px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-react { font-size: 32px; font-weight: 600; }
.tk-react .mono { font-weight: 800; }

/* ---------- D4: кто-то ждёт дольше 15 минут ---------- */
.stage.is-overdue::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 0 6px var(--late), inset 0 0 200px rgba(255, 91, 74, 0.28);
  animation: overduePulse 3s ease-in-out infinite;
}

/* ---------- Анимации ---------- */
@keyframes pop { 0% { transform: scale(0.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes overduePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes callPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 160, 32, 0.55); } 50% { box-shadow: 0 0 0 24px rgba(255, 160, 32, 0); } }
@keyframes bellRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.06); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .empty-ring, .call-banner, .call-bell, .tk-card, .stage.is-overdue::after { animation: none; }
}
