/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
.empty-layout[b-gavjlw2o99] {
    min-height: 100vh;
    background: #f3f4f6;
}
/* /Components/Layout/LogoutForm.razor.rz.scp.css */
.logout-form[b-ov51lcygmo] {
    display: inline;
    margin: 0;
}

.logout-btn[b-ov51lcygmo] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font: inherit;
    font-size: 0.8125rem;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}

    .logout-btn:hover[b-ov51lcygmo] {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-emixyr6vwp] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}

.topbar[b-emixyr6vwp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #11161f;
    color: #fff;
    padding: 0 1.25rem;
    height: 56px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.topbar .brand[b-emixyr6vwp] {
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.topbar .user-area[b-emixyr6vwp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.topbar .user-name[b-emixyr6vwp] {
    opacity: 0.85;
}

.body[b-emixyr6vwp] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.sidebar[b-emixyr6vwp] {
    width: 244px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    flex-shrink: 0;
}

.content[b-emixyr6vwp] {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding: 1.75rem 2rem 3rem;
    background: var(--bg);
}

/* ─────────── Бургер-меню для узких экранов ───────────
   Чекбокс-переключатель (без JS): на узких ширинах сайдбар уезжает за край
   и выезжает поверх контента при открытии. На десктопе бургер и оверлей скрыты,
   сайдбар — обычная колонка. */
.nav-toggle[b-emixyr6vwp] { display: none; }

.nav-burger[b-emixyr6vwp] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: -0.35rem;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-burger:hover[b-emixyr6vwp] { background: rgba(255, 255, 255, 0.1); }
.nav-burger svg[b-emixyr6vwp] { width: 22px; height: 22px; }

.nav-backdrop[b-emixyr6vwp] { display: none; }

@media (max-width: 860px) {
    .nav-burger[b-emixyr6vwp] { display: inline-flex; }

    .topbar[b-emixyr6vwp] { padding: 0 0.75rem; gap: 0.5rem; }
    .topbar .user-name[b-emixyr6vwp] { display: none; }
    .topbar .user-area[b-emixyr6vwp] { gap: 0.4rem; }

    .sidebar[b-emixyr6vwp] {
        position: fixed;
        top: 56px;
        left: 0;
        bottom: 0;
        z-index: 40;
        width: 260px;
        max-width: 82vw;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    }

    .nav-backdrop[b-emixyr6vwp] {
        position: fixed;
        inset: 56px 0 0 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 30;
    }

    .content[b-emixyr6vwp] { padding: 1rem 1rem 2.5rem; overflow-x: auto; }

    .nav-toggle:checked ~ .body .sidebar[b-emixyr6vwp] { transform: translateX(0); }
    .nav-toggle:checked ~ .body .nav-backdrop[b-emixyr6vwp] { display: block; }
}

#blazor-error-ui[b-emixyr6vwp] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-emixyr6vwp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-fsr8vdjc2q] {
    padding: 0.75rem 0.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* Цвет пункта = цвет иконки (svg рисуется через currentColor). Размер иконки —
   в глобальном app.css (.nav-icon), т.к. svg инжектится raw-разметкой. */
/* NavLink — дочерний компонент, его <a> не получает scope-атрибут этого
   компонента, поэтому стили пункта пишем через ::deep (иначе побеждает
   глобальный a{color:accent} и пункты выглядят синими ссылками без отступов). */
[b-fsr8vdjc2q] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    color: #4a5160;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-label[b-fsr8vdjc2q] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-fsr8vdjc2q] .nav-link:hover {
    background: #f0f2f6;
    color: #1f2733;
    text-decoration: none;
}

[b-fsr8vdjc2q] .nav-link.active {
    background: var(--accent-soft);
    color: var(--accent-text);
    font-weight: 600;
}

/* Бейдж-счётчик у пункта меню */
.nav-badge[b-fsr8vdjc2q] {
    flex: none;
    min-width: 1.35rem;
    text-align: center;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Красный — срочное/важное (просроченные задачи, непрочитанные уведомления) */
.nav-badge-danger[b-fsr8vdjc2q] {
    background: #fee2e2;
    color: #b91c1c;
}

/* Оранжевый — на сегодня / наступивший срок */
.nav-badge-warn[b-fsr8vdjc2q] {
    background: #ffedd5;
    color: #c2410c;
}

/* Мягкая пульсация — «светится», пока есть что взять в работу (новые обращения) */
.nav-badge-pulse[b-fsr8vdjc2q] {
    animation: nav-badge-pulse-b-fsr8vdjc2q 1.8s ease-in-out infinite;
}

@keyframes nav-badge-pulse-b-fsr8vdjc2q {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
    50% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-badge-pulse[b-fsr8vdjc2q] { animation: none; }
}

[b-fsr8vdjc2q] .nav-link.active .nav-badge { background: #c7dbff; color: #1d4ed8; }
[b-fsr8vdjc2q] .nav-link.active .nav-badge-danger { background: #fecaca; color: #b91c1c; }
[b-fsr8vdjc2q] .nav-link.active .nav-badge-warn { background: #fed7aa; color: #c2410c; }

.nav-section-title[b-fsr8vdjc2q] {
    margin-top: 1rem;
    padding: 0.75rem 0.7rem 0.3rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

/* ─────────── Скрытые пункты ─────────── */
.nav-menu .nav-hidden-toggle[b-fsr8vdjc2q] {
    width: 100%;
    margin-top: 0.75rem;
    border: none;
    background: none;
    box-shadow: none;
    text-align: left;
}

.nav-hidden-list[b-fsr8vdjc2q] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-left: 0.6rem;
}

.nav-hidden-item[b-fsr8vdjc2q] {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-hidden-item[b-fsr8vdjc2q]  .nav-link {
    flex: 1;
    min-width: 0;
}

/* Маленькие кнопки-значки: стрелки, «глаз» */
.nav-menu .nav-tool[b-fsr8vdjc2q] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #6b7280;
    cursor: pointer;
}

.nav-menu .nav-tool:hover:not(:disabled)[b-fsr8vdjc2q] {
    background: #e5e7eb;
    border-color: transparent;
    color: #1f2733;
}

.nav-menu .nav-tool:disabled[b-fsr8vdjc2q] { opacity: 0.3; }

[b-fsr8vdjc2q] .nav-tool-icon { flex: none; width: 1rem; height: 1rem; }

[b-fsr8vdjc2q] .nav-grip { flex: none; width: 0.9rem; height: 0.9rem; color: #9ca3af; }

/* ─────────── Закреплённый низ меню ─────────── */
.nav-menu-footer[b-fsr8vdjc2q] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e5e7eb;
}

.nav-menu .nav-footer-link[b-fsr8vdjc2q] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.7rem;
    border: none;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: left;
}

.nav-menu .nav-footer-link:hover:not(:disabled)[b-fsr8vdjc2q] {
    background: #f0f2f6;
    color: #1f2733;
}

.nav-confirm[b-fsr8vdjc2q] {
    padding: 0.55rem 0.6rem;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #4a5160;
    font-size: 0.8rem;
    line-height: 1.35;
}

.nav-confirm-actions[b-fsr8vdjc2q],
.nav-edit-actions[b-fsr8vdjc2q] {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.nav-confirm-actions button[b-fsr8vdjc2q],
.nav-edit-actions button[b-fsr8vdjc2q] {
    flex: 1;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.nav-error[b-fsr8vdjc2q] {
    padding: 0.3rem 0.7rem;
    color: #b91c1c;
    font-size: 0.78rem;
}

/* ─────────── Режим «Настроить меню» ─────────── */
.nav-edit-hint[b-fsr8vdjc2q] {
    margin: 0 0.2rem 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    background: var(--accent-softer);
    color: #4a5160;
    font-size: 0.78rem;
    line-height: 1.35;
}

/* Высота строки фиксирована и в пикселях, а не в rem (rem зависит от шрифта браузера): по ней решается, встать
   перед строкой или после (EditRowHalfHeight). */
.nav-menu .nav-edit-item[b-fsr8vdjc2q] {
    box-sizing: border-box;
    height: 36px;
    padding: 0 0.15rem 0 0.35rem;
    gap: 0.35rem;
    cursor: grab;
    user-select: none;
}

.nav-menu .nav-edit-item:hover[b-fsr8vdjc2q] { background: #f0f2f6; color: #1f2733; }

.nav-edit-item.is-hidden .nav-label[b-fsr8vdjc2q],
.nav-edit-item.is-hidden[b-fsr8vdjc2q]  .nav-icon {
    opacity: 0.45;
}

.nav-edit-item.is-hidden .nav-eye[b-fsr8vdjc2q] { color: #b45309; }

.nav-menu .nav-edit-section[b-fsr8vdjc2q] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.15rem 0.3rem 0.35rem;
    cursor: grab;
    user-select: none;
}

.nav-menu .nav-edit-section.top[b-fsr8vdjc2q] {
    margin-top: 0;
    padding-top: 0.2rem;
    border-top: none;
    cursor: default;
}

.nav-edit-empty[b-fsr8vdjc2q] {
    margin: 0.1rem 0.35rem 0.25rem;
    padding: 0.45rem 0.6rem;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #9ca3af;
    font-size: 0.78rem;
    text-align: center;
}

.nav-menu .dragging[b-fsr8vdjc2q] { opacity: 0.4; }

.nav-menu .drop-target[b-fsr8vdjc2q] { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 8px; }

/* Пока тянем, события перетаскивания получает сама строка, а не её значки: так точка броска считается от строки. */
.nav-menu.drag-active[b-fsr8vdjc2q]  .nav-edit-item > *,
.nav-menu.drag-active[b-fsr8vdjc2q]  .nav-edit-section > * {
    pointer-events: none;
}

/* «Готово» всегда под рукой, сколько бы пунктов ни было */
.nav-menu .nav-edit-footer[b-fsr8vdjc2q] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin: 0.75rem -0.5rem -1.25rem;
    padding: 0.6rem 0.5rem 0.9rem;
    background: var(--surface);
    box-shadow: 0 -8px 12px -10px rgba(15, 23, 42, 0.25);
}

.nav-edit-actions[b-fsr8vdjc2q] { margin: 0 0.2rem 0.3rem; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5hwqitq4mf],
.components-reconnect-repeated-attempt-visible[b-5hwqitq4mf],
.components-reconnect-failed-visible[b-5hwqitq4mf],
.components-pause-visible[b-5hwqitq4mf],
.components-resume-failed-visible[b-5hwqitq4mf],
.components-rejoining-animation[b-5hwqitq4mf] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-retrying[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-failed[b-5hwqitq4mf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-5hwqitq4mf] {
    display: block;
}


#components-reconnect-modal[b-5hwqitq4mf] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-5hwqitq4mf 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5hwqitq4mf 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5hwqitq4mf 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-5hwqitq4mf]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-5hwqitq4mf 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-5hwqitq4mf {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-5hwqitq4mf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-5hwqitq4mf {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-5hwqitq4mf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-5hwqitq4mf] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-5hwqitq4mf] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-5hwqitq4mf] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-5hwqitq4mf] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-5hwqitq4mf] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-5hwqitq4mf] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-5hwqitq4mf 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-5hwqitq4mf] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-5hwqitq4mf {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Automation.razor.rz.scp.css */
.toolbar[b-wy13sjuqy0] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.toolbar label[b-wy13sjuqy0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.toolbar select[b-wy13sjuqy0] {
    min-width: 220px;
}

.board-scroll[b-wy13sjuqy0] {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin: 0 -0.25rem;
}

.board[b-wy13sjuqy0] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0 0.25rem;
    min-width: max-content;
}

.auto-col[b-wy13sjuqy0] {
    flex: 0 0 280px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

.auto-col-head[b-wy13sjuqy0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.add-col-btn[b-wy13sjuqy0] {
    border: 1px solid #c7cdd6;
    background: #fff;
    color: #374151;
    border-radius: 6px;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.add-col-btn:hover:not(:disabled)[b-wy13sjuqy0] {
    background: #eef2ff;
    border-color: #4f46e5;
    color: #4f46e5;
}

.auto-card[b-wy13sjuqy0] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #6366f1;
    border-radius: 6px;
    padding: 0.5rem 0.625rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auto-card.off[b-wy13sjuqy0] {
    opacity: 0.55;
    border-left-color: #9ca3af;
}

.auto-card-top[b-wy13sjuqy0] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.4rem;
}

.auto-card-title[b-wy13sjuqy0] {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #1f2937;
}

.trigger-badge[b-wy13sjuqy0] {
    font-size: 0.65rem;
    color: #4b5563;
    background: #e5e7eb;
    border-radius: 4px;
    padding: 0.05rem 0.35rem;
    white-space: nowrap;
}

.auto-card-meta[b-wy13sjuqy0] {
    font-size: 0.72rem;
    color: #6b7280;
}

.auto-card-actions[b-wy13sjuqy0] {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.15rem;
}

.ord-btn[b-wy13sjuqy0] {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 4px;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1;
    cursor: pointer;
    font-size: 0.8rem;
    color: #374151;
}

.ord-btn:hover:not(:disabled)[b-wy13sjuqy0] { background: #f3f4f6; }

.link-btn[b-wy13sjuqy0] {
    border: none;
    background: none;
    color: #4f46e5;
    cursor: pointer;
    font-size: 0.72rem;
    padding: 0;
}

.link-btn:hover:not(:disabled)[b-wy13sjuqy0] { text-decoration: underline; }
.link-btn.danger[b-wy13sjuqy0] { color: #dc2626; }

.board-empty[b-wy13sjuqy0] {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    padding: 0.75rem 0;
}

.board-empty-pipeline[b-wy13sjuqy0] {
    color: #6b7280;
    padding: 2rem 1rem;
    text-align: center;
}

.global-section[b-wy13sjuqy0] {
    margin-top: 1.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.global-head[b-wy13sjuqy0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.global-head h2[b-wy13sjuqy0] { margin: 0; }

.error[b-wy13sjuqy0] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.error .dismiss[b-wy13sjuqy0] { font-weight: 700; opacity: 0.7; }

.modal-backdrop[b-wy13sjuqy0] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-wy13sjuqy0] {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    width: min(480px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.modal h2[b-wy13sjuqy0] { margin-top: 0; font-size: 1.1rem; }

.modal .field[b-wy13sjuqy0] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.modal .field select[b-wy13sjuqy0] { width: 100%; }

.form-actions[b-wy13sjuqy0] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
/* /Components/Pages/Admin/Banks.razor.rz.scp.css */
.hint[b-wxqzf1gcbv] {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 60rem;
}

.toolbar[b-wxqzf1gcbv] {
    margin-bottom: 1rem;
}

.toolbar .search[b-wxqzf1gcbv] {
    width: 18rem;
}

.add-form[b-wxqzf1gcbv] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 48rem;
}

.add-form h2[b-wxqzf1gcbv] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-wxqzf1gcbv] {
    display: flex;
    gap: 1rem;
}

.row .field[b-wxqzf1gcbv] {
    flex: 1;
}

.row .field.bic[b-wxqzf1gcbv] {
    flex: 0 0 11rem;
}

.add-form .field[b-wxqzf1gcbv]  input {
    width: 100%;
    max-width: none;
}

.data-table tr.inactive td[b-wxqzf1gcbv] {
    color: #9ca3af;
}

.data-table code[b-wxqzf1gcbv] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.edit-input[b-wxqzf1gcbv] {
    width: 100%;
    min-width: 12rem;
}

.edit-input.bic[b-wxqzf1gcbv] {
    min-width: 8rem;
}

button.ord-btn[b-wxqzf1gcbv] {
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    font-size: 0.75rem;
}

.muted[b-wxqzf1gcbv] {
    color: var(--text-muted);
}
/* /Components/Pages/Admin/BitrixSync.razor.rz.scp.css */
.card[b-q0aetvd7g1] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-q0aetvd7g1] {
    margin: 0 0 0.75rem 0;
    font-size: 1.0625rem;
}

.muted[b-q0aetvd7g1] {
    color: #6b7280;
    font-size: 0.875rem;
}

.error[b-q0aetvd7g1] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.ok-text[b-q0aetvd7g1] {
    color: #166534;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.sync-table[b-q0aetvd7g1],
.checks-table[b-q0aetvd7g1] {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.875rem;
}

.sync-table th[b-q0aetvd7g1],
.sync-table td[b-q0aetvd7g1],
.checks-table th[b-q0aetvd7g1],
.checks-table td[b-q0aetvd7g1] {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.sync-table th[b-q0aetvd7g1],
.checks-table th[b-q0aetvd7g1] {
    background: #f9fafb;
    color: #374151;
    font-weight: 500;
}

.sync-table td.num[b-q0aetvd7g1] {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #111827;
}

.toolbar[b-q0aetvd7g1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.toolbar label[b-q0aetvd7g1] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.875rem;
}

.separator[b-q0aetvd7g1] {
    color: #d1d5db;
    margin: 0 0.25rem;
}

.upload-row[b-q0aetvd7g1] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.kv[b-q0aetvd7g1] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.25rem;
    margin: 0.75rem 0 0 0;
    max-width: 600px;
}

.kv dt[b-q0aetvd7g1] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.kv dd[b-q0aetvd7g1] {
    margin: 0;
    color: #111827;
    font-weight: 500;
}

.inline-input[b-q0aetvd7g1] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input.small[b-q0aetvd7g1] {
    width: 6rem;
}

.subgroup[b-q0aetvd7g1] {
    margin: 1.25rem 0 0.25rem 0;
    font-size: 0.9375rem;
    color: #4b5563;
}

.summary-grid[b-q0aetvd7g1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.5rem 0 0.25rem 0;
}

.summary-cell[b-q0aetvd7g1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.summary-cell .score[b-q0aetvd7g1] {
    font-variant-numeric: tabular-nums;
}

.summary-label[b-q0aetvd7g1] {
    font-size: 0.8125rem;
    color: #4b5563;
}

.score[b-q0aetvd7g1] {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.8125rem;
}

.score-high[b-q0aetvd7g1] {
    background: #fee2e2;
    color: #991b1b;
}

.score-mid[b-q0aetvd7g1] {
    background: #fef3c7;
    color: #92400e;
}

.score-low[b-q0aetvd7g1] {
    background: #dbeafe;
    color: #1e40af;
}

.score-zero[b-q0aetvd7g1] {
    background: #f3f4f6;
    color: #6b7280;
}

button[b-q0aetvd7g1] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-q0aetvd7g1] {
    background: #f3f4f6;
}

button:disabled[b-q0aetvd7g1] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-q0aetvd7g1] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-q0aetvd7g1] {
    background: #1d4ed8;
}

.map-table td[b-q0aetvd7g1] {
    vertical-align: top;
}

.map-table select[b-q0aetvd7g1] {
    min-width: 11rem;
    max-width: 22rem;
}

.cov-warn[b-q0aetvd7g1] {
    color: #92400e;
    font-weight: 500;
}

.map-product-plan[b-q0aetvd7g1] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}

.map-sub[b-q0aetvd7g1] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8125rem;
    color: #4b5563;
}

.qty-input[b-q0aetvd7g1] {
    width: 8rem;
}

.preview-filter[b-q0aetvd7g1] {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.875rem;
    margin: 0.25rem 0 0.5rem 0;
}

.preview-pager[b-q0aetvd7g1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.deal-preview-item[b-q0aetvd7g1] {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.deal-preview-item.is-problem[b-q0aetvd7g1] {
    border-color: #fcd34d;
    background: #fffbeb;
}

.deal-preview-head[b-q0aetvd7g1] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.deal-lead[b-q0aetvd7g1] {
    font-weight: 600;
    color: #111827;
}

.deal-amount[b-q0aetvd7g1] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #111827;
}

.deal-badges[b-q0aetvd7g1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.4rem 0;
}

.badge[b-q0aetvd7g1] {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.75rem;
}

.badge-warn[b-q0aetvd7g1] {
    background: #fef3c7;
    color: #92400e;
}

.deal-license[b-q0aetvd7g1] {
    margin-bottom: 0.4rem;
}

.lines-table[b-q0aetvd7g1] {
    margin: 0.25rem 0 0 0;
}

.lines-table .is-problem td[b-q0aetvd7g1] {
    background: #fffbeb;
}

@media (max-width: 640px) {
    .lines-table thead[b-q0aetvd7g1] {
        display: none;
    }

    .lines-table tr[b-q0aetvd7g1] {
        display: block;
        border-bottom: 1px solid #e5e7eb;
        padding: 0.4rem 0;
    }

    .lines-table td[b-q0aetvd7g1] {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border: none;
        padding: 0.2rem 0.25rem;
    }

    .lines-table td[b-q0aetvd7g1]::before {
        content: attr(data-label);
        color: #6b7280;
        font-size: 0.8125rem;
    }
}
/* /Components/Pages/Admin/CallBaseDetail.razor.rz.scp.css */
/* Базовые классы (.card/.field/.toolbar/button/.error/.data-table) — глобальные в app.css.
   Здесь только специфика конструктора базы обзвона. */

.criterion-row[b-sii2vgf18s] { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .25rem; }
.criterion-row select[b-sii2vgf18s], .criterion-row input[b-sii2vgf18s] { min-width: 9rem; }
.criterion-row > button.danger[b-sii2vgf18s] { min-width: auto; margin-left: auto; }

/* Блок-группа условий (внутри — «И») */
.criteria-group[b-sii2vgf18s] {
    border: 1px solid #e5e7eb; border-radius: 8px; padding: .75rem .9rem; margin: .5rem 0;
    background: #fcfcfd;
}
.group-or[b-sii2vgf18s] {
    text-align: center; font-weight: 600; color: #6b7280; letter-spacing: .05em;
    font-size: .8rem; margin: .25rem 0;
}
.group-actions[b-sii2vgf18s] { display: flex; gap: 1rem; align-items: center; margin-top: .5rem; }
.add-group[b-sii2vgf18s] { margin-top: .5rem; }

/* Галочка «НЕ» — компактная, перед типом условия */
.neg-toggle[b-sii2vgf18s] {
    display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap;
    font-size: .8rem; color: #b45309; min-width: auto;
}
.neg-toggle input[b-sii2vgf18s] { min-width: auto; }

/* «Включая связанных» у условий «Клиент» / «Действующая лицензия» */
.linked-toggle[b-sii2vgf18s] {
    display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap;
    font-size: .8rem; color: #3730a3; min-width: auto;
}
.linked-toggle input[b-sii2vgf18s] { min-width: auto; }

/* Группы «Состояния в госреестре» — галочки в строку */
.state-toggle[b-sii2vgf18s] {
    display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap;
    font-size: .85rem; min-width: auto;
}
.state-toggle input[b-sii2vgf18s] { min-width: auto; }

/* Инлайн-подсказка под строкой условия */
.criterion-hint[b-sii2vgf18s] {
    font-size: .8rem; color: #6b7280; margin: 0 0 .6rem 1.5rem;
}
.criterion-hint .hint-ic[b-sii2vgf18s] { color: #9ca3af; }
.criterion-hint .muted[b-sii2vgf18s] { margin-left: .35rem; font-style: italic; }

.link-danger[b-sii2vgf18s] {
    background: none; border: none; color: #b91c1c; cursor: pointer; padding: 0;
    min-width: auto; font-size: .85rem; text-decoration: underline;
}

/* Сворачиваемая справка */
.criteria-help[b-sii2vgf18s] { margin: .5rem 0 1rem; border: 1px dashed #d1d5db; border-radius: 8px; padding: .25rem .75rem; }
.criteria-help > summary[b-sii2vgf18s] { cursor: pointer; font-weight: 600; color: #374151; padding: .35rem 0; }
.criteria-help .help-body[b-sii2vgf18s] { padding: .25rem 0 .5rem; }
.criteria-help .help-body p[b-sii2vgf18s] { margin: .4rem 0; font-size: .9rem; }
.help-table[b-sii2vgf18s] { margin: .6rem 0; font-size: .85rem; }
.help-table tr.help-group td[b-sii2vgf18s] { font-weight: 600; background: #f3f4f6; }
.help-recipes[b-sii2vgf18s] { font-size: .88rem; margin: .3rem 0 .3rem 1.1rem; }
.help-recipes li[b-sii2vgf18s] { margin: .25rem 0; }

.progress-summary[b-sii2vgf18s] {
    display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0;
    padding: .75rem 1rem; background: #f9fafb; border-radius: 8px; font-size: .9rem;
}
/* /Components/Pages/Admin/CallPlans.razor.rz.scp.css */
.plan-form[b-hwzv71qxee] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.plan-form label[b-hwzv71qxee] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.plan-form .inline-checkbox[b-hwzv71qxee] {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.plan-form input[type="number"][b-hwzv71qxee] {
    width: 7rem;
}

.plan-form-actions[b-hwzv71qxee] {
    display: flex;
    gap: 0.5rem;
}

.data-table tr.inactive td[b-hwzv71qxee] {
    color: #999;
}

.badge-dept[b-hwzv71qxee] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #e0e7ff;
    color: #3730a3;
    vertical-align: middle;
}
/* /Components/Pages/Admin/CounterCreate.razor.rz.scp.css */
.crumbs[b-0ol3npi31d] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card[b-0ol3npi31d] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.row[b-0ol3npi31d] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-0ol3npi31d] {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
}

.field label[b-0ol3npi31d] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-0ol3npi31d]  input,
.field[b-0ol3npi31d]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-0ol3npi31d]  input:focus,
.field[b-0ol3npi31d]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-0ol3npi31d]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field .hint[b-0ol3npi31d] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

.field .hint code[b-0ol3npi31d] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
}

.form-actions[b-0ol3npi31d] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

button[b-0ol3npi31d] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-0ol3npi31d] {
    background: #f3f4f6;
}

button.primary[b-0ol3npi31d] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-0ol3npi31d] {
    background: #1d4ed8;
}

.error[b-0ol3npi31d] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
/* /Components/Pages/Admin/CounterDetail.razor.rz.scp.css */
.crumbs[b-yzrygml92g] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

h1 small.muted[b-yzrygml92g] {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    margin-left: 0.5rem;
}

.muted[b-yzrygml92g] {
    color: #6b7280;
    font-size: 0.875rem;
}

.card[b-yzrygml92g] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-header[b-yzrygml92g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-header h2[b-yzrygml92g] {
    margin: 0;
    font-size: 1.0625rem;
}

dl.kv[b-yzrygml92g] {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}

dl.kv dt[b-yzrygml92g] {
    color: #6b7280;
    font-size: 0.875rem;
}

dl.kv dd[b-yzrygml92g] {
    margin: 0;
    font-size: 0.9rem;
}

dl.kv code[b-yzrygml92g] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.row[b-yzrygml92g] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-yzrygml92g] {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.field label[b-yzrygml92g] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-yzrygml92g]  input,
.field[b-yzrygml92g]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-yzrygml92g]  input:focus,
.field[b-yzrygml92g]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-yzrygml92g]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field .hint[b-yzrygml92g] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

.field.adjust-actions[b-yzrygml92g] {
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-end;
}

.hint[b-yzrygml92g] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.4rem;
}

.form-actions[b-yzrygml92g] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

button[b-yzrygml92g] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-yzrygml92g] {
    background: #f3f4f6;
}

button.primary[b-yzrygml92g] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-yzrygml92g] {
    background: #1d4ed8;
}

button.danger[b-yzrygml92g] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-yzrygml92g] {
    background: #fef2f2;
}

.error[b-yzrygml92g] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
/* /Components/Pages/Admin/Counters.razor.rz.scp.css */
.muted[b-r26udezwe0] {
    color: #6b7280;
    font-size: 0.875rem;
}

.muted code[b-r26udezwe0] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
}

