/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ─── App Shell: full-viewport flex-column root ──────────────── */
.app-shell[b-zjhntr5mbl] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
}

/* ─── Top Application Bar ────────────────────────────────────── */
.top-app-bar[b-zjhntr5mbl] {
    flex-shrink: 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem 0 0.75rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 0.55rem 0.5rem;
    border-radius: 0.5rem;
}

/* ─── Hidden sidebar-toggler checkbox ────────────────────────── */
.sidebar-toggler-input[b-zjhntr5mbl] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ─── Hamburger toggle button ─────────────────────────────────── */
.sidebar-toggle-btn[b-zjhntr5mbl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
    border-radius: 6px;
    color: #374151;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
    user-select: none;
}

.sidebar-toggle-btn:hover[b-zjhntr5mbl] {
    background-color: #f3f4f6;
}

.sidebar-toggle-btn .rzi[b-zjhntr5mbl] {
    font-size: 22px;
    line-height: 1;
    color: #374151;
    pointer-events: none;
}

/* ─── Brand / logo ────────────────────────────────────────────── */
.app-brand[b-zjhntr5mbl] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #1f2937;
    white-space: nowrap;
    padding: 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-brand:hover[b-zjhntr5mbl] {
    color: #111827;
    text-decoration: none;
}

/* ─── App Body: flex-row holding sidebar + main ──────────────── */
.app-body[b-zjhntr5mbl] {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    min-height: 0;
}

/* ─── Main content column ────────────────────────────────────── */
.app-main[b-zjhntr5mbl] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    padding-right: 0.5rem;
}

.app-article[b-zjhntr5mbl] {
    flex: 1;
    overflow: auto;
    border-radius: 0.5rem;
}

.app-footer[b-zjhntr5mbl] {
    flex-shrink: 0;
    padding: 0.6rem 1.5rem;
    margin-top: 0.5rem;
    /* border-top: 1px solid #e5e7eb; */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-color: #ffffff;
}


