/* /Components/AppPromptDialog.razor.rz.scp.css */
.app-prompt-dialog[b-au15hr1v7o] {
    width: min(40rem, 100%);
}

.app-prompt-dialog__header[b-au15hr1v7o] {
    align-items: center;
}

.app-prompt-dialog__body[b-au15hr1v7o] {
    display: grid;
    gap: 1rem;
}

.app-prompt-dialog__message[b-au15hr1v7o] {
    white-space: pre-line;
    line-height: 1.55;
}

.app-prompt-dialog__comment[b-au15hr1v7o] {
    display: grid;
    gap: 0.45rem;
}

.app-prompt-dialog__comment > span[b-au15hr1v7o] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-primary);
    font-weight: 600;
}

.app-prompt-dialog__comment textarea[b-au15hr1v7o] {
    min-height: 8rem;
    resize: vertical;
}

.app-prompt-dialog__required[b-au15hr1v7o] {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, #f59e0b 16%, transparent);
    border: 1px solid color-mix(in srgb, #f59e0b 32%, transparent);
    color: color-mix(in srgb, #f59e0b 84%, white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.app-prompt-dialog__footer[b-au15hr1v7o] {
    align-items: center;
}

.app-prompt-dialog__footer-meta[b-au15hr1v7o] {
    flex: 1 1 12rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .app-prompt-dialog__footer[b-au15hr1v7o] {
        flex-direction: column;
        align-items: stretch;
    }

    .app-prompt-dialog__footer .d-flex[b-au15hr1v7o] {
        width: 100%;
    }

    .app-prompt-dialog__footer .btn[b-au15hr1v7o] {
        flex: 1 1 auto;
    }
}
/* /Components/Chat/AiChatConsole.razor.rz.scp.css */
.ai-chat-shell[b-6eoap8yj0c] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 0;
    color: var(--text-primary);
    overflow-x: clip;
}

.ai-chat-shell__alert[b-6eoap8yj0c] {
    border-radius: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--color-danger) 45%, transparent);
    background: color-mix(in srgb, var(--color-danger) 12%, var(--bg-secondary));
    color: var(--text-primary);
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--shadow-color) 25%, transparent);
}

.ai-chat-shell__info[b-6eoap8yj0c] {
    border-radius: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 34%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-secondary));
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--shadow-color) 18%, transparent);
}

.ai-chat-shell__layout[b-6eoap8yj0c] {
    display: grid;
    grid-template-columns: minmax(18rem, 21rem) minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    min-width: 0;
}

.ai-chat-shell--compact .ai-chat-shell__layout[b-6eoap8yj0c] {
    grid-template-columns: minmax(0, 1fr);
}

.ai-chat-shell__sidebar[b-6eoap8yj0c],
.ai-chat-shell__stage[b-6eoap8yj0c] {
    min-width: 0;
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background:
        linear-gradient(165deg, color-mix(in srgb, var(--bg-secondary) 96%, transparent), color-mix(in srgb, var(--bg-primary) 95%, transparent)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 42%);
    border-radius: 1.25rem;
    box-shadow: 0 18px 42px color-mix(in srgb, var(--shadow-color) 42%, transparent);
}

.ai-chat-shell__sidebar[b-6eoap8yj0c] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.95rem;
    padding: 1rem;
    min-height: 0;
    max-height: 72vh;
    overflow: hidden;
}

.ai-chat-shell__sidebar-group[b-6eoap8yj0c] {
    display: grid;
    gap: 0.8rem;
    min-height: 0;
}

.ai-chat-shell__sidebar-group--grow[b-6eoap8yj0c] {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.ai-chat-shell__sidebar-heading[b-6eoap8yj0c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    padding-bottom: 0.2rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 96%, transparent), color-mix(in srgb, var(--bg-secondary) 92%, transparent));
}

.ai-chat-shell__sidebar-label[b-6eoap8yj0c],
.ai-chat-shell__eyebrow[b-6eoap8yj0c] {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ai-chat-shell__field[b-6eoap8yj0c] {
    display: grid;
    gap: 0.35rem;
}

.ai-chat-shell__field span[b-6eoap8yj0c] {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.ai-chat-shell__primary-button[b-6eoap8yj0c] {
    min-height: 2.85rem;
    border-radius: 0.85rem;
}

.ai-chat-shell__refresh-link[b-6eoap8yj0c] {
    padding: 0;
    text-decoration: none;
}

.ai-chat-shell__session-list[b-6eoap8yj0c] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 0;
    overflow: auto;
    overflow-x: hidden;
    padding-right: 0.1rem;
    padding-top: 0.1rem;
    scrollbar-gutter: stable;
}

.ai-chat-shell__session-card[b-6eoap8yj0c] {
    position: relative;
}

.ai-chat-shell__empty-note[b-6eoap8yj0c] {
    border-radius: 0.95rem;
    border: 1px dashed color-mix(in srgb, var(--border-color) 85%, transparent);
    padding: 1rem;
    color: var(--text-secondary);
    background: color-mix(in srgb, var(--bg-primary) 86%, transparent);
}

.ai-chat-shell__session-item[b-6eoap8yj0c],
.ai-chat-shell__session-pill[b-6eoap8yj0c],
.ai-chat-shell__suggestion[b-6eoap8yj0c] {
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
    color: var(--text-primary);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-chat-shell__session-item[b-6eoap8yj0c] {
    display: grid;
    gap: 0.28rem;
    padding: 0.85rem 4.7rem 0.9rem 0.9rem;
    border-radius: 0.95rem;
    text-align: left;
    width: 100%;
}

.ai-chat-shell__session-item:hover[b-6eoap8yj0c],
.ai-chat-shell__session-pill:hover[b-6eoap8yj0c],
.ai-chat-shell__suggestion:hover[b-6eoap8yj0c] {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--shadow-color) 25%, transparent);
}

.ai-chat-shell__session-item.is-active[b-6eoap8yj0c],
.ai-chat-shell__session-pill.is-active[b-6eoap8yj0c],
.ai-chat-shell__session-card.is-active .ai-chat-shell__session-item[b-6eoap8yj0c] {
    border-color: color-mix(in srgb, var(--color-primary) 52%, transparent);
    background: color-mix(in srgb, var(--color-primary) 11%, var(--bg-primary));
}

.ai-chat-shell__session-title[b-6eoap8yj0c] {
    font-weight: 600;
    color: var(--text-primary);
}

.ai-chat-shell__session-meta[b-6eoap8yj0c] {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.ai-chat-shell__session-preview[b-6eoap8yj0c] {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-chat-shell__session-delete[b-6eoap8yj0c] {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.1;
}

.ai-chat-shell__session-delete:hover[b-6eoap8yj0c] {
    color: var(--color-danger);
    border-color: color-mix(in srgb, var(--color-danger) 45%, transparent);
}

.ai-chat-shell__stage[b-6eoap8yj0c] {
    display: flex;
    flex-direction: column;
    min-height: 72vh;
    min-width: 0;
    overflow: hidden;
}

.ai-chat-shell--compact .ai-chat-shell__stage[b-6eoap8yj0c] {
    min-height: min(82vh, 46rem);
    height: min(82vh, 46rem);
    max-width: 100%;
    overflow-x: hidden;
}

.ai-chat-shell__stage-header[b-6eoap8yj0c] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.2rem 0.8rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
}

.ai-chat-shell--compact .ai-chat-shell__stage-header[b-6eoap8yj0c] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.6rem;
}

