/* «Нужен ответ» everywhere (docs/reply-queue.md): the mark, the queue bar, the lead card callout. */
.sidebar-badge[hidden]{display:none}
.next-action{display:inline-flex;align-items:center;padding:.4rem .58rem;border-radius:999px;background:#eef3f5;color:#526873;font-size:.78rem;font-weight:700;white-space:nowrap}
.next-action-now{background:#fff0dc;color:#8a4b00}
.next-action-muted{color:#809099}
a.next-action{text-decoration:none;cursor:pointer;transition:background-color .15s ease}
a.next-action-now:hover,a.next-action-now:focus-visible{background:#ffe2bb;color:#6f3c00}
.reply-queue-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 .38rem;border-radius:999px;background:#e8902a;color:#fff;font-size:.74rem;font-weight:800;line-height:1}
.reply-queue-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1.2rem;border-bottom:1px solid #edf1f3}
.reply-queue-switch{display:inline-flex;gap:.25rem;padding:.2rem;border:1px solid #dfe6ea;border-radius:.65rem;background:#f5f8f9}
.reply-queue-switch a{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .8rem;border-radius:.5rem;color:#526873;text-decoration:none;font-weight:600}
.reply-queue-switch a:hover{color:#183b4c}
.reply-queue-switch a.is-active{background:#fff;color:#183b4c;box-shadow:0 1px 3px rgba(21,45,64,.12)}
.reply-queue-note{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:#3d5260}
.reply-queue-actions{display:inline-flex;flex-wrap:wrap;gap:.5rem}
.reply-queue-next{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap}
.reply-queue-next .reply-queue-count{background:rgba(255,255,255,.28)}
.reply-queue-callout{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1.1rem;margin:0 0 1rem;border:1px solid #f1d6ad;border-left:4px solid #e8902a;border-radius:.7rem;background:#fff8ee}
.reply-queue-callout>div{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.reply-queue-callout span.muted{overflow-wrap:anywhere}
.reply-queue-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem}
.reply-queue-nav form{margin:0}
tr[data-href]{cursor:pointer}
.lead-board-reply{margin-top:.35rem}
/* «Ответить» on every lead and request with a conversation; the accent (.next-action-now) while it waits for us. */
a.reply-button:not(.next-action-now){background:#e8f2ff;color:#0064e6}
a.reply-button:not(.next-action-now):hover,a.reply-button:not(.next-action-now):focus-visible{background:#d4e6ff;color:#0050bd}
.reply-cell{width:1%;white-space:nowrap}
.reply-inline{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
html[data-theme="dark"] a.reply-button:not(.next-action-now){background:#16304d;color:#8cc4ff}
html[data-theme="dark"] a.reply-button:not(.next-action-now):hover,html[data-theme="dark"] a.reply-button:not(.next-action-now):focus-visible{background:#1d3c60;color:#b5d8ff}
html[data-theme="dark"] .next-action{background:#263640;color:#b8c8d0}
html[data-theme="dark"] .next-action-now{background:#3b2b18;color:#efbf72}
html[data-theme="dark"] a.next-action-now:hover,html[data-theme="dark"] a.next-action-now:focus-visible{background:#4a3519;color:#f5cd8a}
html[data-theme="dark"] .next-action-muted{color:#94a5ae}
html[data-theme="dark"] .reply-queue-bar{border-color:#30424d}
html[data-theme="dark"] .reply-queue-switch{background:#16232d;border-color:#30424d}
html[data-theme="dark"] .reply-queue-switch a{color:#9fb2bc}
html[data-theme="dark"] .reply-queue-switch a.is-active{background:#24343f;color:#e5eef2;box-shadow:none}
html[data-theme="dark"] .reply-queue-note{color:#c5d3da}
html[data-theme="dark"] .reply-queue-callout{background:#2a2218;border-color:#4a3a22;border-left-color:#e8902a}
@media(max-width:850px){.reply-queue-bar,.reply-queue-callout{align-items:flex-start;flex-direction:column}.reply-queue-nav{justify-content:flex-start}}

