[hidden] { display: none !important; }
/* ÖRKEN CRM demo: таймер с обратным отсчётом, лесенка дозвона, «Отложить», «Прозвоны». */
.timer.cd::before { content: "⏱ "; font-weight: 400; }
.timer.warn { color: #9a6a00; }
.cdbar { height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cdbar i { display: block; height: 100%; width: 100%; background: var(--ok); transition: width 1s linear, background .3s; }
.cdbar.warn i { background: #d9a400; }
.cdbar.late i { background: var(--late); }

.ladder { display: grid; gap: 12px; }
.lday { border-left: 3px solid var(--line); padding-left: 12px; }
.lday.cur { border-left-color: var(--accent); }
.lday b { font-family: var(--serif); font-size: 16px; }
.lday ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; }
.lday li.now { font-weight: 700; color: var(--accent); }
.lday li .tag { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.nextstep { margin-top: 10px; }

.cb-group h2 .count.late { background: var(--late); }
.cb-item .when { font-variant-numeric: tabular-nums; font-weight: 700; }
.cb-item .when.late { color: var(--late); }
.cb-item .note { font-size: 14px; }
.cb-sum { margin-bottom: 4px; }
.cb-sum .card b.late { color: var(--late); }

.rules-table td, .rules-table th { white-space: normal; vertical-align: top; }
.tgmsg { background: #e7f3dc; border-radius: 14px 14px 14px 4px; padding: 10px 12px; max-width: 420px; font-size: 14.5px; }
.stepno { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; margin-right: 6px; }

.bottomnav[data-n="6"] { grid-template-columns: repeat(6, 1fr); }
.bottomnav[data-n="6"] a { font-size: 10.5px; }
.bottomnav[data-n="3"] { grid-template-columns: repeat(3, 1fr); }
#admap select { min-width: 140px; }
@media (max-width: 520px) { #admap th:last-child, #admap td:last-child { display: none; } }
.prod-badge { font-weight: 600; margin-left: 4px; vertical-align: 2px; }