.ai-chat-shell__stage-copy[b-6eoap8yj0c] {
    min-width: 0;
}

.ai-chat-shell__stage-copy h2[b-6eoap8yj0c] {
    margin: 0.15rem 0 0.35rem;
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.ai-chat-shell--compact .ai-chat-shell__stage-copy h2[b-6eoap8yj0c] {
    margin: 0.05rem 0 0.1rem;
    font-size: 1.05rem;
}

.ai-chat-shell__stage-copy p[b-6eoap8yj0c] {
    margin: 0;
    max-width: 60ch;
    color: var(--text-secondary);
}

.ai-chat-shell--compact .ai-chat-shell__stage-copy p[b-6eoap8yj0c] {
    font-size: 0.82rem;
    line-height: 1.35;
    max-width: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ai-chat-shell__context-strip[b-6eoap8yj0c] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.ai-chat-shell__context-chip[b-6eoap8yj0c] {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.ai-chat-shell__stage-actions[b-6eoap8yj0c] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    justify-self: end;
}

.ai-chat-shell__stage-actions > *[b-6eoap8yj0c] {
    max-width: 100%;
}

.ai-chat-shell--compact .ai-chat-shell__stage-actions[b-6eoap8yj0c] {
    gap: 0.4rem;
    justify-self: stretch;
    justify-content: flex-start;
    width: 100%;
}

.ai-chat-shell--compact .ai-chat-shell__stage-actions > *[b-6eoap8yj0c] {
    flex: 0 1 auto;
}

.ai-chat-shell__source-toggle[b-6eoap8yj0c] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
}

.ai-chat-shell__source-option[b-6eoap8yj0c] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ai-chat-shell__source-option input[b-6eoap8yj0c] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ai-chat-shell__source-option.is-active[b-6eoap8yj0c] {
    background: color-mix(in srgb, var(--color-primary) 14%, var(--bg-primary));
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 34%, transparent);
}

.ai-chat-shell__compact-controls[b-6eoap8yj0c] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    min-width: 0;
}

.ai-chat-shell__compact-controls .form-select[b-6eoap8yj0c] {
    min-width: 8.5rem;
    max-width: 100%;
}

.ai-chat-shell--compact .ai-chat-shell__compact-controls .form-select[b-6eoap8yj0c] {
    min-width: 7.3rem;
    max-width: 9rem;
    font-size: 0.78rem;
}

.ai-chat-shell--compact .ai-chat-shell__source-toggle[b-6eoap8yj0c] {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-self: flex-start;
}

.ai-chat-shell--compact .ai-chat-shell__source-option[b-6eoap8yj0c] {
    flex: 0 0 auto;
}

.ai-chat-shell--compact .ai-chat-shell__compact-controls[b-6eoap8yj0c] {
    width: 100%;
}

.ai-chat-shell--compact .ai-chat-shell__compact-controls .form-select[b-6eoap8yj0c] {
    flex: 1 1 11rem;
    min-width: 0;
    max-width: none;
}

.ai-chat-shell__close-button[b-6eoap8yj0c] {
    color: var(--text-secondary);
    text-decoration: none;
}

.ai-chat-shell__close-button:hover[b-6eoap8yj0c] {
    color: var(--text-primary);
}

.ai-chat-shell__session-strip[b-6eoap8yj0c] {
    display: flex;
    gap: 0.45rem;
    padding: 0.8rem 1.2rem 0;
    overflow: auto;
}

.ai-chat-shell__session-pill[b-6eoap8yj0c] {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.82rem;
}

.ai-chat-shell__messages[b-6eoap8yj0c] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overflow-x: hidden;
    padding: 1.05rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    scrollbar-gutter: stable both-edges;
}

.ai-chat-shell__generation-panel[b-6eoap8yj0c],
.ai-chat-shell__template-panel[b-6eoap8yj0c] {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.95rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--bg-primary) 96%, transparent), color-mix(in srgb, var(--bg-secondary) 94%, transparent)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 48%);
}

.ai-chat-shell__generation-title[b-6eoap8yj0c] {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.ai-chat-shell__generation-subtitle[b-6eoap8yj0c] {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.ai-chat-shell__generation-actions[b-6eoap8yj0c] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ai-chat-shell__generation-button[b-6eoap8yj0c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    border-radius: 0.9rem;
}

.ai-chat-shell__template-panel-head[b-6eoap8yj0c] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.ai-chat-shell__template-empty[b-6eoap8yj0c] {
    border-radius: 0.85rem;
    border: 1px dashed color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
    color: var(--text-secondary);
    padding: 0.85rem 1rem;
}

.ai-chat-shell__template-grid[b-6eoap8yj0c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.85rem;
}

.ai-chat-shell__template-card[b-6eoap8yj0c] {
    display: grid;
    gap: 0.55rem;
    padding: 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--shadow-color) 18%, transparent);
}

.ai-chat-shell__template-name[b-6eoap8yj0c] {
    font-weight: 650;
    color: var(--text-primary);
}

.ai-chat-shell__template-meta[b-6eoap8yj0c],
.ai-chat-shell__template-source[b-6eoap8yj0c] {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.ai-chat-shell__template-description[b-6eoap8yj0c] {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}

.ai-chat-shell__template-use[b-6eoap8yj0c],
.ai-chat-shell__template-more[b-6eoap8yj0c] {
    justify-self: start;
    border-radius: 0.8rem;
}

.ai-chat-shell--compact .ai-chat-shell__messages[b-6eoap8yj0c] {
    padding: 0.8rem 0.95rem;
    gap: 0.7rem;
    overscroll-behavior: contain;
}

.ai-chat-shell__loading[b-6eoap8yj0c],
.ai-chat-shell__empty-state[b-6eoap8yj0c] {
    min-height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.ai-chat-shell__loading[b-6eoap8yj0c] {
    align-content: center;
}

.ai-chat-shell__empty-icon[b-6eoap8yj0c] {
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--overlay-text);
    background:
        linear-gradient(155deg, color-mix(in srgb, var(--color-primary) 82%, white 18%), color-mix(in srgb, var(--color-primary-dark) 86%, black 14%));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--shadow-color) 36%, transparent);
}

.ai-chat-shell__empty-state h3[b-6eoap8yj0c] {
    margin: 0;
    color: var(--text-primary);
}

.ai-chat-shell__empty-state p[b-6eoap8yj0c] {
    margin: 0;
    max-width: 34rem;
}

.ai-chat-shell__suggestions[b-6eoap8yj0c] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.ai-chat-shell__suggestion[b-6eoap8yj0c] {
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.86rem;
}

.ai-chat-shell__message[b-6eoap8yj0c] {
    max-width: min(72ch, 92%);
    min-width: 0;
    border-radius: 1.1rem;
    padding: 0.95rem 1rem;
    display: grid;
    gap: 0.55rem;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--shadow-color) 14%, transparent);
    overflow: visible;
}

.ai-chat-shell--compact .ai-chat-shell__message[b-6eoap8yj0c] {
    max-width: 100%;
    padding: 0.8rem 0.85rem;
}