.toolbar[b-r26udezwe0] {
    margin: 1rem 0;
}

.data-table[b-r26udezwe0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-r26udezwe0], .data-table td[b-r26udezwe0] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-r26udezwe0] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table code[b-r26udezwe0] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.row-actions[b-r26udezwe0] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-r26udezwe0] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-r26udezwe0] {
    background: #f3f4f6;
}

button:disabled[b-r26udezwe0] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-r26udezwe0] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-r26udezwe0] {
    background: #1d4ed8;
}

button.danger[b-r26udezwe0] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-r26udezwe0] {
    background: #fef2f2;
}

.error[b-r26udezwe0] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/DepartmentDetail.razor.rz.scp.css */
.crumbs[b-p8vx1hymax] {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
}

.crumbs a[b-p8vx1hymax] {
    color: #4b5563;
}

.card[b-p8vx1hymax] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-p8vx1hymax] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.card-header[b-p8vx1hymax] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h2[b-p8vx1hymax] {
    margin: 0;
}

.kv[b-p8vx1hymax] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.25rem;
    margin: 0 0 1rem 0;
    max-width: 600px;
}

.kv dt[b-p8vx1hymax] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.kv dd[b-p8vx1hymax] {
    margin: 0;
}

.kv code[b-p8vx1hymax] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.hint[b-p8vx1hymax] {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.hint a[b-p8vx1hymax] {
    color: #1d4ed8;
}

.add-member[b-p8vx1hymax], .role-preset[b-p8vx1hymax] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.select[b-p8vx1hymax] {
    padding: 0.45rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    min-width: 320px;
}

.select:focus[b-p8vx1hymax] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.data-table[b-p8vx1hymax] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-p8vx1hymax], .data-table td[b-p8vx1hymax] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-p8vx1hymax] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-p8vx1hymax] {
    color: #9ca3af;
    background: #fafafa;
}

.row-actions[b-p8vx1hymax] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-p8vx1hymax] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-p8vx1hymax] {
    background: #f3f4f6;
}

button:disabled[b-p8vx1hymax] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-p8vx1hymax] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-p8vx1hymax] {
    background: #1d4ed8;
}

button.danger[b-p8vx1hymax] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-p8vx1hymax] {
    background: #fef2f2;
}

.error[b-p8vx1hymax] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/Departments.razor.rz.scp.css */
.toolbar[b-vvampuqlwt] {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.inline-checkbox[b-vvampuqlwt] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.add-form[b-vvampuqlwt] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.add-form h2[b-vvampuqlwt] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-vvampuqlwt] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.field[b-vvampuqlwt] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field label[b-vvampuqlwt] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-vvampuqlwt]  input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.text-input[b-vvampuqlwt] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.select[b-vvampuqlwt] {
    padding: 0.45rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-vvampuqlwt]  input:focus, .text-input:focus[b-vvampuqlwt], .select:focus[b-vvampuqlwt] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-vvampuqlwt]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-vvampuqlwt] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.data-table[b-vvampuqlwt] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-vvampuqlwt], .data-table td[b-vvampuqlwt] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-vvampuqlwt] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-vvampuqlwt] {
    color: #9ca3af;
    background: #fafafa;
}

.data-table tr.edit-row td[b-vvampuqlwt] {
    background: #f9fafb;
}

.data-table code[b-vvampuqlwt] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.data-table a[b-vvampuqlwt] {
    color: #1d4ed8;
}

.tree-branch[b-vvampuqlwt] {
    color: #9ca3af;
    margin-right: 0.35rem;
}

.row-actions[b-vvampuqlwt] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
}

button[b-vvampuqlwt] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-vvampuqlwt] {
    background: #f3f4f6;
}

button:disabled[b-vvampuqlwt] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-vvampuqlwt] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-vvampuqlwt] {
    background: #1d4ed8;
}

button.danger[b-vvampuqlwt] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-vvampuqlwt] {
    background: #fef2f2;
}

button.ord-btn[b-vvampuqlwt] {
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    font-size: 0.75rem;
}

.error[b-vvampuqlwt] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/DirectionDetail.razor.rz.scp.css */
.crumbs[b-6hig2tqrgv] {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
}

.crumbs a[b-6hig2tqrgv] {
    color: #4b5563;
}

.card[b-6hig2tqrgv] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-6hig2tqrgv] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.card-header[b-6hig2tqrgv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h2[b-6hig2tqrgv] {
    margin: 0;
}

.kv[b-6hig2tqrgv] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.25rem;
    margin: 0 0 1rem 0;
    max-width: 600px;
}

.kv dt[b-6hig2tqrgv] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.kv dd[b-6hig2tqrgv] {
    margin: 0;
}

.kv code[b-6hig2tqrgv] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.add-form[b-6hig2tqrgv] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.row[b-6hig2tqrgv] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.field[b-6hig2tqrgv] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field.check-row[b-6hig2tqrgv] {
    justify-content: flex-end;
}

.field label[b-6hig2tqrgv] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-6hig2tqrgv]  input[type="text"],
.field[b-6hig2tqrgv]  input:not([type]) {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.field[b-6hig2tqrgv]  input[type="text"]:focus,
.field[b-6hig2tqrgv]  input:not([type]):focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-6hig2tqrgv]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-6hig2tqrgv] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.data-table[b-6hig2tqrgv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-6hig2tqrgv], .data-table td[b-6hig2tqrgv] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-6hig2tqrgv] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-6hig2tqrgv] {
    color: #9ca3af;
    background: #fafafa;
}

.data-table a[b-6hig2tqrgv] {
    color: #1d4ed8;
}

.row-actions[b-6hig2tqrgv] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-6hig2tqrgv] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-6hig2tqrgv] {
    background: #f3f4f6;
}

button:disabled[b-6hig2tqrgv] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-6hig2tqrgv] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-6hig2tqrgv] {
    background: #1d4ed8;
}

button.danger[b-6hig2tqrgv] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-6hig2tqrgv] {
    background: #fef2f2;
}

.error[b-6hig2tqrgv] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/Directions.razor.rz.scp.css */
.toolbar[b-fa8ydqt42t] {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.inline-checkbox[b-fa8ydqt42t] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.add-form[b-fa8ydqt42t] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.add-form h2[b-fa8ydqt42t] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-fa8ydqt42t] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.field[b-fa8ydqt42t] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field label[b-fa8ydqt42t] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-fa8ydqt42t]  input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.field[b-fa8ydqt42t]  input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-fa8ydqt42t]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-fa8ydqt42t] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.data-table[b-fa8ydqt42t] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-fa8ydqt42t], .data-table td[b-fa8ydqt42t] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-fa8ydqt42t] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-fa8ydqt42t] {
    color: #9ca3af;
    background: #fafafa;
}

.data-table code[b-fa8ydqt42t] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.data-table a[b-fa8ydqt42t] {
    color: #1d4ed8;
}

.row-actions[b-fa8ydqt42t] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-fa8ydqt42t] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-fa8ydqt42t] {
    background: #f3f4f6;
}

button:disabled[b-fa8ydqt42t] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-fa8ydqt42t] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-fa8ydqt42t] {
    background: #1d4ed8;
}

button.danger[b-fa8ydqt42t] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-fa8ydqt42t] {
    background: #fef2f2;
}

button.ord-btn[b-fa8ydqt42t] {
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    font-size: 0.75rem;
}

.error[b-fa8ydqt42t] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/EmailTemplatesPage.razor.rz.scp.css */
.muted[b-2yqo5k0cqv] {
    color: #6b7280;
    font-size: 0.85rem;
}

.muted code[b-2yqo5k0cqv] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    font-size: 0.82rem;
}

.data-table[b-2yqo5k0cqv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.data-table th[b-2yqo5k0cqv], .data-table td[b-2yqo5k0cqv] {
    text-align: left;
    padding: 0.5rem 0.7rem;
    border-bottom: 1px solid #e5e7eb;
}

.data-table th[b-2yqo5k0cqv] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.row-actions[b-2yqo5k0cqv] {
    display: flex;
    gap: 0.6rem;
}

.link[b-2yqo5k0cqv] {
    background: transparent;
    border: none;
    color: #1d4ed8;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.link:hover[b-2yqo5k0cqv] {
    text-decoration: underline;
}

.link.danger[b-2yqo5k0cqv] {
    color: #b91c1c;
}

.tpl-form[b-2yqo5k0cqv] {
    max-width: 720px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.1rem;
    background: #fafafa;
}

.row[b-2yqo5k0cqv] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.field[b-2yqo5k0cqv] {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.field.narrow[b-2yqo5k0cqv] {
    flex: 0 0 auto;
    min-width: 120px;
}

.field label[b-2yqo5k0cqv] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field input[b-2yqo5k0cqv], .field textarea[b-2yqo5k0cqv] {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.checkbox-label[b-2yqo5k0cqv] {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.form-actions[b-2yqo5k0cqv] {
    display: flex;
    gap: 0.6rem;
}

.form-actions button[b-2yqo5k0cqv] {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.form-actions button.primary[b-2yqo5k0cqv] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 500;
}

.error[b-2yqo5k0cqv] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.success[b-2yqo5k0cqv] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
/* /Components/Pages/Admin/MailServerSettingsPage.razor.rz.scp.css */
.page-hint[b-swvvnl09ho] {
    color: #6b7280;
    font-size: 0.85rem;
    max-width: 640px;
    margin: 0 0 1.25rem 0;
}

.card[b-swvvnl09ho] {
    max-width: 640px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
    margin: 0 0 1.25rem 0;
    background: #fff;
}

.card h2[b-swvvnl09ho] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.85rem 0;
}

.grid[b-swvvnl09ho] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.field[b-swvvnl09ho] {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.25rem;
    min-width: 160px;
}

.field.grow[b-swvvnl09ho] {
    flex: 1;
    min-width: 220px;
}

.field.narrow[b-swvvnl09ho] {
    flex: 0 0 auto;
    width: 130px;
    min-width: 0;
}

.field label[b-swvvnl09ho] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.3rem;
}

.field[b-swvvnl09ho]  input,
.field[b-swvvnl09ho]  select {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-swvvnl09ho]  input:focus,
.field[b-swvvnl09ho]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.checkbox-row[b-swvvnl09ho] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.attach-limit[b-swvvnl09ho] {
    margin-top: 1rem;
}

.hint[b-swvvnl09ho] {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0.35rem 0 0 0;
    max-width: 560px;
}

button.primary[b-swvvnl09ho] {
    padding: 0.55rem 1.4rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

button.primary:hover[b-swvvnl09ho] {
    background: #1d4ed8;
}

.error[b-swvvnl09ho] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
    max-width: 640px;
}

.success[b-swvvnl09ho] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
    max-width: 640px;
}
/* /Components/Pages/Admin/OrganizationSettingsPage.razor.rz.scp.css */
.card[b-c6l7yj1w7s] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    max-width: 720px;
}

.card h2[b-c6l7yj1w7s] {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
}

.muted[b-c6l7yj1w7s] {
    color: #6b7280;
    font-size: 0.875rem;
}

.muted code[b-c6l7yj1w7s] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
}

.current[b-c6l7yj1w7s] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.625rem 0.875rem;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.current .muted[b-c6l7yj1w7s] {
    margin-left: 0.5rem;
}

.row[b-c6l7yj1w7s] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-c6l7yj1w7s] {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
}

.field label[b-c6l7yj1w7s] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-c6l7yj1w7s]  input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-c6l7yj1w7s]  input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-c6l7yj1w7s]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-c6l7yj1w7s] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

button[b-c6l7yj1w7s] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-c6l7yj1w7s] {
    background: #f3f4f6;
}

button:disabled[b-c6l7yj1w7s] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-c6l7yj1w7s] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-c6l7yj1w7s] {
    background: #1d4ed8;
}

.error[b-c6l7yj1w7s] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.ok[b-c6l7yj1w7s] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.kv[b-c6l7yj1w7s] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 1.25rem;
    margin: 0.75rem 0 0 0;
    max-width: 640px;
    font-size: 0.875rem;
}

.kv dt[b-c6l7yj1w7s] {
    color: #6b7280;
}

.kv dd[b-c6l7yj1w7s] {
    margin: 0;
    color: #111827;
    font-weight: 500;
}

.reprice-sample[b-c6l7yj1w7s] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

.reprice-sample th[b-c6l7yj1w7s],
.reprice-sample td[b-c6l7yj1w7s] {
    text-align: left;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

button.danger[b-c6l7yj1w7s] {
    background: #b91c1c;
    color: #fff;
    border-color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-c6l7yj1w7s] {
    background: #991b1b;
}

.facsimile-grid[b-c6l7yj1w7s] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.facsimile-cell[b-c6l7yj1w7s] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.facsimile-cell > label[b-c6l7yj1w7s] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
}

.facsimile-preview[b-c6l7yj1w7s] {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 4px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-image:
        linear-gradient(45deg, #f3f4f6 25%, transparent 25%),
        linear-gradient(-45deg, #f3f4f6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f3f4f6 75%),
        linear-gradient(-45deg, transparent 75%, #f3f4f6 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}

.facsimile-preview img[b-c6l7yj1w7s] {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.facsimile-actions[b-c6l7yj1w7s] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.facsimile-width[b-c6l7yj1w7s] {
    display: flex;
    flex-direction: column;
}

.facsimile-width label[b-c6l7yj1w7s] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.facsimile-width[b-c6l7yj1w7s]  input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    width: 100%;
    max-width: 140px;
}

.inline-checkbox[b-c6l7yj1w7s] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    color: #374151;
    cursor: pointer;
}

.reprice-sample th.num-col[b-c6l7yj1w7s],
.reprice-sample td.num[b-c6l7yj1w7s] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .kv[b-c6l7yj1w7s] {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .kv dd[b-c6l7yj1w7s] {
        margin-bottom: 0.4rem;
    }
}
/* /Components/Pages/Admin/ProductCreate.razor.rz.scp.css */
.crumbs[b-lxsasdwxv4] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card[b-lxsasdwxv4] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.row[b-lxsasdwxv4] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-lxsasdwxv4] {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.field label[b-lxsasdwxv4] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-lxsasdwxv4]  input,
.field[b-lxsasdwxv4]  textarea,
.field[b-lxsasdwxv4]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-lxsasdwxv4]  input:focus,
.field[b-lxsasdwxv4]  textarea:focus,
.field[b-lxsasdwxv4]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-lxsasdwxv4]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field.check-row[b-lxsasdwxv4] {
    flex-direction: row;
    align-items: center;
}

.field.check-row label[b-lxsasdwxv4] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.9rem;
}

.field .hint[b-lxsasdwxv4] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.radio[b-lxsasdwxv4] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.form-actions[b-lxsasdwxv4] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

button[b-lxsasdwxv4] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-lxsasdwxv4] {
    background: #f3f4f6;
}

button:disabled[b-lxsasdwxv4] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-lxsasdwxv4] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-lxsasdwxv4] {
    background: #1d4ed8;
}

.error[b-lxsasdwxv4] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
/* /Components/Pages/Admin/ProductDetail.razor.rz.scp.css */
.crumbs[b-riw7r2xwpm] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

h1 small.muted[b-riw7r2xwpm] {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    margin-left: 0.5rem;
}

.card[b-riw7r2xwpm] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-header[b-riw7r2xwpm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-header h2[b-riw7r2xwpm] {
    margin: 0;
    font-size: 1.0625rem;
}

dl.kv[b-riw7r2xwpm] {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}

dl.kv dt[b-riw7r2xwpm] {
    color: #6b7280;
    font-size: 0.875rem;
}

dl.kv dd[b-riw7r2xwpm] {
    margin: 0;
    font-size: 0.9rem;
}

dl.kv code[b-riw7r2xwpm] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.muted[b-riw7r2xwpm] {
    color: #6b7280;
    font-size: 0.875rem;
}

.row[b-riw7r2xwpm] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-riw7r2xwpm] {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.field label[b-riw7r2xwpm] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-riw7r2xwpm]  input,
.field[b-riw7r2xwpm]  textarea,
.field[b-riw7r2xwpm]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-riw7r2xwpm]  input:focus,
.field[b-riw7r2xwpm]  textarea:focus,
.field[b-riw7r2xwpm]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-riw7r2xwpm]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field.check-row[b-riw7r2xwpm] {
    flex-direction: row;
    align-items: center;
}

.field.check-row label[b-riw7r2xwpm] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.9rem;
}

.radio[b-riw7r2xwpm] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.form-actions[b-riw7r2xwpm] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.data-table[b-riw7r2xwpm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-riw7r2xwpm], .data-table td[b-riw7r2xwpm] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-riw7r2xwpm] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.editing[b-riw7r2xwpm] {
    background: #fffbeb;
}

.cell-input[b-riw7r2xwpm] {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.cell-input:focus[b-riw7r2xwpm] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.row-actions[b-riw7r2xwpm] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-riw7r2xwpm] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-riw7r2xwpm] {
    background: #f3f4f6;
}

button:disabled[b-riw7r2xwpm] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-riw7r2xwpm] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-riw7r2xwpm] {
    background: #1d4ed8;
}

button.danger[b-riw7r2xwpm] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-riw7r2xwpm] {
    background: #fef2f2;
}

.error[b-riw7r2xwpm] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/Products.razor.rz.scp.css */
.toolbar[b-wc2bkgdzh9] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.toolbar .filter[b-wc2bkgdzh9] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toolbar .filter label[b-wc2bkgdzh9] {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

.toolbar .filter input[b-wc2bkgdzh9],
.toolbar .filter select[b-wc2bkgdzh9] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    min-width: 180px;
}

.toolbar .filter input:focus[b-wc2bkgdzh9],
.toolbar .filter select:focus[b-wc2bkgdzh9] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.inline-checkbox[b-wc2bkgdzh9] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.info-bar[b-wc2bkgdzh9] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #1e3a8a;
}

.info-bar .warn[b-wc2bkgdzh9] {
    color: #b91c1c;
}

.data-table[b-wc2bkgdzh9] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-wc2bkgdzh9], .data-table td[b-wc2bkgdzh9] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-wc2bkgdzh9] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-wc2bkgdzh9] {
    color: #9ca3af;
    background: #fafafa;
}

.data-table code[b-wc2bkgdzh9] {
    background: #f3f4f6;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.row-actions[b-wc2bkgdzh9] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-wc2bkgdzh9] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-wc2bkgdzh9] {
    background: #f3f4f6;
}

button:disabled[b-wc2bkgdzh9] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-wc2bkgdzh9] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-wc2bkgdzh9] {
    background: #1d4ed8;
}

button.danger[b-wc2bkgdzh9] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-wc2bkgdzh9] {
    background: #fef2f2;
}

.error[b-wc2bkgdzh9] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/RegistrySyncCard.razor.rz.scp.css */
/* Вид — как у карточек «Параметров системы» (их стили изолированы страницей). */
.card[b-hmi0vfqbps] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    max-width: 720px;
}

.card h2[b-hmi0vfqbps] {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
}

.muted[b-hmi0vfqbps] {
    color: #6b7280;
    font-size: 0.875rem;
}

.muted.small[b-hmi0vfqbps] {
    font-size: 0.8125rem;
}

code[b-hmi0vfqbps] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    font-size: 0.85em;
}

.schedule[b-hmi0vfqbps] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.625rem 0.875rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.warn[b-hmi0vfqbps] {
    color: #92400e;
}

.form-actions[b-hmi0vfqbps] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.running[b-hmi0vfqbps] {
    color: #1d4ed8;
    font-size: 0.875rem;
}

.ok[b-hmi0vfqbps] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.error[b-hmi0vfqbps] {
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.sync-runs[b-hmi0vfqbps] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.8125rem;
}

.sync-runs th[b-hmi0vfqbps],
.sync-runs td[b-hmi0vfqbps] {
    text-align: left;
    vertical-align: top;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.sync-runs th[b-hmi0vfqbps] {
    color: #6b7280;
    font-weight: 500;
}

.sync-runs th.num-col[b-hmi0vfqbps],
.sync-runs td.num[b-hmi0vfqbps] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.status[b-hmi0vfqbps] {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-weight: 500;
    white-space: nowrap;
}

.status.st-ok[b-hmi0vfqbps] {
    background: #dcfce7;
    color: #166534;
}

.status.st-partial[b-hmi0vfqbps] {
    background: #fef9c3;
    color: #854d0e;
}

.status.st-failed[b-hmi0vfqbps] {
    background: #fee2e2;
    color: #991b1b;
}

.status.st-running[b-hmi0vfqbps] {
    background: #dbeafe;
    color: #1d4ed8;
}

@media (max-width: 600px) {
    /* Четыре колонки на ~390px влезают только мельче и плотнее; длинное имя запустившего — прокрутка внутри таблицы, а не вылет за карточку. */
    .sync-runs[b-hmi0vfqbps] {
        display: block;
        overflow-x: auto;
        font-size: 0.75rem;
    }

    .sync-runs th[b-hmi0vfqbps],
    .sync-runs td[b-hmi0vfqbps] {
        padding: 0.4rem 0.2rem;
    }

    .sync-runs th:nth-child(5)[b-hmi0vfqbps],
    .sync-runs td:nth-child(5)[b-hmi0vfqbps] {
        display: none;
    }
}
/* /Components/Pages/Admin/ScenarioEditor.razor.rz.scp.css */
/* Базовые классы (.card/.field/button/.error/.info/.success/.toolbar/.form-actions) —
   глобальные в app.css. Здесь только специфика редактора сценариев. */

.scenario-edit[b-hdsmuf5cm3] { display: grid; grid-template-columns: 19rem 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .scenario-edit[b-hdsmuf5cm3] { grid-template-columns: 1fr; } }

.node-list[b-hdsmuf5cm3] { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-direction: column; gap: .15rem; }
.node-list li[b-hdsmuf5cm3] { border-radius: 6px; }
.node-list li.selected[b-hdsmuf5cm3] { background: #eff6ff; }
.node-list .link-btn[b-hdsmuf5cm3] {
    display: flex; align-items: center; gap: .25rem; width: 100%;
    text-align: left; padding: .4rem .55rem; border-radius: 6px;
    background: none; border: none; color: #111827; cursor: pointer; font: inherit;
}
.node-list .link-btn:hover[b-hdsmuf5cm3] { background: #f3f4f6; }
.root-badge[b-hdsmuf5cm3] { color: #d97706; }

.add-node[b-hdsmuf5cm3] { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }

.subsection[b-hdsmuf5cm3] { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #eee; }
.subsection h3[b-hdsmuf5cm3] { font-size: .95rem; }

.option-list[b-hdsmuf5cm3] { list-style: none; padding: 0; margin: 0 0 .5rem; }
.option-list li[b-hdsmuf5cm3] { display: flex; gap: .5rem; align-items: center; margin-bottom: .4rem; }
.option-list li > input[type=text][b-hdsmuf5cm3] { flex: 1; }

.validation[b-hdsmuf5cm3] { background: #fffdf5; border-color: #fde68a; }
.validation ul[b-hdsmuf5cm3] { margin: 0; padding-left: 1.1rem; }
.validation .issue-error[b-hdsmuf5cm3] { color: #b91c1c; }
.validation .issue-warn[b-hdsmuf5cm3] { color: #92400e; }

.danger.small[b-hdsmuf5cm3] { padding: .1rem .5rem; line-height: 1.3; }
.md-editor-textarea[b-hdsmuf5cm3] { width: 100%; min-height: 8rem; }
/* /Components/Pages/Admin/Stages.razor.rz.scp.css */
.crumbs[b-ilr3grhkjn] {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.crumbs a[b-ilr3grhkjn] {
    color: #4b5563;
}

.toolbar[b-ilr3grhkjn] {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.inline-checkbox[b-ilr3grhkjn] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.add-form[b-ilr3grhkjn] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.add-form h2[b-ilr3grhkjn] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-ilr3grhkjn] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.field[b-ilr3grhkjn] {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.field label[b-ilr3grhkjn] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-ilr3grhkjn]  input, .field[b-ilr3grhkjn]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-ilr3grhkjn]  input:focus, .field[b-ilr3grhkjn]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-ilr3grhkjn]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.color-picker[b-ilr3grhkjn] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    height: 36px;
}

.swatch[b-ilr3grhkjn] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.05s;
}

.swatch:hover[b-ilr3grhkjn] {
    transform: scale(1.1);
}

.swatch.selected[b-ilr3grhkjn] {
    border-color: #111827;
    outline: 2px solid #ffffff;
    outline-offset: -4px;
}

.swatch.stage-gray[b-ilr3grhkjn]   { background: #d1d5db; }
.swatch.stage-blue[b-ilr3grhkjn]   { background: #93c5fd; }
.swatch.stage-green[b-ilr3grhkjn]  { background: #6ee7b7; }
.swatch.stage-yellow[b-ilr3grhkjn] { background: #fcd34d; }
.swatch.stage-orange[b-ilr3grhkjn] { background: #fdba74; }
.swatch.stage-red[b-ilr3grhkjn]    { background: #fca5a5; }
.swatch.stage-purple[b-ilr3grhkjn] { background: #c4b5fd; }
.swatch.stage-teal[b-ilr3grhkjn]   { background: #5eead4; }

.form-actions[b-ilr3grhkjn] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.warn[b-ilr3grhkjn] {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    margin-right: auto;
}

.note[b-ilr3grhkjn] {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

.data-table[b-ilr3grhkjn] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-ilr3grhkjn], .data-table td[b-ilr3grhkjn] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-ilr3grhkjn] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-ilr3grhkjn] {
    color: #9ca3af;
    background: #fafafa;
}

.row-actions[b-ilr3grhkjn] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-ilr3grhkjn] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-ilr3grhkjn] {
    background: #f3f4f6;
}

button:disabled[b-ilr3grhkjn] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-ilr3grhkjn] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-ilr3grhkjn] {
    background: #1d4ed8;
}

button.danger[b-ilr3grhkjn] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-ilr3grhkjn] {
    background: #fef2f2;
}

button.ord-btn[b-ilr3grhkjn] {
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    font-size: 0.75rem;
}

.error[b-ilr3grhkjn] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
/* /Components/Pages/Admin/Telephony.razor.rz.scp.css */
.card[b-2z77l1oxmu] {
    background: white;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.card h2[b-2z77l1oxmu] {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.kv[b-2z77l1oxmu] {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0.25rem 1rem;
    margin: 0 0 0.75rem 0;
}

.kv dt[b-2z77l1oxmu] {
    color: #666;
    font-weight: 500;
}

.kv dd[b-2z77l1oxmu] {
    margin: 0;
}

.kv code[b-2z77l1oxmu] {
    background: #f3f3f3;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85rem;
    word-break: break-all;
}

.muted[b-2z77l1oxmu] {
    color: #888;
}

.error-text[b-2z77l1oxmu] {
    color: #c62828;
}

.ok-text[b-2z77l1oxmu] {
    color: #2e7d32;
}

.toolbar[b-2z77l1oxmu] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.accounts-table[b-2z77l1oxmu] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.accounts-table th[b-2z77l1oxmu],
.accounts-table td[b-2z77l1oxmu] {
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.accounts-table th[b-2z77l1oxmu] {
    font-weight: 600;
    background: #f8f8f8;
}

.accounts-table td.mono[b-2z77l1oxmu] {
    font-family: monospace;
}

.accounts-table select[b-2z77l1oxmu] {
    width: 100%;
    padding: 0.3rem 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.test-call[b-2z77l1oxmu] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.test-call input[b-2z77l1oxmu] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 240px;
}
/* /Components/Pages/Admin/Templates.razor.rz.scp.css */
.muted[b-i89y6qqebq] {
    color: #6b7280;
    font-size: 0.875rem;
}

.muted code[b-i89y6qqebq] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    font-size: 0.85em;
}

.card[b-i89y6qqebq] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-header[b-i89y6qqebq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-header h2[b-i89y6qqebq] {
    margin: 0;
    font-size: 1.0625rem;
}

.inline-checkbox[b-i89y6qqebq] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.upload-grid[b-i89y6qqebq] {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 2fr auto;
    gap: 1rem;
    align-items: end;
}

.inline-edit[b-i89y6qqebq] {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.inline-edit select[b-i89y6qqebq] {
    padding: 0.3rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    min-width: 200px;
}

.inline-edit button[b-i89y6qqebq] {
    padding: 0.25rem 0.55rem;
    font-size: 0.85rem;
}

button.link-btn[b-i89y6qqebq] {
    border: none;
    background: transparent;
    color: #2563eb;
    padding: 0;
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    cursor: pointer;
    text-decoration: underline;
}

button.link-btn:hover:not(:disabled)[b-i89y6qqebq] {
    color: #1d4ed8;
    background: transparent;
}

button.link-btn.preset-replace[b-i89y6qqebq] {
    margin-left: 0;
}

/* Колонка «Файл» узкая: пометка — одной строкой, ссылка под ней и по левому краю, а не по центру кнопки. */
.preset-status[b-i89y6qqebq] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-top: 0.2rem;
}

.preset-status button.link-btn[b-i89y6qqebq] {
    text-align: left;
}

.preset-badge[b-i89y6qqebq] {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    cursor: help;
}

.preset-badge.warn[b-i89y6qqebq] {
    color: #92400e;
    background: #fef3c7;
    border-radius: 4px;
    padding: 0 0.35rem;
}

.field[b-i89y6qqebq] {
    display: flex;
    flex-direction: column;
}

.field label[b-i89y6qqebq] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field input[b-i89y6qqebq],
.field select[b-i89y6qqebq] {
    padding: 0.45rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field input:focus[b-i89y6qqebq],
.field select:focus[b-i89y6qqebq] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field .hint[b-i89y6qqebq] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

.upload-action[b-i89y6qqebq] {
    justify-content: flex-end;
}

.data-table[b-i89y6qqebq] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-i89y6qqebq], .data-table td[b-i89y6qqebq] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-i89y6qqebq] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tr.inactive[b-i89y6qqebq] {
    color: #9ca3af;
    background: #fafafa;
}

.row-actions[b-i89y6qqebq] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-i89y6qqebq] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-i89y6qqebq] {
    background: #f3f4f6;
}

button:disabled[b-i89y6qqebq] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-i89y6qqebq] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-i89y6qqebq] {
    background: #1d4ed8;
}

button.danger[b-i89y6qqebq] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-i89y6qqebq] {
    background: #fef2f2;
}

.error[b-i89y6qqebq] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.notice[b-i89y6qqebq] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.vocab-grid[b-i89y6qqebq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 1.5rem;
}

.vocab-grid h3[b-i89y6qqebq] {
    font-size: 0.95rem;
    margin: 0 0 0.4rem 0;
    color: #1f2937;
}

.vocab-grid ul[b-i89y6qqebq] {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.vocab-grid li[b-i89y6qqebq] {
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.vocab-grid code[b-i89y6qqebq] {
    background: #f3f4f6;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    color: #1f2937;
    font-size: 0.9em;
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
.toolbar[b-vw31elxqvz] {
    margin-bottom: 1rem;
}

.add-form[b-vw31elxqvz] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.add-form h2[b-vw31elxqvz] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-vw31elxqvz] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.field[b-vw31elxqvz] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.field label[b-vw31elxqvz] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-vw31elxqvz]  input, .field[b-vw31elxqvz]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #ffffff;
}

.field[b-vw31elxqvz]  input:focus, .field[b-vw31elxqvz]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-vw31elxqvz]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-vw31elxqvz] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.users-table[b-vw31elxqvz] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.users-table th[b-vw31elxqvz], .users-table td[b-vw31elxqvz] {
    text-align: left;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.users-table th[b-vw31elxqvz] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.users-table tr.inactive[b-vw31elxqvz] {
    background: #fafafa;
    color: #9ca3af;
}

.row-actions[b-vw31elxqvz] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-vw31elxqvz] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-vw31elxqvz] {
    background: #f3f4f6;
}

