@import '_content/Corvenia.Yggdrasil.Module.Common/Corvenia.Yggdrasil.Module.Common.y7arykic40.bundle.scp.css';
@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.mlg14ggzcc.bundle.scp.css';

/* /Components/Canvas/AIChatCanvas.razor.rz.scp.css */
.ai-chat-canvas[b-kct9qvub0d] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--mud-palette-surface, #fff);
}

.ai-chat-canvas-header[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    flex-shrink: 0;
}

.ai-chat-canvas-title[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.ai-chat-canvas-actions[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ai-chat-canvas-frame[b-kct9qvub0d] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 0;
    background: #fff;
}

.ai-chat-canvas-empty[b-kct9qvub0d] {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px;
}

.canvas-loading-overlay[b-kct9qvub0d] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mud-palette-background-grey) 0%, var(--mud-palette-surface) 100%);
    padding: 24px;
    animation: canvas-loading-fade-in-b-kct9qvub0d 0.3s ease-in-out;
}

@keyframes canvas-loading-fade-in-b-kct9qvub0d {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.canvas-loading-card[b-kct9qvub0d] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.canvas-building-progress[b-kct9qvub0d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.ai-progress[b-kct9qvub0d] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font: 14px system-ui, sans-serif;
    color: var(--mud-palette-text-secondary, #666);
}

.ai-progress__dots[b-kct9qvub0d] {
    display: inline-flex;
    gap: 0.25rem;
}

.ai-progress__dots span[b-kct9qvub0d] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    animation: ai-dot-pulse-b-kct9qvub0d 1.2s infinite ease-in-out;
}

.ai-progress__dots span:nth-child(2)[b-kct9qvub0d] {
    animation-delay: 0.15s;
}

.ai-progress__dots span:nth-child(3)[b-kct9qvub0d] {
    animation-delay: 0.3s;
}

@keyframes ai-dot-pulse-b-kct9qvub0d {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-progress__text[b-kct9qvub0d] {
    min-width: 6ch;
}

.canvas-error-fix-bar[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 8px 12px;
    border-top: 1px solid var(--mud-palette-error, #f44336);
    background: color-mix(in srgb, var(--mud-palette-error, #f44336) 8%, var(--mud-palette-surface, #fff));
}

.canvas-error-fix-bar__content[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.canvas-error-fix-bar__message[b-kct9qvub0d] {
    color: var(--mud-palette-text-primary, #1e293b);
}

.canvas-error-fix-bar__actions[b-kct9qvub0d] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
/* /Components/ChatWindow/ChatWindow.razor.rz.scp.css */
.chat-window[b-a04a696tgk] {
    /* background: var(--mud-palette-background, #fff); */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    max-height: 420px;
}

/* Side panel / full-column hosts: grow with parent flex; default max-height stays for compact embeds */
.chat-window.chat-window--fill[b-a04a696tgk] {
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    align-self: stretch;
}

/* Embedded under a parent card: host removes outer border/radius via ::deep */
.chat-window--no-header[b-a04a696tgk] {
    min-height: 260px;
}

.chat-header[b-a04a696tgk] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 8px; */
    padding: 10px;
    /* border-bottom: 1px solid var(--mud-palette-lines-default, #e2e8f0); */
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.chat-header-leading[b-a04a696tgk] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.chat-header-actions[b-a04a696tgk] {
    flex-shrink: 0;
    align-self: flex-start;
}

/* .chat-header-icon-wrap {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 14%, var(--mud-palette-surface, #f8fafc) 86%);
    color: var(--mud-palette-primary, #1976d2);
}

.chat-header-icon-wrap ::deep .mud-icon-root {
    font-size: 1.15rem !important;
} */

.chat-header-text[b-a04a696tgk] {
    flex: 1;
    min-width: 0;
}

.chat-header-title[b-a04a696tgk] {
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.chat-header-subtitle[b-a04a696tgk] {
    display: block;
    margin: 4px 0 0 !important;
    line-height: 1.35 !important;
}

.chat-placeholder[b-a04a696tgk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.875rem;
    max-width: 22rem;
    margin-inline: auto;
    min-height: 12rem;
    padding-block: 1rem;
}

.chat-placeholder-icon-wrap[b-a04a696tgk] {
    flex-shrink: 0;
    display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	padding: 0;
	margin: 0;
	border: 1px solid #ffb488;
	border-radius: 50%;
	background: linear-gradient(135deg, #ffeedf 0%, #ffb774 100%);
	box-shadow: 0 2px 8px rgba(255, 180, 136, 0.35);
}

.chat-placeholder-icon[b-a04a696tgk] {
    opacity: 0.92;
}

.chat-placeholder-text[b-a04a696tgk] {
    line-height: 1.55;
    margin: 0 !important;
}

.chat-turn-root[b-a04a696tgk] {
    display: contents;
}

.chat-messages[b-a04a696tgk] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    /* scrollbar-color: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 35%, transparent) transparent; */
}

/* Why: flex gap applies between every child; tool activity is grouped into one wrapping row. */

.chat-messages[b-a04a696tgk]::-webkit-scrollbar {
    width: 6px;
}

.chat-messages[b-a04a696tgk]::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 35%, transparent);
    border-radius: 999px;
}

.chat-messages[b-a04a696tgk]::-webkit-scrollbar-track {
    background: transparent;
}

.chat-ai-message[b-a04a696tgk] {
    background: #f3f4f6;
    border: 1px solid #f4ebeb;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.62;
    width: 80%;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown-table-wrap,
.chat-user-turn[b-a04a696tgk]  .chat-markdown-table-wrap {
    display: block;
    overflow-x: auto;
    margin: 0.5em 0 0.75em;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 8px;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown table,
.chat-user-turn[b-a04a696tgk]  .chat-markdown table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    table-layout: auto;
    background: #fff;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown th,
.chat-ai-message[b-a04a696tgk]  .chat-markdown td,
.chat-user-turn[b-a04a696tgk]  .chat-markdown th,
.chat-user-turn[b-a04a696tgk]  .chat-markdown td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    vertical-align: top;
    background: #fff;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown th:first-child,
.chat-ai-message[b-a04a696tgk]  .chat-markdown td:first-child,
.chat-user-turn[b-a04a696tgk]  .chat-markdown th:first-child,
.chat-user-turn[b-a04a696tgk]  .chat-markdown td:first-child {
    text-align: left;
    white-space: normal;
    min-width: 10rem;
    max-width: 14rem;
    padding-right: 1.25rem;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown th:not(:first-child),
.chat-ai-message[b-a04a696tgk]  .chat-markdown td:not(:first-child),
.chat-user-turn[b-a04a696tgk]  .chat-markdown th:not(:first-child),
.chat-user-turn[b-a04a696tgk]  .chat-markdown td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 7rem;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
}

.chat-ai-message[b-a04a696tgk]  .chat-markdown thead th,
.chat-user-turn[b-a04a696tgk]  .chat-markdown thead th {
    background: #fff;
    font-weight: 600;
}

.chat-user-turn[b-a04a696tgk] {
    align-self: flex-end;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    color: #374151;
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 0.5rem 1rem;
    word-break: break-word;
    width: 80%;
}

.chat-user-turn[b-a04a696tgk]  .chat-markdown p {
    margin: 0 0 0.6em;
}

.chat-user-turn[b-a04a696tgk]  .chat-markdown p:last-child {
    margin-bottom: 0;
}

.tool-info-run[b-a04a696tgk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    width: 100%;
}

.tool-info-pill[b-a04a696tgk] {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 22rem);
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #64748b;
    font-size: 0.72rem;
    font-style: italic;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-ai-progress[b-a04a696tgk] {
    margin: 8px 0;
}

.ai-progress[b-a04a696tgk] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font: 14px system-ui, sans-serif;
    color: var(--mud-palette-text-secondary, #666);
}

.ai-progress__dots[b-a04a696tgk] {
    display: inline-flex;
    gap: 0.25rem;
}

.ai-progress__dots span[b-a04a696tgk] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    animation: ai-dot-pulse-b-a04a696tgk 1.2s infinite ease-in-out;
}

.ai-progress__dots span:nth-child(2)[b-a04a696tgk] {
    animation-delay: 0.15s;
}

.ai-progress__dots span:nth-child(3)[b-a04a696tgk] {
    animation-delay: 0.3s;
}

@keyframes ai-dot-pulse-b-a04a696tgk {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-progress__text[b-a04a696tgk] {
    min-width: 6ch;
}

.thinking-interstitial[b-a04a696tgk] {
    padding: 2px 16px 6px;
    max-width: 92%;
}

.chat-input-area[b-a04a696tgk] {
    flex-shrink: 0;
    padding: 10px;
    border-top: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    background: var(--mud-palette-surface, #f8fafc);
}

.chat-log-bottom-content[b-a04a696tgk] {
    flex-shrink: 0;
    border-top: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 96%, var(--mud-palette-primary, #1976d2) 4%);
}

.context-usage-bar-container[b-a04a696tgk] {
    height: 3px;
    width: 100%;
    background-color: var(--mud-palette-action-disabled-background, #e0e0e0);
    margin-bottom: 4px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: help;
}

.context-usage-bar-fill[b-a04a696tgk] {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.chat-followup[b-a04a696tgk] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.chat-input-toolbar[b-a04a696tgk] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
}

.chat-reasoning-effort-menu[b-a04a696tgk] {
    margin-left: auto;
    flex-shrink: 0;
}

.chat-reasoning-effort-trigger[b-a04a696tgk] {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1.2;
}

.chat-reasoning-effort-trigger:hover:not(:disabled)[b-a04a696tgk] {
    background: color-mix(in srgb, var(--mud-palette-action-hover, #f3f4f6) 80%, transparent);
}

.chat-reasoning-effort-trigger:disabled[b-a04a696tgk] {
    opacity: 0.5;
    cursor: default;
}

.chat-reasoning-effort-trigger--locked[b-a04a696tgk] {
    cursor: default;
}

.chat-reasoning-effort-menu-item--selected[b-a04a696tgk] {
    font-weight: 600;
}

.chat-followup-wrap[b-a04a696tgk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-followup-wrap[b-a04a696tgk]  .mud-input-control {
    margin-top: 0;
    flex: 1 1 auto;
}

.chat-followup-wrap[b-a04a696tgk]  .mud-input-root {
    background: #fff;
    border-radius: 10px;
}

.chat-followup-wrap[b-a04a696tgk]  .mud-input-outlined-border {
    border-color: #e5e7eb !important;
    border-radius: 10px !important;
}

.chat-followup-wrap[b-a04a696tgk]  .mud-input-root:hover .mud-input-outlined-border,
.chat-followup-wrap[b-a04a696tgk]  .mud-input-root.mud-focused .mud-input-outlined-border {
    border-color: #fed7aa !important;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.12);
}

.chat-input-field[b-a04a696tgk]  textarea {
    line-height: 1.45;
    resize: none;
    overflow-y: auto !important;
}

.chat-user-message-text[b-a04a696tgk] {
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-user-attachments[b-a04a696tgk] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.chat-attachment-chip[b-a04a696tgk] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 12%, #fff 88%);
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary, #1976d2) 25%, #fff 75%);
    font-size: 0.72rem;
}

.chat-attachment-chip--downloadable[b-a04a696tgk] {
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: inherit;
}

.chat-attachment-chip--downloadable:hover[b-a04a696tgk] {
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 20%, #fff 80%);
}

.chat-attachment-chip--downloadable:focus-visible[b-a04a696tgk] {
    outline: 2px solid var(--mud-palette-primary, #1976d2);
    outline-offset: 1px;
}

.chat-attachment-chip-label[b-a04a696tgk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem;
}

.chat-pending-attachments[b-a04a696tgk] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.chat-pending-attachment[b-a04a696tgk] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.15rem 0.35rem 0.15rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 12%, #fff 88%);
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary, #1976d2) 25%, #fff 75%);
    font-size: 0.72rem;
}

.chat-pending-attachment--processing[b-a04a696tgk] {
    opacity: 0.85;
}

.chat-pending-attachment-name[b-a04a696tgk] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem;
}

.chat-pending-attachment-spinner[b-a04a696tgk] {
    width: 1rem !important;
    height: 1rem !important;
}

.chat-pending-attachment-remove[b-a04a696tgk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: inherit;
    opacity: 0.72;
    line-height: 1;
}

.chat-pending-attachment-remove:hover:not(:disabled)[b-a04a696tgk] {
    opacity: 1;
}

.chat-pending-attachment-remove:disabled[b-a04a696tgk] {
    opacity: 0.35;
    cursor: default;
}

.chat-attach-btn[b-a04a696tgk] {
    flex: 0 0 auto;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    height: 2.35rem;
    width: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
    padding: 0;
}

.chat-attach-btn:hover:not(:disabled)[b-a04a696tgk] {
    opacity: 0.88;
}

.chat-attach-btn:disabled[b-a04a696tgk] {
    opacity: 0.4;
    cursor: default;
}

.chat-attach-btn[b-a04a696tgk]  .mud-icon-root {
    color: var(--mud-palette-text-secondary, #64748b) !important;
    font-size: 1.25rem;
}

.chat-drag-overlay[b-a04a696tgk] {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 10%, #fff 90%);
    border: 2px dashed color-mix(in srgb, var(--mud-palette-primary, #1976d2) 45%, #fff 55%);
    pointer-events: none;
}

.chat-send-btn[b-a04a696tgk] {
    flex: 0 0 auto;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    height: 2.35rem;
    width: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
    padding: 0;
}

.chat-send-btn:hover:not(:disabled)[b-a04a696tgk] {
    opacity: 0.88;
}

.chat-send-btn:disabled[b-a04a696tgk] {
    opacity: 0.4;
    cursor: default;
}

.chat-send-btn[b-a04a696tgk]  .mud-icon-root {
    color: var(--orange) !important;
    font-size: 1.5rem;
}

.chat-tool-buttons[b-a04a696tgk] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chat-tool-button[b-a04a696tgk] {
    border-radius: 8px;
}

.chat-tool-button--active[b-a04a696tgk] {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 35%, transparent);
}

.thinking-toggle[b-a04a696tgk] {
    min-width: 0;
    padding-left: 0;
    justify-content: flex-start;
    text-transform: none;
}

.thinking-panel[b-a04a696tgk],
.chat-window[b-a04a696tgk]  .thinking-panel {
    --thinking-panel-background: #fff;
    background: #fff;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.thinking-label[b-a04a696tgk] {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.thinking-content[b-a04a696tgk] {
    min-width: 0;
}

.thinking-content-inner[b-a04a696tgk] {
    min-width: 0;
}

.thinking-content-scroll[b-a04a696tgk] {
    min-width: 0;
}

.thinking-content--preview[b-a04a696tgk] {
    --thinking-preview-line-height: 1.65;
    --thinking-preview-font-size: 0.875rem;
    --thinking-preview-visible-lines: 7;
    --thinking-preview-fade-lines: 4;
    position: relative;
    min-height: calc(
        var(--thinking-preview-font-size) * var(--thinking-preview-line-height) * var(--thinking-preview-visible-lines));
    max-height: calc(
        var(--thinking-preview-font-size) * var(--thinking-preview-line-height) * var(--thinking-preview-visible-lines));
    overflow: hidden;
}

.thinking-content--preview .thinking-content-scroll[b-a04a696tgk] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-height: inherit;
    overflow: hidden;
    /* Fade clipped top lines into the white panel — no overlay layer on top of markdown. */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 18%,
        rgba(0, 0, 0, 0.72) 34%,
        #000 50%,
        #000 100%);
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.35) 18%,
        rgba(0, 0, 0, 0.72) 34%,
        #000 50%,
        #000 100%);
}

.thinking-content--preview .thinking-content-inner[b-a04a696tgk] {
    flex: 0 0 auto;
    min-width: 0;
}

/* Markdown rendered inside AI chat bubbles */
.assistant-response[b-a04a696tgk] {
    min-width: 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--mud-palette-text-primary, inherit);
    word-break: break-word;
}

.assistant-response[b-a04a696tgk]  .chat-markdown > :first-child {
    margin-top: 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown > :last-child {
    margin-bottom: 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown h1,
.assistant-response[b-a04a696tgk]  .chat-markdown h2,
.assistant-response[b-a04a696tgk]  .chat-markdown h3,
.assistant-response[b-a04a696tgk]  .chat-markdown h4 {
    margin: 0.9em 0 0.35em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown h1 { font-size: 1.15rem; }
.assistant-response[b-a04a696tgk]  .chat-markdown h2 { font-size: 1.05rem; }
.assistant-response[b-a04a696tgk]  .chat-markdown h3 { font-size: 0.95rem; }
.assistant-response[b-a04a696tgk]  .chat-markdown h4 { font-size: 0.875rem; }

.assistant-response[b-a04a696tgk]  .chat-markdown p {
    margin: 0 0 0.7em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown ul,
.assistant-response[b-a04a696tgk]  .chat-markdown ol {
    margin: 0.35em 0 0.7em 1.35em;
    padding: 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown li {
    margin-bottom: 0.25em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown li > p {
    margin: 0.2em 0 0.35em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown code {
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 78%, var(--mud-palette-text-primary, #111827) 7%);
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default, #e2e8f0) 78%, var(--mud-palette-text-primary, #111827) 8%);
    border-radius: 5px;
    padding: 0.15em 0.4em;
    font-size: 0.82em;
    font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
}

.assistant-response[b-a04a696tgk]  .chat-markdown pre {
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 90%, var(--mud-palette-dark, #111827) 10%);
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 10px;
    padding: 0.85em 1em;
    margin: 0.75em 0;
    overflow-x: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.assistant-response[b-a04a696tgk]  .chat-markdown pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.92em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown blockquote {
    margin: 0.75em 0;
    padding: 0.7em 0.95em;
    border-left: 4px solid var(--mud-palette-primary, #1976d2);
    border-radius: 0 10px 10px 0;
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 90%, var(--mud-palette-primary, #1976d2) 10%);
    color: var(--mud-palette-text-secondary, #666);
}

.assistant-response[b-a04a696tgk]  .chat-markdown blockquote > :last-child {
    margin-bottom: 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown hr {
    border: none;
    border-top: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    margin: 1em 0;
}

.assistant-response[b-a04a696tgk]  .chat-markdown strong {
    font-weight: 700;
}

.assistant-response[b-a04a696tgk]  .chat-markdown a {
    color: var(--mud-palette-primary, #1976d2);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.14em;
}

.assistant-response[b-a04a696tgk]  .chat-markdown img {
    max-width: 100%;
    border-radius: 8px;
}

/* ANALYSIS renderer */

.assistant-response[b-a04a696tgk]  .chat-analysis {
    margin: 0.55em 0 0.75em;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 10px;
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 92%, var(--mud-palette-primary, #1976d2) 8%);
    overflow: hidden;
}

.assistant-response[b-a04a696tgk]  .chat-analysis-streaming {
    border-color: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 72%, var(--mud-palette-lines-default, #e2e8f0));
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 86%, var(--mud-palette-primary, #1976d2) 14%);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 18%, transparent),
        0 0 18px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 18%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-analysis-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    user-select: none;
    color: var(--mud-palette-text-secondary, #666);
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.assistant-response[b-a04a696tgk]  .chat-analysis-streaming .chat-analysis-title {
    background: linear-gradient(90deg, var(--mud-palette-primary, #1976d2), #0ff, var(--mud-palette-primary, #1976d2)) -100% / 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: chat-analysis-shimmer-b-a04a696tgk 2s linear infinite;
}

.assistant-response[b-a04a696tgk]  .chat-analysis-status {
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    color: var(--mud-palette-primary, #1976d2);
}

@keyframes chat-analysis-shimmer-b-a04a696tgk {
    to {
        background-position: 100%;
    }
}

.assistant-response[b-a04a696tgk]  .chat-analysis-content {
    margin: 0;
    padding: 0.7rem;
    border-top: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 94%, var(--mud-palette-text-primary, #111827) 6%);
    color: var(--mud-palette-text-primary, #111827);
    word-break: break-word;
    overflow-x: auto;
}

.assistant-response[b-a04a696tgk]  pre.chat-analysis-content {
    font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
    font-size: 0.78em;
    line-height: 1.45;
    white-space: pre-wrap;
}

.assistant-response[b-a04a696tgk]  div.chat-analysis-content.chat-markdown {
    font-size: 0.875rem;
    line-height: 1.65;
    white-space: normal;
}

/* ─── DIFF_TABLE renderer ─── */

.assistant-response[b-a04a696tgk]  .chat-diff-table-wrap {
    overflow-x: auto;
    margin: 0.6em 0;
}

.assistant-response[b-a04a696tgk]  .chat-diff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 6px;
    overflow: hidden;
}

.assistant-response[b-a04a696tgk]  .chat-diff-table thead th {
    background: var(--mud-palette-surface, #f8fafc);
    padding: 6px 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--mud-palette-lines-default, #e2e8f0);
}

.assistant-response[b-a04a696tgk]  .chat-diff-table .chat-diff-op-col {
    width: 32px;
    text-align: center;
}

.assistant-response[b-a04a696tgk]  .chat-diff-table tbody td {
    padding: 5px 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default, #e2e8f0);
}

.assistant-response[b-a04a696tgk]  .chat-diff-table tbody tr:last-child td {
    border-bottom: none;
}

.assistant-response[b-a04a696tgk]  .chat-diff-table .chat-diff-op-cell {
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
}

.assistant-response[b-a04a696tgk]  .chat-diff-icon.diff-add {
    color: #2e7d32;
}

.assistant-response[b-a04a696tgk]  .chat-diff-icon.diff-delete {
    color: #c62828;
}

.assistant-response[b-a04a696tgk]  .chat-diff-icon.diff-modify {
    color: #e65100;
}

.assistant-response[b-a04a696tgk]  .chat-diff-table tr.diff-add {
    background: color-mix(in srgb, transparent 92%, #2e7d32 8%);
}

.assistant-response[b-a04a696tgk]  .chat-diff-table tr.diff-delete {
    background: color-mix(in srgb, transparent 92%, #c62828 8%);
}

.assistant-response[b-a04a696tgk]  .chat-diff-table tr.diff-modify {
    background: color-mix(in srgb, transparent 92%, #e65100 8%);
}

/* ─── MAPPING_IMPACT renderer ─── */

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-wrap {
    margin: 0.6em 0;
    border: 1px solid #ef6c00;
    border-radius: 6px;
    overflow: hidden;
}

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-warning {
    background: #fff3e0;
    color: #e65100;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.85em;
}

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82em;
}

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-table thead th {
    background: #fff8e1;
    padding: 5px 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #ffe0b2;
}

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-table tbody td {
    padding: 4px 10px;
    border-bottom: 1px solid #ffe0b2;
}

.assistant-response[b-a04a696tgk]  .chat-mapping-impact-table tbody tr:last-child td {
    border-bottom: none;
}

/* ─── CHART renderer ─── */

.assistant-response[b-a04a696tgk]  .chat-chart-wrap {
    margin: 0.6em 0;
    max-width: 100%;
    overflow-x: auto;
}

.assistant-response[b-a04a696tgk]  .chat-chart-building {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.6em 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 88%, var(--mud-palette-primary, #1976d2) 12%);
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    font-size: 0.82em;
    color: var(--mud-palette-text-secondary, #666);
}

.assistant-response[b-a04a696tgk]  .chat-chart-error {
    margin: 0.6em 0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: color-mix(in srgb, transparent 92%, #c62828 8%);
    border: 1px solid #ef9a9a;
    font-size: 0.82em;
    color: #c62828;
}

/* ─── MERMAID renderer ─── */

.assistant-response[b-a04a696tgk]  .chat-mermaid-wrap {
    margin: 0.6em 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    background: var(--mud-palette-surface, #fff);
    padding: 0.75rem;
}

.assistant-response[b-a04a696tgk]  .chat-mermaid-target {
    display: inline-block;
    min-height: 2rem;
    min-width: min(100%, max-content);
}

.assistant-response[b-a04a696tgk]  .chat-mermaid-target svg {
    display: block;
    max-width: none;
    height: auto;
}

.assistant-response[b-a04a696tgk]  .chat-mermaid-error {
    margin: 0.6em 0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    background: color-mix(in srgb, transparent 92%, #c62828 8%);
    border: 1px solid #ef9a9a;
    font-size: 0.82em;
    color: #c62828;
}

/* ─── TOOL_CONFIRM renderer ─── */

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-wrap {
    margin: 0.6em 0;
    border: 1px solid var(--mud-palette-warning, #ef6c00);
    border-radius: 8px;
    overflow: hidden;
    background: var(--mud-palette-background, #fff);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 12px;
    background: color-mix(in srgb, var(--mud-palette-warning, #ef6c00) 14%, var(--mud-palette-surface, #fff8e1) 86%);
    color: var(--mud-palette-warning-darken, #e65100);
    font-weight: 600;
    font-size: 0.85em;
    border-bottom: 1px solid color-mix(in srgb, var(--mud-palette-warning, #ef6c00) 30%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning-icon {
    color: var(--mud-palette-warning, #ef6c00);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-summary {
    padding: 10px 12px 4px;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--mud-palette-text-primary, inherit);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-details {
    margin: 4px 12px 8px;
    font-size: 0.8em;
    color: var(--mud-palette-text-secondary, #666);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-details-summary {
    cursor: pointer;
    user-select: none;
    padding: 2px 0;
    color: var(--mud-palette-text-secondary, #666);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-details[open] .chat-tool-confirm-details-summary {
    margin-bottom: 4px;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-tool {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 2px 0 4px;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-tool-label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-text-secondary, #888);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-tool-name {
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 80%, var(--mud-palette-text-primary, #111827) 6%);
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 4px;
    padding: 0.1em 0.4em;
    font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
    font-size: 0.85em;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-args {
    margin: 4px 0 0;
    padding: 0.5rem 0.75rem;
    background: color-mix(in srgb, var(--mud-palette-surface, #f8fafc) 92%, var(--mud-palette-text-primary, #111827) 4%);
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 6px;
    font-family: 'Cascadia Code', 'Fira Code', Consolas, monospace;
    font-size: 0.8em;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 220px;
    overflow: auto;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 12px;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--approved {
    background: color-mix(in srgb, #2e7d32 14%, var(--mud-palette-surface, #f8fafc) 86%);
    color: #1b5e20;
    border-bottom-color: color-mix(in srgb, #2e7d32 30%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--approved .chat-tool-confirm-warning-icon {
    color: #2e7d32;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--denied {
    background: color-mix(in srgb, #c62828 14%, var(--mud-palette-surface, #f8fafc) 86%);
    color: #8b0000;
    border-bottom-color: color-mix(in srgb, #c62828 30%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--denied .chat-tool-confirm-warning-icon {
    color: #c62828;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--working {
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 12%, var(--mud-palette-surface, #f8fafc) 88%);
    color: var(--mud-palette-primary, #1976d2);
    border-bottom-color: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 30%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--working .chat-tool-confirm-warning-icon {
    color: var(--mud-palette-primary, #1976d2);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--stale {
    background: color-mix(in srgb, var(--mud-palette-text-secondary, #888) 12%, var(--mud-palette-surface, #f8fafc) 88%);
    color: var(--mud-palette-text-secondary, #666);
    border-bottom-color: color-mix(in srgb, var(--mud-palette-text-secondary, #888) 30%, transparent);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-warning--stale .chat-tool-confirm-warning-icon {
    color: var(--mud-palette-text-secondary, #888);
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82em;
    font-weight: 600;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-status--approved {
    color: #2e7d32;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-status--denied {
    color: #c62828;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-status--stale {
    color: var(--mud-palette-text-secondary, #666);
    font-weight: 500;
}

.assistant-response[b-a04a696tgk]  .chat-tool-confirm-building {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.6em 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-warning, #ef6c00) 10%, var(--mud-palette-surface, #f8fafc) 90%);
    border: 1px dashed color-mix(in srgb, var(--mud-palette-warning, #ef6c00) 40%, transparent);
    font-size: 0.82em;
    color: var(--mud-palette-text-secondary, #666);
}

/* Queued messages stack styling */
.queued-messages-stack[b-a04a696tgk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 2px;
}

.queued-message-item[b-a04a696tgk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.queued-message-item--editing[b-a04a696tgk] {
    background: #fff7ed;
    border-color: #fed7aa;
    box-shadow: 0 0 0 1px #fed7aa;
}

.queued-message-text[b-a04a696tgk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-primary, #1e293b);
}

.queued-message-actions[b-a04a696tgk] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

/* /Components/Pages/AIApps/AIApps.razor.rz.scp.css */
.page-header[b-3wco63xbjw] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.page-header[b-3wco63xbjw]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #e4e4e7;
    width: 100vw;
    margin-left: -50vw;
}

.page-header h5[b-3wco63xbjw] {
    color: #1f2937;
    font-weight: 600;
}

.page-subtitle[b-3wco63xbjw] {
    color: #64748b;
}

.filter-toolbar[b-3wco63xbjw] {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.filter-toolbar-row[b-3wco63xbjw] {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-toolbar-fields[b-3wco63xbjw] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex: 1 1 320px;
    flex-wrap: wrap;
    margin-right: auto;
    min-width: 0;
}

.filter-toolbar-search[b-3wco63xbjw] {
    flex: 2 1 220px;
    min-width: 200px;
    max-width: 360px;
}

.filter-toolbar-select[b-3wco63xbjw] {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 220px;
}

.filter-toolbar-pagination[b-3wco63xbjw] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
}

/* Table styling — targets MudTable on this page */
[b-3wco63xbjw] .mud-table thead th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px 12px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-3wco63xbjw] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-3wco63xbjw] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.name-cell[b-3wco63xbjw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.name-text[b-3wco63xbjw] {
    font-weight: 500;
    color: #1e293b;
}

[b-3wco63xbjw] .type-chip {
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
}

[b-3wco63xbjw] .shared-chip {
    background: #dcfce7 !important;
    color: #166534 !important;
}

[b-3wco63xbjw] .private-chip {
    background: #dbeafe !important;
    color: #1e40af !important;
}

[b-3wco63xbjw] .unpublished-chip {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.menu-item-content[b-3wco63xbjw] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.menu-item-icon[b-3wco63xbjw] {
    flex-shrink: 0;
}

.menu-item-text[b-3wco63xbjw] {
    flex: 1;
}

@media (max-width: 768px) {
    [b-3wco63xbjw] .mud-table thead th,
    [b-3wco63xbjw] .mud-table tbody td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/AIChat.razor.rz.scp.css */
.ai-chat-page[b-myvw3bwatz] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

/* --- Left sidebar --- */

.ai-chat-sidebar[b-myvw3bwatz] {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ai-chat-sidebar-header[b-myvw3bwatz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    background: #fafbfc;
}

.ai-chat-sidebar-title-group[b-myvw3bwatz] {
    min-width: 0;
}

.ai-chat-sidebar-header h5[b-myvw3bwatz] {
    margin: 0;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ai-chat-sidebar[b-myvw3bwatz]  .new-chat-btn {
    flex-shrink: 0;
    border-radius: 8px;
    min-width: 0;
    padding-inline: 8px;
    text-transform: none;
}

.ai-chat-sidebar-search[b-myvw3bwatz] {
    flex-shrink: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.ai-chat-sidebar-search[b-myvw3bwatz]  .mud-input-control {
    margin-top: 0;
}

.ai-chat-sidebar-search[b-myvw3bwatz]  .mud-input-root {
    background: #ffffff;
    border-radius: 8px;
    font-size: 0.8rem;
}

.ai-chat-sidebar-search[b-myvw3bwatz]  .mud-input-outlined-border {
    border-color: #e2e8f0 !important;
    border-radius: 8px !important;
}

.ai-chat-sidebar-search[b-myvw3bwatz]  .mud-input-root:hover .mud-input-outlined-border,
.ai-chat-sidebar-search[b-myvw3bwatz]  .mud-input-root.mud-focused .mud-input-outlined-border {
    border-color: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 50%, #e2e8f0) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 12%, transparent);
}

.chat-session-list[b-myvw3bwatz] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding: 0 8px 10px;
    scrollbar-width: thin;
}

.chat-session-list[b-myvw3bwatz]  .chat-session-mud-list {
    padding: 0;
}

.chat-session-list[b-myvw3bwatz]  .session-item {
    width: 100%;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 10px 10px;
    text-align: left;
    user-select: none;
    transition:
        background 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.chat-session-list[b-myvw3bwatz]  .session-item + .session-item {
    border-top-color: #f1f5f9;
}

.chat-session-list[b-myvw3bwatz]  .session-item:hover,
.chat-session-list[b-myvw3bwatz]  .session-item:focus-visible {
    background: #eff6ff;
    outline: none;
}

.chat-session-list[b-myvw3bwatz]  .session-item.active {
    background: #eff6ff;
    border-left-color: var(--mud-palette-primary, #1976d2);
    box-shadow: 0 1px 0 rgba(37, 99, 235, 0.06), 0 10px 24px rgba(37, 99, 235, 0.08);
}

.loading-indicator[b-myvw3bwatz] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.875rem;
    flex: 1;
}

.empty-state[b-myvw3bwatz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
    flex: 1;
}

.empty-state--compact[b-myvw3bwatz] {
    justify-content: flex-start;
    padding-top: 36px;
}

.empty-state .empty-icon[b-myvw3bwatz] {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 12px;
}

.empty-state p[b-myvw3bwatz] {
    margin: 0 0 4px;
    font-weight: 500;
}

.empty-state small[b-myvw3bwatz] {
    opacity: 0.7;
}

.session-row[b-myvw3bwatz] {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
}

.session-info[b-myvw3bwatz] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.session-title[b-myvw3bwatz] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.32;
}

.session-time[b-myvw3bwatz] {
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-myvw3bwatz] .session-msg-count {
    flex-shrink: 0;
    min-width: 24px;
    height: 20px;
    margin-top: 1px;
    font-size: 0.7rem;
    font-weight: 600;
}

.chat-session-list[b-myvw3bwatz]  .session-item.active .session-msg-count {
    background: var(--mud-palette-primary, #1976d2) !important;
    color: #ffffff !important;
}

/* --- Right chat/canvas area --- */

.conversation-workspace[b-myvw3bwatz] {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: transparent;
}

.chat-container[b-myvw3bwatz] {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-left: 14px;
}

.conversation-workspace--canvas-open .chat-container[b-myvw3bwatz] {
    flex: 1 1 auto;
    min-width: 320px;
}

.canvas-splitter[b-myvw3bwatz] {
    flex: 0 0 6px;
    width: 6px;
    cursor: col-resize;
    touch-action: none;
    background: color-mix(in srgb, var(--mud-palette-lines-default, #e2e8f0) 82%, transparent);
    border-left: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-right: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    transition: background 0.15s ease;
}

.canvas-splitter:hover[b-myvw3bwatz],
.canvas-splitter--dragging[b-myvw3bwatz] {
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 30%, transparent);
}

.canvas-container[b-myvw3bwatz] {
    min-width: 320px;
    min-height: 0;
    overflow: hidden;
    border-left: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    background: var(--mud-palette-surface, #fff);
}

/* ChatWindow inside the container should fill available space */
.chat-container[b-myvw3bwatz]  .chat-window {
    flex: 1;
    max-height: none;
    min-height: 0;
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 44px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

.chat-loading-panel[b-myvw3bwatz] {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 44px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

.welcome-screen[b-myvw3bwatz] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 24px;
}

.welcome-content[b-myvw3bwatz] {
    position: relative;
    width: min(100%, 620px);
    overflow: hidden;
    text-align: center;
    padding: 56px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--mud-palette-primary, #1976d2) 12%, transparent) 0, transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 24px 70px rgba(15, 23, 42, 0.08);
}

.welcome-content[b-myvw3bwatz]::before,
.welcome-content[b-myvw3bwatz]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

.welcome-content[b-myvw3bwatz]::before {
    inset: 18px auto auto 18px;
    width: 74px;
    height: 74px;
    background: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 10%, transparent);
    filter: blur(10px);
}

.welcome-content[b-myvw3bwatz]::after {
    right: -36px;
    bottom: -48px;
    width: 180px;
    height: 180px;
    background: color-mix(in srgb, #f97316 14%, transparent);
    filter: blur(20px);
}

.welcome-orb[b-myvw3bwatz] {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.welcome-content h2[b-myvw3bwatz] {
    position: relative;
    z-index: 1;
    margin: 4px 0 12px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.welcome-eyebrow[b-myvw3bwatz] {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: var(--mud-palette-primary, #1976d2);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.welcome-content p[b-myvw3bwatz] {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0 auto 28px;
    color: var(--mud-palette-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.welcome-content[b-myvw3bwatz]  .welcome-cta {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    padding-inline: 20px;
    text-transform: none;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 18%, transparent);
}

[b-myvw3bwatz] .welcome-icon {
    height: 46px;
    width: 46px;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-header {
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-bottom-color: #eef2f7;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-header-title {
    font-size: 0.95rem !important;
    letter-spacing: -0.015em;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-messages {
    padding: 16px;
    gap: 14px;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-input-area {
    margin: 0 12px 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .context-usage-bar-container {
    margin-bottom: 8px;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-followup {
    gap: 0.55rem;
    margin-top: 0;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-followup-wrap {
    align-items: flex-end;
    gap: 0.6rem;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-followup-wrap .mud-input-outlined-border {
    border-color: #e2e8f0 !important;
    border-radius: 14px !important;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-followup-wrap .mud-input-root:hover .mud-input-outlined-border,
.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-followup-wrap .mud-input-root.mud-focused .mud-input-outlined-border {
    border-color: color-mix(in srgb, var(--mud-palette-primary, #1976d2) 55%, #e2e8f0) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--mud-palette-primary, #1976d2) 11%, transparent);
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-attach-btn,
.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-send-btn {
    width: 2.35rem;
    height: 2.35rem;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-attach-btn:hover:not(:disabled),
.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-send-btn:hover:not(:disabled) {
    background: #eef2f7;
    box-shadow: none;
    opacity: 1;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-send-btn .mud-icon-root {
    color: var(--orange) !important;
    font-size: 1.5rem;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-input-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    min-height: 32px;
    flex-wrap: wrap;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-tool-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-tool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    height: 30px;
    padding: 0 11px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-tool-button:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-tool-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-tool-button--active {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--mud-palette-primary, #1976d2);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-reasoning-effort-menu {
    margin-left: 2px;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-reasoning-effort-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-reasoning-effort-trigger::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #94a3b8;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-reasoning-effort-trigger .mud-typography {
    color: #475569 !important;
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1;
}

.chat-container[b-myvw3bwatz]  .ai-chat-window .chat-reasoning-effort-trigger:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.04);
}

/* --- Responsive: stack on narrow viewports --- */

@media (max-width: 768px) {
    .ai-chat-page[b-myvw3bwatz] {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 64px);
    }

    .ai-chat-sidebar[b-myvw3bwatz] {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        max-height: 35vh;
        border-right: none;
        border-bottom: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    }

    .chat-container[b-myvw3bwatz] {
        flex: 1 1 auto;
        width: 100%;
        min-height: 50vh;
        padding: 10px;
    }

    .conversation-workspace[b-myvw3bwatz] {
        flex: 1 1 auto;
        width: 100%;
        flex-direction: column;
        min-height: 50vh;
    }

    .conversation-workspace--canvas-open .chat-container[b-myvw3bwatz] {
        min-width: 0;
        min-height: 45vh;
    }

    .canvas-splitter[b-myvw3bwatz] {
        display: none;
    }

    .canvas-container[b-myvw3bwatz] {
        flex: 0 0 45vh !important;
        width: 100% !important;
        min-width: 0;
        border-left: none;
        border-top: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    }

    .welcome-screen[b-myvw3bwatz] {
        padding: 12px;
    }

    .welcome-content[b-myvw3bwatz] {
        padding: 40px 24px;
        border-radius: 22px;
    }

    .chat-container[b-myvw3bwatz]  .ai-chat-window .chat-input-area {
        margin: 0 8px 8px;
        padding: 10px;
        border-radius: 16px;
    }
}
/* /Components/Pages/AIChatAdmin/AIChatAdmin.razor.rz.scp.css */
.page-header[b-8melt19lnk] {
    padding-bottom: 7px;
    margin-bottom: 1rem;
    position: relative;
}

.page-header[b-8melt19lnk]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 0;
    height: 1px;
    background-color: #e4e4e7;
    width: 100vw;
    margin-left: -50vw;
}

.page-header h5[b-8melt19lnk] {
    color: #1f2937;
    font-weight: 600;
}
.page-subtitle[b-8melt19lnk] {
    color: #64748b;
}

.summary-row-with-pagination[b-8melt19lnk] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Table styling — targets MudTable on this page */
[b-8melt19lnk] .mud-table thead th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    padding: 8px 12px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap !important;
    user-select: none !important;
}

[b-8melt19lnk] .mud-table tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dee2e6 !important;
}

[b-8melt19lnk] .mud-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.name-cell[b-8melt19lnk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.name-text[b-8melt19lnk] {
    font-weight: 500;
    color: #1e293b;
}

.ellipsis-cell[b-8melt19lnk] {
    display: block;
    max-width: 420px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ellipsis-cell--narrow[b-8melt19lnk] {
    max-width: 260px;
}

[b-8melt19lnk] .type-chip {
    font-size: 0.75rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
}

.deleted-chip[b-8melt19lnk] {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.menu-item-content[b-8melt19lnk] { display: flex; align-items: center; gap: 12px; width: 100%; }
.menu-item-icon[b-8melt19lnk] { flex-shrink: 0; }
.menu-item-text[b-8melt19lnk] { flex: 1; }

@media (max-width: 768px) {
    [b-8melt19lnk] .mud-table thead th,
    [b-8melt19lnk] .mud-table tbody td {
        padding: 8px !important;
        font-size: 0.875rem;
    }
}
/* /Components/Pages/AppViewer.razor.rz.scp.css */
.app-viewer-page[b-sazpl7ey5o] {
    height: calc(100vh - 96px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

[b-sazpl7ey5o] .app-viewer-page .ai-chat-canvas {
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
}
/* /Components/Shared/MarkdownContentEditor.razor.rz.scp.css */
.markdown-content-editor[b-6sa9aj2w88] {
    width: 100%;
}

.markdown-content-editor-loading[b-6sa9aj2w88] {
    align-items: center;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    min-height: 250px;
    padding: 1rem;
}

.markdown-content-editor[b-6sa9aj2w88]  .EasyMDEContainer {
    width: 100%;
}

.markdown-content-editor[b-6sa9aj2w88]  .CodeMirror {
    border-radius: var(--mud-default-borderradius);
}

/* EasyMDE default toolbar uses Font Awesome 4 classes. Yggdrasil already ships
   Bootstrap Icons, so map those classes locally instead of loading another icon
   font at dialog open time. */
.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa::before {
    display: inline-block;
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-bold::before {
    content: "\f5f0";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-italic::before {
    content: "\f5f4";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-strikethrough::before {
    content: "\f5f5";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-header::before {
    content: "\f5f1";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-code::before {
    content: "\f2c6";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-quote-left::before {
    content: "\f6b0";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-list-ul::before {
    content: "\f478";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-list-ol::before {
    content: "\f475";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-eraser::before {
    content: "\f331";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-link::before {
    content: "\f470";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-picture-o::before {
    content: "\f42a";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-table::before {
    content: "\f5aa";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-minus::before {
    content: "\f426";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-eye::before {
    content: "\f341";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-columns::before {
    content: "\f460";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-question-circle::before {
    content: "\f505";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-undo::before {
    content: "\f117";
}

.markdown-content-editor[b-6sa9aj2w88]  .editor-toolbar .fa-repeat::before {
    content: "\f116";
}
/* /Components/Tools/AIChatPlanningTodoList.razor.rz.scp.css */
.planning-todo-panel[b-u0ugaoybii] {
    margin: 6px 10px;
    padding: 6px 8px;
    border: 1px solid var(--mud-palette-lines-default, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.planning-todo-panel--collapsed[b-u0ugaoybii] {
    padding: 4px 8px;
}

.planning-todo-header[b-u0ugaoybii] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
    cursor: pointer;
    user-select: none;
}

.planning-todo-header--collapsed[b-u0ugaoybii] {
    margin-bottom: 0;
}

.planning-todo-title[b-u0ugaoybii] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary, #666);
}

.planning-todo-summary[b-u0ugaoybii] {
    margin-left: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: var(--mud-palette-text-primary, #333);
    white-space: nowrap;
}

.planning-todo-count[b-u0ugaoybii] {
    flex-shrink: 0;
    height: 20px !important;
    font-size: 0.68rem !important;
}

.planning-todo-expand-icon[b-u0ugaoybii] {
    flex-shrink: 0;
    opacity: 0.65;
}

.planning-todo-items[b-u0ugaoybii] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 140px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.planning-todo-item[b-u0ugaoybii] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 1px 2px 1px 4px;
    border-radius: 6px;
    background: #fff;
}

.planning-todo-item--in-progress[b-u0ugaoybii] {
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary, #1976d2) 22%, var(--mud-palette-lines-default, #e2e8f0));
}

.planning-todo-item--done[b-u0ugaoybii] {
    opacity: 0.65;
}

.planning-todo-item--done .planning-todo-text[b-u0ugaoybii] {
    text-decoration: line-through;
}

.planning-todo-status-icon[b-u0ugaoybii] {
    flex-shrink: 0;
    font-size: 0.95rem !important;
    opacity: 0.75;
}

.planning-todo-item--in-progress .planning-todo-status-icon[b-u0ugaoybii] {
    color: var(--mud-palette-primary, #1976d2);
    opacity: 1;
}

.planning-todo-item--done .planning-todo-status-icon[b-u0ugaoybii] {
    color: #2e7d32;
    opacity: 1;
}

.planning-todo-text[b-u0ugaoybii] {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.planning-todo-remove[b-u0ugaoybii] {
    flex-shrink: 0;
    opacity: 0.55;
    padding: 2px !important;
}

.planning-todo-remove:hover[b-u0ugaoybii] {
    opacity: 1;
}

.planning-todo-remove[b-u0ugaoybii]  .mud-icon-root {
    font-size: 0.95rem !important;
}