.ai-chat-shell__message.is-user[b-6eoap8yj0c] {
    align-self: flex-end;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 18%, var(--bg-primary)), color-mix(in srgb, var(--color-primary) 9%, var(--bg-secondary)));
    border: 1px solid color-mix(in srgb, var(--color-primary) 42%, transparent);
}

.ai-chat-shell__message.is-assistant[b-6eoap8yj0c] {
    align-self: flex-start;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--bg-secondary) 96%, transparent), color-mix(in srgb, var(--bg-tertiary) 88%, transparent));
    border: 1px solid color-mix(in srgb, var(--border-color) 86%, transparent);
}

.ai-chat-shell__message--pending[b-6eoap8yj0c] {
    opacity: 0.96;
}

.ai-chat-shell__message-meta[b-6eoap8yj0c] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.ai-chat-shell__message-role[b-6eoap8yj0c] {
    font-weight: 700;
    color: var(--text-secondary);
}

.ai-chat-shell__message-badge[b-6eoap8yj0c] {
    padding: 0.15rem 0.42rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-primary) 84%, transparent);
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    font-size: 0.72rem;
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ai-chat-shell__message-text[b-6eoap8yj0c] {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--text-primary);
    line-height: 1.62;
    overflow-x: hidden;
    font-size: 0.98rem;
}

.ai-chat-shell__typing[b-6eoap8yj0c] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0;
    min-height: 1.75rem;
}

.ai-chat-shell__typing-dot[b-6eoap8yj0c] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 65%, var(--text-secondary));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 20%, transparent);
    animation: ai-chat-shell-typing-b-6eoap8yj0c 1.15s ease-in-out infinite;
}

.ai-chat-shell__typing-dot:nth-child(2)[b-6eoap8yj0c] {
    animation-delay: 0.16s;
}