button:disabled[b-vw31elxqvz] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-vw31elxqvz] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-vw31elxqvz] {
    background: #1d4ed8;
}

button.danger[b-vw31elxqvz] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-vw31elxqvz] {
    background: #fef2f2;
}

.error[b-vw31elxqvz] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.dept-cell .muted[b-vw31elxqvz] {
    color: #9ca3af;
}

.chip[b-vw31elxqvz] {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.8125rem;
    margin-right: 0.3rem;
    margin-bottom: 0.2rem;
}

.link-btn[b-vw31elxqvz] {
    border: none;
    background: none;
    color: #1d4ed8;
    padding: 0;
    font-size: 0.8125rem;
    cursor: pointer;
}

.link-btn:hover:not(:disabled)[b-vw31elxqvz] {
    background: none;
    text-decoration: underline;
}

.edit-row td[b-vw31elxqvz] {
    background: #f9fafb;
    padding: 1rem 0.75rem;
}

/* Таблица шире экрана — форма прилипает к левому краю и не уезжает при скролле. */
.edit-row[b-vw31elxqvz]  form {
    position: sticky;
    left: 0.75rem;
    max-width: min(560px, calc(100vw - 4rem));
}

@media (max-width: 640px) {
    .row[b-vw31elxqvz] {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.dept-edit[b-vw31elxqvz] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dept-check[b-vw31elxqvz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
}

.dept-actions[b-vw31elxqvz] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
/* /Components/Pages/Analytics/ExecutionControl.razor.rz.scp.css */
.filters[b-jfyjbykl6v] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.custom-range[b-jfyjbykl6v] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.custom-range label[b-jfyjbykl6v] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.custom-range label.inline-checkbox[b-jfyjbykl6v] {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
}

.kpi-grid[b-jfyjbykl6v] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.kpi[b-jfyjbykl6v] {
    border: 1px solid var(--border-color, #e2e2e2);
    border-radius: 10px;
    padding: 1rem;
    background: var(--card-bg, #fff);
}

.kpi.warn[b-jfyjbykl6v] {
    border-color: #e0a800;
    background: #fff8e6;
}

.kpi-value[b-jfyjbykl6v] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.kpi-label[b-jfyjbykl6v] {
    font-weight: 600;
    margin-top: 0.25rem;
}
/* /Components/Pages/Analytics/HelpdeskAnalytics.razor.rz.scp.css */
.filters[b-ym1oyb7koy] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.custom-range[b-ym1oyb7koy] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.custom-range label[b-ym1oyb7koy] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.period-note[b-ym1oyb7koy] {
    margin: 0;
    font-size: 0.85rem;
}

.kpi-grid[b-ym1oyb7koy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.kpi[b-ym1oyb7koy] {
    border: 1px solid var(--border-color, #e2e2e2);
    border-radius: 10px;
    padding: 1rem;
    background: var(--card-bg, #fff);
}

.kpi.warn[b-ym1oyb7koy] {
    border-color: #e0a800;
    background: #fff8e6;
}

.kpi-value[b-ym1oyb7koy] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.kpi-label[b-ym1oyb7koy] {
    font-weight: 600;
    margin-top: 0.25rem;
}

.kpi-sub[b-ym1oyb7koy] {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
/* /Components/Pages/Analytics/LeadgenAnalytics.razor.rz.scp.css */
.filters[b-yks9fdjrcj] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.dim-filters[b-yks9fdjrcj] {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.dim-filters label[b-yks9fdjrcj] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.85rem;
}

.period-note[b-yks9fdjrcj] {
    margin: 0;
    font-size: 0.85rem;
}

.kpi-grid[b-yks9fdjrcj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.kpi[b-yks9fdjrcj] {
    border: 1px solid var(--border-color, #e2e2e2);
    border-radius: 10px;
    padding: 1rem;
    background: var(--card-bg, #fff);
}

.kpi.warn[b-yks9fdjrcj] {
    border-color: #e0a800;
    background: #fff8e6;
}

.kpi-value[b-yks9fdjrcj] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.kpi-label[b-yks9fdjrcj] {
    font-weight: 600;
    margin-top: 0.25rem;
}

.kpi-sub[b-yks9fdjrcj] {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.data-table .num[b-yks9fdjrcj] {
    text-align: right;
    white-space: nowrap;
}

.bar-cell[b-yks9fdjrcj] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 90px;
    height: 1.1rem;
    background: #eef0f3;
    border-radius: 4px;
    overflow: hidden;
}

.bar-cell .bar[b-yks9fdjrcj] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: #93c5fd;
}

.bar-cell .bar.good[b-yks9fdjrcj] {
    background: #86efac;
}

.bar-cell .bar-label[b-yks9fdjrcj] {
    position: relative;
    padding: 0 0.4rem;
    font-size: 0.8rem;
    z-index: 1;
}
/* /Components/Pages/Analytics/TaskAnalytics.razor.rz.scp.css */
/* Девять колонок не помещаются на узком экране — таблица прокручивается внутри карточки. */
.table-scroll[b-czcc2oo407] {
    overflow-x: auto;
}

.table-scroll .data-table[b-czcc2oo407] {
    min-width: 760px;
}

.coverage-note[b-czcc2oo407] {
    margin: -0.25rem 0 1rem;
}
/* /Components/Pages/Calls/Calls.razor.rz.scp.css */
.filters[b-r1f1l1c7xi] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 1rem 0;
}

/* Без нижнего отступа общего .field — иначе кнопки, стоящие в ряду без обёртки, оказываются ниже полей. */
.filters .field[b-r1f1l1c7xi] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0;
}

/* Поле номера растёт не шире своего поля ввода (40rem у общего .field) — кнопки стоят сразу за ним. */
.filters .field.grow[b-r1f1l1c7xi] {
    flex: 1 1 220px;
    max-width: 40rem;
}

.filters label[b-r1f1l1c7xi] {
    font-size: 0.8rem;
    color: #666;
}

.filters input[b-r1f1l1c7xi],
.filters select[b-r1f1l1c7xi] {
    padding: 0.35rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.calls-table-page td.phone[b-r1f1l1c7xi] {
    font-family: monospace;
}

.calls-table-page audio[b-r1f1l1c7xi] {
    height: 32px;
    max-width: 240px;
}

.calls-table-page .muted[b-r1f1l1c7xi] {
    color: #888;
}

.calls-table-page .error[b-r1f1l1c7xi] {
    color: #c62828;
    text-decoration: underline dotted;
    cursor: help;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dash[b-ixqs4q852w] {
    max-width: 1100px;
}

.dash-head[b-ixqs4q852w] {
    margin-bottom: 1.5rem;
}

.dash-head h1[b-ixqs4q852w] {
    margin: 0 0 0.25rem;
}

.dash-head .lead[b-ixqs4q852w] {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.kpi-grid[b-ixqs4q852w] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi[b-ixqs4q852w] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}

.kpi:hover[b-ixqs4q852w] {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    text-decoration: none;
    border-color: var(--border-strong);
}

.kpi-num[b-ixqs4q852w] {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
}

.kpi-label[b-ixqs4q852w] {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.kpi-danger[b-ixqs4q852w] { border-left: 3px solid var(--danger); }
.kpi-danger .kpi-num[b-ixqs4q852w] { color: var(--danger); }
.kpi-warn[b-ixqs4q852w] { border-left: 3px solid var(--warn); }
.kpi-warn .kpi-num[b-ixqs4q852w] { color: var(--warn); }
.kpi-accent[b-ixqs4q852w] { border-left: 3px solid var(--accent); }
.kpi-accent .kpi-num[b-ixqs4q852w] { color: var(--accent-text); }

.dash-links h2[b-ixqs4q852w] {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.quick-grid[b-ixqs4q852w] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.quick-grid a[b-ixqs4q852w] {
    padding: 0.5rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--accent-text);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

.quick-grid a:hover[b-ixqs4q852w] {
    background: var(--accent-soft);
    text-decoration: none;
}
/* /Components/Pages/Installations/Installations.razor.rz.scp.css */
.header[b-e6niekmkna] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.day-nav[b-e6niekmkna] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.day-title[b-e6niekmkna] {
    margin-top: 0;
}

.day-title[b-e6niekmkna]::first-letter {
    text-transform: capitalize;
}

.hint[b-e6niekmkna] {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.grid-scroll[b-e6niekmkna] {
    overflow-x: auto;
}

.install-grid[b-e6niekmkna] {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
}

.install-grid th[b-e6niekmkna],
.install-grid td[b-e6niekmkna] {
    border: 1px solid #e5e7eb;
    vertical-align: top;
    padding: 4px;
}

.install-grid thead th[b-e6niekmkna] {
    background: #f9fafb;
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
    font-size: 0.85rem;
}

.install-grid .tech-name[b-e6niekmkna] {
    font-weight: 600;
}

.install-grid .tech-count[b-e6niekmkna] {
    font-size: 0.75rem;
    color: #6b7280;
}

.install-grid .time-col[b-e6niekmkna] {
    width: 56px;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.82rem;
    background: #fafafa;
    position: sticky;
    left: 0;
    z-index: 1;
}

.install-grid thead th.time-col[b-e6niekmkna] {
    z-index: 3;
}

.install-grid .pool-col[b-e6niekmkna] {
    background: #fcfcfd;
}

.ic-card[b-e6niekmkna] {
    border: 1px solid #d1d5db;
    border-left-width: 4px;
    border-radius: 5px;
    padding: 3px 6px;
    margin-bottom: 3px;
    font-size: 0.82rem;
    background: #fff;
}

.ic-card.clickable[b-e6niekmkna] {
    cursor: pointer;
}

.ic-card.clickable:hover[b-e6niekmkna] {
    filter: brightness(0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ic-card .ic-company a[b-e6niekmkna] {
    font-weight: 600;
}

.ic-card .ic-meta[b-e6niekmkna] {
    font-size: 0.72rem;
    color: #6b7280;
}

.ic-card.planned[b-e6niekmkna] { border-left-color: #3b82f6; }
.ic-card.progress[b-e6niekmkna] { border-left-color: #f59e0b; background: #fffbeb; }
.ic-card.done[b-e6niekmkna] { border-left-color: #16a34a; background: #f0fdf4; }
.ic-card.overdue[b-e6niekmkna] { border-left-color: #dc2626; background: #fef2f2; }
/* /Components/Pages/Leadgen/LeadgenRequestDetail.razor.rz.scp.css */
.review-card[b-r0713behgb] {
    border-color: #f0c987;
    background: #fffaf0;
}

.review-candidates[b-r0713behgb] {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
}

.review-candidates li[b-r0713behgb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .6rem 0;
    border-top: 1px solid #f3dfb8;
}

.review-who[b-r0713behgb] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.review-actions[b-r0713behgb] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
/* /Components/Pages/Leadgen/MyLeadgenRequests.razor.rz.scp.css */
.toolbar[b-knb5vvzr2s] {
    margin-bottom: .75rem;
}
/* /Components/Pages/Leads/DuplicatesQueue.razor.rz.scp.css */
.dup-score[b-7809j76gby] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.15rem 0.4rem;
    font-weight: 700;
    border-radius: 6px;
}

.dup-score.score-high[b-7809j76gby] {
    background: #fee2e2;
    color: #991b1b;
}

.dup-score.score-mid[b-7809j76gby] {
    background: #fef3c7;
    color: #92400e;
}

.dup-score.score-low[b-7809j76gby] {
    background: #eff6ff;
    color: #1e40af;
}

.dup-meta[b-7809j76gby] {
    display: block;
    font-size: 0.8125rem;
}

.dup-actions[b-7809j76gby] {
    white-space: nowrap;
}

.btn-sm[b-7809j76gby] {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    border-radius: 6px;
    text-decoration: none;
}

.dup-actions .btn-sm + .btn-sm[b-7809j76gby] {
    margin-left: 0.4rem;
}

.scan-status[b-7809j76gby] {
    margin: 0.75rem 0;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.scan-status span[b-7809j76gby] {
    margin-left: 0.4rem;
    color: #475569;
}

.scan-status.running[b-7809j76gby] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.scan-status.done[b-7809j76gby] {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.scan-status.error[b-7809j76gby] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.empty[b-7809j76gby] {
    color: #64748b;
}
/* /Components/Pages/Leads/Import/LeadImportBatchView.razor.rz.scp.css */
/* Подписи строк и имена лидов приезжают из файла и бывают слитыми «словами» на сотни
   символов — без принудительного переноса такая ячейка растягивает разбор далеко за
   пределы экрана, и колонка с итогом уезжает за край. */
.checks-table td[b-mmq4t7w2rr] {
    overflow-wrap: anywhere;
}

.checks-table td:nth-child(2)[b-mmq4t7w2rr] {
    max-width: 24rem;
}

.checks-table td:nth-child(4)[b-mmq4t7w2rr] {
    max-width: 22rem;
}
/* /Components/Pages/Leads/LeadCreate.razor.rz.scp.css */
.crumbs[b-qstcql6w0g] {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.crumbs a[b-qstcql6w0g] {
    color: #4b5563;
}

.card[b-qstcql6w0g] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-qstcql6w0g] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.card h3[b-qstcql6w0g] {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 0.95rem;
    color: #374151;
}

.dup-inline[b-qstcql6w0g] {
    margin-top: 1rem;
    padding: 0.75rem 0.875rem;
    border-radius: 8px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.dup-inline.high[b-qstcql6w0g] {
    border-color: #fecaca;
    background: #fef2f2;
}

.dup-inline-head[b-qstcql6w0g] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dup-inline-head strong[b-qstcql6w0g] {
    color: #92400e;
    font-size: 0.9375rem;
}

.dup-inline.high .dup-inline-head strong[b-qstcql6w0g] {
    color: #991b1b;
}

.dup-inline-score[b-qstcql6w0g] {
    font-size: 0.8125rem;
    color: #6b7280;
}

.contact-block[b-qstcql6w0g] {
    margin-bottom: 1rem;
}

.contact-block:last-child[b-qstcql6w0g] {
    margin-bottom: 0;
}

.contact-row[b-qstcql6w0g] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.4rem;
}

.contact-row input[b-qstcql6w0g] {
    flex: 1;
    max-width: 360px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.contact-row input:focus[b-qstcql6w0g] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-qstcql6w0g] {
    display: flex;
    flex-direction: column;
}

.muted[b-qstcql6w0g] {
    color: #6b7280;
    font-size: 0.875rem;
    margin: -0.5rem 0 0.75rem 0;
}

.field label[b-qstcql6w0g] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field input[b-qstcql6w0g], .field textarea[b-qstcql6w0g], .field select[b-qstcql6w0g],
.field[b-qstcql6w0g]  input, .field[b-qstcql6w0g]  textarea, .field[b-qstcql6w0g]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field input:focus[b-qstcql6w0g], .field textarea:focus[b-qstcql6w0g], .field select:focus[b-qstcql6w0g],
.field[b-qstcql6w0g]  input:focus, .field[b-qstcql6w0g]  textarea:focus, .field[b-qstcql6w0g]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-qstcql6w0g]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-qstcql6w0g] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.error[b-qstcql6w0g] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

button[b-qstcql6w0g] {
    padding: 0.5rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-qstcql6w0g] {
    background: #f3f4f6;
}

button:disabled[b-qstcql6w0g] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-qstcql6w0g] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-qstcql6w0g] {
    background: #1d4ed8;
}

button.link-danger[b-qstcql6w0g] {
    border: none;
    background: transparent;
    color: #b91c1c;
    padding: 0.2rem 0.4rem;
    font-size: 0.8125rem;
}

button.link-danger:hover:not(:disabled)[b-qstcql6w0g] {
    background: #fef2f2;
}
/* /Components/Pages/Leads/LeadDetail.razor.rz.scp.css */
.crumbs[b-h26kg7rqby] {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.crumbs a[b-h26kg7rqby] {
    color: #4b5563;
}

.header[b-h26kg7rqby] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.header h1[b-h26kg7rqby] {
    margin: 0;
    flex: 1 1 auto;
    min-width: 12rem;
}

.header h1 .source-badge[b-h26kg7rqby] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.8rem;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

.header-actions[b-h26kg7rqby] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card[b-h26kg7rqby] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-h26kg7rqby] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.card-header[b-h26kg7rqby] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h2[b-h26kg7rqby] {
    margin: 0;
}

.kv[b-h26kg7rqby] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.25rem;
    margin: 0;
    max-width: 800px;
}

.kv dt[b-h26kg7rqby] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.kv dd[b-h26kg7rqby] {
    margin: 0;
    color: #111827;
}

.kv dd.notes[b-h26kg7rqby] {
    white-space: pre-wrap;
}

.field[b-h26kg7rqby] {
    display: flex;
    flex-direction: column;
}

/* Предупреждение, которое не мешает сохранить (неверный IBAN в просмотре реквизитов). */
.warn-note[b-h26kg7rqby] {
    color: #92400e;
    font-size: 0.875rem;
}

.card > p.muted[b-h26kg7rqby] {
    margin: -0.5rem 0 0.75rem 0;
}

.field label[b-h26kg7rqby] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-h26kg7rqby]  input, .field[b-h26kg7rqby]  textarea, .field select[b-h26kg7rqby] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-h26kg7rqby]  input:focus, .field[b-h26kg7rqby]  textarea:focus, .field select:focus[b-h26kg7rqby] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-h26kg7rqby]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-h26kg7rqby] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-list[b-h26kg7rqby] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.contact-row[b-h26kg7rqby] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.625rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 0.875rem;
}

.contact-row .raw[b-h26kg7rqby] {
    font-weight: 500;
}

.contact-row .dial[b-h26kg7rqby] {
    color: #2e7d32;
    font-size: 0.8125rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.contact-row .dial.dial-warn[b-h26kg7rqby] {
    color: #b26a00;
}

button.link[b-h26kg7rqby] {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.95rem;
}

button.link:hover:not(:disabled)[b-h26kg7rqby] {
    color: #0d47a1;
}

button.link:disabled[b-h26kg7rqby] {
    opacity: 0.5;
    cursor: default;
}

.contact-row .label-tag[b-h26kg7rqby] {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.subgroup[b-h26kg7rqby] {
    margin: 1rem 0 0.5rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4b5563;
}

.add-row[b-h26kg7rqby] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-input[b-h26kg7rqby] {
    flex: 1;
    max-width: 320px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input:focus[b-h26kg7rqby] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.muted[b-h26kg7rqby] {
    color: #9ca3af;
    font-size: 0.875rem;
    font-style: italic;
}

button[b-h26kg7rqby] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-h26kg7rqby] {
    background: #f3f4f6;
}

button:disabled[b-h26kg7rqby] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-h26kg7rqby] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-h26kg7rqby] {
    background: #1d4ed8;
}

button.danger[b-h26kg7rqby] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-h26kg7rqby] {
    background: #fef2f2;
}

button.link-danger[b-h26kg7rqby] {
    border: none;
    background: transparent;
    color: #b91c1c;
    padding: 0.2rem 0.4rem;
    font-size: 0.8125rem;
}

button.link-danger:hover:not(:disabled)[b-h26kg7rqby] {
    background: #fef2f2;
}

.error[b-h26kg7rqby] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.error-inline[b-h26kg7rqby] {
    color: #b91c1c;
    font-size: 0.8125rem;
}

.legacy-note[b-h26kg7rqby] {
    background: #f3f4f6;
    border-left: 3px solid #6b7280;
    padding: 0.5rem 0.875rem;
    margin: 0 0 1rem 0;
    color: #4b5563;
    font-size: 0.875rem;
}

.bitrix-header[b-h26kg7rqby] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.best-score[b-h26kg7rqby] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.best-score .verdict[b-h26kg7rqby] {
    font-weight: 500;
    color: #111827;
}

.score[b-h26kg7rqby] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

.score-high[b-h26kg7rqby] {
    background: #fee2e2;
    color: #991b1b;
}

.score-mid[b-h26kg7rqby] {
    background: #fef3c7;
    color: #92400e;
}

.score-low[b-h26kg7rqby] {
    background: #dbeafe;
    color: #1e40af;
}

.score-zero[b-h26kg7rqby] {
    background: #f3f4f6;
    color: #6b7280;
}

.bitrix-summary[b-h26kg7rqby] {
    background: #f9fafb;
    border-left: 3px solid #2563eb;
    padding: 0.5rem 0.875rem;
    margin: 0 0 0.75rem 0;
    color: #1f2937;
    font-size: 0.875rem;
}

.bitrix-matches[b-h26kg7rqby] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.bitrix-matches th[b-h26kg7rqby],
.bitrix-matches td[b-h26kg7rqby] {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.bitrix-matches th[b-h26kg7rqby] {
    background: #f9fafb;
    color: #374151;
    font-weight: 500;
}

.bitrix-matches .cand-title[b-h26kg7rqby] {
    font-weight: 500;
    color: #111827;
}

.bitrix-matches .detector-name[b-h26kg7rqby] {
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.15rem;
}

.bitrix-matches .reason[b-h26kg7rqby] {
    line-height: 1.35;
}

.bitrix-link[b-h26kg7rqby] {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.bitrix-link:hover[b-h26kg7rqby] {
    text-decoration: underline;
}
/* /Components/Pages/Leads/LeadLinksPanel.razor.rz.scp.css */
.links-hint[b-4h97j5kxnw] {
    margin-top: 0;
    font-size: .85rem;
}

.link-meta[b-4h97j5kxnw] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: var(--muted, #6b7280);
}

.confirm-inline[b-4h97j5kxnw] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}

.toolbar[b-4h97j5kxnw] {
    margin-top: .75rem;
}

.cell[b-4h97j5kxnw] {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    /* В карточке значение прижато вправо (как у остальных списков); мета и бейджи — туда же. */
    .cell .link-meta[b-4h97j5kxnw],
    .cell[b-4h97j5kxnw]  .engagement-badges {
        justify-content: flex-end;
    }
}
/* /Components/Pages/Leads/LeadOpportunitiesPanel.razor.rz.scp.css */
.muted[b-u9nblqae6m] {
    color: #6b7280;
    font-style: italic;
}

.opps-table[b-u9nblqae6m] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.opps-table th[b-u9nblqae6m], .opps-table td[b-u9nblqae6m] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.opps-table th[b-u9nblqae6m] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.reopen-count[b-u9nblqae6m] {
    margin-left: 0.4rem;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
}

.assignee-chip[b-u9nblqae6m] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.8125rem;
    font-weight: 500;
}

.row-actions[b-u9nblqae6m] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
}

.link[b-u9nblqae6m] {
    color: #1d4ed8;
    text-decoration: none;
    font-size: 0.875rem;
}

.link:hover[b-u9nblqae6m] {
    text-decoration: underline;
}

button[b-u9nblqae6m] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-u9nblqae6m] {
    background: #f3f4f6;
}

button:disabled[b-u9nblqae6m] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-u9nblqae6m] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-u9nblqae6m] {
    background: #1d4ed8;
}

button.secondary[b-u9nblqae6m] {
    background: #fff;
}

.modal-backdrop[b-u9nblqae6m] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-u9nblqae6m] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    width: 100%;
    max-width: 460px;
    max-height: 85vh;
    overflow-y: auto;
}

.dup-banner[b-u9nblqae6m] {
    margin-bottom: 1rem;
    padding: 0.75rem 0.875rem;
    border-radius: 8px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.dup-banner.high[b-u9nblqae6m] {
    border-color: #fecaca;
    background: #fef2f2;
}

.dup-banner-head[b-u9nblqae6m] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.dup-banner-head strong[b-u9nblqae6m] {
    color: #92400e;
    font-size: 0.9375rem;
}

.dup-banner.high .dup-banner-head strong[b-u9nblqae6m] {
    color: #991b1b;
}

.dup-banner-score[b-u9nblqae6m] {
    font-size: 0.8125rem;
    color: #6b7280;
}

.dup-banner-hint[b-u9nblqae6m] {
    margin: 0.4rem 0 0.6rem 0;
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.4;
}

.modal h3[b-u9nblqae6m] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-u9nblqae6m] {
    display: flex;
    gap: 0.75rem;
}

.row .field[b-u9nblqae6m] {
    flex: 1;
}

.field[b-u9nblqae6m] {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
}

.field label[b-u9nblqae6m] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-u9nblqae6m]  input, .field[b-u9nblqae6m]  select, .field input[disabled][b-u9nblqae6m] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field input[disabled][b-u9nblqae6m] {
    background: #f3f4f6;
    color: #4b5563;
}

.field[b-u9nblqae6m]  input:focus, .field[b-u9nblqae6m]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-u9nblqae6m]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.actions[b-u9nblqae6m] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.error[b-u9nblqae6m] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 1rem 0 0 0;
}
/* /Components/Pages/Leads/LeadRegistryHistory.razor.rz.scp.css */
/* Как в карточке лида: стили страницы до дочернего компонента не доходят. */
.muted[b-h8ks264uu0] {
    color: #9ca3af;
    font-size: 0.875rem;
    font-style: italic;
}