/* ─── Blazor Error UI ─────────────────────────────────────────── */
#blazor-error-ui[b-zjhntr5mbl] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-zjhntr5mbl] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ─── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .app-body[b-zjhntr5mbl] {
        flex-direction: column;
    }
    
    .app-main[b-zjhntr5mbl] {
        padding-left: 0.5rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ─── Radzen nav menu z-index ─────────────────────────────────── */
.rz-navigation-menu[b-9r8wt8bfbs] {
    z-index: 999 !important;
}

/* ─── Sidebar container ───────────────────────────────────────── */
.sidebar[b-9r8wt8bfbs] {
    /* background-color: #f8f9fb; */
    /* border-right: 1px solid #e5e7eb; */
    border: 0.5rem transparent solid;
    border-top: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ─── Nav scrollable area ─────────────────────────────────────── */
/* Hidden on mobile by default; shown via global CSS toggle rule  */
.nav-scrollable[b-9r8wt8bfbs] {
    border-radius: 0.5rem;
    background: white;
    display: none;
    flex: 1;
}

/* Прокручиваемая часть меню; nav внутри — position: absolute (прячет полосу прокрутки) */
.nav-menu-area[b-9r8wt8bfbs] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Низ меню: «Помощь» и «Мой профиль» — всегда видны, не прокручиваются */
.nav-bottom[b-9r8wt8bfbs] {
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    padding: 0.25rem 0;
}

/* ─── Desktop ─────────────────────────────────────────────────── */
@media (min-width: 641px) {
    .nav-scrollable[b-9r8wt8bfbs] {
        display: flex;
        flex-direction: column;
        width: 256px;
        height: 100%;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #d1d5db transparent;
    }

    .nav-scrollable[b-9r8wt8bfbs]::-webkit-scrollbar {
        width: 4px;
    }

    .nav-scrollable[b-9r8wt8bfbs]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-scrollable[b-9r8wt8bfbs]::-webkit-scrollbar-thumb {
        background-color: #d1d5db;
        border-radius: 4px;
    }
}
/* /Components/Pages/ForecastComparation.razor.rz.scp.css */
.fadein[b-wfdbwd79lv] {
	animation: fadein-b-wfdbwd79lv 0.5s ease-in alternate 1;
}
@keyframes fadein-b-wfdbwd79lv {
	from { opacity: 0; }
	to { opacity: 1; }
}
/* /Components/Pages/Help.razor.rz.scp.css */
.help-page[b-2k8lcltx4o] {
    max-width: 860px;
    padding: 1rem 0.5rem 2rem;
}

    .help-page h2[b-2k8lcltx4o] {
        margin-bottom: 1rem;
    }

.help-card[b-2k8lcltx4o] {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

    .help-card h3[b-2k8lcltx4o] {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .help-card h4[b-2k8lcltx4o] {
        font-size: 0.95rem;
        font-weight: 600;
        color: #6b7280;
        margin: 1.25rem 0 0.5rem;
    }

.help-hint[b-2k8lcltx4o] {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.faq-item[b-2k8lcltx4o] {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

    .faq-item summary[b-2k8lcltx4o] {
        padding: 0.65rem 0.9rem;
        cursor: pointer;
        font-weight: 500;
    }

        .faq-item summary:hover[b-2k8lcltx4o] {
            background: #f8fafc;
        }

    .faq-item[open] summary[b-2k8lcltx4o] {
        border-bottom: 1px solid #e5e7eb;
    }

.faq-answer[b-2k8lcltx4o] {
    padding: 0.65rem 0.9rem;
    line-height: 1.5;
    color: #374151;
}

    /* Разметка ответа (MarkdownContent) — без scope-атрибута, поэтому ::deep */
    .faq-answer[b-2k8lcltx4o]  li {
        margin-bottom: 0.35em;
    }

    .faq-answer[b-2k8lcltx4o]  li::marker {
        color: #9ca3af;
    }

    .faq-answer[b-2k8lcltx4o]  strong {
        font-weight: 600;
        color: #111827;
    }

    .faq-answer[b-2k8lcltx4o]  blockquote {
        margin: 0.75em 0 0;
        padding: 0.45em 0.8em;
        border-left: 3px solid #cbd5e1;
        background: #f8fafc;
        border-radius: 0 0.35rem 0.35rem 0;
        opacity: 1;
    }
/* /Components/Pages/OpenWebChat.razor.rz.scp.css */
.chat-layout[b-ngwgh6680b] {
    display: flex;
    height: 100%; /* высота области контента MainLayout, см. .content:has(> .chat-layout) в app.css */
    overflow: hidden;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Левая панель ===== */
.chat-sidebar[b-ngwgh6680b] {
    /* Ширину меняет перегородка .chat-resizer (attachResizer в OpenWebChat.razor.js) */
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.btn-new-chat[b-ngwgh6680b] {
    margin: 12px;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

    .btn-new-chat:disabled[b-ngwgh6680b] {
        opacity: .5;
        cursor: not-allowed;
    }

.chat-list[b-ngwgh6680b] {
    flex: 1;
    overflow-y: auto;
    padding: 4px 8px;
}

/* Перегородка между списком чатов и перепиской */
.chat-resizer[b-ngwgh6680b] {
    flex-shrink: 0;
    width: 7px;
    margin: 0 -3px;
    position: relative;
    z-index: 1;
    cursor: col-resize;
    touch-action: none;
}

    .chat-resizer:hover[b-ngwgh6680b], .chat-resizer:focus-visible[b-ngwgh6680b] {
        background: rgba(37, 99, 235, .25);
        outline: none;
    }

/* День последнего сообщения в списке чатов */
.chat-list-day[b-ngwgh6680b] {
    padding: 10px 12px 4px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

    .chat-list-day:first-child[b-ngwgh6680b] {
        padding-top: 4px;
    }

.chat-list-status[b-ngwgh6680b] {
    padding: 12px;
    color: #94a3b8;
    font-size: 13px;
}

.chat-item[b-ngwgh6680b] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 6px 6px 12px;
    min-height: 38px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 2px;
}

    .chat-item:hover[b-ngwgh6680b] {
        background: #e2e8f0;
    }

/* Название (обычно — первый вопрос) — до трёх строк с переносом, чтобы вопрос был виден без наведения */
.chat-item-title[b-ngwgh6680b] {
    flex: 1;
    min-width: 0;
    align-self: center;
    line-height: 1.35;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Кнопка «⋯»: видна при наведении, у активного чата и при фокусе с клавиатуры */
.chat-item-menu[b-ngwgh6680b] {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
}

    .chat-item:hover .chat-item-menu[b-ngwgh6680b],
    .chat-item.active .chat-item-menu[b-ngwgh6680b],
    .chat-item-menu:focus-visible[b-ngwgh6680b] {
        opacity: 1;
    }

    .chat-item-menu:hover[b-ngwgh6680b] {
        background: rgba(0, 0, 0, .08);
        color: #0f172a;
    }

.chat-rename-input[b-ngwgh6680b] {
    flex: 1;
    min-width: 0;
    padding: 4px 6px;
    border: 1px solid #2563eb;
    border-radius: 4px;
    font: inherit;
    outline: none;
}

@media (hover: none) {
    .chat-item-menu[b-ngwgh6680b] {
        opacity: 1;
    }
}

    .chat-item.active[b-ngwgh6680b] {
        background: #dbeafe;
        color: #1e40af;
        font-weight: 500;
    }

/* ===== Правая панель ===== */
.chat-main[b-ngwgh6680b] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.empty-state[b-ngwgh6680b] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.chat-header[b-ngwgh6680b] {
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    background: #fff;
}

/* ===== Список сообщений ===== */
.messages-scroll[b-ngwgh6680b] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: #fff;
}

.date-separator[b-ngwgh6680b] {
    text-align: center;
    margin: 16px 0;
    color: #94a3b8;
    font-size: 12px;
}

.message[b-ngwgh6680b] {
    display: flex;
    margin-bottom: 12px;
}

.message-user[b-ngwgh6680b] {
    justify-content: flex-end;
}

.message-ai[b-ngwgh6680b] {
    justify-content: flex-start;
}

.message-bubble[b-ngwgh6680b] {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f1f5f9;
    position: relative;
}

.message-user .message-bubble[b-ngwgh6680b] {
    background: #2563eb;
    color: #fff;
}

.message-content[b-ngwgh6680b] {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.45;
    font-size: 14px;
}

.message-meta[b-ngwgh6680b] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
    font-size: 11px;
    opacity: .65;
}

.message-user .message-meta[b-ngwgh6680b] {
    justify-content: flex-end;
}

/* Вопрос ждёт в очереди */
.message-pending .message-bubble[b-ngwgh6680b] {
    opacity: .65;
    border: 1px dashed rgba(255, 255, 255, .7);
}

.pending-badge[b-ngwgh6680b] {
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .25);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.btn-stop[b-ngwgh6680b], .btn-edit[b-ngwgh6680b], .btn-cancel-pending[b-ngwgh6680b] {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    padding: 0 4px;
    color: inherit;
    opacity: .7;
}

    .btn-stop:hover[b-ngwgh6680b], .btn-edit:hover[b-ngwgh6680b], .btn-cancel-pending:hover[b-ngwgh6680b] {
        opacity: 1;
    }

/* ===== Действия с ответом: копировать, повторить, оценка ===== */
.message-actions[b-ngwgh6680b] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid #cbd5e1;
}

.msg-actions-spacer[b-ngwgh6680b] {
    flex: 1;
    min-width: 8px;
}

.msg-action[b-ngwgh6680b], .msg-rate[b-ngwgh6680b] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

    .msg-action .rzi[b-ngwgh6680b], .msg-rate .rzi[b-ngwgh6680b] {
        font-size: 15px;
    }

    .msg-action:hover[b-ngwgh6680b], .msg-rate:hover[b-ngwgh6680b] {
        background: rgba(0, 0, 0, .07);
    }

.msg-rate.selected[b-ngwgh6680b] {
    color: #2563eb;
}

    .msg-rate.selected .rzi[b-ngwgh6680b] {
        font-variation-settings: 'FILL' 1;
    }

/* ===== Отзыв об ответе: оценка, теги, комментарий ===== */
/* Пока открыта форма, короткий ответ не сжимает её до ширины текста; широкий ответ не сужается */
.message-bubble:has(.feedback-form)[b-ngwgh6680b] {
    min-width: min(520px, 90%);
}

.feedback-form[b-ngwgh6680b] {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
}

.feedback-head[b-ngwgh6680b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
}

.feedback-close[b-ngwgh6680b] {
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.feedback-label[b-ngwgh6680b] {
    margin: 12px 0 6px;
    font-weight: 500;
}

.feedback-optional[b-ngwgh6680b] {
    margin-left: 4px;
    color: #94a3b8;
    font-weight: 400;
}

/* Две половины шкалы: 1–5 (👎) и 6–10 (👍), доступна только половина выбранного пальца */
.feedback-scale[b-ngwgh6680b] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.feedback-scale-row[b-ngwgh6680b] {
    display: flex;
    gap: 6px;
}

.feedback-scale-half.disabled[b-ngwgh6680b] {
    opacity: .4;
}

.feedback-score[b-ngwgh6680b] {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    font: inherit;
    cursor: pointer;
}

    .feedback-score:disabled[b-ngwgh6680b] {
        cursor: default;
    }

.feedback-scale-hint[b-ngwgh6680b] {
    display: flex;
    justify-content: space-between;
    /* 5 кружков по 34px и 4 промежутка по 6px */
    width: 194px;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.feedback-tags[b-ngwgh6680b] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feedback-tag[b-ngwgh6680b] {
    padding: 5px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #334155;
    font: inherit;
    cursor: pointer;
}

    .feedback-score:not(:disabled):hover[b-ngwgh6680b], .feedback-tag:hover[b-ngwgh6680b] {
        border-color: #2563eb;
    }

    .feedback-score.selected[b-ngwgh6680b], .feedback-tag.selected[b-ngwgh6680b] {
        border-color: #2563eb;
        background: #2563eb;
        color: #fff;
    }

.feedback-comment[b-ngwgh6680b] {
    width: 100%;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    outline: none;
}

    .feedback-comment:focus[b-ngwgh6680b] {
        border-color: #2563eb;
    }

.feedback-actions[b-ngwgh6680b] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

    .feedback-actions button[b-ngwgh6680b] {
        padding: 6px 14px;
        border-radius: 8px;
        font: inherit;
        cursor: pointer;
    }

.feedback-remove[b-ngwgh6680b] {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

.feedback-save[b-ngwgh6680b] {
    border: none;
    background: #2563eb;
    color: #fff;
    font-weight: 500;
}

/* ===== Редактирование вопроса ===== */
.message-edit[b-ngwgh6680b] {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .message-edit textarea[b-ngwgh6680b] {
        width: 100%;
        /* Высоту (от 3 строк — rows="3" — до 10, дальше прокрутка) задаёт attachAutoGrow в OpenWebChat.razor.js */
        resize: none;
        overflow-y: hidden;
        padding: 8px 10px;
        border: none;
        border-radius: 8px;
        font: inherit;
        font-size: 14px;
        line-height: 1.45;
        color: #0f172a;
        outline: none;
    }

.edit-actions[b-ngwgh6680b] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

    .edit-actions button[b-ngwgh6680b] {
        padding: 5px 14px;
        border-radius: 8px;
        font-size: 13px;
        cursor: pointer;
    }

.btn-edit-cancel[b-ngwgh6680b] {
    border: 1px solid rgba(255, 255, 255, .6);
    background: transparent;
    color: #fff;
}

.btn-edit-save[b-ngwgh6680b] {
    border: none;
    background: #fff;
    color: #1e40af;
    font-weight: 500;
}

    .btn-edit-save:disabled[b-ngwgh6680b] {
        opacity: .5;
        cursor: not-allowed;
    }

.cursor[b-ngwgh6680b] {
    display: inline-block;
    animation: blink-b-ngwgh6680b 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-b-ngwgh6680b {
    50% {
        opacity: 0;
    }
}

/* Индикатор набора */
.typing[b-ngwgh6680b] {
    display: flex;
    gap: 4px;
}

    .typing .dot[b-ngwgh6680b] {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #94a3b8;
        animation: bounce-b-ngwgh6680b 1.2s infinite;
    }

        .typing .dot:nth-child(2)[b-ngwgh6680b] {
            animation-delay: .15s;
        }

        .typing .dot:nth-child(3)[b-ngwgh6680b] {
            animation-delay: .3s;
        }

    .typing[b-ngwgh6680b] {
        align-items: center;
    }

        .typing .btn-stop[b-ngwgh6680b] {
            margin-left: 6px;
        }

@keyframes bounce-b-ngwgh6680b {
    0%,60%,100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

/* ===== Ошибка ===== */
.error-bar[b-ngwgh6680b] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 13px;
}

    .error-bar button[b-ngwgh6680b] {
        border: none;
        background: transparent;
        color: inherit;
        cursor: pointer;
        text-decoration: underline;
    }

/* ===== Поле ввода ===== */
.chat-input[b-ngwgh6680b] {
    padding: 12px 16px 8px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

/* Рамка вокруг поля и строки с подсказкой и кнопкой */
.chat-input-box[b-ngwgh6680b] {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

    .chat-input-box:focus-within[b-ngwgh6680b] {
        border-color: #2563eb;
    }

    .chat-input-box textarea[b-ngwgh6680b] {
        display: block;
        width: 100%;
        resize: none;
        border: none;
        border-radius: 10px;
        padding: 10px 12px 4px;
        font-size: 14px;
        line-height: 20px;
        font-family: inherit;
        /* Высоту (до 10 строк, дальше прокрутка) задаёт attachAutoGrow в OpenWebChat.razor.js */
        overflow-y: hidden;
        outline: none;
        background: transparent;
    }

.chat-input-bar[b-ngwgh6680b] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 6px 12px;
}

.chat-input-hint[b-ngwgh6680b] {
    flex: 1;
    min-width: 0;
    color: #94a3b8;
    font-size: 12px;
}

.btn-send[b-ngwgh6680b] {
    height: 32px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

    .btn-send:disabled[b-ngwgh6680b] {
        opacity: .5;
        cursor: not-allowed;
    }

.chat-disclaimer[b-ngwgh6680b] {
    margin-top: 6px;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
}
/* /Components/Pages/Shipping.razor.rz.scp.css */


.fade-in[b-sowrwfezmj] {
	animation-name: fadeInOpacity-b-sowrwfezmj;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-delay: 0.1s;
	animation-duration: 0.5s;
}

@keyframes fadeInOpacity-b-sowrwfezmj {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
/* /Components/Pages/UsRigCount.razor.rz.scp.css */


/* /Components/Shared/MarkdownContent.razor.rz.scp.css */
/* Разметка приходит как MarkupString и не получает scope-атрибут, поэтому ::deep */
.markdown[b-437gtgtwjz] {
    white-space: normal;
    overflow-wrap: anywhere;
}

    .markdown[b-437gtgtwjz]  > :first-child {
        margin-top: 0;
    }

    .markdown[b-437gtgtwjz]  > :last-child {
        margin-bottom: 0;
    }

    .markdown[b-437gtgtwjz]  p,
    .markdown[b-437gtgtwjz]  ul,
    .markdown[b-437gtgtwjz]  ol,
    .markdown[b-437gtgtwjz]  pre,
    .markdown[b-437gtgtwjz]  blockquote,
    .markdown[b-437gtgtwjz]  table {
        margin: 0 0 .6em;
    }

    .markdown[b-437gtgtwjz]  ul,
    .markdown[b-437gtgtwjz]  ol {
        padding-left: 1.4em;
    }

    .markdown[b-437gtgtwjz]  h1,
    .markdown[b-437gtgtwjz]  h2,
    .markdown[b-437gtgtwjz]  h3,
    .markdown[b-437gtgtwjz]  h4 {
        margin: .8em 0 .4em;
        font-weight: 600;
        line-height: 1.3;
    }

    .markdown[b-437gtgtwjz]  h1 { font-size: 1.3em; }
    .markdown[b-437gtgtwjz]  h2 { font-size: 1.18em; }
    .markdown[b-437gtgtwjz]  h3 { font-size: 1.06em; }
    .markdown[b-437gtgtwjz]  h4 { font-size: 1em; }

    .markdown[b-437gtgtwjz]  a {
        color: inherit;
        text-decoration: underline;
    }

    /* Ссылка на файл из ответа ассистента */
    .markdown[b-437gtgtwjz]  a.chat-file-link {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        border-bottom: 1px dashed currentColor;
        cursor: pointer;
    }

        .markdown[b-437gtgtwjz]  a.chat-file-link::before {
            content: "description";
            font-family: "Material Symbols";
            font-feature-settings: "liga";
            font-size: 1.15em;
            line-height: 1;
        }

        .markdown[b-437gtgtwjz]  a.chat-file-link.loading {
            opacity: .6;
            cursor: progress;
        }

    /* График из ответа ассистента (строит wwwroot/js/chat-charts.js) */
    .markdown[b-437gtgtwjz]  .chat-chart {
        margin: .6em 0;
        padding: 8px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #fff;
        color: #0f172a;
    }

    .markdown[b-437gtgtwjz]  .chat-chart-status {
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 13px;
    }

    .markdown[b-437gtgtwjz]  .chat-chart-toolbar {
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        margin-bottom: 4px;
    }

    .markdown[b-437gtgtwjz]  .chat-chart-btn {
        padding: 2px 10px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        background: #fff;
        color: #334155;
        font-size: 12px;
        cursor: pointer;
    }

        .markdown[b-437gtgtwjz]  .chat-chart-btn:hover {
            background: #f1f5f9;
        }

    .markdown[b-437gtgtwjz]  .chat-chart-table {
        max-height: 340px;
        overflow: auto;
    }

        .markdown[b-437gtgtwjz]  .chat-chart-table table {
            margin: 0;
            font-size: 13px;
        }

        .markdown[b-437gtgtwjz]  .chat-chart-table td:not(:first-child) {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

    .markdown[b-437gtgtwjz]  .chat-chart-note {
        margin-top: 4px;
        color: #64748b;
        font-size: 12px;
    }

    .markdown[b-437gtgtwjz]  .chat-chart-sources {
        margin: -.3em 0 .6em;
        color: #64748b;
        font-size: 12px;
    }

    .markdown[b-437gtgtwjz]  .chat-chart-error {
        padding: 10px 12px;
        border-radius: 8px;
        background: #fef2f2;
        color: #991b1b;
        font-size: 13px;
    }

        .markdown[b-437gtgtwjz]  .chat-chart-error pre {
            max-height: 240px;
            margin: 6px 0 0;
            background: rgba(0, 0, 0, .05);
            color: #0f172a;
        }

    .markdown[b-437gtgtwjz]  code {
        font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
        font-size: .9em;
        padding: .1em .35em;
        border-radius: 4px;
        background: rgba(0, 0, 0, .07);
        color: inherit;
    }

    .markdown[b-437gtgtwjz]  pre {
        padding: 10px 12px;
        border-radius: 8px;
        background: rgba(0, 0, 0, .07);
        overflow-x: auto;
    }

        .markdown[b-437gtgtwjz]  pre code {
            padding: 0;
            background: none;
            font-size: .85em;
        }

    .markdown[b-437gtgtwjz]  blockquote {
        padding-left: .8em;
        border-left: 3px solid rgba(0, 0, 0, .15);
        opacity: .85;
    }

    .markdown[b-437gtgtwjz]  table {
        border-collapse: collapse;
        display: block;
        overflow-x: auto;
    }

    .markdown[b-437gtgtwjz]  th,
    .markdown[b-437gtgtwjz]  td {
        border: 1px solid rgba(0, 0, 0, .15);
        padding: 4px 8px;
    }

    .markdown[b-437gtgtwjz]  th {
        background: rgba(0, 0, 0, .04);
        font-weight: 600;
    }

    .markdown[b-437gtgtwjz]  img {
        max-width: 100%;
    }

    /* Сворачиваемые подробности ответа (SQL-поиск, рассуждения): по умолчанию свёрнуты */
    .markdown[b-437gtgtwjz]  details {
        margin: .5em 0;
        padding: 0 10px;
        border: 1px solid rgba(0, 0, 0, .12);
        border-radius: 8px;
        background: rgba(0, 0, 0, .02);
    }

        .markdown[b-437gtgtwjz]  details[open] {
            padding-bottom: 6px;
        }

    .markdown[b-437gtgtwjz]  summary {
        padding: 6px 0;
        cursor: pointer;
        color: #475569;
        font-size: .92em;
        user-select: none;
    }

        .markdown[b-437gtgtwjz]  summary:hover {
            color: #0f172a;
        }

    .markdown[b-437gtgtwjz]  details[open] > summary {
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .markdown[b-437gtgtwjz]  hr {
        border: none;
        border-top: 1px solid rgba(0, 0, 0, .15);
        margin: .8em 0;
    }