.ai-chat-shell__typing-dot:nth-child(3)[b-6eoap8yj0c] {
    animation-delay: 0.32s;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  p {
    margin: 0 0 0.8rem;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  p:last-child {
    margin-bottom: 0;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h1:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h2:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h3:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h4:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  p:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  ul:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  ol:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  pre:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  table:first-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  blockquote:first-child {
    margin-top: 0;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h1:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h2:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h3:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h4:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  ul:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  ol:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  pre:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  table:last-child,
.ai-chat-shell__message-text[b-6eoap8yj0c]  blockquote:last-child {
    margin-bottom: 0;
}

.ai-chat-shell__message-text--plain[b-6eoap8yj0c] {
    white-space: pre-wrap;
    margin: 0;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h1,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h2,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h3,
.ai-chat-shell__message-text[b-6eoap8yj0c]  h4 {
    margin: 0.35rem 0 0.7rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h1 {
    font-size: 1.25rem;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h2 {
    font-size: 1.1rem;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  h3 {
    font-size: 1rem;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  ul,
.ai-chat-shell__message-text[b-6eoap8yj0c]  ol {
    margin: 0.1rem 0 0.8rem 1.15rem;
    padding: 0;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  li {
    margin: 0.2rem 0;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  blockquote {
    margin: 0.8rem 0;
    padding: 0.2rem 0 0.2rem 0.85rem;
    border-left: 3px solid color-mix(in srgb, var(--color-primary) 42%, transparent);
    color: var(--text-secondary);
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  code {
    padding: 0.08rem 0.32rem;
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, transparent);
    color: var(--text-primary);
    font-size: 0.92em;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  pre {
    margin: 0.85rem 0;
    padding: 0.85rem 0.95rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    overflow: auto;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  pre code {
    padding: 0;
    border: none;
    background: transparent;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  table {
    width: 100%;
    margin: 0.85rem 0;
    border-collapse: collapse;
    border-radius: 0.85rem;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  thead {
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
}

.ai-chat-shell__message-text[b-6eoap8yj0c]  th,
.ai-chat-shell__message-text[b-6eoap8yj0c]  td {
    padding: 0.62rem 0.72rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 74%, transparent);
    text-align: left;
    vertical-align: top;
    min-width: 8rem;
}

.ai-chat-shell--compact .ai-chat-shell__message-text[b-6eoap8yj0c],
.ai-chat-shell--compact .ai-chat-shell__citation-snippet[b-6eoap8yj0c],
.ai-chat-shell--compact .ai-chat-shell__citation-meta[b-6eoap8yj0c],
.ai-chat-shell--compact .ai-chat-shell__citation-title[b-6eoap8yj0c] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ai-chat-shell--compact .ai-chat-shell__message-text[b-6eoap8yj0c]  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow-x: hidden;
}

.ai-chat-shell--compact .ai-chat-shell__message-text[b-6eoap8yj0c]  table {
    display: table;
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ai-chat-shell--compact .ai-chat-shell__message-text[b-6eoap8yj0c]  th,
.ai-chat-shell--compact .ai-chat-shell__message-text[b-6eoap8yj0c]  td {
    min-width: 0;
    width: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ai-chat-shell__citations[b-6eoap8yj0c] {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.15rem;
    padding-top: 0.35rem;
    border-top: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
}

.ai-chat-shell__message-footer[b-6eoap8yj0c] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.ai-chat-shell__message-detail[b-6eoap8yj0c] {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.46rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.1;
}

.ai-chat-shell__message-action[b-6eoap8yj0c] {
    border-radius: 999px;
}

.ai-chat-shell__citations-label[b-6eoap8yj0c] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.ai-chat-shell__citation-list[b-6eoap8yj0c] {
    display: grid;
    gap: 0.65rem;
}

.ai-chat-shell__citation-card[b-6eoap8yj0c] {
    display: grid;
    gap: 0.45rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
}

.ai-chat-shell__citation-head[b-6eoap8yj0c] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.ai-chat-shell__citation-title[b-6eoap8yj0c] {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.ai-chat-shell__citation-meta[b-6eoap8yj0c] {
    margin-top: 0.18rem;
    font-size: 0.76rem;
    line-height: 1.4;
    color: var(--text-muted);
    word-break: break-word;
}

.ai-chat-shell__citation-snippet[b-6eoap8yj0c] {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-chat-shell__composer[b-6eoap8yj0c] {
    padding: 0 1.2rem 1.2rem;
    min-width: 0;
}

.ai-chat-shell--compact .ai-chat-shell__composer[b-6eoap8yj0c] {
    padding: 0 0.95rem 0.95rem;
}

.ai-chat-shell__composer-frame[b-6eoap8yj0c] {
    border-radius: 1.05rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 96%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg-secondary) 75%, transparent);
    padding: 0.8rem;
    min-width: 0;
}

.ai-chat-shell--compact .ai-chat-shell__composer-frame[b-6eoap8yj0c] {
    padding: 0.65rem 0.7rem;
}

.ai-chat-shell__textarea[b-6eoap8yj0c] {
    min-height: 6.3rem;
    resize: vertical;
    border: none;
    background: transparent;
    box-shadow: none !important;
    padding: 0;
}

.ai-chat-shell--compact .ai-chat-shell__textarea[b-6eoap8yj0c] {
    min-height: 3.35rem;
}

.ai-chat-shell__composer-actions[b-6eoap8yj0c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 0.7rem;
}

.ai-chat-shell--compact .ai-chat-shell__composer-actions[b-6eoap8yj0c] {
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.ai-chat-shell__composer-note[b-6eoap8yj0c] {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ai-chat-shell--office[b-6eoap8yj0c] {
    gap: 0;
    height: 100%;
}

.ai-chat-shell--office .ai-chat-shell__layout[b-6eoap8yj0c],
.ai-chat-shell--office .ai-chat-shell__stage[b-6eoap8yj0c] {
    height: 100%;
}

.ai-chat-shell--office .ai-chat-shell__stage[b-6eoap8yj0c] {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
}

.ai-chat-shell--office .ai-chat-shell__messages[b-6eoap8yj0c] {
    padding: 1rem 1rem 1.15rem;
    gap: 0.8rem;
}

.ai-chat-shell--office .ai-chat-shell__empty-state[b-6eoap8yj0c] {
    align-content: start;
    justify-items: start;
    text-align: left;
    min-height: auto;
    padding: 0.15rem 0 0.35rem;
}

.ai-chat-shell--office .ai-chat-shell__empty-icon[b-6eoap8yj0c] {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.95rem;
    font-size: 0.82rem;
}

.ai-chat-shell--office .ai-chat-shell__empty-state h3[b-6eoap8yj0c] {
    font-size: 1rem;
}

.ai-chat-shell--office .ai-chat-shell__empty-state p[b-6eoap8yj0c] {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.45;
}

.ai-chat-shell__initial-model-picker[b-6eoap8yj0c] {
    width: 100%;
    max-width: 22rem;
}

.ai-chat-shell__initial-model-field[b-6eoap8yj0c] {
    display: grid;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ai-chat-shell__initial-model-field .form-select[b-6eoap8yj0c] {
    letter-spacing: normal;
    text-transform: none;
}

.ai-chat-shell--office .ai-chat-shell__initial-model-picker[b-6eoap8yj0c] {
    max-width: none;
}

.ai-chat-shell--office .ai-chat-shell__suggestions[b-6eoap8yj0c] {
    justify-content: flex-start;
    gap: 0.45rem;
}

.ai-chat-shell--office .ai-chat-shell__suggestion[b-6eoap8yj0c] {
    padding: 0.45rem 0.72rem;
    font-size: 0.8rem;
}

.ai-chat-shell--office .ai-chat-shell__message[b-6eoap8yj0c] {
    max-width: calc(100% - 1.25rem);
    border-radius: 1rem;
    padding: 0.8rem 0.85rem;
    gap: 0.45rem;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--shadow-color) 12%, transparent);
}

.ai-chat-shell--office .ai-chat-shell__message.is-user[b-6eoap8yj0c] {
    margin-left: 1.15rem;
}

.ai-chat-shell--office .ai-chat-shell__message.is-assistant[b-6eoap8yj0c] {
    margin-right: 1.15rem;
}

.ai-chat-shell--office .ai-chat-shell__message-meta[b-6eoap8yj0c] {
    gap: 0.38rem;
    font-size: 0.72rem;
}

.ai-chat-shell--office .ai-chat-shell__message-text[b-6eoap8yj0c] {
    font-size: 0.93rem;
    line-height: 1.55;
}

.ai-chat-shell--office .ai-chat-shell__typing[b-6eoap8yj0c] {
    min-height: 1.5rem;
    gap: 0.38rem;
}

.ai-chat-shell--office .ai-chat-shell__typing-dot[b-6eoap8yj0c] {
    width: 0.5rem;
    height: 0.5rem;
}

.ai-chat-shell--office .ai-chat-shell__message-footer[b-6eoap8yj0c] {
    gap: 0.35rem;
}

.ai-chat-shell--office .ai-chat-shell__citation-card[b-6eoap8yj0c] {
    padding: 0.65rem 0.72rem;
}

@keyframes ai-chat-shell-typing-b-6eoap8yj0c {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0) scale(0.92);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}

@media (max-width: 1320px) {
    .ai-chat-shell__layout[b-6eoap8yj0c] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-chat-shell__sidebar[b-6eoap8yj0c] {
        order: 2;
        max-height: none;
    }

    .ai-chat-shell__stage[b-6eoap8yj0c] {
        min-height: 60vh;
    }
}

@media (max-width: 1180px) {
    .ai-chat-shell__stage-header[b-6eoap8yj0c] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-chat-shell__stage-actions[b-6eoap8yj0c] {
        justify-self: stretch;
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .ai-chat-shell__stage-header[b-6eoap8yj0c],
    .ai-chat-shell__composer[b-6eoap8yj0c],
    .ai-chat-shell__messages[b-6eoap8yj0c],
    .ai-chat-shell__session-strip[b-6eoap8yj0c] {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .ai-chat-shell__stage-header[b-6eoap8yj0c] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-chat-shell__stage-actions[b-6eoap8yj0c],
    .ai-chat-shell__compact-controls[b-6eoap8yj0c],
    .ai-chat-shell__composer-actions[b-6eoap8yj0c] {
        width: 100%;
    }

    .ai-chat-shell__stage-actions[b-6eoap8yj0c] {
        justify-content: stretch;
    }

    .ai-chat-shell__stage-actions > *[b-6eoap8yj0c] {
        flex: 1 1 auto;
    }

    .ai-chat-shell__compact-controls[b-6eoap8yj0c] {
        flex-direction: column;
    }

    .ai-chat-shell__compact-controls .form-select[b-6eoap8yj0c] {
        min-width: 0;
    }

    .ai-chat-shell__source-toggle[b-6eoap8yj0c] {
        width: auto;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ai-chat-shell__source-option[b-6eoap8yj0c] {
        flex: 0 0 auto;
        justify-content: center;
    }

    .ai-chat-shell__message[b-6eoap8yj0c] {
        max-width: 100%;
    }

    .ai-chat-shell__composer-actions[b-6eoap8yj0c] {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-chat-shell__citation-head[b-6eoap8yj0c] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* /Components/Chat/AiChatLauncher.razor.rz.scp.css */
.ai-chat-launcher[b-0huc34sfr5] {
    position: fixed;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(0.85rem, 1.8vw, 1.25rem);
    z-index: 1100;
}

.ai-chat-launcher__button[b-0huc34sfr5] {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: 999px;
    padding: 0.75rem 1rem 0.75rem 0.82rem;
    background:
        linear-gradient(150deg, color-mix(in srgb, var(--bg-secondary) 94%, transparent), color-mix(in srgb, var(--bg-primary) 92%, transparent)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary) 22%, transparent), transparent 48%);
    color: var(--text-primary);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--shadow-color) 40%, transparent);
}

.ai-chat-launcher__button:hover[b-0huc34sfr5],
.ai-chat-launcher__button.is-open[b-0huc34sfr5] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    transform: translateY(-1px);
}

.ai-chat-launcher__button-mark[b-0huc34sfr5] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--overlay-text);
    background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--shadow-color) 34%, transparent);
}

.ai-chat-launcher__button-copy[b-0huc34sfr5] {
    display: grid;
    text-align: left;
    line-height: 1.1;
}

.ai-chat-launcher__button-title[b-0huc34sfr5] {
    font-weight: 600;
}

.ai-chat-launcher__button-subtitle[b-0huc34sfr5] {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.ai-chat-launcher__backdrop[b-0huc34sfr5] {
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--bg-primary) 34%, transparent);
    border: 0;
    padding: 0;
}

.ai-chat-launcher__panel[b-0huc34sfr5] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: hidden;
    animation: aiChatLauncherIn-b-0huc34sfr5 0.2s ease-out;
}

.ai-chat-launcher__panel.is-popup[b-0huc34sfr5] {
    position: fixed;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(0.85rem, 1.8vw, 1.25rem);
    width: min(34rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
}

.ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5] {
    position: fixed;
    top: calc(3.5rem + clamp(0.7rem, 1.8vw, 1rem));
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(0.85rem, 1.8vw, 1.25rem);
    width: min(var(--ai-chat-launcher-sidebar-width, 540px), calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
}

.ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5]  .ai-chat-shell {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5]  .ai-chat-shell__layout,
.ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5]  .ai-chat-shell__stage {
    min-height: 0;
    height: 100%;
}

.ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5]  .ai-chat-shell--compact .ai-chat-shell__stage {
    min-height: 0;
    height: 100%;
}

.ai-chat-launcher__modebar[b-0huc34sfr5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.35rem 0 0.35rem;
}

.ai-chat-launcher__mode-toggle[b-0huc34sfr5] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--shadow-color) 20%, transparent);
}

.ai-chat-launcher__mode-button[b-0huc34sfr5] {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1;
}

.ai-chat-launcher__mode-button.is-active[b-0huc34sfr5] {
    background: color-mix(in srgb, var(--color-primary) 14%, var(--bg-primary));
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 34%, transparent);
}

.ai-chat-launcher__mode-note[b-0huc34sfr5] {
    font-size: 0.76rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ai-chat-launcher__resize-handle[b-0huc34sfr5] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.9rem;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: col-resize;
    z-index: 2;
}

.ai-chat-launcher__resize-handle[b-0huc34sfr5]::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.2rem;
    height: 3.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--border-color) 70%, transparent);
}