.egr-history[b-h8ks264uu0] {
    margin-top: .75rem;
    padding-top: .6rem;
    border-top: 1px solid var(--border);
}

.egr-history-toggle[b-h8ks264uu0] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem 0;
    border: none;
    background: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}

/* Общее button:hover перекрасило бы ссылку серым фоном. */
.egr-history-toggle:hover:not(:disabled)[b-h8ks264uu0] {
    text-decoration: underline;
    background: none;
}

.egr-history-chevron[b-h8ks264uu0] {
    display: inline-block;
    width: 1em;
    text-align: center;
}

.egr-history-count[b-h8ks264uu0] {
    color: var(--text-muted, #667085);
    font-weight: 400;
}

.egr-history-body[b-h8ks264uu0] {
    margin-top: .4rem;
}

.egr-history-message[b-h8ks264uu0] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
    margin-bottom: 0;
}

.egr-events[b-h8ks264uu0] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.egr-event[b-h8ks264uu0] {
    display: flex;
    gap: .75rem;
    padding: .5rem 0 .5rem .6rem;
    border-left: 3px solid transparent;
    border-top: 1px solid var(--border);
}

.egr-event:first-child[b-h8ks264uu0] {
    border-top: none;
}

.egr-event-date[b-h8ks264uu0] {
    flex: 0 0 6.5rem;
    color: var(--text-muted, #667085);
    font-variant-numeric: tabular-nums;
}

.egr-event-body[b-h8ks264uu0] {
    min-width: 0;
}

.egr-event-title[b-h8ks264uu0] {
    overflow-wrap: anywhere;
}

.egr-event-meta[b-h8ks264uu0] {
    margin-top: .15rem;
    font-size: .85rem;
    color: var(--text-muted, #667085);
    overflow-wrap: anywhere;
}

.egr-event-milestone .egr-event-title[b-h8ks264uu0] {
    font-weight: 600;
}

/* Компания прекратила существование — главное, что менеджер должен увидеть. */
.egr-event-termination[b-h8ks264uu0] {
    border-left-color: var(--danger, #b42318);
    background: var(--danger-soft, #fdeceb);
}

.egr-event-termination .egr-event-title[b-h8ks264uu0],
.egr-event-termination .egr-event-date[b-h8ks264uu0] {
    color: var(--danger, #b42318);
    font-weight: 600;
}

.egr-event-noise .egr-event-title[b-h8ks264uu0] {
    font-size: .9rem;
}

.egr-other[b-h8ks264uu0] {
    margin-top: .5rem;
}

.egr-other summary[b-h8ks264uu0] {
    cursor: pointer;
    color: #374151;
    font-size: .9rem;
}

.egr-other .egr-events[b-h8ks264uu0] {
    margin-top: .25rem;
}

@media (max-width: 600px) {
    .egr-event[b-h8ks264uu0] {
        flex-direction: column;
        gap: .1rem;
    }

    .egr-event-date[b-h8ks264uu0] {
        flex-basis: auto;
        font-size: .85rem;
    }
}
/* /Components/Pages/Leads/LeadsList.razor.rz.scp.css */
.leads-header[b-65f0vbnsf6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.leads-header h1[b-65f0vbnsf6] {
    margin: 0;
}

.search-row[b-65f0vbnsf6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.search-input[b-65f0vbnsf6] {
    flex: 1;
    max-width: 600px;
    padding: 0.6rem 0.9rem;
}

.inline-checkbox[b-65f0vbnsf6] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.counter[b-65f0vbnsf6] {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: auto;
    white-space: nowrap;
}

.extra-filter[b-65f0vbnsf6] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.extra-filter select[b-65f0vbnsf6] {
    margin-left: 0.4rem;
    padding: 0.35rem 0.6rem;
}

/* Ссылка на компанию — чуть плотнее и тёмно-синяя, чтобы строка читалась как заголовок. */
.company-link[b-65f0vbnsf6] {
    font-weight: 550;
    color: var(--accent-text);
}

/* Цифровые колонки (УНП, телефон, дата) — моноширинные цифры и приглушённый тон. */
.data-table td.num[b-65f0vbnsf6] {
    font-variant-numeric: tabular-nums;
    color: #475063;
    white-space: nowrap;
}

.data-table td.created[b-65f0vbnsf6] {
    color: var(--text-muted);
}

.data-table tr.inactive td[b-65f0vbnsf6] {
    color: var(--text-faint);
    background: var(--surface-alt);
}

.source-badge[b-65f0vbnsf6] {
    display: inline-block;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 0.74rem;
    font-weight: 500;
    white-space: nowrap;
}

.pager[b-65f0vbnsf6] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.pager button[b-65f0vbnsf6] {
    min-width: 2.25rem;
    padding: 0.4rem 0.6rem;
}

.pager .page-label[b-65f0vbnsf6] {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0.75rem;
}
/* /Components/Pages/Leads/LeadSourcesPanel.razor.rz.scp.css */
.source-touches[b-95h48b5dip] {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.source-touches li[b-95h48b5dip] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 0;
    border-bottom: 1px solid #eee;
    font-size: .9rem;
}

.touch-badge.primary[b-95h48b5dip] {
    background: #2d6cdf;
    color: #fff;
    border-radius: 4px;
    padding: .05rem .4rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.touch-source[b-95h48b5dip] {
    font-weight: 600;
}

.touch-detail[b-95h48b5dip] {
    color: #666;
}

.touch-date[b-95h48b5dip] {
    margin-left: auto;
    color: #999;
    font-size: .8rem;
    white-space: nowrap;
}

.source-actions[b-95h48b5dip] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem;
}

.source-actions .field[b-95h48b5dip] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.source-buttons[b-95h48b5dip] {
    display: flex;
    gap: .5rem;
}

.muted[b-95h48b5dip] {
    color: #888;
}
/* /Components/Pages/Leads/LeadUnpFinder.razor.rz.scp.css */
/* Как в карточке лида: стили страницы до дочернего компонента не доходят. */
.muted[b-kmmdhogkf9] {
    color: #9ca3af;
    font-size: 0.875rem;
    font-style: italic;
}

.unp-search-row button.secondary[b-kmmdhogkf9],
.unp-candidate > button[b-kmmdhogkf9],
.unp-open[b-kmmdhogkf9] {
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
}

.unp-search[b-kmmdhogkf9] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .5rem;
}

.unp-search label[b-kmmdhogkf9] {
    font-weight: 500;
}

.unp-search-row[b-kmmdhogkf9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.unp-search-row input[b-kmmdhogkf9] {
    flex: 1 1 14rem;
    min-width: 0;
}

.unp-candidates[b-kmmdhogkf9] {
    list-style: none;
    margin: .25rem 0 0;
    padding: 0;
}

.unp-candidate[b-kmmdhogkf9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem 0;
    border-top: 1px solid var(--border);
}

.unp-candidate-body[b-kmmdhogkf9] {
    min-width: 0;
}

.unp-candidate-name[b-kmmdhogkf9] {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.unp-candidate-meta[b-kmmdhogkf9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .6rem;
    margin-top: .2rem;
    font-size: .88rem;
    color: var(--text-muted, #5a6472);
}

.unp-candidate-full[b-kmmdhogkf9] {
    margin-top: .15rem;
    overflow-wrap: anywhere;
}

.unp-warning[b-kmmdhogkf9] {
    background: #fef7e0;
    border: 1px solid #f5d98b;
    color: #7a5200;
    padding: .5rem .7rem;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .unp-candidate[b-kmmdhogkf9] {
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
    }

    .unp-candidate > button[b-kmmdhogkf9] {
        align-self: flex-start;
    }
}

/* Длинное состояние («Прекращение деятельности в результате реорганизации») на телефоне переносится. */
.unp-candidate-meta[b-kmmdhogkf9]  .egr-badge,
.unp-picked[b-kmmdhogkf9]  .egr-badge {
    white-space: normal;
}
/* /Components/Pages/Leads/MergeLeads.razor.rz.scp.css */
.merge-search[b-zmknvp4021] {
    display: flex;
    gap: .5rem;
    margin: .75rem 0;
}

.merge-search input[b-zmknvp4021] {
    flex: 1;
}

.merge-candidates[b-zmknvp4021] {
    list-style: none;
    margin: .5rem 0 1rem;
    padding: 0;
}

.merge-candidates li[b-zmknvp4021] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem .25rem;
    border-bottom: 1px solid var(--border, #e3e3e3);
}

.dup-score[b-zmknvp4021] {
    display: inline-block;
    min-width: 1.75rem;
    text-align: center;
    border-radius: .35rem;
    background: #eef1f5;
    padding: 0 .35rem;
    font-weight: 600;
}

.merge-head[b-zmknvp4021] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.warn[b-zmknvp4021] {
    margin: .5rem 0 1rem;
    padding: .6rem .8rem;
    border-radius: .4rem;
    background: #fff5e6;
    border: 1px solid #f0c987;
}

/* На телефоне длинные названия и номера не переносятся — таблица прокручивается, а не обрезается. */
.merge-fields-scroll[b-zmknvp4021] {
    overflow-x: auto;
}

.merge-fields[b-zmknvp4021] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.merge-fields th[b-zmknvp4021],
.merge-fields td[b-zmknvp4021] {
    text-align: left;
    padding: .4rem .6rem;
    border-bottom: 1px solid var(--border, #e3e3e3);
    vertical-align: top;
}

.merge-fields td.fld[b-zmknvp4021] {
    color: #666;
    white-space: nowrap;
}

/* Подсказка под подписью переносится, иначе раздувает колонку подписей. */
.merge-fields td.fld .muted[b-zmknvp4021] {
    max-width: 14rem;
    white-space: normal;
    font-size: .85rem;
}

@media (max-width: 640px) {
    .merge-fields td.fld[b-zmknvp4021] {
        white-space: normal;
    }
}

.merge-fields td.pick label[b-zmknvp4021] {
    display: flex;
    gap: .4rem;
    cursor: pointer;
}

.merge-fields td.pick.on[b-zmknvp4021] {
    background: #eef7ee;
}

.deal-conflict[b-zmknvp4021] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .35rem 0;
}

.deal-conflict label[b-zmknvp4021] {
    display: inline-flex;
    gap: .3rem;
    cursor: pointer;
}

.merge-summary[b-zmknvp4021] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.chip[b-zmknvp4021] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 1rem;
    background: #eef1f5;
    font-size: .85rem;
}

.merge-actions[b-zmknvp4021] {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
}

.warn-linked[b-zmknvp4021] {
    margin-top: .5rem;
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #312e81;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-wrap[b-s4l2kyhayk] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.login-card[b-s4l2kyhayk] {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.login-card .brand[b-s4l2kyhayk] {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #111827;
}

.login-card .muted[b-s4l2kyhayk] {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    font-size: 0.9375rem;
}

.field[b-s4l2kyhayk] {
    margin-bottom: 1rem;
}

    .field label[b-s4l2kyhayk] {
        display: block;
        font-size: 0.8125rem;
        font-weight: 500;
        color: #374151;
        margin-bottom: 0.25rem;
    }

    .field[b-s4l2kyhayk]  input {
        width: 100%;
        padding: 0.55rem 0.75rem;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font: inherit;
        background: #ffffff;
    }

    .field[b-s4l2kyhayk]  input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    .field[b-s4l2kyhayk]  .validation-message {
        display: block;
        color: #b91c1c;
        font-size: 0.8125rem;
        margin-top: 0.25rem;
    }

.error[b-s4l2kyhayk] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

button.primary[b-s4l2kyhayk] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

    button.primary:hover[b-s4l2kyhayk] {
        background: #1d4ed8;
    }
/* /Components/Pages/Mail/MailPage.razor.rz.scp.css */
.mail-toolbar[b-zcxv0xhz2z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.mail-folders[b-zcxv0xhz2z] {
    display: flex;
    gap: 0.4rem;
}

.mail-toolbar-actions[b-zcxv0xhz2z] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mail-folder[b-zcxv0xhz2z] {
    padding: 0.45rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
    color: #374151;
}

.mail-folder:hover[b-zcxv0xhz2z] {
    background: #f3f4f6;
}

.mail-folder.active[b-zcxv0xhz2z] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

button.primary[b-zcxv0xhz2z] {
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

button.primary:hover:not(:disabled)[b-zcxv0xhz2z] {
    background: #1d4ed8;
}

button.primary:disabled[b-zcxv0xhz2z] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mail-layout[b-zcxv0xhz2z] {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 1rem;
    align-items: start;
}

.mail-list[b-zcxv0xhz2z] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
}

.mail-row[b-zcxv0xhz2z] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "who meta" "subj subj";
    gap: 0.15rem 0.5rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.mail-row:hover[b-zcxv0xhz2z] {
    background: #f9fafb;
}

.mail-row.active[b-zcxv0xhz2z] {
    background: #eef2ff;
}

.mail-row.unread .mail-row-who[b-zcxv0xhz2z],
.mail-row.unread .mail-row-subj[b-zcxv0xhz2z] {
    font-weight: 700;
}

.mail-row-who[b-zcxv0xhz2z] {
    grid-area: who;
    color: #111827;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row-subj[b-zcxv0xhz2z] {
    grid-area: subj;
    color: #4b5563;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-row-meta[b-zcxv0xhz2z] {
    grid-area: meta;
    color: #9ca3af;
    font-size: 0.75rem;
    white-space: nowrap;
}

.mail-detail[b-zcxv0xhz2z] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.1rem;
    min-height: 200px;
    background: #fff;
}

.mail-actions[b-zcxv0xhz2z] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.mail-actions-top[b-zcxv0xhz2z] {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.mail-actions button[b-zcxv0xhz2z] {
    padding: 0.4rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.mail-actions button:hover:not(:disabled)[b-zcxv0xhz2z] {
    background: #f3f4f6;
}

.mail-actions button.primary[b-zcxv0xhz2z] {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 500;
}

.mail-actions button.primary:hover:not(:disabled)[b-zcxv0xhz2z] {
    background: #1d4ed8;
}

.mail-actions button.primary:disabled[b-zcxv0xhz2z] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mail-lead-link[b-zcxv0xhz2z] {
    color: #1d4ed8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.mail-compose .field[b-zcxv0xhz2z],
.mail-link .field[b-zcxv0xhz2z] {
    margin-bottom: 0.7rem;
    display: flex;
    flex-direction: column;
}

.mail-compose .field label[b-zcxv0xhz2z],
.mail-link .field label[b-zcxv0xhz2z] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.mail-compose .field input[b-zcxv0xhz2z],
.mail-compose .field select[b-zcxv0xhz2z],
.mail-compose .field textarea[b-zcxv0xhz2z],
.mail-link .field input[b-zcxv0xhz2z] {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.mail-compose-title[b-zcxv0xhz2z] {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mail-link[b-zcxv0xhz2z] {
    margin-bottom: 0.85rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fafafa;
}

.mail-lead-results[b-zcxv0xhz2z] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mail-lead-results li[b-zcxv0xhz2z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
}

.compose-files[b-zcxv0xhz2z] {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0 0;
    font-size: 0.82rem;
}

.compose-files li[b-zcxv0xhz2z] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
}

.link-btn[b-zcxv0xhz2z] {
    padding: 0;
    border: none;
    background: transparent;
    color: #1d4ed8;
    font: inherit;
    cursor: pointer;
}

.link-btn:hover[b-zcxv0xhz2z] {
    text-decoration: underline;
}

.error[b-zcxv0xhz2z] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.muted[b-zcxv0xhz2z] {
    color: #6b7280;
    font-size: 0.85rem;
}

.mail-thread-head .mail-row-who[b-zcxv0xhz2z] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.mail-thread-who[b-zcxv0xhz2z] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-thread-count[b-zcxv0xhz2z] {
    flex: none;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

.mail-thread.open[b-zcxv0xhz2z] {
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.mail-thread.open .mail-thread-head[b-zcxv0xhz2z] {
    background: #f9fafb;
}

.mail-thread-msg[b-zcxv0xhz2z] {
    grid-template-areas: "who meta";
    padding: 0.4rem 0.7rem 0.4rem 1.6rem;
    background: #f9fafb;
}

.mail-thread-msg .mail-row-who[b-zcxv0xhz2z] {
    color: #374151;
    font-size: 0.82rem;
}

/* На телефоне список и письмо идут друг под другом: две колонки не помещаются. */
@media (max-width: 640px) {
    .mail-layout[b-zcxv0xhz2z] {
        grid-template-columns: minmax(0, 1fr);
    }

    .mail-list[b-zcxv0xhz2z] {
        max-height: 45vh;
    }
}
/* /Components/Pages/Notifications.razor.rz.scp.css */
.filters[b-k2805hyi0y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tabs[b-k2805hyi0y] {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}

.tab[b-k2805hyi0y] {
    background: #f9fafb;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tab + .tab[b-k2805hyi0y] {
    border-left: 1px solid #d1d5db;
}

.tab.active[b-k2805hyi0y] {
    background: #2563eb;
    color: #fff;
}

.tab:hover:not(.active)[b-k2805hyi0y] {
    background: #e5e7eb;
}

.counter-badge[b-k2805hyi0y] {
    background: #ef4444;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.7rem;
    padding: 1px 6px;
    line-height: 1.2;
    font-weight: 700;
}

.tab.active .counter-badge[b-k2805hyi0y] {
    background: #fff;
    color: #2563eb;
}

.chip-row[b-k2805hyi0y] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: -0.25rem 0 1rem 0;
}

.chip[b-k2805hyi0y] {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1.2;
}

.chip:hover:not(.active)[b-k2805hyi0y] {
    background: #e5e7eb;
}

.chip.active[b-k2805hyi0y] {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
}

.chip-badge[b-k2805hyi0y] {
    background: #ef4444;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.65rem;
    padding: 1px 6px;
    margin-left: 0.4rem;
    line-height: 1.2;
    font-weight: 700;
}

.chip.active .chip-badge[b-k2805hyi0y] {
    background: #fff;
    color: #2563eb;
}

.bulk-actions[b-k2805hyi0y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.notifications-list[b-k2805hyi0y] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification[b-k2805hyi0y] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff;
}

.notification.unread[b-k2805hyi0y] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.notification .head[b-k2805hyi0y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.notification .title[b-k2805hyi0y] {
    font-weight: 600;
    color: #111827;
    flex: 1 1 auto;
}

.notification .time[b-k2805hyi0y] {
    color: #6b7280;
    font-size: 0.8rem;
    white-space: nowrap;
}

.notification .body[b-k2805hyi0y] {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    word-wrap: break-word;
}

.notification .meta[b-k2805hyi0y] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.notification .meta .open-link[b-k2805hyi0y] {
    color: #2563eb;
    text-decoration: none;
}

.notification .meta .open-link:hover[b-k2805hyi0y] {
    text-decoration: underline;
}

.notification .meta .link[b-k2805hyi0y] {
    background: transparent;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
}

.notification .meta .link:hover[b-k2805hyi0y] {
    text-decoration: underline;
}

.kind-pill[b-k2805hyi0y] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.kind-comment[b-k2805hyi0y] { background: #dbeafe; color: #1e40af; }
.kind-assigned[b-k2805hyi0y] { background: #fef3c7; color: #92400e; }
.kind-task[b-k2805hyi0y] { background: #e0e7ff; color: #3730a3; }
.kind-duesoon[b-k2805hyi0y] { background: #fed7aa; color: #9a3412; }
.kind-overdue[b-k2805hyi0y] { background: #fee2e2; color: #991b1b; }
.kind-stage[b-k2805hyi0y] { background: #d1fae5; color: #065f46; }
.kind-closed[b-k2805hyi0y] { background: #f3f4f6; color: #374151; }
.kind-reopened[b-k2805hyi0y] { background: #fce7f3; color: #9d174d; }
.kind-lead[b-k2805hyi0y] { background: #cffafe; color: #0e7490; }
.kind-default[b-k2805hyi0y] { background: #f3f4f6; color: #374151; }

.pager[b-k2805hyi0y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #4b5563;
    font-size: 0.85rem;
}
/* /Components/Pages/Opportunities/OpportunitiesList.razor.rz.scp.css */
.page-head[b-36bugmftyv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.page-head h1[b-36bugmftyv] {
    margin: 0;
}

.view-tabs[b-36bugmftyv] {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.view-tab[b-36bugmftyv] {
    padding: 0.4rem 1rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: #374151;
    border-radius: 0;
}

.view-tab:hover:not(.active)[b-36bugmftyv] {
    background: #f3f4f6;
}

.view-tab.active[b-36bugmftyv] {
    background: #2563eb;
    color: #fff;
}

.view-tab + .view-tab[b-36bugmftyv] {
    border-left: 1px solid #d1d5db;
}

.board-stub[b-36bugmftyv] {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
    max-width: 560px;
    margin: 0 auto;
}

.board-stub p[b-36bugmftyv] {
    margin: 0;
    line-height: 1.5;
}

.preset-bar[b-36bugmftyv] {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    flex-wrap: wrap;
}

.preset[b-36bugmftyv] {
    padding: 0.4rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    cursor: pointer;
    color: #374151;
}

.preset:hover[b-36bugmftyv] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* Общий .filters из app.css раскладывает поля флексом в строку; здесь внутри раскрывающейся панели своя сетка полей — блок обычный. */
.filters[b-36bugmftyv] {
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.filters summary[b-36bugmftyv] {
    padding: 0.75rem 0;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
}

.filter-grid[b-36bugmftyv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem 1rem;
    padding-bottom: 0.75rem;
}

.field[b-36bugmftyv] {
    display: flex;
    flex-direction: column;
}

.field label[b-36bugmftyv] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field input[b-36bugmftyv], .field select[b-36bugmftyv] {
    padding: 0.45rem 0.625rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field input:focus[b-36bugmftyv], .field select:focus[b-36bugmftyv] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field input:disabled[b-36bugmftyv], .field select:disabled[b-36bugmftyv] {
    background: #f3f4f6;
    color: #9ca3af;
}

.filter-actions[b-36bugmftyv] {
    display: flex;
    gap: 0.5rem;
    padding: 0 0 1rem 0;
}

.result-head[b-36bugmftyv] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
}

.data-table[b-36bugmftyv] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-36bugmftyv], .data-table td[b-36bugmftyv] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-36bugmftyv] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table a[b-36bugmftyv] {
    color: #1d4ed8;
    text-decoration: none;
}

.data-table a:hover[b-36bugmftyv] {
    text-decoration: underline;
}

.outcome[b-36bugmftyv] {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.outcome-open[b-36bugmftyv] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.outcome-won[b-36bugmftyv]  { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.outcome-lost[b-36bugmftyv] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.pager[b-36bugmftyv] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.pager .page-label[b-36bugmftyv] {
    color: #4b5563;
    font-size: 0.875rem;
    margin: 0 0.75rem;
    font-variant-numeric: tabular-nums;
}

button[b-36bugmftyv] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-36bugmftyv] {
    background: #f3f4f6;
}

button:disabled[b-36bugmftyv] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-36bugmftyv] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-36bugmftyv] {
    background: #1d4ed8;
}

.preset.active[b-36bugmftyv] {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}

.filter-count[b-36bugmftyv] {
    display: inline-block;
    min-width: 1.25rem;
    margin-left: 0.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.25rem;
    text-align: center;
}

.filter-actions .unapplied[b-36bugmftyv] {
    align-self: center;
    color: #b45309;
    font-size: 0.8125rem;
}
/* /Components/Pages/Opportunities/OpportunityBoard.razor.rz.scp.css */
.board-scroll[b-wllbglbjmc] {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin: 0 -0.25rem;
}

.board[b-wllbglbjmc] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0 0.25rem;
    min-width: max-content;
}

.board-col[b-wllbglbjmc] {
    flex: 0 0 300px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    transition: background 0.12s ease;
    outline: 2px dashed transparent;
    outline-offset: -2px;
}

.board-col.drag-over[b-wllbglbjmc] {
    background: #e0e7ff;
    outline-color: #4f46e5;
}

.board-col-head[b-wllbglbjmc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.board-col-count[b-wllbglbjmc] {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.board-card[b-wllbglbjmc] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #9ca3af;
    border-radius: 6px;
    padding: 0.5rem 0.625rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: grab;
    user-select: none;
    transition: background 0.3s ease;
}

.board-card.stage-color-gray[b-wllbglbjmc]   { border-left-color: #9ca3af; }
.board-card.stage-color-blue[b-wllbglbjmc]   { border-left-color: #2563eb; }
.board-card.stage-color-green[b-wllbglbjmc]  { border-left-color: #059669; }
.board-card.stage-color-yellow[b-wllbglbjmc] { border-left-color: #d97706; }
.board-card.stage-color-orange[b-wllbglbjmc] { border-left-color: #ea580c; }
.board-card.stage-color-red[b-wllbglbjmc]    { border-left-color: #dc2626; }
.board-card.stage-color-purple[b-wllbglbjmc] { border-left-color: #7c3aed; }
.board-card.stage-color-teal[b-wllbglbjmc]   { border-left-color: #0d9488; }

.board-card.highlight[b-wllbglbjmc] {
    animation: card-highlight-b-wllbglbjmc 2s ease-out;
}

@keyframes card-highlight-b-wllbglbjmc {
    0%   { background: #fef08a; box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.5); }
    50%  { background: #fef9c3; }
    100% { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
}

.board-card:hover[b-wllbglbjmc] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.board-card:active[b-wllbglbjmc] {
    cursor: grabbing;
}

.board-card.dragging[b-wllbglbjmc] {
    opacity: 0.4;
}

.board-card-company[b-wllbglbjmc] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
}

.board-card-company a[b-wllbglbjmc] {
    color: #1f2937;
    text-decoration: none;
}

.board-card-company a:hover[b-wllbglbjmc] {
    color: #1d4ed8;
    text-decoration: underline;
}

.board-card-meta[b-wllbglbjmc] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
}

.board-card-age[b-wllbglbjmc] {
    font-size: 0.7rem;
    color: #9ca3af;
}

.board-col-more[b-wllbglbjmc] {
    text-align: center;
    font-size: 0.8125rem;
    color: #6b7280;
    padding: 0.25rem;
}

.board-empty[b-wllbglbjmc] {
    text-align: center;
    font-size: 0.8125rem;
    color: #9ca3af;
    padding: 1rem 0;
}

.board-empty-pipeline[b-wllbglbjmc] {
    color: #6b7280;
    padding: 2rem 1rem;
    text-align: center;
}

.board-error[b-wllbglbjmc] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.board-error .dismiss[b-wllbglbjmc] {
    font-weight: 700;
    margin-left: 0.5rem;
    opacity: 0.7;
}
/* /Components/Pages/Opportunities/OpportunityDetail.razor.rz.scp.css */
.crumbs[b-6984jko21h] {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.crumbs a[b-6984jko21h] {
    color: #4b5563;
}

.header[b-6984jko21h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.header h1[b-6984jko21h] {
    margin: 0;
}

/* На телефоне заголовок — отдельной строкой, кнопки (подписка, звонок, удаление) — под ним
   с переносом: в одну строку они шире экрана и тащили страницу вбок. */
@media (max-width: 640px) {
    .header[b-6984jko21h] {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .header h1[b-6984jko21h] {
        flex: 1 0 100%;
    }
}

.header-actions[b-6984jko21h] {
    display: flex;
    gap: 0.5rem;
}

.card[b-6984jko21h] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2[b-6984jko21h] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.note-card[b-6984jko21h] {
    background: #f9fafb;
}

.kv[b-6984jko21h] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0;
    max-width: 800px;
}

.kv dt[b-6984jko21h] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.kv dd[b-6984jko21h] {
    margin: 0;
    color: #111827;
}

.kv a[b-6984jko21h] {
    color: #1d4ed8;
}

.muted[b-6984jko21h] {
    color: #6b7280;
    font-size: 0.875rem;
}

.outcome[b-6984jko21h] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.outcome-open[b-6984jko21h] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.outcome-won[b-6984jko21h]  { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.outcome-lost[b-6984jko21h] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.stage-row[b-6984jko21h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.reopen-count[b-6984jko21h] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.loss-reason[b-6984jko21h] {
    color: #991b1b;
    font-size: 0.8125rem;
    font-weight: 500;
}

.stage-picker[b-6984jko21h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stage-picker label[b-6984jko21h] {
    color: #4b5563;
    font-size: 0.875rem;
}

.stage-picker select[b-6984jko21h] {
    padding: 0.45rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    min-width: 240px;
}

.stage-picker select:focus[b-6984jko21h] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

p.muted[b-6984jko21h] {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
}

button[b-6984jko21h] {
    padding: 0.5rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-6984jko21h] {
    background: #f3f4f6;
}

button:disabled[b-6984jko21h] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-6984jko21h] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-6984jko21h] {
    background: #1d4ed8;
}

.error[b-6984jko21h] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.period-edit[b-6984jko21h] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.period-edit input[b-6984jko21h] {
    width: 100px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.period-edit input:focus[b-6984jko21h] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.period-edit button[b-6984jko21h] {
    padding: 0.35rem 0.7rem;
    font-size: 0.875rem;
}

button.link-btn[b-6984jko21h] {
    border: none;
    background: transparent;
    padding: 0;
    margin-left: 0.5rem;
    color: #2563eb;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

button.link-btn:hover[b-6984jko21h] {
    color: #1d4ed8;
}
/* /Components/Pages/Opportunities/OpportunityDocumentsPanel.razor.rz.scp.css */
.generate-row[b-htkcbsa51d] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.generate-row label[b-htkcbsa51d] {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.generate-row select[b-htkcbsa51d] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    min-width: 280px;
}

.generate-row select:focus[b-htkcbsa51d] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.data-table[b-htkcbsa51d] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-htkcbsa51d], .data-table td[b-htkcbsa51d] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-htkcbsa51d] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

/* Ссылки и действия — во вложенном блоке, а не flex на самой ячейке: иначе ячейка выпадает из
   строки таблицы и её нижняя граница не совпадает с соседними. */
.data-table .files[b-htkcbsa51d] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    align-items: center;
}

.data-table .files > *[b-htkcbsa51d],
.data-table .doc-number[b-htkcbsa51d] {
    white-space: nowrap;
}

.data-table .doc-number .badge[b-htkcbsa51d] {
    margin-left: 0.35rem;
}

/* Редакция клиента — сразу под своим исходным договором, на лёгком фоне и со стрелкой. */
.data-table tr.client-rev td[b-htkcbsa51d] {
    background: #fffdf7;
}

.data-table .rev-mark[b-htkcbsa51d] {
    color: #9ca3af;
    margin-right: 0.3rem;
}

.data-table .client-file[b-htkcbsa51d] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #4b5563;
}

.data-table .upload-rev[b-htkcbsa51d] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.data-table .upload-rev[b-htkcbsa51d]  input[type="file"] {
    font-size: 0.8rem;
    max-width: 15rem;
}

@media (max-width: 640px) {
    .data-table .client-file[b-htkcbsa51d] {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .data-table .files[b-htkcbsa51d] {
        justify-content: flex-end;
    }
}

.data-table .files a[b-htkcbsa51d] {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
}

.data-table .files a:hover[b-htkcbsa51d] {
    text-decoration: underline;
}

.data-table .files .sep[b-htkcbsa51d] {
    color: #9ca3af;
}

.muted[b-htkcbsa51d] {
    color: #6b7280;
    font-size: 0.85rem;
}

button[b-htkcbsa51d] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-htkcbsa51d] {
    background: #f3f4f6;
}

button:disabled[b-htkcbsa51d] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-htkcbsa51d] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-htkcbsa51d] {
    background: #1d4ed8;
}

.error[b-htkcbsa51d] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.success[b-htkcbsa51d] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Кнопка-ссылка «Отправить» в колонке файлов — без рамки, как ссылка. */
.link-btn[b-htkcbsa51d] {
    padding: 0;
    border: none;
    background: transparent;
    color: #1d4ed8;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.link-btn:hover:not(:disabled)[b-htkcbsa51d] {
    background: transparent;
    text-decoration: underline;
}

.email-compose[b-htkcbsa51d] {
    margin-top: 1rem;
    max-width: 540px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.1rem;
    background: #fafafa;
}

.email-compose-title[b-htkcbsa51d] {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.email-compose .field[b-htkcbsa51d] {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.email-compose .field label[b-htkcbsa51d] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.email-compose .field input[b-htkcbsa51d],
.email-compose .field select[b-htkcbsa51d],
.email-compose .field textarea[b-htkcbsa51d] {
    padding: 0.5rem 0.7rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.email-compose .field input:focus[b-htkcbsa51d],
.email-compose .field select:focus[b-htkcbsa51d],
.email-compose .field textarea:focus[b-htkcbsa51d] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.email-compose-actions[b-htkcbsa51d] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.email-compose .attach-row[b-htkcbsa51d] {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.2rem;
    cursor: pointer;
}

.compose-files[b-htkcbsa51d] {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0 0;
    font-size: 0.82rem;
}

.compose-files li[b-htkcbsa51d] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
}

.email-compose .field select.lead-emails[b-htkcbsa51d] {
    margin-bottom: 0.4rem;
}

.email-compose .field .hint[b-htkcbsa51d] {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Выбор вложения письма клиента как версии договора. */
.mail-pick[b-htkcbsa51d] {
    margin-top: 1rem;
    max-width: 640px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.1rem;
    background: #fafafa;
}

.mail-pick-title[b-htkcbsa51d] {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.mail-attachments[b-htkcbsa51d] {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.mail-attachments li[b-htkcbsa51d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0.55rem 0;
    border-top: 1px solid #e5e7eb;
}

.mail-attachments li:first-child[b-htkcbsa51d] {
    border-top: none;
    padding-top: 0;
}

.mail-attachments .att-body[b-htkcbsa51d] {
    min-width: 0;
    flex: 1 1 18rem;
    font-size: 0.875rem;
}

.mail-attachments .att-file[b-htkcbsa51d] {
    overflow-wrap: anywhere;
}

.mail-attachments .att-mail[b-htkcbsa51d] {
    font-size: 0.8rem;
    margin-top: 0.15rem;
    overflow-wrap: anywhere;
}

.mail-attachments .att-used[b-htkcbsa51d] {
    font-size: 0.8rem;
    color: #92400e;
    margin-top: 0.15rem;
}

.mail-pick-actions[b-htkcbsa51d] {
    display: flex;
    gap: 0.6rem;
}

/* Архивные и удалённые — только по «Показать архив»: приглушены, удалённые ещё и перечёркнуты. */
.data-table tr.archived td[b-htkcbsa51d] {
    background: #f9fafb;
    color: #6b7280;
}

.data-table tr.deleted td[b-htkcbsa51d] {
    background: #fdf2f2;
    color: #9ca3af;
}

.data-table tr.deleted .doc-number strong[b-htkcbsa51d] {
    text-decoration: line-through;
}

.data-table .badge.archived[b-htkcbsa51d] {
    background: #e5e7eb;
    color: #374151;
}

.data-table .badge.deleted[b-htkcbsa51d] {
    background: #fee2e2;
    color: #991b1b;
}

.link-btn.danger[b-htkcbsa51d] {
    color: #b91c1c;
}

.confirm-inline[b-htkcbsa51d] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #991b1b;
}

.archive-toggle[b-htkcbsa51d] {
    margin-top: 0.6rem;
    font-size: 0.875rem;
}

/* На телефоне номер с бейджами («Версия клиента», «Финальный», «В архиве») и имя присланного
   файла переносятся: иначе карточка строки шире экрана и страница едет вбок. */
@media (max-width: 640px) {
    .data-table .doc-number[b-htkcbsa51d] {
        white-space: normal;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0.25rem 0.35rem;
    }

    .data-table .doc-number .badge[b-htkcbsa51d] {
        margin-left: 0;
    }

    .data-table td.client-file[b-htkcbsa51d] {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: right;
    }
}
/* /Components/Pages/Opportunities/OpportunityLinesPanel.razor.rz.scp.css */
.data-table[b-s1vi4rmjj6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th[b-s1vi4rmjj6], .data-table td[b-s1vi4rmjj6] {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.data-table th[b-s1vi4rmjj6] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.data-table tfoot td[b-s1vi4rmjj6] {
    background: #f9fafb;
    font-weight: 500;
}

.data-table tr.editing[b-s1vi4rmjj6] {
    background: #fffbeb;
}

.data-table .sum[b-s1vi4rmjj6] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.data-table a[b-s1vi4rmjj6] {
    color: #1d4ed8;
    text-decoration: none;
}

.data-table a:hover[b-s1vi4rmjj6] {
    text-decoration: underline;
}

.muted[b-s1vi4rmjj6] {
    color: #6b7280;
    font-size: 0.8125rem;
    margin-left: 0.4rem;
}

.override-mark[b-s1vi4rmjj6] {
    margin-left: 0.3rem;
    color: #b45309;
    cursor: help;
}

.cell-input[b-s1vi4rmjj6] {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.cell-input.qty[b-s1vi4rmjj6] {
    width: 5rem;
}

.cell-input:disabled[b-s1vi4rmjj6] {
    background: #f3f4f6;
    color: #9ca3af;
}

.cell-input:focus[b-s1vi4rmjj6] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.row-actions[b-s1vi4rmjj6] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.actions[b-s1vi4rmjj6] {
    margin-top: 0.75rem;
}

button[b-s1vi4rmjj6] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-s1vi4rmjj6] {
    background: #f3f4f6;
}

button:disabled[b-s1vi4rmjj6] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-s1vi4rmjj6] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-s1vi4rmjj6] {
    background: #1d4ed8;
}

button.danger[b-s1vi4rmjj6] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-s1vi4rmjj6] {
    background: #fef2f2;
}

.error[b-s1vi4rmjj6] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* На телефоне таблица — карточками (общий .cards-narrow в app.css). Здесь то, чего общий вид
   не знает: поля ввода в строке правки, итог и пустые ячейки. Поля получают нулевую базовую
   ширину и растягиваются на остаток строки: иначе таблица подстраивается под «естественную»
   ширину выпадающего списка — по самому длинному названию товара или варианта скидки — и
   снова выталкивает карточку за экран (min-width: 0 этого не отменяет). */
@media (max-width: 640px) {
    .data-table td.narrow-hidden[b-s1vi4rmjj6] {
        display: none;
    }

    .data-table td.empty-row[b-s1vi4rmjj6],
    .data-table td.total-label[b-s1vi4rmjj6] {
        justify-content: flex-start;
        text-align: left;
    }

    .data-table tfoot tr[b-s1vi4rmjj6] {
        background: #f9fafb;
    }

    .data-table tfoot td[b-s1vi4rmjj6] {
        background: transparent;
    }

    .data-table tr.editing td[b-s1vi4rmjj6] {
        align-items: center;
    }

    .data-table tr.editing .cell-input[b-s1vi4rmjj6] {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
    }

    .data-table tr.editing .cell-input.qty[b-s1vi4rmjj6] {
        flex: 0 0 5rem;
        width: 5rem;
    }

    .discount-inputs[b-s1vi4rmjj6] {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        flex: 1 1 0;
        width: 0;
        min-width: 0;
    }

    .data-table tr.editing .discount-inputs .cell-input[b-s1vi4rmjj6] {
        flex: none;
        width: 100%;
    }
}
/* /Components/Pages/Outbound/OutboundQueue.razor.rz.scp.css */
/* Базовые классы (.card/.field/.toolbar/button/.error/.data-table/.tab-strip) — глобальные
   в app.css. Здесь только специфика рабочего места обзвона. */

.outbound-work[b-h8vh5e1xp0] {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1.25rem;
    align-items: start;
}
.outbound-work > section:first-child[b-h8vh5e1xp0] { grid-column: 1 / -1; }
@media (max-width: 900px) { .outbound-work[b-h8vh5e1xp0] { grid-template-columns: 1fr; } }

.contact-head[b-h8vh5e1xp0] { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.contact-head h2[b-h8vh5e1xp0] { margin: 0; font-size: 1.25rem; }
.contact-meta[b-h8vh5e1xp0] { color: #6b7280; font-size: .9rem; margin: .25rem 0 .5rem; }
.contact-products[b-h8vh5e1xp0] { color: #4b5563; margin: 0 0 .5rem; }
.attempts-pill[b-h8vh5e1xp0] {
    display: inline-block; font-size: .75rem; color: #6b7280;
    background: #f3f4f6; border-radius: 999px; padding: .05rem .55rem;
}

.phones[b-h8vh5e1xp0] { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.phone-row[b-h8vh5e1xp0] {
    display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
    padding: .4rem .6rem; background: #f9fafb; border-radius: 8px;
}

/* Почта под телефонами: тем же строем, но мельче — она вторична для звонка. */
.emails[b-h8vh5e1xp0] { display: flex; flex-direction: column; gap: .4rem; margin-top: .6rem; }
.email-row[b-h8vh5e1xp0] {
    display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
    padding: .3rem .6rem; background: #f9fafb; border-radius: 8px; font-size: .9rem;
}

.lead-notes[b-h8vh5e1xp0] {
    margin-top: .75rem; padding: .5rem .75rem;
    background: #fffbea; border-left: 3px solid #f4c430; border-radius: 6px;
}

.call-history[b-h8vh5e1xp0] { margin-top: 1rem; }
.call-history h4[b-h8vh5e1xp0] { margin: 0 0 .5rem; }

.script-text[b-h8vh5e1xp0] { white-space: pre-wrap; line-height: 1.55; }

.scenario-switch[b-h8vh5e1xp0] { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.scenario-switch label[b-h8vh5e1xp0] { font-size: .85rem; color: #6b7280; }
.scenario-switched[b-h8vh5e1xp0] { font-size: .75rem; color: #b45309; font-style: italic; }

.outcome-card[b-h8vh5e1xp0] { background: #fcfcfd; }
.outcome-save[b-h8vh5e1xp0] { margin-top: .5rem; }
.outcome-save button[b-h8vh5e1xp0] { width: 100%; padding: .65rem; font-weight: 600; }

.callback-due[b-h8vh5e1xp0] { background: #fef3c7; }
.callback-due td[b-h8vh5e1xp0] { font-weight: 600; }

.empty-hint[b-h8vh5e1xp0] { color: #6b7280; }
.nudge[b-h8vh5e1xp0] { margin: .35rem 0 0; font-size: .8rem; color: #92400e; }

/* ─────────── «Мои обзвоны»: фильтры и список ─────────── */

.preset-bar[b-h8vh5e1xp0] { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.preset[b-h8vh5e1xp0] {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .8rem; font-size: .85rem;
    border: 1px solid #d1d5db; border-radius: 6px;
    background: #fff; color: #374151; cursor: pointer;
}
.preset:hover[b-h8vh5e1xp0] { border-color: #9ca3af; }
.preset.on[b-h8vh5e1xp0] { background: #2563eb; border-color: #2563eb; color: #fff; }
.preset-count[b-h8vh5e1xp0] { font-variant-numeric: tabular-nums; font-size: .75rem; opacity: .85; }

.search-row[b-h8vh5e1xp0] { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.search-input[b-h8vh5e1xp0] { flex: 1; max-width: 520px; padding: .5rem .8rem; }
.counter[b-h8vh5e1xp0] { margin-left: auto; font-size: .85rem; color: #6b7280; white-space: nowrap; }

.mine-chips[b-h8vh5e1xp0] { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
/* «Важные» и «Договорённые» — отборы другого рода, чем состояние: отделены чертой. */
.chips-divider[b-h8vh5e1xp0] { align-self: stretch; width: 1px; margin: .1rem .3rem; background: #e5e7eb; }
.sort-reset[b-h8vh5e1xp0] { margin-left: .5rem; font-size: .8rem; }

/* «Важная» строка — янтарная полоса слева: видна при любой сортировке, в том числе когда важные
   не подняты наверх, и не спорит с жёлтой подсветкой наступившего срока. */
.mine-important td:first-child[b-h8vh5e1xp0] { box-shadow: inset 3px 0 0 #d97706; }
.mine-company[b-h8vh5e1xp0] { display: flex; align-items: baseline; gap: .3rem; }
@media (max-width: 640px) {
    /* В карточном виде полоса — у всей карточки, а не у первой её строчки. */
    .mine-important[b-h8vh5e1xp0] { border-left: 3px solid #d97706; }
    .mine-important td:first-child[b-h8vh5e1xp0] { box-shadow: none; }
}

.mine-filters[b-h8vh5e1xp0] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-bottom: .9rem; }
.mine-filters select[b-h8vh5e1xp0] { max-width: 17rem; padding: .35rem .5rem; font-size: .85rem; }
.mine-filters input[type=date][b-h8vh5e1xp0] { padding: .3rem .4rem; font-size: .85rem; }
.date-range[b-h8vh5e1xp0] { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: #6b7280; }
.date-range-dash[b-h8vh5e1xp0] { color: #9ca3af; }
.reset-filters[b-h8vh5e1xp0] { font-size: .8rem; padding: .3rem .7rem; }

/* Комментарий прошлого касания — второй строкой под названием: он объясняет, почему контакт
   вообще ждёт звонка, но не должен спорить за внимание с самим названием. */
.mine-comment[b-h8vh5e1xp0] {
    margin-top: .2rem; max-width: 22rem;
    font-size: .8rem; color: #6b7280; font-style: italic;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mine-outcome[b-h8vh5e1xp0] { margin-top: .15rem; font-size: .78rem; color: #6b7280; }
.mine-phone[b-h8vh5e1xp0] { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.mine-phone-value[b-h8vh5e1xp0] { font-variant-numeric: tabular-nums; white-space: nowrap; }

.page-label[b-h8vh5e1xp0] { font-size: .85rem; color: #6b7280; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
    .search-row[b-h8vh5e1xp0] { flex-wrap: wrap; }
    .counter[b-h8vh5e1xp0] { margin-left: 0; }
    /* В карточном виде обрезать комментарий незачем — места по ширине карточки хватает,
       а многоточие скрыло бы как раз то, ради чего его сюда и вывели. */
    .mine-comment[b-h8vh5e1xp0] { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; text-align: right; }
    /* Имена баз склеены подчёркиваниями и не переносятся сами — рвём их принудительно,
       но только их: для названий компаний перенос по любому символу нечитаем. */
    .mine-base[b-h8vh5e1xp0] { overflow-wrap: anywhere; }
}

/* Дата и время держатся одной строкой — иначе узкая колонка рвёт «17.09 12:47» пополам. */
.mine-date[b-h8vh5e1xp0] { white-space: nowrap; }
/* Кнопка перехода к звонку — одной строкой, иначе колонка действий рвёт подпись пополам. */
.mine-table td[data-label=""] button[b-h8vh5e1xp0] { white-space: nowrap; }

/* Подписи на кнопках отбора короткие, поэтому смысл выбранного объясняется строкой под ними —
   «Пора звонить» и «Без даты» иначе приходится угадывать. */
.filter-hint[b-h8vh5e1xp0] { margin: -.35rem 0 .7rem; font-size: .8rem; color: #6b7280; }
.chips-label[b-h8vh5e1xp0] { font-size: .8rem; color: #6b7280; margin-right: .15rem; }
.chips-hint[b-h8vh5e1xp0] { flex-basis: 100%; font-size: .78rem; color: #6b7280; }

/* Остальные номера лида — свёрнуты в строке, чтобы таблица не разъезжалась по высоте;
   раскрытые идут столбиком, каждый со своей кнопкой звонка и подписью «чей он». */
.mine-phones-more[b-h8vh5e1xp0] { margin-top: .15rem; }
.mine-phones-more > summary[b-h8vh5e1xp0] {
    display: inline-block; cursor: pointer; list-style: none;
    font-size: .75rem; color: var(--accent-text, #1e40af);
}
.mine-phones-more > summary[b-h8vh5e1xp0]::-webkit-details-marker { display: none; }
.mine-phones-more > summary:hover[b-h8vh5e1xp0] { text-decoration: underline; }
.mine-phones-more[open] > summary[b-h8vh5e1xp0] { margin-bottom: .2rem; }
.mine-phones-more .mine-phone[b-h8vh5e1xp0] { margin-top: .2rem; }
.mine-phone-label[b-h8vh5e1xp0] { font-size: .75rem; color: #6b7280; }

/* Номер и кнопка звонка держатся одной строкой: колонке хватает ширины даже под длинный
   межгородний формат, а имя базы, наоборот, подрезается — оно самое длинное и наименее нужное
   целиком (полное видно по наведению). */
.mine-table td:nth-child(2)[b-h8vh5e1xp0] { min-width: 11.5rem; }
.mine-table .mine-phone[b-h8vh5e1xp0] { flex-wrap: nowrap; }
.mine-base[b-h8vh5e1xp0] { max-width: 18rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
    .mine-table td:nth-child(2)[b-h8vh5e1xp0] { min-width: 0; }
    .mine-base[b-h8vh5e1xp0] { max-width: none; overflow: visible; text-overflow: clip; white-space: normal; }
}

@media (max-width: 640px) {
    /* В карточном виде ячейка сама флекс-строка: раскрытые номера должны занимать её целиком
       и переноситься, иначе тянут карточку вправо за край экрана. */
    .mine-table .mine-phone[b-h8vh5e1xp0] { flex-wrap: wrap; justify-content: flex-end; }
    .mine-phones-more[b-h8vh5e1xp0] { width: 100%; }
    .mine-phones-more > summary[b-h8vh5e1xp0] { text-align: right; width: 100%; }
}

/* Мишень, открытая по ссылке, у другого оператора или уже закрыта: сведения без экрана звонка. */
.target-elsewhere[b-h8vh5e1xp0] {
    background: #fffbeb; border: 1px solid #fcd34d; color: #78350f;
    padding: .6rem .8rem; border-radius: 8px; margin-bottom: 1rem;
}
.target-elsewhere a[b-h8vh5e1xp0] { margin-left: .35rem; }
.target-elsewhere .link-btn[b-h8vh5e1xp0], .info .link-btn[b-h8vh5e1xp0] { margin-left: .75rem; }

.base-pill[b-h8vh5e1xp0] {
    display: inline-block; font-size: .75rem; color: #1e3a8a;
    background: #eff6ff; border-radius: 999px; padding: .05rem .55rem;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* /Components/Pages/Profile.razor.rz.scp.css */
.profile-info[b-az06qlb0fn] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.25rem;
    margin: 0 0 2rem 0;
    max-width: 480px;
}

.profile-info dt[b-az06qlb0fn] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.profile-info dd[b-az06qlb0fn] {
    margin: 0;
    color: #111827;
}

h2[b-az06qlb0fn] {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

form[b-az06qlb0fn] {
    max-width: 360px;
}

.field[b-az06qlb0fn] {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
}

.field label[b-az06qlb0fn] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-az06qlb0fn]  input {
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #ffffff;
}

.field[b-az06qlb0fn]  input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-az06qlb0fn]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.error[b-az06qlb0fn] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
}

.success[b-az06qlb0fn] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
}

button.primary[b-az06qlb0fn] {
    padding: 0.55rem 1.25rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

button.primary:hover:not(:disabled)[b-az06qlb0fn] {
    background: #1d4ed8;
}

button.primary:disabled[b-az06qlb0fn] {
    opacity: 0.6;
    cursor: not-allowed;
}

.prefs-card[b-az06qlb0fn] {
    max-width: 540px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.1rem;
    margin: 0 0 2rem 0;
    background: #fafafa;
}

.inline-checkbox[b-az06qlb0fn] {
    display: block;
    margin: 0.4rem 0;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.inline-checkbox input[b-az06qlb0fn] {
    margin-right: 0.5rem;
}

.prefs-status[b-az06qlb0fn] {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #047857;
}

.prefs-section[b-az06qlb0fn] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.prefs-section-title[b-az06qlb0fn] {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #111827;
    font-size: 0.95rem;
}

.muted[b-az06qlb0fn] {
    color: #6b7280;
    font-size: 0.82rem;
    margin: 0 0 0.5rem 0;
}

.quiet-row[b-az06qlb0fn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quiet-row input[b-az06qlb0fn] {
    width: 5rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.kind-grid[b-az06qlb0fn] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 1rem;
}

.muted-entities-list[b-az06qlb0fn] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.muted-entities-list li[b-az06qlb0fn] {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.muted-entities-list a[b-az06qlb0fn] {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.muted-entities-list a:hover[b-az06qlb0fn] {
    text-decoration: underline;
}

.muted-entities-list .link[b-az06qlb0fn] {
    background: transparent;
    border: none;
    color: #b91c1c;
    cursor: pointer;
    padding: 0;
    font-size: 0.82rem;
    margin-left: auto;
}

.muted-entities-list .link:hover[b-az06qlb0fn] {
    text-decoration: underline;
}

.chip[b-az06qlb0fn] {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.email-accounts-list[b-az06qlb0fn] {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.email-accounts-list li[b-az06qlb0fn] {
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.email-account-addr[b-az06qlb0fn] {
    font-weight: 500;
    color: #111827;
    margin-right: auto;
}

.email-accounts-list .link[b-az06qlb0fn] {
    background: transparent;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 0;
    font-size: 0.82rem;
}

.email-accounts-list .link:hover[b-az06qlb0fn] {
    text-decoration: underline;
}

.email-accounts-list .link.danger[b-az06qlb0fn] {
    color: #b91c1c;
}

.email-actions[b-az06qlb0fn] {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.email-actions button:not(.primary)[b-az06qlb0fn] {
    padding: 0.55rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font: inherit;
    cursor: pointer;
}

.email-actions button:not(.primary):hover:not(:disabled)[b-az06qlb0fn] {
    background: #f3f4f6;
}

.email-actions button:disabled[b-az06qlb0fn] {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-reset[b-az06qlb0fn] {
    margin-right: 0.6rem;
}
/* /Components/Pages/Tasks/MyTasks.razor.rz.scp.css */
.head[b-dd05sfc329] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.inline-checkbox[b-dd05sfc329] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.counter[b-dd05sfc329] {
    color: #6b7280;
    font-size: 0.875rem;
}

.task-list[b-dd05sfc329] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.task[b-dd05sfc329] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.task.status-done[b-dd05sfc329] { opacity: 0.7; }
.task.status-cancelled[b-dd05sfc329] { opacity: 0.6; }
.task.overdue[b-dd05sfc329] { border-color: #fca5a5; background: #fef2f2; }

.head-row[b-dd05sfc329] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-badge[b-dd05sfc329] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.type-call[b-dd05sfc329] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.type-email[b-dd05sfc329] { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.type-meeting[b-dd05sfc329] { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.type-proposal[b-dd05sfc329] { background: #ccfbf1; color: #115e59; border-color: #5eead4; }
.type-other[b-dd05sfc329] { background: #f3f4f6; color: #374151; border-color: #d1d5db; }

.title[b-dd05sfc329] {
    font-weight: 600;
    color: #111827;
    flex: 1;
}

.status[b-dd05sfc329] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-open[b-dd05sfc329] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-done[b-dd05sfc329] { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.status-cancelled[b-dd05sfc329] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.desc[b-dd05sfc329] {
    color: #4b5563;
    font-size: 0.875rem;
    white-space: pre-wrap;
}

.meta[b-dd05sfc329] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: #6b7280;
}

.meta a[b-dd05sfc329] {
    color: #1d4ed8;
    text-decoration: none;
}

.meta a:hover[b-dd05sfc329] {
    text-decoration: underline;
}

.row-actions[b-dd05sfc329] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

button[b-dd05sfc329] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

button:hover:not(:disabled)[b-dd05sfc329] { background: #f3f4f6; }
button:disabled[b-dd05sfc329] { opacity: 0.5; cursor: not-allowed; }

/* Локальный button{background:#fff} перекрывал глобальный .primary (равная
   специфичность, scoped грузится позже) → белый текст на белом фоне. Возвращаем
   синий primary и явный secondary. */
button.primary[b-dd05sfc329] { background: #2563eb; color: #fff; border-color: #2563eb; }
button.primary:hover:not(:disabled)[b-dd05sfc329] { background: #1d4ed8; border-color: #1d4ed8; }
button.secondary[b-dd05sfc329] { background: #fff; color: var(--text); }
button.secondary:hover:not(:disabled)[b-dd05sfc329] { background: #f3f4f6; }

.seg[b-dd05sfc329] {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}

.seg-btn[b-dd05sfc329] {
    padding: 0.35rem 0.75rem;
    border: none;
    background: #fff;
    font: inherit;
    cursor: pointer;
    border-right: 1px solid #d1d5db;
}

.seg-btn:last-child[b-dd05sfc329] {
    border-right: none;
}

.seg-btn.active[b-dd05sfc329] {
    background: #2563eb;
    color: #fff;
}

.dept-filter[b-dd05sfc329] {
    padding: 0.35rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.pool-badge[b-dd05sfc329] {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}
/* /Components/Pages/Tasks/TaskCreate.razor.rz.scp.css */
.crumbs[b-6thy9rhs55] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card[b-6thy9rhs55] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    max-width: 800px;
}

.row[b-6thy9rhs55] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-6thy9rhs55] {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.field label[b-6thy9rhs55] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-6thy9rhs55]  input,
.field[b-6thy9rhs55]  textarea,
.field[b-6thy9rhs55]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-6thy9rhs55]  input:focus,
.field[b-6thy9rhs55]  textarea:focus,
.field[b-6thy9rhs55]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-6thy9rhs55]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field .hint[b-6thy9rhs55] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

.form-actions[b-6thy9rhs55] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

button[b-6thy9rhs55] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-6thy9rhs55] {
    background: #f3f4f6;
}

button.primary[b-6thy9rhs55] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-6thy9rhs55] {
    background: #1d4ed8;
}

.error[b-6thy9rhs55] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.seg[b-6thy9rhs55] {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.seg-opt[b-6thy9rhs55] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.check-list[b-6thy9rhs55] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.chk[b-6thy9rhs55] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
}
/* /Components/Pages/Tasks/TaskDetail.razor.rz.scp.css */
.crumbs[b-42ehr1jeps] {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.header[b-42ehr1jeps] {
    margin-bottom: 1.25rem;
}

.title-block[b-42ehr1jeps] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.title-block h1[b-42ehr1jeps] {
    margin: 0;
}

.title-input[b-42ehr1jeps] {
    flex: 1;
    min-width: 300px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 600;
}

.title-input:focus[b-42ehr1jeps] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

button.link-btn[b-42ehr1jeps] {
    border: none;
    background: transparent;
    color: #2563eb;
    padding: 0;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.5rem;
}

button.link-btn:hover[b-42ehr1jeps] {
    color: #1d4ed8;
}

.status-row[b-42ehr1jeps] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.status-badge[b-42ehr1jeps] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-badge.status-planned[b-42ehr1jeps]    { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-badge.status-inprogress[b-42ehr1jeps] { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.status-badge.status-done[b-42ehr1jeps]       { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.status-badge.status-cancelled[b-42ehr1jeps]  { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.status-actions[b-42ehr1jeps] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.card[b-42ehr1jeps] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-header[b-42ehr1jeps] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-header h2[b-42ehr1jeps] {
    margin: 0;
    font-size: 1.0625rem;
}

dl.kv[b-42ehr1jeps] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}

dl.kv dt[b-42ehr1jeps] {
    color: #6b7280;
    font-size: 0.875rem;
}

dl.kv dd[b-42ehr1jeps] {
    margin: 0;
    font-size: 0.9rem;
}

dl.kv dd.multiline[b-42ehr1jeps] {
    white-space: pre-wrap;
}

.assignee[b-42ehr1jeps] {
    margin: 0;
    font-weight: 500;
}

.row[b-42ehr1jeps] {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.field[b-42ehr1jeps] {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.field.assignee-actions[b-42ehr1jeps] {
    flex-direction: row;
    align-items: flex-end;
    gap: 0.5rem;
    flex: 0;
}

.field label[b-42ehr1jeps] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field input[b-42ehr1jeps], .field select[b-42ehr1jeps], .field textarea[b-42ehr1jeps] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field input:focus[b-42ehr1jeps], .field select:focus[b-42ehr1jeps], .field textarea:focus[b-42ehr1jeps] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-actions[b-42ehr1jeps] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

button[b-42ehr1jeps] {
    padding: 0.4rem 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-42ehr1jeps] {
    background: #f3f4f6;
}

button:disabled[b-42ehr1jeps] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-42ehr1jeps] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-42ehr1jeps] {
    background: #1d4ed8;
}

button.danger[b-42ehr1jeps] {
    border-color: #fca5a5;
    color: #b91c1c;
}

button.danger:hover:not(:disabled)[b-42ehr1jeps] {
    background: #fef2f2;
}

.error[b-42ehr1jeps] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.assignee.muted[b-42ehr1jeps] {
    color: #6b7280;
}

.assignee-dept[b-42ehr1jeps] {
    margin: 0.2rem 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.candidates[b-42ehr1jeps] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0.5rem 0;
}

.cand-label[b-42ehr1jeps] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.candidates .chip[b-42ehr1jeps] {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.8125rem;
}

.pool-actions[b-42ehr1jeps] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.pool-actions select[b-42ehr1jeps] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.pool-actions .muted[b-42ehr1jeps] {
    color: #6b7280;
    font-size: 0.875rem;
}

.info[b-42ehr1jeps] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hint[b-42ehr1jeps] {
    color: #6b7280;
    font-size: 0.8125rem;
}

dd .hint[b-42ehr1jeps] {
    margin-left: 0.5rem;
}

.dialog-note[b-42ehr1jeps] {
    margin: 0 0 0.75rem 0;
    color: #374151;
}

.error.dialog-error[b-42ehr1jeps] {
    margin: 0.75rem 0 0 0;
}
/* /Components/Shared/ActivityFeed.razor.rz.scp.css */
.muted[b-eanqem2x87] {
    color: #6b7280;
    font-style: italic;
}

.afeed-composer[b-eanqem2x87] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.afeed-send[b-eanqem2x87] {
    align-self: flex-end;
    padding: 0.45rem 0.9rem;
    border: none;
    border-radius: 6px;
    background: #4f46e5;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.afeed-send:disabled[b-eanqem2x87] {
    background: #c7c9d6;
    cursor: default;
}

.afeed-composer-error[b-eanqem2x87] {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.afeed-filters[b-eanqem2x87] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.chip-system.on[b-eanqem2x87] {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.afeed[b-eanqem2x87] {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.afeed[b-eanqem2x87]::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e5e7eb;
}

.afeed-item[b-eanqem2x87] {
    position: relative;
    padding: 0.5rem 0 0.75rem 2rem;
}

.afeed-item:last-child[b-eanqem2x87] {
    padding-bottom: 0.2rem;
}

.afeed-item.compact[b-eanqem2x87] {
    padding-top: 0.35rem;
    padding-bottom: 0.45rem;
}

.afeed-dot[b-eanqem2x87] {
    position: absolute;
    left: 6px;
    top: 0.6rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #2563eb;
}

.afeed-item.event-comment .afeed-dot[b-eanqem2x87] { background: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.afeed-item.event-comment-system .afeed-dot[b-eanqem2x87] { background: #9ca3af; box-shadow: 0 0 0 1px #9ca3af; }
.afeed-item.event-created .afeed-dot[b-eanqem2x87] { background: #6366f1; box-shadow: 0 0 0 1px #6366f1; }
.afeed-item.event-stagechanged .afeed-dot[b-eanqem2x87] { background: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.afeed-item.event-closed .afeed-dot[b-eanqem2x87] { background: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.afeed-item.event-reopened .afeed-dot[b-eanqem2x87] { background: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.afeed-item.event-claimed .afeed-dot[b-eanqem2x87] { background: #0891b2; box-shadow: 0 0 0 1px #0891b2; }
.afeed-item.event-released .afeed-dot[b-eanqem2x87] { background: #6b7280; box-shadow: 0 0 0 1px #6b7280; }
.afeed-item.event-reassigned .afeed-dot[b-eanqem2x87] { background: #9333ea; box-shadow: 0 0 0 1px #9333ea; }
.afeed-item.event-lineadded .afeed-dot[b-eanqem2x87] { background: #06b6d4; box-shadow: 0 0 0 1px #06b6d4; }
.afeed-item.event-lineupdated .afeed-dot[b-eanqem2x87] { background: #14b8a6; box-shadow: 0 0 0 1px #14b8a6; }
.afeed-item.event-lineremoved .afeed-dot[b-eanqem2x87] { background: #94a3b8; box-shadow: 0 0 0 1px #94a3b8; }
.afeed-item.event-requiredfieldsfilled .afeed-dot[b-eanqem2x87] { background: #8b5cf6; box-shadow: 0 0 0 1px #8b5cf6; }
.afeed-item.event-call-incoming .afeed-dot[b-eanqem2x87] { background: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.afeed-item.event-call-outgoing .afeed-dot[b-eanqem2x87] { background: #0ea5e9; box-shadow: 0 0 0 1px #0ea5e9; }
.afeed-item.event-task-created .afeed-dot[b-eanqem2x87] { background: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.afeed-item.event-task-done .afeed-dot[b-eanqem2x87] { background: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.afeed-item.event-task-cancelled .afeed-dot[b-eanqem2x87] { background: #94a3b8; box-shadow: 0 0 0 1px #94a3b8; }
.afeed-item.event-document .afeed-dot[b-eanqem2x87] { background: #db2777; box-shadow: 0 0 0 1px #db2777; }

.afeed-head[b-eanqem2x87] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.afeed-title[b-eanqem2x87] {
    font-weight: 600;
    color: #111827;
}

.afeed-inline[b-eanqem2x87] {
    color: #374151;
}

.afeed-meta[b-eanqem2x87] {
    color: #9ca3af;
    font-size: 0.8125rem;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.afeed-body[b-eanqem2x87] {
    margin-top: 0.4rem;
    font-size: 0.875rem;
    color: #374151;
}

.afeed-comment[b-eanqem2x87] {
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border: 1px solid #eceef1;
    border-radius: 6px;
}

.afeed-comment.markdown-body > :first-child[b-eanqem2x87] {
    margin-top: 0;
}

.afeed-comment.markdown-body > :last-child[b-eanqem2x87] {
    margin-bottom: 0;
}

.afeed-comment.markdown-body p[b-eanqem2x87] {
    margin: 0.4rem 0;
}

.afeed-comment.markdown-body ul[b-eanqem2x87],
.afeed-comment.markdown-body ol[b-eanqem2x87] {
    margin: 0.4rem 0;
    padding-left: 1.4rem;
}

.afeed-comment.markdown-body a[b-eanqem2x87] {
    color: #2563eb;
}

.afeed-comment.markdown-body img[b-eanqem2x87] {
    max-width: 100%;
    border-radius: 6px;
}

.afeed-comment.markdown-body code[b-eanqem2x87] {
    background: #eef2ff;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    font-size: 0.85em;
}

.afeed-comment.markdown-body pre[b-eanqem2x87] {
    background: #1f2937;
    color: #f9fafb;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    overflow-x: auto;
}

.afeed-comment.markdown-body pre code[b-eanqem2x87] {
    background: none;
    padding: 0;
    color: inherit;
}

.afeed-comment.markdown-body blockquote[b-eanqem2x87] {
    margin: 0.4rem 0;
    padding-left: 0.8rem;
    border-left: 3px solid #d1d5db;
    color: #6b7280;
}

.afeed-call[b-eanqem2x87] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.afeed-call .phone[b-eanqem2x87] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.afeed-body audio[b-eanqem2x87] {
    margin-top: 0.4rem;
    height: 32px;
    max-width: 320px;
}

.afeed-task[b-eanqem2x87] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.afeed-clickable[b-eanqem2x87] {
    cursor: pointer;
}

.afeed-task-title[b-eanqem2x87] {
    text-decoration: underline;
    text-decoration-color: #d1d5db;
    text-underline-offset: 2px;
}

.afeed-clickable:hover .afeed-task-title[b-eanqem2x87] {
    text-decoration-color: #4f46e5;
}

.task-status[b-eanqem2x87] {
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.task-status.status-planned[b-eanqem2x87] { background: #fef3c7; color: #92400e; }
.task-status.status-inprogress[b-eanqem2x87] { background: #dbeafe; color: #1e40af; }
.task-status.status-done[b-eanqem2x87] { background: #dcfce7; color: #166534; }
.task-status.status-cancelled[b-eanqem2x87] { background: #f3f4f6; color: #6b7280; }

.afeed-doc[b-eanqem2x87] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.afeed-doc a[b-eanqem2x87] {
    font-size: 0.8125rem;
}

.afeed-email[b-eanqem2x87] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.afeed-email-subject[b-eanqem2x87] {
    font-weight: 500;
}
/* /Components/Shared/AddLeadEmailForm.razor.rz.scp.css */
/* Форма добавления адреса — общая для карточки лида и рабочего места обзвона. */

.add-email-toggle[b-wggzzddrlu] {
    align-self: flex-start;
    background: none;
    border: 1px dashed #c7d2fe;
    color: #3730a3;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.add-email-toggle:hover:not(:disabled)[b-wggzzddrlu] {
    background: #eef2ff;
    border-style: solid;
}

.add-email-toggle:disabled[b-wggzzddrlu] {
    opacity: 0.5;
    cursor: default;
}

.add-email-row[b-wggzzddrlu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-input[b-wggzzddrlu] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input:focus[b-wggzzddrlu] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.email-input[b-wggzzddrlu] {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 340px;
}

.label-input[b-wggzzddrlu] {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
}

.error-inline[b-wggzzddrlu] {
    color: #b91c1c;
    font-size: 0.8125rem;
}
/* /Components/Shared/AddLeadPhoneForm.razor.rz.scp.css */
/* Форма добавления номера — общая для карточки лида и рабочего места обзвона. */

.add-phone-toggle[b-80uzjnqpnj] {
    align-self: flex-start;
    background: none;
    border: 1px dashed #c7d2fe;
    color: #3730a3;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.add-phone-toggle:hover:not(:disabled)[b-80uzjnqpnj] {
    background: #eef2ff;
    border-style: solid;
}

.add-phone-toggle:disabled[b-80uzjnqpnj] {
    opacity: 0.5;
    cursor: default;
}

.add-phone-row[b-80uzjnqpnj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inline-input[b-80uzjnqpnj] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input:focus[b-80uzjnqpnj] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input[b-80uzjnqpnj] {
    flex: 0 1 200px;
    min-width: 150px;
}

/* Подписи вроде «Татьяна, главбух» длиннее номера — поле шире и тянется первым. */
.label-input[b-80uzjnqpnj] {
    flex: 1 1 240px;
    min-width: 180px;
    max-width: 360px;
}

.error-inline[b-80uzjnqpnj] {
    color: #b91c1c;
    font-size: 0.8125rem;
}
/* /Components/Shared/AuditRetentionNote.razor.rz.scp.css */
.audit-retention-note[b-uk43qm0r7w] {
    color: var(--text-muted, #667085);
    font-size: .82rem;
    margin: .25rem 0 .75rem 0;
    max-width: 72ch;
}
/* /Components/Shared/CallAttemptHistory.razor.rz.scp.css */
.call-history-list[b-j8vwlg2xcl] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.call-history-list li[b-j8vwlg2xcl] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    min-width: 0;
}

.call-history-list li:last-child[b-j8vwlg2xcl] {
    border-bottom: none;
}

.call-history-list li > span[b-j8vwlg2xcl] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ch-date[b-j8vwlg2xcl] {
    color: #6b7280;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ch-outcome[b-j8vwlg2xcl] { font-weight: 600; }
.ch-refused[b-j8vwlg2xcl],
.ch-donotcall[b-j8vwlg2xcl] { color: #b91c1c; }
.ch-interested[b-j8vwlg2xcl],
.ch-reached[b-j8vwlg2xcl] { color: #047857; }
.ch-callback[b-j8vwlg2xcl] { color: #1d4ed8; }
.ch-noanswer[b-j8vwlg2xcl] { color: #6b7280; }

.ch-reason[b-j8vwlg2xcl] { color: #b45309; }
.ch-base[b-j8vwlg2xcl] { color: #4b5563; }
.ch-comment[b-j8vwlg2xcl] { color: #374151; font-style: italic; }
.ch-op[b-j8vwlg2xcl] { color: #6b7280; }

.ch-scenario[b-j8vwlg2xcl] {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.75rem;
    white-space: nowrap;
}
/* /Components/Shared/CallButton.razor.rz.scp.css */
.call-button[b-bztiocmye0] {
    padding: 0.3rem 0.7rem;
    font-size: 0.9rem;
    background: #1e90ff;
    color: white;
    border: 1px solid #1e90ff;
    border-radius: 4px;
    cursor: pointer;
}

.call-button:hover:not(:disabled)[b-bztiocmye0] {
    background: #1976d2;
    border-color: #1976d2;
}

.call-button:disabled[b-bztiocmye0] {
    opacity: 0.7;
    cursor: progress;
}

.call-button-status[b-bztiocmye0] {
    margin-left: 0.5rem;
    font-size: 0.85rem;
}

.call-button-status.ok[b-bztiocmye0] {
    color: #2e7d32;
}

.call-button-status.error[b-bztiocmye0] {
    color: #c62828;
}

.phone-confirm-overlay[b-bztiocmye0] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.phone-confirm-modal[b-bztiocmye0] {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    width: min(420px, 92vw);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.phone-confirm-modal h4[b-bztiocmye0] {
    margin: 0 0 0.75rem;
}

.phone-confirm-reason[b-bztiocmye0] {
    margin: 0 0 0.75rem;
    color: #b26a00;
    font-size: 0.9rem;
}

.phone-confirm-orig[b-bztiocmye0] {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #555;
}

.phone-confirm-orig span[b-bztiocmye0] {
    font-weight: 600;
    color: #222;
}

.phone-confirm-label[b-bztiocmye0] {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
}

.phone-confirm-input[b-bztiocmye0] {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 4px;
}

.phone-confirm-err[b-bztiocmye0] {
    margin: 0 0 0.75rem;
    color: #c62828;
    font-size: 0.85rem;
}

.phone-confirm-actions[b-bztiocmye0] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.phone-confirm-actions .primary[b-bztiocmye0] {
    padding: 0.4rem 1rem;
    background: #1e90ff;
    color: #fff;
    border: 1px solid #1e90ff;
    border-radius: 4px;
    cursor: pointer;
}

.phone-confirm-actions .primary:disabled[b-bztiocmye0] {
    opacity: 0.6;
    cursor: not-allowed;
}

.phone-confirm-actions .secondary[b-bztiocmye0] {
    padding: 0.4rem 1rem;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
/* /Components/Shared/CallLog.razor.rz.scp.css */
.calls-table[b-fi74y1n54b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.calls-table th[b-fi74y1n54b],
.calls-table td[b-fi74y1n54b] {
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.calls-table th[b-fi74y1n54b] {
    font-weight: 600;
    background: #f8f8f8;
}

.calls-table td.phone[b-fi74y1n54b] {
    font-family: monospace;
}

.calls-table audio[b-fi74y1n54b] {
    height: 32px;
    max-width: 280px;
}

.calls-table .muted[b-fi74y1n54b] {
    color: #888;
}

.calls-table .error[b-fi74y1n54b] {
    color: #c62828;
    text-decoration: underline dotted;
    cursor: help;
}
/* /Components/Shared/CallTargetImportantToggle.razor.rz.scp.css */
/* Звёздочка без рамки и фона: в строке таблицы она стоит перед названием и не должна спорить
   с кнопками действий; выключенная — бледная, включённая — янтарная, как акцент строки. */
.important-toggle[b-2o56anpwup] {
    background: none; border: none; padding: 0 .15rem;
    font-size: 1.05rem; line-height: 1; cursor: pointer;
    color: #9ca3af;
}
.important-toggle:hover:not(:disabled)[b-2o56anpwup] { color: #d97706; background: none; border-color: transparent; }
.important-toggle.on[b-2o56anpwup] { color: #d97706; }
.important-toggle:disabled[b-2o56anpwup] { opacity: .5; cursor: default; }
/* /Components/Shared/CallToast.razor.rz.scp.css */
.call-toast-host[b-k2cshb3ij5] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1100;
    max-width: 360px;
}

.call-toast[b-k2cshb3ij5] {
    background: white;
    border: 1px solid #ccc;
    border-left: 4px solid #1e90ff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1rem;
    position: relative;
    animation: call-toast-in-b-k2cshb3ij5 200ms ease-out;
}

@keyframes call-toast-in-b-k2cshb3ij5 {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.call-toast-close[b-k2cshb3ij5] {
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0;
}

.call-toast-title[b-k2cshb3ij5] {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e90ff;
}

.call-toast-name[b-k2cshb3ij5] {
    font-size: 1rem;
    font-weight: 500;
}

.call-toast-phone[b-k2cshb3ij5] {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.15rem;
    font-family: monospace;
}

.call-toast-actions[b-k2cshb3ij5] {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.call-toast-actions button[b-k2cshb3ij5] {
    flex: 0 0 auto;
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
}

.call-toast-actions button.primary[b-k2cshb3ij5] {
    background: #1e90ff;
    color: white;
    border-color: #1e90ff;
}

.call-toast-actions button.secondary[b-k2cshb3ij5] {
    background: white;
    color: #1e90ff;
    border-color: #1e90ff;
}

/* «К звонку» — экран обзвона, а не карточка: другой цвет; длинное имя базы не раздвигает toast. */
.call-toast-actions button.call-toast-target[b-k2cshb3ij5] {
    background: #1f8a4c;
    border-color: #1f8a4c;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.call-toast-note[b-k2cshb3ij5] {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #8a6d00;
}

.active-call-bar[b-k2cshb3ij5] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e5b9a;
    color: white;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    z-index: 1090;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 200ms ease;
}

.active-call-bar.finished[b-k2cshb3ij5] {
    background: #4a5a6a;
}

.active-call-bar a[b-k2cshb3ij5] {
    color: white;
    text-decoration: underline;
}

.active-call-duration[b-k2cshb3ij5] {
    font-variant-numeric: tabular-nums;
    opacity: 0.85;
}

.active-call-actions[b-k2cshb3ij5] {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.active-call-action[b-k2cshb3ij5] {
    font-weight: 500;
    white-space: nowrap;
}

.active-call-note[b-k2cshb3ij5] {
    opacity: 0.85;
    font-size: 0.85rem;
}

.active-call-dot[b-k2cshb3ij5] {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #5eed5e;
    animation: pulse-b-k2cshb3ij5 1.2s infinite;
}

.active-call-bar.finished .active-call-dot[b-k2cshb3ij5] {
    background: #c0c8d0;
    animation: none;
}

.active-call-close[b-k2cshb3ij5] {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    opacity: 0.8;
}

.active-call-close:hover[b-k2cshb3ij5] {
    opacity: 1;
}

@keyframes pulse-b-k2cshb3ij5 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
/* /Components/Shared/CommentsThread.razor.rz.scp.css */
.comments-thread[b-mpp0xw6gmz] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-form[b-mpp0xw6gmz] {
    margin-top: 0.5rem;
}

.add-form textarea[b-mpp0xw6gmz] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    resize: vertical;
    box-sizing: border-box;
}

.add-form textarea:focus[b-mpp0xw6gmz] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.add-form .actions[b-mpp0xw6gmz] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.add-form button.primary[b-mpp0xw6gmz] {
    padding: 0.45rem 0.875rem;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.add-form button.primary:hover:not(:disabled)[b-mpp0xw6gmz] {
    background: #1d4ed8;
}

.add-form button.primary:disabled[b-mpp0xw6gmz] {
    opacity: 0.5;
    cursor: not-allowed;
}

.muted[b-mpp0xw6gmz] {
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

.list[b-mpp0xw6gmz] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.comment[b-mpp0xw6gmz] {
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
}

.comment.other[b-mpp0xw6gmz] {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #9ca3af;
}

.comment.mine[b-mpp0xw6gmz] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 3px solid #2563eb;
}

.comment.system[b-mpp0xw6gmz] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3px solid #f59e0b;
}

.comment.system .body[b-mpp0xw6gmz] {
    color: #78350f;
    font-size: 0.875rem;
    font-style: italic;
}

.comment.mine .author.own[b-mpp0xw6gmz] {
    color: #1d4ed8;
}

.system-marker[b-mpp0xw6gmz] {
    color: #b45309;
    margin-right: 0.4rem;
    font-size: 0.875rem;
}

.head[b-mpp0xw6gmz] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.head .author[b-mpp0xw6gmz] {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.head .time[b-mpp0xw6gmz] {
    color: #9ca3af;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.body[b-mpp0xw6gmz] {
    color: #374151;
    font-size: 0.9375rem;
    white-space: pre-wrap;
}

/* Отрендеренный markdown — это уже HTML, pre-wrap не нужен (ломал бы отступы блоков). */
.body.markdown-body[b-mpp0xw6gmz] {
    white-space: normal;
}

.markdown-body > :first-child[b-mpp0xw6gmz] {
    margin-top: 0;
}

.markdown-body > :last-child[b-mpp0xw6gmz] {
    margin-bottom: 0;
}

.markdown-body p[b-mpp0xw6gmz] {
    margin: 0.4rem 0;
}

.markdown-body ul[b-mpp0xw6gmz],
.markdown-body ol[b-mpp0xw6gmz] {
    margin: 0.4rem 0;
    padding-left: 1.4rem;
}

.markdown-body a[b-mpp0xw6gmz] {
    color: #2563eb;
}

.markdown-body img[b-mpp0xw6gmz] {
    max-width: 100%;
    border-radius: 6px;
}

.markdown-body code[b-mpp0xw6gmz] {
    background: #eef2ff;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    font-size: 0.85em;
}

.markdown-body pre[b-mpp0xw6gmz] {
    background: #1f2937;
    color: #f9fafb;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    overflow-x: auto;
}

.markdown-body pre code[b-mpp0xw6gmz] {
    background: none;
    padding: 0;
    color: inherit;
}

.markdown-body blockquote[b-mpp0xw6gmz] {
    margin: 0.4rem 0;
    padding-left: 0.8rem;
    border-left: 3px solid #d1d5db;
    color: #6b7280;
}

.markdown-body table[b-mpp0xw6gmz] {
    border-collapse: collapse;
}

.markdown-body th[b-mpp0xw6gmz],
.markdown-body td[b-mpp0xw6gmz] {
    border: 1px solid #d1d5db;
    padding: 0.3rem 0.5rem;
}

.attachments[b-mpp0xw6gmz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.attachment[b-mpp0xw6gmz] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #374151;
    text-decoration: none;
}

.attachment:hover[b-mpp0xw6gmz] {
    border-color: #2563eb;
    color: #1d4ed8;
}

.attachment .att-size[b-mpp0xw6gmz] {
    color: #9ca3af;
    font-size: 0.75rem;
}

.attach-row[b-mpp0xw6gmz] {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.attach-btn[b-mpp0xw6gmz] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #4b5563;
    cursor: pointer;
}

.pending-files[b-mpp0xw6gmz] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pending-files li[b-mpp0xw6gmz] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #374151;
}

.pending-files .att-size[b-mpp0xw6gmz] {
    color: #9ca3af;
    font-size: 0.75rem;
}

.link-btn[b-mpp0xw6gmz] {
    border: none;
    background: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.2rem;
}

.link-btn:hover:not(:disabled)[b-mpp0xw6gmz] {
    color: #991b1b;
}

.error[b-mpp0xw6gmz] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
/* /Components/Shared/ConfirmDialog.razor.rz.scp.css */
.modal-backdrop[b-4hzh7ellqc] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-4hzh7ellqc] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal h3[b-4hzh7ellqc] {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
}

.modal p[b-4hzh7ellqc] {
    margin: 0 0 1rem 0;
    color: #374151;
}

.actions[b-4hzh7ellqc] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

button[b-4hzh7ellqc] {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button.primary[b-4hzh7ellqc] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover[b-4hzh7ellqc] {
    background: #1d4ed8;
}

button.danger[b-4hzh7ellqc] {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

button.danger:hover[b-4hzh7ellqc] {
    background: #b91c1c;
}

button.secondary:hover[b-4hzh7ellqc] {
    background: #f3f4f6;
}
/* /Components/Shared/ContactEngagementCard.razor.rz.scp.css */
.contact-engagement-card[b-8fhqlhc4xi] {
    margin: 0.5rem 0 0.25rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    background: #fbfcfd;
}

.ce-head[b-8fhqlhc4xi] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.ce-title[b-8fhqlhc4xi] {
    font-weight: 700;
    font-size: 0.9rem;
}

.ce-clean[b-8fhqlhc4xi] {
    margin: 0.15rem 0;
}

.muted[b-8fhqlhc4xi] {
    color: #6b7280;
    font-size: 0.85rem;
}

.ce-dups[b-8fhqlhc4xi] {
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e3e6ea;
}

.ce-sub[b-8fhqlhc4xi] {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    color: #374151;
    margin-bottom: 0.35rem;
}

.dup-list[b-8fhqlhc4xi] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dup-row[b-8fhqlhc4xi] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.dup-score[b-8fhqlhc4xi] {
    flex: 0 0 auto;
    min-width: 2rem;
    text-align: center;
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    background: #9ca3af;
}

.dup-score.high[b-8fhqlhc4xi] { background: #b3261e; }
.dup-score.medium[b-8fhqlhc4xi] { background: #a85b00; }
.dup-score.low[b-8fhqlhc4xi] { background: #9ca3af; }

.dup-body[b-8fhqlhc4xi] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dup-name[b-8fhqlhc4xi] {
    font-weight: 600;
}

.dup-meta[b-8fhqlhc4xi] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.dup-reason[b-8fhqlhc4xi] {
    font-style: italic;
}
/* /Components/Shared/DealHandoffFields.razor.rz.scp.css */
.deal-handoff[b-s30fhz9wyp] { display: flex; flex-direction: column; gap: .5rem; margin: .25rem 0 .5rem; }

.dh-state[b-s30fhz9wyp] {
    padding: .5rem .65rem; border-radius: 6px; font-size: .9rem; line-height: 1.4;
    background: #f9fafb; box-shadow: inset 0 0 0 1px #e5e7eb; color: #1f2937;
}
.dh-state a[b-s30fhz9wyp] { font-weight: 600; }
.dh-state.dh-openassigned[b-s30fhz9wyp] { background: #eff6ff; box-shadow: inset 0 0 0 1px #bfdbfe; }
.dh-state.dh-lost[b-s30fhz9wyp] { background: #fef2f2; box-shadow: inset 0 0 0 1px #fecaca; }
.dh-state.dh-won[b-s30fhz9wyp] { background: #f0fdf4; box-shadow: inset 0 0 0 1px #bbf7d0; }

.dh-actions[b-s30fhz9wyp] { display: flex; flex-direction: column; gap: .3rem; }
.dh-actions label[b-s30fhz9wyp] { display: flex; align-items: flex-start; gap: .4rem; font-size: .9rem; cursor: pointer; }
.dh-actions input[b-s30fhz9wyp] { margin-top: .2rem; }

.dh-hint[b-s30fhz9wyp] { margin: 0; font-size: .8rem; color: #6b7280; }
.dh-muted[b-s30fhz9wyp] { margin: 0; font-size: .85rem; color: #6b7280; }
/* /Components/Shared/DocumentPresetPanel.razor.rz.scp.css */
.card[b-8dflx8ekew] {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e5ea);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.card h2[b-8dflx8ekew] {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
}

.muted[b-8dflx8ekew] {
    color: var(--muted, #6b7280);
    font-size: .9rem;
    margin: 0 0 .75rem;
}

.form-actions[b-8dflx8ekew] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin: .75rem 0;
}

.ok[b-8dflx8ekew] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 8px;
    padding: .5rem .75rem;
    font-size: .9rem;
}

.error[b-8dflx8ekew] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: .5rem .75rem;
    font-size: .9rem;
}

.preset-what[b-8dflx8ekew] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem 1.5rem;
    margin: .5rem 0 1rem;
}

.preset-what h3[b-8dflx8ekew] {
    margin: 0 0 .35rem;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--muted, #6b7280);
}

.preset-what ul[b-8dflx8ekew] {
    margin: 0;
    padding-left: 1.1rem;
    font-size: .9rem;
    line-height: 1.6;
}

.preset-what code[b-8dflx8ekew] {
    font-size: .85em;
}

.preset-kv[b-8dflx8ekew] {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
}

.preset-kv dt[b-8dflx8ekew] {
    color: var(--muted, #6b7280);
    font-size: .85em;
}

.preset-kv dd[b-8dflx8ekew] {
    margin: 0 0 .4rem;
}

.preset-report[b-8dflx8ekew] {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
    font-size: .9rem;
    line-height: 1.6;
}

details > summary[b-8dflx8ekew] {
    cursor: pointer;
    margin-top: .75rem;
    font-size: .9rem;
    color: var(--muted, #6b7280);
}
/* /Components/Shared/DuplicateMatchesView.razor.rz.scp.css */
.muted[b-dbbhljdlq5] {
    color: #6b7280;
    font-style: italic;
}

.ok[b-dbbhljdlq5] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.warn-high[b-dbbhljdlq5] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.warn-medium[b-dbbhljdlq5] {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.warn-low[b-dbbhljdlq5] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.matches-table[b-dbbhljdlq5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.matches-table th[b-dbbhljdlq5], .matches-table td[b-dbbhljdlq5] {
    text-align: left;
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.matches-table th[b-dbbhljdlq5] {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.matches-table .score[b-dbbhljdlq5] {
    font-weight: 700;
    text-align: center;
    width: 60px;
}

.matches-table tr.high .score[b-dbbhljdlq5] {
    background: #fee2e2;
    color: #991b1b;
}

.matches-table tr.medium .score[b-dbbhljdlq5] {
    background: #fef3c7;
    color: #92400e;
}

.matches-table tr.low .score[b-dbbhljdlq5] {
    background: #eff6ff;
    color: #1e40af;
}

.matches-table a[b-dbbhljdlq5] {
    color: #1d4ed8;
}

.matches-table .expand-col[b-dbbhljdlq5] {
    width: 1.75rem;
    text-align: center;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.row-toggle[b-dbbhljdlq5] {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0;
    line-height: 1;
}

.row-toggle:hover[b-dbbhljdlq5] {
    color: #1f2937;
}

.signals-row > td[b-dbbhljdlq5] {
    background: #f9fafb;
}

.signals-title[b-dbbhljdlq5] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.signal-list[b-dbbhljdlq5] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.signal-list li[b-dbbhljdlq5] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.sig-score[b-dbbhljdlq5] {
    flex: 0 0 2.25rem;
    text-align: center;
    font-weight: 700;
    color: #374151;
    background: #eef2ff;
    border-radius: 4px;
}

.sig-name[b-dbbhljdlq5] {
    flex: 0 0 9.5rem;
    font-weight: 500;
    color: #374151;
}

.sig-reason[b-dbbhljdlq5] {
    flex: 1 1 auto;
    color: #6b7280;
}

.detector-report[b-dbbhljdlq5] {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
}

.detector-report > summary[b-dbbhljdlq5] {
    cursor: pointer;
    color: #6b7280;
    user-select: none;
}

.detector-report > summary:hover[b-dbbhljdlq5] {
    color: #374151;
}

.det-banner[b-dbbhljdlq5] {
    margin-top: 0.5rem;
    padding: 0.45rem 0.625rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.det-banner-warn[b-dbbhljdlq5] {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.det-banner-info[b-dbbhljdlq5] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.detector-list[b-dbbhljdlq5] {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.det[b-dbbhljdlq5] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0.625rem;
    border-top: 1px solid #f3f4f6;
}

.det:first-child[b-dbbhljdlq5] {
    border-top: none;
}

.det-icon[b-dbbhljdlq5] {
    flex: 0 0 1rem;
    text-align: center;
    font-weight: 700;
}

.det-name[b-dbbhljdlq5] {
    flex: 0 0 11rem;
    font-weight: 500;
    color: #374151;
}

.det-status[b-dbbhljdlq5] {
    flex: 0 0 auto;
    color: #6b7280;
}

.det-note[b-dbbhljdlq5] {
    flex: 1 1 auto;
    color: #9ca3af;
    font-style: italic;
}

.det-matched[b-dbbhljdlq5] {
    background: #ecfdf5;
}

.det-matched .det-icon[b-dbbhljdlq5] {
    color: #059669;
}

.det-nomatch .det-icon[b-dbbhljdlq5] {
    color: #9ca3af;
}

.det-skipped[b-dbbhljdlq5] {
    background: #f9fafb;
}

.det-skipped .det-name[b-dbbhljdlq5],
.det-skipped .det-icon[b-dbbhljdlq5] {
    color: #9ca3af;
}
/* /Components/Shared/DuplicateTopMatches.razor.rz.scp.css */
.top-matches[b-txra3ts2o2] {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.top-match[b-txra3ts2o2] {
    display: flex;
    align-items: stretch;
    gap: 0.625rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.625rem;
    background: #fff;
}

.tm-score[b-txra3ts2o2] {
    flex: 0 0 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
}

.top-match.high[b-txra3ts2o2] {
    border-color: #fecaca;
}

.top-match.high .tm-score[b-txra3ts2o2] {
    background: #fee2e2;
    color: #991b1b;
}

.top-match.medium[b-txra3ts2o2] {
    border-color: #fcd34d;
}

.top-match.medium .tm-score[b-txra3ts2o2] {
    background: #fef3c7;
    color: #92400e;
}

.top-match.low[b-txra3ts2o2] {
    border-color: #bfdbfe;
}

.top-match.low .tm-score[b-txra3ts2o2] {
    background: #eff6ff;
    color: #1e40af;
}

.tm-body[b-txra3ts2o2] {
    flex: 1 1 auto;
    min-width: 0;
}

.tm-name[b-txra3ts2o2] {
    font-weight: 600;
    color: #1d4ed8;
    text-decoration: none;
}

.tm-name:hover[b-txra3ts2o2] {
    text-decoration: underline;
}

.tm-merge[b-txra3ts2o2] {
    margin-left: 0.625rem;
    font-size: 0.8125rem;
    color: #b45309;
    text-decoration: none;
    white-space: nowrap;
}

.tm-merge:hover[b-txra3ts2o2] {
    text-decoration: underline;
}

.tm-meta[b-txra3ts2o2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

.tm-reason[b-txra3ts2o2] {
    font-size: 0.8125rem;
    color: #4b5563;
    margin-top: 0.25rem;
    line-height: 1.35;
}
/* /Components/Shared/DuplicateWarningBox.razor.rz.scp.css */
.dup-warning[b-kcukwrk0en] {
    margin-top: 0.5rem;
    padding: 0.625rem 0.75rem 0.125rem;
    border: 1px solid #fcd34d;
    border-left-width: 4px;
    border-radius: 8px;
    background: #fffbeb;
}

.dup-warning-head[b-kcukwrk0en] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #92400e;
    font-size: 0.875rem;
}
/* /Components/Shared/EgrStatusBadge.razor.rz.scp.css */
.egr-badge[b-qtlvvg1uqq] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: .85em;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
}

.egr-active[b-qtlvvg1uqq] {
    background: #e6f4ea;
    color: #137333;
}

.egr-liquidating[b-qtlvvg1uqq] {
    background: #fef7e0;
    color: #9a6400;
}

.egr-dead[b-qtlvvg1uqq] {
    background: #fce8e6;
    color: #c5221f;
}

.egr-unknown[b-qtlvvg1uqq] {
    background: #eceff1;
    color: #546e7a;
}
/* /Components/Shared/EgrStatusInline.razor.rz.scp.css */
.egr-inline[b-3eim2k7br2] {
    margin: .5rem 0;
    padding: .5rem .75rem;
    border-radius: 8px;
    background: #f7f9fa;
    font-size: .92em;
}

.egr-inline-head[b-3eim2k7br2] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.egr-inline-label[b-3eim2k7br2] {
    color: #607d8b;
    font-weight: 600;
}

.egr-inline-name[b-3eim2k7br2] {
    margin-top: .3rem;
    font-weight: 600;
}

.egr-inline-addr[b-3eim2k7br2] {
    margin-top: .2rem;
    color: #455a64;
}

.egr-inline-loading[b-3eim2k7br2] {
    color: #607d8b;
}

.egr-inline-muted[b-3eim2k7br2] {
    color: #90a4ae;
}
/* /Components/Shared/EntityMuteButton.razor.rz.scp.css */
.mute-btn[b-2itm4e506l] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.mute-btn:hover:not(:disabled)[b-2itm4e506l] {
    background: #f3f4f6;
}

.mute-btn.muted[b-2itm4e506l] {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.mute-btn.muted:hover:not(:disabled)[b-2itm4e506l] {
    background: #fecaca;
}

.mute-btn:disabled[b-2itm4e506l] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Components/Shared/EntitySubscribeButton.razor.rz.scp.css */
.subscribe-btn[b-d61qfy6rqv] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.subscribe-btn:hover:not(:disabled)[b-d61qfy6rqv] {
    background: #f3f4f6;
}

.subscribe-btn.subscribed[b-d61qfy6rqv] {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
}

.subscribe-btn.subscribed:hover:not(:disabled)[b-d61qfy6rqv] {
    background: #1d4ed8;
}

.subscribe-btn:disabled[b-d61qfy6rqv] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* /Components/Shared/GenitiveOutdatedHint.razor.rz.scp.css */
/* Предупреждение у падежного поля: не мешает сохранить, цвет — как у остальных предупреждений формы лида. */
.genitive-hint[b-ma188m16gz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin-top: 0.25rem;
    color: #92400e;
    font-size: 0.8125rem;
}

.genitive-hint button[b-ma188m16gz] {
    max-width: 100%;
    white-space: normal;
    text-align: left;
}
/* /Components/Shared/InstallationBookingModal.razor.rz.scp.css */
.install-booking[b-r1qkg2s2io] {
    max-width: 620px;
    width: 100%;
}

.selected-note[b-r1qkg2s2io] {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.selected-note .warn[b-r1qkg2s2io] {
    color: #b45309;
}
/* /Components/Shared/InstallationRescheduleModal.razor.rz.scp.css */
.install-reschedule[b-u9p61oyig3] {
    max-width: 620px;
    width: 100%;
}

.selected-note[b-u9p61oyig3] {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.selected-note .warn[b-u9p61oyig3] {
    color: #b45309;
}
/* /Components/Shared/InstallationSlotPicker.razor.rz.scp.css */
.booking-controls[b-619o6c1qdj] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.booking-controls .field[b-619o6c1qdj] {
    margin: 0;
}

.slot-grid[b-619o6c1qdj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.slot[b-619o6c1qdj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.1;
    transition: transform 0.05s ease;
}

.slot:hover:not(:disabled)[b-619o6c1qdj] {
    transform: translateY(-1px);
    filter: brightness(0.97);
}

.slot:disabled[b-619o6c1qdj] {
    cursor: not-allowed;
    opacity: 0.55;
}

.slot .slot-time[b-619o6c1qdj] {
    font-weight: 600;
}

.slot .slot-load[b-619o6c1qdj] {
    font-size: 0.72rem;
    opacity: 0.75;
}

.slot.full[b-619o6c1qdj] {
    font-weight: 600;
}

.slot.past[b-619o6c1qdj] {
    text-decoration: line-through;
    opacity: 0.5;
}

.slot-notice[b-619o6c1qdj] {
    margin: 0 0 0.75rem;
}

.slot.selected[b-619o6c1qdj] {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.legend[b-619o6c1qdj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #666;
    flex-wrap: wrap;
}

.legend .dot[b-619o6c1qdj] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.legend .dot.free[b-619o6c1qdj] { background: hsl(120, 75%, 88%); }
.legend .dot.mid[b-619o6c1qdj] { background: hsl(60, 75%, 86%); }
.legend .dot.full[b-619o6c1qdj] { background: hsl(0, 75%, 90%); }
/* /Components/Shared/LeadCallTargetBadge.razor.rz.scp.css */
.call-target-badges[b-xybghly6os] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.25rem 0;
    min-width: 0;
    max-width: 100%;
}

/* Размер — как у чипов вовлечённости рядом; длинное имя базы не раздвигает шапку карточки и телефон. */
.ctb[b-xybghly6os] {
    display: inline-block;
    max-width: min(28rem, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: default;
}

a.ctb[b-xybghly6os] {
    cursor: pointer;
}

a.ctb:hover[b-xybghly6os] {
    border-color: #6fb893;
}

.ctb-own[b-xybghly6os] {
    background: #e3f4ea;
    color: #1f6b43;
    border-color: #b6dfc6;
}

.ctb-free[b-xybghly6os] {
    background: #eef6f1;
    color: #3d6b52;
    border-color: #d3e8db;
}

.ctb-foreign[b-xybghly6os] {
    background: #f1f3f5;
    color: #495057;
    border-color: #dde1e5;
}
/* /Components/Shared/LeadDealsOverview.razor.rz.scp.css */
.lead-deals[b-tdc1zc79kx] { margin: .25rem 0 .5rem; }

.ld-head[b-tdc1zc79kx] { font-size: .8rem; font-weight: 600; color: #374151; margin-bottom: .35rem; }

.ld-list[b-tdc1zc79kx] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }

.ld-row[b-tdc1zc79kx] {
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
    padding: .3rem .5rem; border-radius: 6px; background: #f9fafb;
}

.ld-row.current[b-tdc1zc79kx] { background: #eff6ff; box-shadow: inset 0 0 0 1px #bfdbfe; }

.ld-dir[b-tdc1zc79kx] { font-weight: 600; color: #1f2937; text-decoration: none; }
.ld-dir:hover[b-tdc1zc79kx] { text-decoration: underline; color: #1d4ed8; }

.ld-note[b-tdc1zc79kx] { font-size: .8rem; color: #6b7280; font-style: italic; }
/* /Components/Shared/LeadEmailRow.razor.rz.scp.css */
/* Строка адреса: одинаковый вид в карточке лида и в обзвоне.
   Раскладку ряда задаёт родительский контейнер страницы. */

.email-value[b-kyvjpk1th6] {
    font-weight: 500;
    word-break: break-all;
}

.email-label-tag[b-kyvjpk1th6] {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.email-domain[b-kyvjpk1th6] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.email-edit[b-kyvjpk1th6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.inline-input[b-kyvjpk1th6] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input:focus[b-kyvjpk1th6] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.email-input[b-kyvjpk1th6] {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 340px;
}

.label-input[b-kyvjpk1th6] {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
}

button.link[b-kyvjpk1th6] {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.95rem;
}

button.link:hover:not(:disabled)[b-kyvjpk1th6] {
    color: #0d47a1;
}

button.link-danger[b-kyvjpk1th6] {
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.875rem;
}

button.link-danger:hover:not(:disabled)[b-kyvjpk1th6] {
    color: #8e0000;
}

button.link:disabled[b-kyvjpk1th6],
button.link-danger:disabled[b-kyvjpk1th6] {
    opacity: 0.5;
    cursor: default;
}

.remove-confirm[b-kyvjpk1th6] {
    color: #92400e;
    font-size: 0.8125rem;
}

.error-inline[b-kyvjpk1th6] {
    color: #b91c1c;
    font-size: 0.8125rem;
}
/* /Components/Shared/LeadEngagementBadge.razor.rz.scp.css */
.engagement-badges[b-icdmui6ir6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.25rem 0;
}

.eb[b-icdmui6ir6] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: default;
}

/* Жёсткие сигналы «уже работаем» — тёплая палитра, выделяются. */
.eb-client[b-icdmui6ir6] {
    background: #fdecea;
    color: #b3261e;
    border-color: #f3c0bb;
}

.eb-deal[b-icdmui6ir6],
.eb-leadgen[b-icdmui6ir6] {
    background: #fff4e5;
    color: #a85b00;
    border-color: #f6d8ab;
}

.eb-dnc[b-icdmui6ir6] {
    background: #2b2b2b;
    color: #fff;
    border-color: #2b2b2b;
}

/* Мягкие сигналы — справочные, спокойные тона. */
.eb-called[b-icdmui6ir6] {
    background: #fff8e1;
    color: #8a6d00;
    border-color: #f0e0a0;
}

.eb-inbound[b-icdmui6ir6] {
    background: #e8f1fd;
    color: #1456b8;
    border-color: #c2d8f5;
}

/* Ушедший клиент и клиент через связанного — тот же сигнал «уже наш», но мягче действующего. */
.eb-client-former[b-icdmui6ir6],
.eb-client-link[b-icdmui6ir6] {
    background: #fdf2f1;
    color: #8c3a33;
    border-color: #efd0cc;
}

.eb-client-link[b-icdmui6ir6] {
    text-decoration: none;
    cursor: pointer;
}

.eb-client-link:hover[b-icdmui6ir6] {
    border-color: #c9837b;
}

/* Название связанного клиента бывает длинным — не даём чипу раздвинуть шапку карточки. */
.eb-client-link[b-icdmui6ir6] {
    display: inline-block;
    max-width: 24rem;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
/* /Components/Shared/LeadHistory.razor.rz.scp.css */
.lead-history[b-8xfmwswof3] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lh-item[b-8xfmwswof3] {
    border-left: 2px solid #e5e7eb;
    padding: 0.25rem 0 0.25rem 0.85rem;
}

.lh-head[b-8xfmwswof3] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lh-title[b-8xfmwswof3] {
    font-weight: 500;
    color: #111827;
}

.lh-meta[b-8xfmwswof3] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.lh-detail[b-8xfmwswof3] {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
}

.lh-change[b-8xfmwswof3] {
    margin: 0.1rem 0;
}

.lh-old[b-8xfmwswof3] {
    color: #b91c1c;
    text-decoration: line-through;
}

.lh-new[b-8xfmwswof3] {
    color: #15803d;
}
/* /Components/Shared/LeadLinkDialog.razor.rz.scp.css */
.picked-lead[b-67cq7u6unw] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .6rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--accent-softer, #f5f8ff);
}

.linklike[b-67cq7u6unw] {
    border: none;
    background: none;
    padding: 0;
    color: #2456b3;
    cursor: pointer;
    font-size: .85rem;
}
/* /Components/Shared/LeadMailPanel.razor.rz.scp.css */
.lead-mail-list[b-ydmx23n5ex] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lead-mail-list li[b-ydmx23n5ex] {
    border-bottom: 1px solid #f3f4f6;
}

.lead-mail-row[b-ydmx23n5ex] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.5rem;
    border: none;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.lead-mail-row:hover[b-ydmx23n5ex] {
    background: #f9fafb;
}

.lead-mail-row .dir[b-ydmx23n5ex] {
    color: #6b7280;
    font-size: 0.78rem;
    white-space: nowrap;
}

.lead-mail-row .subj[b-ydmx23n5ex] {
    flex: 1;
    color: #111827;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lead-mail-row .meta[b-ydmx23n5ex] {
    color: #9ca3af;
    font-size: 0.78rem;
    white-space: nowrap;
}

.lead-mail-body[b-ydmx23n5ex] {
    padding: 0.75rem 0.5rem 1rem 0.5rem;
    background: #fafafa;
}

.lead-mail-count[b-ydmx23n5ex] {
    flex: none;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

.lead-mail-thread.open > .lead-mail-row[b-ydmx23n5ex] {
    background: #f3f4f6;
}

.lead-mail-thread-list[b-ydmx23n5ex] {
    list-style: none;
    padding: 0 0 0 1.25rem;
    margin: 0;
    border-top: 1px solid #f3f4f6;
}

.lead-mail-thread-list li:last-child[b-ydmx23n5ex] {
    border-bottom: none;
}

.lead-mail-msg .subj[b-ydmx23n5ex] {
    color: #374151;
    font-size: 0.84rem;
}

@media (max-width: 640px) {
    .lead-mail-row .dir-word[b-ydmx23n5ex] {
        display: none;
    }

    .lead-mail-thread-list[b-ydmx23n5ex] {
        padding-left: 0.75rem;
    }
}
/* /Components/Shared/LeadPhoneRow.razor.rz.scp.css */
/* Строка телефона: одинаковый вид в карточке лида и в обзвоне.
   Раскладку ряда (flex, фон, отступы) задаёт родительский контейнер страницы. */

.phone-value[b-2858bm6h7i] {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    /* Номер не переносим: на узком экране flex иначе рвёт его по группам цифр. */
    white-space: nowrap;
}

/* В обзвоне номер читают вслух — он крупнее остального ряда. */
.phone-value.prominent[b-2858bm6h7i] {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.phone-label-tag[b-2858bm6h7i] {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.dial[b-2858bm6h7i] {
    color: #2e7d32;
    font-size: 0.8125rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.dial.dial-warn[b-2858bm6h7i] {
    color: #b26a00;
}

.phone-edit[b-2858bm6h7i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.inline-input[b-2858bm6h7i] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.inline-input:focus[b-2858bm6h7i] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.phone-input[b-2858bm6h7i] {
    flex: 0 1 200px;
    min-width: 150px;
}

.label-input[b-2858bm6h7i] {
    flex: 1 1 240px;
    min-width: 180px;
    max-width: 360px;
}

button.link[b-2858bm6h7i] {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.95rem;
}

button.link:hover:not(:disabled)[b-2858bm6h7i] {
    color: #0d47a1;
}

button.link-danger[b-2858bm6h7i] {
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.875rem;
}

button.link-danger:hover:not(:disabled)[b-2858bm6h7i] {
    color: #8e0000;
}

button.link:disabled[b-2858bm6h7i],
button.link-danger:disabled[b-2858bm6h7i] {
    opacity: 0.5;
    cursor: default;
}

.remove-confirm[b-2858bm6h7i] {
    color: #92400e;
    font-size: 0.8125rem;
}

.error-inline[b-2858bm6h7i] {
    color: #b91c1c;
    font-size: 0.8125rem;
}
/* /Components/Shared/LeadPicker.razor.rz.scp.css */
.lpicker[b-x7yvomr8fo] { position: relative; width: 100%; }

.lpicker .lpicker-input[b-x7yvomr8fo] {
    width: 100%;
    padding: .45rem .7rem;
    border: 1px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    font-size: .9rem;
    color: var(--text);
}

.lpicker .lpicker-input:focus[b-x7yvomr8fo] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft, rgba(37, 99, 235, .15));
}

.lpicker-drop[b-x7yvomr8fo] {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-md);
    z-index: 50;
    max-height: 40vh;
    overflow-y: auto;
}

.lpicker-note[b-x7yvomr8fo] { padding: .7rem .9rem; color: var(--text-muted); font-size: .85rem; }

.lpicker-hit[b-x7yvomr8fo] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    width: 100%;
    padding: .55rem .9rem;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lpicker-hit:last-child[b-x7yvomr8fo] { border-bottom: none; }
.lpicker-hit:hover[b-x7yvomr8fo] { background: var(--accent-softer, #f5f8ff); }

.lpicker-name[b-x7yvomr8fo] { font-weight: 500; }
.lpicker-id[b-x7yvomr8fo] { font-weight: 400; color: var(--text-faint); font-size: .8rem; }
.lpicker-meta[b-x7yvomr8fo] { font-size: .78rem; color: var(--text-muted); }
/* /Components/Shared/LeadRequisitesFields.razor.rz.scp.css */
.intro[b-tu3jaf5mdc] {
    color: #6b7280;
    font-size: 0.875rem;
    margin: -0.5rem 0 0.75rem 0;
}

.field[b-tu3jaf5mdc] {
    display: flex;
    flex-direction: column;
}

.field label[b-tu3jaf5mdc] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-tu3jaf5mdc]  input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-tu3jaf5mdc]  input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Поле с кнопкой справа («Юридический адрес» + «из ЕГР»). */
.with-action[b-tu3jaf5mdc] {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.with-action[b-tu3jaf5mdc]  input {
    flex: 1;
    min-width: 0;
}

.field-hint[b-tu3jaf5mdc] {
    color: #6b7280;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Предупреждение, которое не мешает сохранить (неверный IBAN, счёт и БИК из разных банков). */
.field-hint.warn[b-tu3jaf5mdc] {
    color: #92400e;
}

/* Флажки на всю ширину сетки, в одну строку. */
.checks[b-tu3jaf5mdc] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: #374151;
}

/* Сверка полей банка со справочником — на всю ширину сетки, под полями банка. */
.bank-hint[b-tu3jaf5mdc] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
}

.bank-hint .warn[b-tu3jaf5mdc] {
    color: #92400e;
}

.bank-hint .muted[b-tu3jaf5mdc] {
    color: #9ca3af;
    font-style: italic;
}
/* /Components/Shared/LeadTouchSummaryLine.razor.rz.scp.css */
.touch-summary[b-8wk0eru7lm] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 1rem;
    margin: 0.35rem 0 0.5rem;
    font-size: 0.85rem;
    color: #374151;
    min-width: 0;
}

.ts-part[b-8wk0eru7lm] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ts-label[b-8wk0eru7lm] {
    color: #6b7280;
    margin-right: 0.2rem;
}

.ts-touch + .ts-touch[b-8wk0eru7lm]::before {
    content: "; ";
    color: #9ca3af;
}

.ts-date[b-8wk0eru7lm],
.ts-muted[b-8wk0eru7lm] {
    color: #6b7280;
}

.ts-refusal[b-8wk0eru7lm] {
    color: #9a3412;
}
/* /Components/Shared/MailMessageView.razor.rz.scp.css */
.mail-view[b-omjsg888zu] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mail-view-subject[b-omjsg888zu] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.mail-view-meta[b-omjsg888zu] {
    font-size: 0.82rem;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mail-view-meta .lbl[b-omjsg888zu] {
    color: #6b7280;
    margin-right: 0.25rem;
}

.mail-view-meta .muted[b-omjsg888zu] {
    color: #9ca3af;
}

.mail-view-body[b-omjsg888zu] {
    font-size: 0.9rem;
    color: #111827;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mail-view-text[b-omjsg888zu] {
    margin: 0;
    white-space: pre-wrap;
    font: inherit;
}

.mail-view-attachments[b-omjsg888zu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.mail-view-attachments a[b-omjsg888zu] {
    color: #1d4ed8;
    text-decoration: none;
    font-size: 0.85rem;
}

.mail-view-attachments a:hover[b-omjsg888zu] {
    text-decoration: underline;
}
/* /Components/Shared/NotificationBell.razor.rz.scp.css */
.notification-bell[b-iszlpfwh17] {
    position: relative;
}

.bell-button[b-iszlpfwh17] {
    background: transparent;
    color: inherit;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.bell-button:hover[b-iszlpfwh17] {
    opacity: 0.85;
}

.bell-icon[b-iszlpfwh17] {
    display: inline-flex;
}

.bell-icon svg[b-iszlpfwh17] {
    width: 1.3rem;
    height: 1.3rem;
    display: block;
}

.badge[b-iszlpfwh17] {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

.bell-dropdown[b-iszlpfwh17] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    z-index: 100;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow: hidden;
}

.bell-header[b-iszlpfwh17] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
}

.bell-header .link[b-iszlpfwh17] {
    background: transparent;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.bell-header .link:hover[b-iszlpfwh17] {
    text-decoration: underline;
}

.bell-empty[b-iszlpfwh17] {
    padding: 1.5rem 0.9rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.bell-list[b-iszlpfwh17] {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.bell-item[b-iszlpfwh17] {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.bell-item:hover[b-iszlpfwh17] {
    background: #f9fafb;
}

.bell-item.unread[b-iszlpfwh17] {
    background: #eff6ff;
}

.bell-item.unread:hover[b-iszlpfwh17] {
    background: #dbeafe;
}

.bell-title[b-iszlpfwh17] {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.bell-body[b-iszlpfwh17] {
    font-size: 0.825rem;
    color: #4b5563;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.bell-meta[b-iszlpfwh17] {
    font-size: 0.72rem;
    color: #9ca3af;
}

.bell-footer[b-iszlpfwh17] {
    padding: 0.5rem 0.9rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    text-align: center;
}

.bell-footer a[b-iszlpfwh17] {
    color: #2563eb;
    font-size: 0.85rem;
    text-decoration: none;
}

.bell-footer a:hover[b-iszlpfwh17] {
    text-decoration: underline;
}

.toast-host[b-iszlpfwh17] {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1100;
    pointer-events: none;
}

.toast[b-iszlpfwh17] {
    background: #1f2937;
    color: #f9fafb;
    padding: 0.7rem 2.2rem 0.7rem 0.9rem;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    min-width: 260px;
    max-width: 360px;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    animation: toast-in-b-iszlpfwh17 0.18s ease-out;
}

.toast:hover[b-iszlpfwh17] {
    background: #111827;
}

.toast-title[b-iszlpfwh17] {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
    word-wrap: break-word;
}

.toast-body[b-iszlpfwh17] {
    font-size: 0.82rem;
    color: #d1d5db;
    word-wrap: break-word;
}

.toast-close[b-iszlpfwh17] {
    position: absolute;
    top: 4px;
    right: 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

.toast-close:hover[b-iszlpfwh17] {
    color: #fff;
}

@keyframes toast-in-b-iszlpfwh17 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Components/Shared/OpportunityAssigneeCard.razor.rz.scp.css */
.assignee-card[b-2toq9pcr3k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.info[b-2toq9pcr3k] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.who[b-2toq9pcr3k] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.who .email[b-2toq9pcr3k] {
    color: #6b7280;
    font-size: 0.875rem;
}

.claimed[b-2toq9pcr3k] {
    color: #6b7280;
    font-size: 0.8125rem;
}

.free[b-2toq9pcr3k] {
    color: #4b5563;
    font-style: italic;
}

.muted[b-2toq9pcr3k] {
    color: #9ca3af;
    margin: 0;
}

.actions[b-2toq9pcr3k] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

button[b-2toq9pcr3k] {
    padding: 0.45rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-2toq9pcr3k] {
    background: #f3f4f6;
}

button:disabled[b-2toq9pcr3k] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-2toq9pcr3k] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-2toq9pcr3k] {
    background: #1d4ed8;
}

.error[b-2toq9pcr3k] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.modal-backdrop[b-2toq9pcr3k] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-2toq9pcr3k] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    width: 100%;
    max-width: 520px;
}

.modal h3[b-2toq9pcr3k] {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
}

.modal p.muted[b-2toq9pcr3k] {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
}

.user-select[b-2toq9pcr3k] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.user-select:focus[b-2toq9pcr3k] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.modal-actions[b-2toq9pcr3k] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.transfer-tasks[b-2toq9pcr3k] {
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
}

.transfer-head[b-2toq9pcr3k] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.transfer-head .links[b-2toq9pcr3k] {
    font-weight: 400;
    color: #9ca3af;
    white-space: nowrap;
}

.modal p.muted.hint[b-2toq9pcr3k] {
    font-size: 0.8125rem;
    margin: 0.35rem 0 0.6rem 0;
}

button.linklike[b-2toq9pcr3k] {
    padding: 0;
    border: none;
    background: none;
    color: #2563eb;
    cursor: pointer;
    font: inherit;
    font-size: 0.8125rem;
}

button.linklike:hover[b-2toq9pcr3k] {
    background: none;
    text-decoration: underline;
}

.task-pick[b-2toq9pcr3k] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.task-pick li label[b-2toq9pcr3k] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem;
    border-radius: 6px;
    cursor: pointer;
}

.task-pick li label:hover[b-2toq9pcr3k] {
    background: #f3f4f6;
}

.task-pick input[type="checkbox"][b-2toq9pcr3k] {
    margin: 0;
    position: relative;
    top: 2px;
}

.task-pick .t-title[b-2toq9pcr3k] {
    flex: 1;
    min-width: 0;
}

.task-pick .t-meta[b-2toq9pcr3k] {
    color: #6b7280;
    font-size: 0.8125rem;
    white-space: nowrap;
}
/* /Components/Shared/OpportunityHistoryTimeline.razor.rz.scp.css */
.muted[b-chtt35krrc] {
    color: #6b7280;
    font-style: italic;
}

.timeline[b-chtt35krrc] {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline[b-chtt35krrc]::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e5e7eb;
}

.item[b-chtt35krrc] {
    position: relative;
    padding: 0.4rem 0 0.6rem 2rem;
}

.item:last-child[b-chtt35krrc] {
    padding-bottom: 0.2rem;
}

.dot[b-chtt35krrc] {
    position: absolute;
    left: 6px;
    top: 0.55rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #2563eb;
}

.item.event-created .dot[b-chtt35krrc] { background: #6366f1; box-shadow: 0 0 0 1px #6366f1; }
.item.event-stagechanged .dot[b-chtt35krrc] { background: #2563eb; box-shadow: 0 0 0 1px #2563eb; }
.item.event-closed .dot[b-chtt35krrc] { background: #16a34a; box-shadow: 0 0 0 1px #16a34a; }
.item.event-reopened .dot[b-chtt35krrc] { background: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.item.event-claimed .dot[b-chtt35krrc] { background: #0891b2; box-shadow: 0 0 0 1px #0891b2; }
.item.event-released .dot[b-chtt35krrc] { background: #6b7280; box-shadow: 0 0 0 1px #6b7280; }
.item.event-reassigned .dot[b-chtt35krrc] { background: #9333ea; box-shadow: 0 0 0 1px #9333ea; }
.item.event-lineadded .dot[b-chtt35krrc] { background: #06b6d4; box-shadow: 0 0 0 1px #06b6d4; }
.item.event-lineupdated .dot[b-chtt35krrc] { background: #14b8a6; box-shadow: 0 0 0 1px #14b8a6; }
.item.event-lineremoved .dot[b-chtt35krrc] { background: #94a3b8; box-shadow: 0 0 0 1px #94a3b8; }
.item.event-documentgenerated .dot[b-chtt35krrc] { background: #db2777; box-shadow: 0 0 0 1px #db2777; }

.head[b-chtt35krrc] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.head .label[b-chtt35krrc] {
    font-weight: 600;
    color: #111827;
}

.head .actor[b-chtt35krrc] {
    color: #4b5563;
}

.head .time[b-chtt35krrc] {
    color: #9ca3af;
    font-size: 0.8125rem;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.body[b-chtt35krrc] {
    color: #374151;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
/* /Components/Shared/OpportunityOutcomeHistory.razor.rz.scp.css */
.outcome-counts[b-1vd644jlpr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.outcome[b-1vd644jlpr] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.outcome-won[b-1vd644jlpr] { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.outcome-lost[b-1vd644jlpr] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.muted[b-1vd644jlpr] { color: #6b7280; font-size: 0.8125rem; }

.outcome-chain[b-1vd644jlpr] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.outcome-chain-item[b-1vd644jlpr] {
    border: 1px solid #e5e7eb;
    border-left-width: 4px;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    background: #fafafa;
}

.outcome-chain-item.won[b-1vd644jlpr] { border-left-color: #10b981; }
.outcome-chain-item.lost[b-1vd644jlpr] { border-left-color: #ef4444; }

.outcome-chain-head[b-1vd644jlpr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.outcome-chain-head .iter[b-1vd644jlpr] { font-weight: 600; }
.outcome-chain-head .period[b-1vd644jlpr] { color: #6b7280; font-size: 0.8125rem; }

.outcome-chain-meta[b-1vd644jlpr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    font-size: 0.875rem;
}

.outcome-chain-meta .reason strong[b-1vd644jlpr] { color: #991b1b; }
.outcome-chain-meta .note[b-1vd644jlpr] { color: #6b7280; font-style: italic; }
.outcome-chain-meta .reopened[b-1vd644jlpr] { color: #2563eb; }

.outcome-lines[b-1vd644jlpr] {
    margin-top: 0.4rem;
    font-size: 0.8125rem;
}

.outcome-lines summary[b-1vd644jlpr] {
    cursor: pointer;
    color: #374151;
}

.outcome-lines ul[b-1vd644jlpr] {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
}
/* /Components/Shared/OutcomeBadge.razor.rz.scp.css */
.outcome[b-irqox3zagu] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.outcome-open[b-irqox3zagu] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.outcome-won[b-irqox3zagu]  { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.outcome-lost[b-irqox3zagu] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
/* /Components/Shared/RequiredFieldsModal.razor.rz.scp.css */
.modal-backdrop[b-u68pzt9u8d] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-u68pzt9u8d] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-u68pzt9u8d] {
    padding: 1.25rem 1.5rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2[b-u68pzt9u8d] {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.modal-header .muted[b-u68pzt9u8d] {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.modal-body[b-u68pzt9u8d] {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-body h3[b-u68pzt9u8d] {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.modal-body h3:first-child[b-u68pzt9u8d] {
    margin-top: 0;
}

.modal-body .field[b-u68pzt9u8d] {
    margin-bottom: 0.875rem;
}

.modal-body .field label[b-u68pzt9u8d] {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.modal-body .field .hint[b-u68pzt9u8d] {
    display: block;
    color: #6b7280;
    font-weight: 400;
    font-size: 0.8125rem;
}

.modal-body .field input[type="text"][b-u68pzt9u8d],
.modal-body .field input[type="number"][b-u68pzt9u8d],
.modal-body .field input[type="date"][b-u68pzt9u8d],
.modal-body .field input[type="datetime-local"][b-u68pzt9u8d],
.modal-body .field textarea[b-u68pzt9u8d],
.modal-body .field select[b-u68pzt9u8d] {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}

.modal-body .multi-select[b-u68pzt9u8d] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-body .inline-checkbox[b-u68pzt9u8d] {
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.modal-body .error[b-u68pzt9u8d] {
    margin-top: 0.75rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.modal-footer[b-u68pzt9u8d] {
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.modal-footer button[b-u68pzt9u8d] {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.modal-footer button.primary[b-u68pzt9u8d] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.modal-footer button.primary:hover[b-u68pzt9u8d] {
    background: #1d4ed8;
}

.modal-footer button.primary:disabled[b-u68pzt9u8d] {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer button.secondary:hover[b-u68pzt9u8d] {
    background: #f3f4f6;
}
/* /Components/Shared/ResetFiltersButton.razor.rz.scp.css */
.reset-filters[b-csiapyphz2] { font-size: .8rem; padding: .3rem .7rem; }
/* /Components/Shared/ReviewedMatchChip.razor.rz.scp.css */
.reviewed-chip[b-phvsagppqd] {
    display: inline-block;
    margin-left: .35rem;
    padding: 0 .45rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #4b5563;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
    align-self: flex-start;
}

.reviewed-chip.linked[b-phvsagppqd] {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #3730a3;
}
/* /Components/Shared/StageBadge.razor.rz.scp.css */
.stage-badge[b-k5akketuxd] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    border: 1px solid transparent;
    white-space: nowrap;
}

.type-marker[b-k5akketuxd] {
    font-weight: 700;
    font-size: 0.7rem;
}

.stage-gray[b-k5akketuxd]   { background: #f3f4f6; color: #374151; border-color: #d1d5db; }
.stage-blue[b-k5akketuxd]   { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.stage-green[b-k5akketuxd]  { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.stage-yellow[b-k5akketuxd] { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.stage-orange[b-k5akketuxd] { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.stage-red[b-k5akketuxd]    { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.stage-purple[b-k5akketuxd] { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.stage-teal[b-k5akketuxd]   { background: #ccfbf1; color: #115e59; border-color: #5eead4; }
/* /Components/Shared/StageRequiredFieldsDialog.razor.rz.scp.css */
.modal-backdrop[b-0kera9m8es] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-0kera9m8es] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header[b-0kera9m8es] {
    padding: 1.25rem 1.5rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2[b-0kera9m8es] {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.modal-header .muted[b-0kera9m8es] {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.modal-body[b-0kera9m8es] {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-body h3[b-0kera9m8es] {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.modal-body h3:first-child[b-0kera9m8es] {
    margin-top: 0;
}

.required-list[b-0kera9m8es] {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.required-list li label[b-0kera9m8es] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
}

.required-list li label:hover[b-0kera9m8es] {
    background: #f9fafb;
}

.required-list .hint[b-0kera9m8es] {
    flex-basis: 100%;
    color: #6b7280;
    font-size: 0.8125rem;
    margin-left: 1.5rem;
}

.modal-body .muted[b-0kera9m8es] {
    color: #6b7280;
}

.modal-body .error[b-0kera9m8es] {
    margin-top: 0.75rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.modal-footer[b-0kera9m8es] {
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.modal-footer button[b-0kera9m8es] {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

.modal-footer button.primary[b-0kera9m8es] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.modal-footer button.primary:hover[b-0kera9m8es] {
    background: #1d4ed8;
}

.modal-footer button.primary:disabled[b-0kera9m8es] {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer button.secondary:hover[b-0kera9m8es] {
    background: #f3f4f6;
}
/* /Components/Shared/TaskCreateForm.razor.rz.scp.css */
.field[b-d3mygu8qln] {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.field label[b-d3mygu8qln] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-d3mygu8qln]  input[type="text"],
.field[b-d3mygu8qln]  input[type="number"],
.field[b-d3mygu8qln]  input[type="datetime-local"],
.field[b-d3mygu8qln]  textarea,
.field[b-d3mygu8qln]  select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-d3mygu8qln]  input:focus,
.field[b-d3mygu8qln]  textarea:focus,
.field[b-d3mygu8qln]  select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-d3mygu8qln]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.row[b-d3mygu8qln] {
    display: flex;
    gap: 1rem;
}

.row .field[b-d3mygu8qln] {
    flex: 1;
}

.hint[b-d3mygu8qln] {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.hint a[b-d3mygu8qln] {
    color: #1d4ed8;
}

.seg[b-d3mygu8qln] {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.seg-opt[b-d3mygu8qln] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.check-list[b-d3mygu8qln] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
}

.chk[b-d3mygu8qln] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
}

.form-actions[b-d3mygu8qln] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

button[b-d3mygu8qln] {
    padding: 0.4rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    cursor: pointer;
}

button:hover:not(:disabled)[b-d3mygu8qln] {
    background: #f3f4f6;
}

button:disabled[b-d3mygu8qln] {
    opacity: 0.5;
    cursor: not-allowed;
}

button.primary[b-d3mygu8qln] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-d3mygu8qln] {
    background: #1d4ed8;
}

.error[b-d3mygu8qln] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}
/* /Components/Shared/TasksList.razor.rz.scp.css */
.tasks-block[b-gpp6muzruj] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.head[b-gpp6muzruj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.inline-checkbox[b-gpp6muzruj] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.muted[b-gpp6muzruj] {
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

.list[b-gpp6muzruj] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.task[b-gpp6muzruj] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.task.status-done[b-gpp6muzruj] { opacity: 0.7; }
.task.status-cancelled[b-gpp6muzruj] { opacity: 0.6; }
.task.overdue[b-gpp6muzruj] { border-color: #fca5a5; background: #fef2f2; }

.head-row[b-gpp6muzruj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-badge[b-gpp6muzruj] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.type-call[b-gpp6muzruj] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.type-email[b-gpp6muzruj] { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.type-meeting[b-gpp6muzruj] { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.type-proposal[b-gpp6muzruj] { background: #ccfbf1; color: #115e59; border-color: #5eead4; }
.type-other[b-gpp6muzruj] { background: #f3f4f6; color: #374151; border-color: #d1d5db; }

.title[b-gpp6muzruj] {
    font-weight: 600;
    color: #111827;
    flex: 1;
}

.status[b-gpp6muzruj] {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-open[b-gpp6muzruj] { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-done[b-gpp6muzruj] { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.status-cancelled[b-gpp6muzruj] { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.desc[b-gpp6muzruj] {
    color: #4b5563;
    font-size: 0.875rem;
    white-space: pre-wrap;
}

.meta[b-gpp6muzruj] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: #6b7280;
}

.row-actions[b-gpp6muzruj] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

button[b-gpp6muzruj] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

button:hover:not(:disabled)[b-gpp6muzruj] { background: #f3f4f6; }
button:disabled[b-gpp6muzruj] { opacity: 0.5; cursor: not-allowed; }

button.primary[b-gpp6muzruj] {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

button.primary:hover:not(:disabled)[b-gpp6muzruj] { background: #1d4ed8; }

.modal-backdrop[b-gpp6muzruj] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal[b-gpp6muzruj] {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    width: 100%;
    max-width: 520px;
}

.modal h3[b-gpp6muzruj] {
    margin: 0 0 1rem 0;
    font-size: 1.0625rem;
}

.row[b-gpp6muzruj] {
    display: flex;
    gap: 0.75rem;
}

.row .field[b-gpp6muzruj] {
    flex: 1;
}

.field[b-gpp6muzruj] {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
}

.field label[b-gpp6muzruj] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.field[b-gpp6muzruj]  input, .field[b-gpp6muzruj]  select, .field[b-gpp6muzruj]  textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    background: #fff;
}

.field[b-gpp6muzruj]  input:focus, .field[b-gpp6muzruj]  select:focus, .field[b-gpp6muzruj]  textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field[b-gpp6muzruj]  .validation-message {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.field .hint[b-gpp6muzruj] {
    color: #6b7280;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.form-actions[b-gpp6muzruj] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.error[b-gpp6muzruj] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}
/* /Components/Shared/WorkPresenceControl.razor.rz.scp.css */
.work-presence-toggle[b-8p5pmgkkz7] {
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font: inherit;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
}

/* «В работе» — статус, а не главное действие: приглушённая outline-кнопка с
   зелёной обводкой (на тёмной шапке), чтобы не доминировать над остальным. */
.work-presence-toggle.on[b-8p5pmgkkz7] {
    background: transparent;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.5);
}

.work-presence-toggle.on:hover[b-8p5pmgkkz7] {
    background: rgba(74, 222, 128, 0.14);
}

.work-presence-toggle.off[b-8p5pmgkkz7] {
    background: #f59e0b;
}

.work-presence-toggle.off:hover[b-8p5pmgkkz7] {
    background: #d97706;
}

.work-presence-toggle:disabled[b-8p5pmgkkz7] {
    opacity: 0.6;
    cursor: default;
}

.work-presence-badge[b-8p5pmgkkz7] {
    color: #94a3b8;
    font-size: 0.85rem;
}

.work-presence-overlay[b-8p5pmgkkz7] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

.work-presence-modal[b-8p5pmgkkz7] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    padding: 2rem 2.25rem;
    max-width: 420px;
    text-align: center;
    color: #1f2937;
}

.work-presence-modal h2[b-8p5pmgkkz7] {
    margin-top: 0;
    color: #111827;
}

.work-presence-modal p[b-8p5pmgkkz7] {
    color: #374151;
}

.work-presence-modal .error[b-8p5pmgkkz7] {
    margin: 0.5rem 0;
    color: #dc2626;
}

.work-presence-modal button.primary[b-8p5pmgkkz7] {
    margin-top: 0.5rem;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    background: #2563eb;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.work-presence-modal button.primary:hover[b-8p5pmgkkz7] {
    background: #1d4ed8;
}

.work-presence-modal button.primary:disabled[b-8p5pmgkkz7] {
    opacity: 0.6;
    cursor: default;
}