.ai-chat-launcher__resize-handle:hover[b-0huc34sfr5]::before {
    background: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

@keyframes aiChatLauncherIn-b-0huc34sfr5 {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 720px) {
    .ai-chat-launcher[b-0huc34sfr5] {
        left: 1rem;
        right: 1rem;
    }

    .ai-chat-launcher__button[b-0huc34sfr5] {
        width: 100%;
        justify-content: center;
    }

    .ai-chat-launcher__panel[b-0huc34sfr5] {
        right: 1rem;
        left: 1rem;
        width: auto;
        bottom: 1rem;
    }

    .ai-chat-launcher__panel.is-sidebar[b-0huc34sfr5] {
        top: calc(3.5rem + 0.6rem);
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .ai-chat-launcher__modebar[b-0huc34sfr5] {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-chat-launcher__mode-note[b-0huc34sfr5] {
        white-space: normal;
        text-align: center;
    }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-layout-shell[b-jsa0jzlnc3] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-layout-shell--office[b-jsa0jzlnc3] {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    min-height: 100vh;
    background: transparent;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ve11oq72ky] {
    --ai-chat-sidebar-reserve: 0px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.content[b-ve11oq72ky] {
    padding-bottom: clamp(6.5rem, 12vh, 8.5rem);
    transition: padding-right 0.18s ease;
}

main[b-ve11oq72ky] {
    flex: 1;
}

.sidebar[b-ve11oq72ky] {
    background-color: var(--bg-secondary);
    background-image: linear-gradient(180deg, var(--bg-tertiary) 0%, rgba(0, 0, 0, 0) 70%);
}

.top-row[b-ve11oq72ky] {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.theme-menu .btn-link[b-ve11oq72ky] {
    color: var(--text);
}

    .top-row[b-ve11oq72ky]  a, .top-row[b-ve11oq72ky]  .btn-link {
        color: var(--text-primary);
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ve11oq72ky]  a:hover, .top-row[b-ve11oq72ky]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ve11oq72ky]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ve11oq72ky] {
        justify-content: space-between;
    }

    .top-row[b-ve11oq72ky]  a, .top-row[b-ve11oq72ky]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ve11oq72ky] {
        flex-direction: row;
    }

    .sidebar[b-ve11oq72ky] {
        width: 290px;
        min-width: 290px;
        flex: 0 0 290px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ve11oq72ky] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ve11oq72ky]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ve11oq72ky], article[b-ve11oq72ky] {
        padding-left: 2rem !important;
        padding-right: calc(1.5rem + var(--ai-chat-sidebar-reserve, 0px)) !important;
    }
}

#blazor-error-ui[b-ve11oq72ky] {
    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-ve11oq72ky] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-aa39t2xfqn] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--overlay-text);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid color-mix(in srgb, var(--text-primary) 20%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 22%, transparent), color-mix(in srgb, var(--bg-tertiary) 80%, transparent));
}

.navbar-toggler[b-aa39t2xfqn]:after {
    content: "";
    display: block;
    width: 1.75rem;
    height: 0.15rem;
    background: var(--overlay-text);
    box-shadow: 0 0.45rem 0 var(--overlay-text), 0 -0.45rem 0 var(--overlay-text);
    margin: 1.1rem auto;
}

.top-row[b-aa39t2xfqn] {
    min-height: 3.5rem;
    background-color: var(--bg-tertiary);
}

.navbar-brand[b-aa39t2xfqn] {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.app-logo[b-aa39t2xfqn] {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
    padding: 2px;
}

.navbar-brand[b-aa39t2xfqn],
.nav-item[b-aa39t2xfqn]  a {
    text-decoration: none;
}

.nav-section-title[b-aa39t2xfqn] {
    margin-top: 0.95rem;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.menu-icon[b-aa39t2xfqn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-right: 0.65rem;
    border-radius: 0.35rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--overlay-text);
}

.mi-home[b-aa39t2xfqn] { background: linear-gradient(135deg, #2979ff, #1b6ec2); }
.mi-workspace[b-aa39t2xfqn] { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.mi-km[b-aa39t2xfqn] { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.mi-chat[b-aa39t2xfqn] { background: linear-gradient(135deg, #00a3ff, #0057d9); }
.mi-contract[b-aa39t2xfqn] { background: linear-gradient(135deg, #f97316, #c2410c); }
.mi-risk[b-aa39t2xfqn] { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.mi-general[b-aa39t2xfqn] { background: linear-gradient(135deg, #64748b, #334155); }
.mi-security[b-aa39t2xfqn] { background: linear-gradient(135deg, #f59e0b, #b45309); }
.mi-system[b-aa39t2xfqn] { background: linear-gradient(135deg, #06b6d4, #155e75); }
.mi-lookup[b-aa39t2xfqn] { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.mi-model[b-aa39t2xfqn] { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mi-sharepoint[b-aa39t2xfqn] { background: linear-gradient(135deg, #10b981, #047857); }

.nav-item[b-aa39t2xfqn] {
    font-size: 0.9rem;
    padding-bottom: 0.33rem;
}

.nav-group[b-aa39t2xfqn] {
    padding-bottom: 0.33rem;
}

.nav-group-toggle[b-aa39t2xfqn] {
    width: 100%;
    color: var(--text-secondary);
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    padding-inline: 0.75rem;
    padding-block: 0.72rem;
    min-height: 2.85rem;
    line-height: 1.2;
    background: transparent;
}

.nav-group-toggle.active[b-aa39t2xfqn] {
    background-color: color-mix(in srgb, var(--bg-tertiary) 88%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
    color: var(--text-primary);
}

.nav-group-toggle:hover[b-aa39t2xfqn] {
    background-color: color-mix(in srgb, var(--bg-tertiary) 72%, transparent);
    border-color: color-mix(in srgb, var(--border-color) 70%, transparent);
    color: var(--text-primary);
}

.nav-submenu[b-aa39t2xfqn] {
    display: none;
    margin-top: 0.2rem;
}

.nav-submenu.expanded[b-aa39t2xfqn] {
    display: block;
}

.nav-submenu .nav-item[b-aa39t2xfqn] {
    padding-bottom: 0.25rem;
}

.nav-submenu .nav-item:last-of-type[b-aa39t2xfqn] {
    padding-bottom: 0.15rem;
}

.nav-nested-group[b-aa39t2xfqn] {
    padding-bottom: 0.25rem;
}

.nav-nested-toggle[b-aa39t2xfqn] {
    width: 100%;
    color: var(--text-secondary);
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    padding-inline: 0.75rem;
    padding-block: 0.65rem;
    min-height: 2.6rem;
    line-height: 1.2;
    background: transparent;
}

.nav-nested-toggle.active[b-aa39t2xfqn] {
    background-color: color-mix(in srgb, var(--bg-tertiary) 84%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 28%, transparent);
    color: var(--text-primary);
}

.nav-nested-toggle:hover[b-aa39t2xfqn] {
    background-color: color-mix(in srgb, var(--bg-tertiary) 68%, transparent);
    border-color: color-mix(in srgb, var(--border-color) 60%, transparent);
    color: var(--text-primary);
}

.nav-nested-submenu[b-aa39t2xfqn] {
    display: none;
    margin-top: 0.2rem;
    margin-left: 0.8rem;
    padding-left: 0.4rem;
    border-left: 1px solid color-mix(in srgb, var(--border-color) 55%, transparent);
}

.nav-nested-submenu.expanded[b-aa39t2xfqn] {
    display: block;
}

.nav-nested-submenu .nav-item[b-aa39t2xfqn] {
    padding-bottom: 0.2rem;
}

.submenu-icon[b-aa39t2xfqn] {
    width: 1.05rem;
    height: 1.05rem;
    margin-right: 0.55rem;
}

.submenu-chevron[b-aa39t2xfqn] {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 0.35rem;
}

.submenu-chevron.expanded[b-aa39t2xfqn] {
    transform: rotate(225deg);
}

.nav-item:first-of-type[b-aa39t2xfqn] {
    padding-top: 0.45rem;
}

.nav-item:last-of-type[b-aa39t2xfqn] {
    padding-bottom: 1rem;
}

.nav-item[b-aa39t2xfqn]  a {
    color: var(--text-secondary);
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    padding-inline: 0.75rem;
    padding-block: 0.72rem;
    min-height: 2.85rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.nav-item[b-aa39t2xfqn]  a.active {
    background-color: color-mix(in srgb, var(--bg-tertiary) 88%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
    color: var(--text-primary);
}

.nav-item[b-aa39t2xfqn]  a:hover {
    background-color: color-mix(in srgb, var(--bg-tertiary) 72%, transparent);
    border-color: color-mix(in srgb, var(--border-color) 70%, transparent);
    color: var(--text-primary);
}

.nav-submenu-link[b-aa39t2xfqn] {
    white-space: normal;
    line-height: 1.2;
    min-height: 2.85rem;
    height: auto;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    align-items: flex-start;
}

.submenu-label[b-aa39t2xfqn] {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    flex: 1;
}

.nav-scrollable[b-aa39t2xfqn] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-aa39t2xfqn] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-aa39t2xfqn] {
        display: none;
    }

    .nav-scrollable[b-aa39t2xfqn] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        padding-bottom: 1.25rem;
    }
}
/* /Components/Pages/AiChatbot.razor.rz.scp.css */
.ai-chatbot-page[b-ld6884dxja] {
    display: grid;
    gap: 1rem;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: calc(100dvh - 5rem);
    height: calc(100dvh - 5rem);
    max-height: calc(100dvh - 5rem);
    min-width: 0;
    overflow: hidden;
}

.ai-chatbot-page__hero[b-ld6884dxja] {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1.35rem 1.45rem;
    border-radius: 1.2rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 80%, transparent);
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 42%),
        linear-gradient(150deg, color-mix(in srgb, var(--bg-secondary) 96%, transparent), color-mix(in srgb, var(--bg-primary) 95%, transparent));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--shadow-color) 32%, transparent);
}

.ai-chatbot-page__hero-copy[b-ld6884dxja],
.ai-chatbot-page__hero-badges[b-ld6884dxja] {
    min-width: 0;
}

.ai-chatbot-page__eyebrow[b-ld6884dxja] {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.ai-chatbot-page__hero-copy h1[b-ld6884dxja] {
    margin: 0 0 0.55rem;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    line-height: 1.08;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.ai-chatbot-page__hero-copy p:last-child[b-ld6884dxja] {
    margin: 0;
    max-width: 70ch;
    color: var(--text-secondary);
}

.ai-chatbot-page__hero-badges[b-ld6884dxja] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.ai-chatbot-page__hero-badges span[b-ld6884dxja] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid color-mix(in srgb, var(--border-color) 82%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell) {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__layout) {
    height: 100%;
    min-height: 0;
    min-width: 0;
    align-items: stretch;
    overflow: hidden;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__sidebar),
.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__stage) {
    height: 100%;
    min-height: 0;
    max-height: none;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__stage) {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__messages) {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable both-edges;
}

.ai-chatbot-page[b-ld6884dxja] (.ai-chat-shell__composer) {
    flex: 0 0 auto;
    position: static;
    z-index: 1;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 0%, transparent), color-mix(in srgb, var(--bg-secondary) 92%, transparent) 28%, color-mix(in srgb, var(--bg-secondary) 100%, transparent));
    padding-top: 0.85rem;
}

@media (max-width: 1200px) {
    .ai-chatbot-page__hero[b-ld6884dxja] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ai-chatbot-page__hero-badges[b-ld6884dxja] {
        justify-content: flex-start;
    }

    .ai-chatbot-page[b-ld6884dxja] {
        min-height: calc(100dvh - 4.5rem);
        height: calc(100dvh - 4.5rem);
    }
}
/* /Components/Pages/ClmApprovalAdministration.razor.rz.scp.css */
.workflow-row[b-ijpne1jwe8] {
    border-radius: 0.9rem;
    margin-bottom: 0.45rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 96%, transparent);
    color: var(--text-primary);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.workflow-row:hover[b-ijpne1jwe8] {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--color-primary) 44%, transparent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--shadow-color) 20%, transparent);
}

.workflow-row.active[b-ijpne1jwe8],
.workflow-row.active:hover[b-ijpne1jwe8],
.workflow-row.active:focus[b-ijpne1jwe8] {
    border-color: color-mix(in srgb, var(--color-primary) 72%, transparent);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 92%, white 8%), color-mix(in srgb, var(--color-primary) 72%, #4f8cff 28%)),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 95%, transparent), color-mix(in srgb, var(--bg-primary) 92%, transparent));
    color: #fff;
    box-shadow: 0 16px 28px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.workflow-row.active .text-muted[b-ijpne1jwe8],
.workflow-row.active .small[b-ijpne1jwe8],
.workflow-row.active .badge[b-ijpne1jwe8] {
    color: color-mix(in srgb, #fff 84%, transparent) !important;
}

.workflow-row.active .badge[b-ijpne1jwe8] {
    background: color-mix(in srgb, #fff 16%, transparent) !important;
    border: 1px solid color-mix(in srgb, #fff 30%, transparent);
}
/* /Components/Pages/ClmWorkRoutingAdministration.razor.rz.scp.css */
.routing-admin-page[b-u7q78rwhw6] {
    display: grid;
    gap: 1.25rem;
}

.routing-admin-section[b-u7q78rwhw6] {
    display: grid;
    gap: 0.9rem;
}

.routing-admin-section-header[b-u7q78rwhw6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.routing-admin-section-caption[b-u7q78rwhw6] {
    color: var(--text-secondary);
    max-width: 70ch;
}

.routing-admin-section-metric[b-u7q78rwhw6] {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
}

.routing-admin-pane[b-u7q78rwhw6] {
    border-radius: 1rem;
}

.routing-admin-list-body[b-u7q78rwhw6] {
    max-height: clamp(20rem, 62vh, 46rem);
    overflow: auto;
}

.routing-admin-editor-body[b-u7q78rwhw6] {
    display: grid;
    gap: 1rem;
}

.routing-admin-list[b-u7q78rwhw6] {
    gap: 0.1rem;
}

.routing-admin-list-item[b-u7q78rwhw6] {
    border-radius: 0.9rem;
    margin-bottom: 0.45rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 96%, transparent);
    color: var(--text-primary);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.routing-admin-list-item:hover[b-u7q78rwhw6] {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--color-primary) 44%, transparent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--shadow-color) 20%, transparent);
}

.routing-admin-list-item.active[b-u7q78rwhw6],
.routing-admin-list-item.active:hover[b-u7q78rwhw6],
.routing-admin-list-item.active:focus[b-u7q78rwhw6] {
    border-color: color-mix(in srgb, var(--color-primary) 72%, transparent);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 92%, white 8%), color-mix(in srgb, var(--color-primary) 72%, #4f8cff 28%)),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 95%, transparent), color-mix(in srgb, var(--bg-primary) 92%, transparent));
    color: #fff;
    box-shadow: 0 16px 28px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.routing-admin-list-item.active .text-muted[b-u7q78rwhw6],
.routing-admin-list-item.active .small[b-u7q78rwhw6] {
    color: color-mix(in srgb, #fff 84%, transparent) !important;
}

@media (min-width: 1400px) {
    .routing-admin-list-column[b-u7q78rwhw6],
    .routing-admin-editor-column[b-u7q78rwhw6] {
        align-self: start;
    }

    .routing-admin-editor-pane[b-u7q78rwhw6] {
        position: sticky;
        top: 1rem;
    }

    .routing-admin-editor-body[b-u7q78rwhw6] {
        max-height: calc(100vh - 12rem);
        overflow: auto;
    }
}
/* /Components/Pages/KnowledgeBase.razor.rz.scp.css */
.knowledge-language-picker[b-mwnj71hjsr] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem 0.75rem;
    max-height: 12rem;
    overflow: auto;
    padding: 0.75rem;
    border: 1px solid var(--theme-border, rgba(148, 163, 184, 0.22));
    border-radius: 0.75rem;
    background: var(--theme-surface-elevated, rgba(15, 23, 42, 0.18));
}

.knowledge-language-picker__item[b-mwnj71hjsr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-weight: 500;
}

.knowledge-language-picker__item input[b-mwnj71hjsr] {
    margin: 0;
}
/* /Components/Pages/OfficeTaskPane.razor.rz.scp.css */
.office-taskpane[b-dp40nb84wy] {
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    overflow: hidden;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary) 12%, var(--bg-primary)), color-mix(in srgb, var(--bg-primary) 98%, transparent) 40%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 96%, var(--bg-primary)), var(--bg-primary));
}

.office-taskpane__workspace[b-dp40nb84wy],
.office-taskpane__auth-shell[b-dp40nb84wy] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.office-taskpane__auth-shell[b-dp40nb84wy] {
    justify-content: center;
}

.office-taskpane__surface[b-dp40nb84wy],
.office-taskpane__banner[b-dp40nb84wy],
.office-taskpane__chat-shell[b-dp40nb84wy] {
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    border-radius: 1.2rem;
    background:
        linear-gradient(165deg, color-mix(in srgb, var(--bg-secondary) 97%, var(--bg-primary)), color-mix(in srgb, var(--bg-primary) 98%, var(--bg-primary))),
        radial-gradient(circle at top right, color-mix(in srgb, var(--color-primary) 6%, var(--bg-primary)), color-mix(in srgb, var(--bg-primary) 96%, transparent) 42%);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--shadow-color) 28%, transparent);
}

.office-taskpane__surface[b-dp40nb84wy] {
    padding: 0.9rem 0.95rem;
    display: grid;
    gap: 0.75rem;
}

.office-taskpane__surface--auth[b-dp40nb84wy] {
    width: min(100%, 25rem);
    margin: 0 auto;
    padding: 1rem;
    gap: 0.85rem;
}

.office-taskpane__surface--header[b-dp40nb84wy] {
    gap: 0.7rem;
}

.office-taskpane__auth-badge[b-dp40nb84wy],
.office-taskpane__eyebrow[b-dp40nb84wy] {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.71rem;
    color: var(--text-muted);
}

.office-taskpane__auth-badge[b-dp40nb84wy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 74%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
    font-weight: 700;
}

.office-taskpane__auth-copy h1[b-dp40nb84wy],
.office-taskpane__surface h1[b-dp40nb84wy] {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.office-taskpane__auth-copy p[b-dp40nb84wy],
.office-taskpane__surface p[b-dp40nb84wy],
.office-taskpane__hint[b-dp40nb84wy],
.office-taskpane__auth-note[b-dp40nb84wy] {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.45;
}

.office-taskpane__auth-note[b-dp40nb84wy] {
    font-size: 0.82rem;
}

.office-taskpane__auth-form[b-dp40nb84wy] {
    display: grid;
    gap: 0.75rem;
}

.office-taskpane__header-row[b-dp40nb84wy] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.office-taskpane__actions[b-dp40nb84wy],
.office-taskpane__quick-actions[b-dp40nb84wy] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.office-taskpane__actions--toolbar[b-dp40nb84wy] {
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.38rem;
}

.office-taskpane__inline-form[b-dp40nb84wy] {
    margin: 0;
    display: flex;
}

.office-taskpane__chips[b-dp40nb84wy] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.office-taskpane__chips--header[b-dp40nb84wy] {
    margin-top: 0.05rem;
}

.office-taskpane__chip[b-dp40nb84wy] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 76%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.office-taskpane__status-stack[b-dp40nb84wy] {
    display: grid;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.office-taskpane__banner[b-dp40nb84wy] {
    padding: 0.72rem 0.85rem;
    font-size: 0.86rem;
    line-height: 1.4;
}

.office-taskpane__banner--error[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-danger) 45%, transparent);
    background: color-mix(in srgb, var(--color-danger) 12%, var(--bg-secondary));
}

.office-taskpane__banner--info[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-secondary));
}

.office-taskpane__banner--loading[b-dp40nb84wy] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.office-taskpane__loader-dots[b-dp40nb84wy] {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.office-taskpane__loader-dots span[b-dp40nb84wy] {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 68%, var(--text-secondary));
    animation: office-taskpane-pulse-b-dp40nb84wy 1.1s ease-in-out infinite;
}

.office-taskpane__loader-dots span:nth-child(2)[b-dp40nb84wy] {
    animation-delay: 0.12s;
}

.office-taskpane__loader-dots span:nth-child(3)[b-dp40nb84wy] {
    animation-delay: 0.24s;
}

.office-taskpane__retry-row[b-dp40nb84wy] {
    display: flex;
    justify-content: flex-start;
}

.office-taskpane__field[b-dp40nb84wy] {
    display: grid;
    gap: 0.38rem;
}

.office-taskpane__field span[b-dp40nb84wy] {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.office-taskpane__submit[b-dp40nb84wy] {
    min-height: 2.45rem;
    border-radius: 0.85rem;
}

.office-taskpane__chat-shell[b-dp40nb84wy] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    background-color: color-mix(in srgb, var(--bg-secondary) 94%, var(--bg-primary));
}

.office-taskpane__chat-frame[b-dp40nb84wy] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
}

.office-taskpane__chat-frame[b-dp40nb84wy]  .ai-chat-shell,
.office-taskpane__chat-frame[b-dp40nb84wy]  .ai-chat-shell__layout,
.office-taskpane__chat-frame[b-dp40nb84wy]  .ai-chat-shell__stage {
    min-height: 0;
    height: 100%;
}

.office-taskpane__chat-frame[b-dp40nb84wy]  .ai-chat-shell__stage {
    background: transparent;
}

.office-taskpane__composer-dock[b-dp40nb84wy] {
    flex: 0 0 auto;
    display: grid;
    gap: 0.72rem;
    padding: 0.82rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg-secondary) 40%, var(--bg-primary)), color-mix(in srgb, var(--bg-secondary) 86%, var(--bg-primary)));
}

.office-taskpane__dock-head[b-dp40nb84wy] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.office-taskpane__section-title[b-dp40nb84wy] {
    margin: 0.14rem 0 0;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.office-taskpane__quick-actions[b-dp40nb84wy] {
    gap: 0.42rem;
}

.office-taskpane__mode-toggle[b-dp40nb84wy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
    padding: 0.32rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 78%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
}

.office-taskpane__mode-option[b-dp40nb84wy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 2.05rem;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.office-taskpane__mode-option input[b-dp40nb84wy] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.office-taskpane__mode-option.is-active[b-dp40nb84wy] {
    color: var(--text-primary);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 22%, var(--bg-primary)), color-mix(in srgb, var(--color-accent, var(--color-primary)) 14%, var(--bg-primary)));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 46%, transparent);
}

.office-taskpane__mode-option:focus-within[b-dp40nb84wy] {
    outline: 2px solid color-mix(in srgb, var(--color-primary) 48%, transparent);
    outline-offset: 2px;
}

.office-taskpane__action-button[b-dp40nb84wy] {
    border-radius: 999px;
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

.office-taskpane__action-button--accent:not(:disabled)[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-primary) 44%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-primary));
    color: var(--text-primary);
}

.office-taskpane__toolbar-button[b-dp40nb84wy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border-color) 72%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
    color: var(--text-primary);
    box-shadow: none;
    white-space: nowrap;
}

.office-taskpane__toolbar-button:hover:not(:disabled)[b-dp40nb84wy],
.office-taskpane__toolbar-button:focus-visible[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-primary) 42%, transparent);
    background: color-mix(in srgb, var(--color-primary) 9%, var(--bg-primary));
    color: var(--text-primary);
}

.office-taskpane__toolbar-button--active[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-primary) 48%, transparent);
    background: color-mix(in srgb, var(--color-primary) 15%, var(--bg-primary));
}

.office-taskpane__toolbar-button--history[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--border-color) 82%, transparent);
}

.office-taskpane__toolbar-button--history:hover:not(:disabled)[b-dp40nb84wy],
.office-taskpane__toolbar-button--history:focus-visible[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-warning, #c9921a) 42%, transparent);
    background: color-mix(in srgb, var(--color-warning, #c9921a) 10%, var(--bg-primary));
}

.office-taskpane__toolbar-button--signout[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-danger) 32%, transparent);
    color: color-mix(in srgb, var(--text-primary) 92%, white 8%);
}

.office-taskpane__toolbar-button--signout:hover:not(:disabled)[b-dp40nb84wy],
.office-taskpane__toolbar-button--signout:focus-visible[b-dp40nb84wy] {
    border-color: color-mix(in srgb, var(--color-danger) 46%, transparent);
    background: color-mix(in srgb, var(--color-danger) 12%, var(--bg-primary));
    color: var(--text-primary);
}

.office-taskpane__composer-card[b-dp40nb84wy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: end;
    padding: 0.7rem;
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--border-color) 84%, transparent);
    background: color-mix(in srgb, var(--bg-primary) 96%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg-secondary) 72%, transparent);
    position: relative;
    z-index: 3;
}

.office-taskpane__composer-field[b-dp40nb84wy] {
    min-width: 0;
}

.office-taskpane__prompt[b-dp40nb84wy] {
    min-height: 4.15rem;
    max-height: 10.5rem;
    resize: none;
    border-radius: 0.9rem;
    background-color: color-mix(in srgb, var(--bg-primary) 96%, transparent);
    color: var(--text-primary);
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.office-taskpane__send-button[b-dp40nb84wy] {
    min-width: 4.85rem;
    min-height: 3.05rem;
    border-radius: 0.9rem;
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.office-taskpane__dock-meta[b-dp40nb84wy] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.office-taskpane__dock-meta .office-taskpane__hint[b-dp40nb84wy] {
    font-size: 0.8rem;
}

@keyframes office-taskpane-pulse-b-dp40nb84wy {
    0%,
    80%,
    100% {
        opacity: 0.34;
        transform: translateY(0) scale(0.9);
    }

    40% {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}

@media (max-width: 520px) {
    .office-taskpane[b-dp40nb84wy] {
        padding: 0.55rem;
    }

    .office-taskpane__surface[b-dp40nb84wy],
    .office-taskpane__composer-dock[b-dp40nb84wy] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .office-taskpane__header-row[b-dp40nb84wy],
    .office-taskpane__dock-head[b-dp40nb84wy],
    .office-taskpane__dock-meta[b-dp40nb84wy] {
        flex-direction: column;
    }

    .office-taskpane__actions--toolbar[b-dp40nb84wy] {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .office-taskpane__composer-card[b-dp40nb84wy] {
        grid-template-columns: minmax(0, 1fr);
    }

    .office-taskpane__send-button[b-dp40nb84wy] {
        width: 100%;
    }
}
