/* /Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-jr31mtp6x6] {
    color: #666;
    animation: fade-in-b-jr31mtp6x6 1s;
}

@keyframes fade-in-b-jr31mtp6x6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-jr31mtp6x6],
    .lds-ellipsis div[b-jr31mtp6x6] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-jr31mtp6x6] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-jr31mtp6x6] {
        position: absolute;
        top: 33.33333px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: currentColor;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1)[b-jr31mtp6x6] {
            left: 8px;
            animation: lds-ellipsis1-b-jr31mtp6x6 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-jr31mtp6x6] {
            left: 8px;
            animation: lds-ellipsis2-b-jr31mtp6x6 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-jr31mtp6x6] {
            left: 32px;
            animation: lds-ellipsis2-b-jr31mtp6x6 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-jr31mtp6x6] {
            left: 56px;
            animation: lds-ellipsis3-b-jr31mtp6x6 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-jr31mtp6x6 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-jr31mtp6x6 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-jr31mtp6x6 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-q2oez4uolm] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-q2oez4uolm] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Chat/Chat.razor.rz.scp.css */

/* 1) Outer shell fills the available page height and never scrolls */
/*.sticky-header {
    position: sticky !important;*/ /* ensure we beat any MudPaper position */
    /*top: 64px;*/ /*var(--appbar-h);  ⬅️ sit below fixed appbar */
    /*z-index: 110;*/ /* above content & below appbar if needed */
    /*background: var(--mud-palette-surface);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}*/
/* Shell fills page and is the ONLY scroller */
/*.chat-shell {
    display: grid;
    grid-template-rows: auto 1fr auto;*/ /* header | scroll | footer */
    /*height: 100%;
    min-height: 0;
    overflow: auto;*/ /* the only scrollbar */
/*}

.chat-scroll {
    min-height: 0;
    height: auto;
    overflow: visible;
}

.chat-dock-outer {
    position: sticky;
    bottom: 0;
    z-index: 95;
}*/


.chat-messages[b-9arfw6rbtx] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 8rem; /* space for input bar so it doesn't overlap */
}

/* Keep alignment consistent with chat */
.partslist-list-container[b-9arfw6rbtx] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 2rem;
    flex-grow: 1;
}

.partslist-list-container[b-9arfw6rbtx] {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Space for the dock so content isn’t hidden under it.
   We use a conservative clamp since the textarea can grow. */
.message-list-container[b-9arfw6rbtx],
.partslist-list-container[b-9arfw6rbtx] {
    padding-bottom: clamp(96px, 18vh, 240px);
}

.parts-results[b-9arfw6rbtx] {
    margin: 0 0 1rem 0;
}

.table-wrap[b-9arfw6rbtx] {
    max-height: 400px; /* visible area before scrolling */
    overflow-y: auto; /* vertical scroll */
    overflow-x: hidden; /* no horizontal scroll */
    border: 1px solid #e2e2e2;
    border-radius: .5rem;
/*    background-color: #fff;
*/}

/* Ensure sticky headers stay visible while body scrolls */
.parts-table thead th[b-9arfw6rbtx] {
    position: sticky;
    top: 0;
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-primary-text);
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    z-index: 2;
    text-align: left;
    padding: 0.6rem 0.75rem;
}

/* Add more breathing room inside cells */
.parts-table td[b-9arfw6rbtx] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #eee;
}

/* Table sizing and alignment */
.parts-table[b-9arfw6rbtx] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    table-layout: fixed; /* prevents column jumpiness */
}

.truncate[b-9arfw6rbtx] {
    white-space: normal; /* allows wrapping */
    overflow: visible; /* show full text */
    text-overflow: unset; /* disable ellipsis */
    word-break: break-word; /* break long words if needed */
    max-width: 440px; /* optional: keeps column from growing too wide */
}

/* Align numeric cells */
.number[b-9arfw6rbtx] {
    text-align: right;
}

.table-wrap[b-9arfw6rbtx] {
    max-height: 400px; /* or whatever you like */
    overflow-y: auto;
/*    background: #fff;
*/    border: 1px solid #e2e2e2;
    border-radius: .5rem;
}

.parts-table[b-9arfw6rbtx] {
    min-width: 900px; /* keep columns readable; adjust as you like */
}

/* Stacked “card” layout for very small screens */
@supports (height: 100dvh) {
    .message-list-container[b-9arfw6rbtx],
    .partslist-list-container[b-9arfw6rbtx] {
        padding-bottom: clamp(96px, 22dvh, 280px);
    }
}

@media (max-width: 640px) {
    .parts-table[b-9arfw6rbtx] {
        min-width: 0; /* allow stacking without forcing scroll */
        border-collapse: separate;
        border-spacing: 0;
        font-size: 0.95rem;
    }

        .parts-table thead[b-9arfw6rbtx] {
            display: none; /* hide header; labels come from data-label */
        }

        .parts-table tr[b-9arfw6rbtx] {
            display: block;
            border-bottom: 1px solid #eee;
            margin-bottom: 0.75rem;
            background: #fff;
            border-radius: 0.5rem;
            padding: 0.5rem 0.75rem;
        }

        .parts-table td[b-9arfw6rbtx] {
            display: grid;
            grid-template-columns: 11ch 1fr; /* label → value */
            gap: 0.5rem;
            padding: 0.35rem 0; /* vertical rhythm inside the card */
            border: 0; /* remove row borders in stacked mode */
            white-space: normal; /* let long text wrap */
        }

            .parts-table td[b-9arfw6rbtx]::before {
                content: attr(data-label);
                font-weight: 600;
                opacity: 0.85;
            }

        .parts-table .truncate[b-9arfw6rbtx] {
            max-width: none; /* allow wrapping in stacked mode */
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
        }

        .parts-table .number[b-9arfw6rbtx] {
            text-align: left; /* align numbers with labels in stacked mode */
        }
}
/* /Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-ma3kk9pmyl] {
    display: inline-flex;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1rem;
    margin-right: 1rem;
    border-bottom: 2px solid #a770de;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: #ffffff;
}

    .citation[href]:hover[b-ma3kk9pmyl] {
        outline: 1px solid #865cb1;
    }

    .citation svg[b-ma3kk9pmyl] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-ma3kk9pmyl] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-ma3kk9pmyl] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-ma3kk9pmyl] {
    font-weight: 600;
}
/* /Components/Pages/Chat/ChatHeader.razor.rz.scp.css */

/* /Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-j4ospqaazs] {
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.75rem;
    width: 100%; /* 🔹 span full width */
    box-sizing: border-box; /* 🔹 include padding in width calc */
}

    .input-box:focus-within[b-j4ospqaazs] {
        outline: 2px solid #4152d5;
    }

textarea[b-j4ospqaazs] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
}

    textarea:placeholder-shown + .tools[b-j4ospqaazs] {
        --send-button-color: #aaa;
    }

.tools[b-j4ospqaazs] {
    display: flex; 
    margin-top: 1rem; 
    align-items: center;
}

.tool-icon[b-j4ospqaazs] {
    width: 1.25rem;
    height: 1.25rem;
}


/* /Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-ijya1uggm6] {
    background: rgb(182 215 232);
    align-self: flex-end;
    min-width: 25%;
    max-width: calc(100% - 5rem);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem; 
    color: #1F2937; 
    white-space: pre-wrap; 
}

.assistant-message[b-ijya1uggm6], .assistant-search[b-ijya1uggm6] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem; 
}

.assistant-message-header[b-ijya1uggm6] {
    font-weight: 600;
}

.assistant-message-text[b-ijya1uggm6] {
    grid-column-start: 2;
}

.assistant-message-icon[b-ijya1uggm6] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 9999px; 
    width: 1.5rem; 
    height: 1.5rem; 
    color: #ffffff; 
    background: #9b72ce;
}

    .assistant-message-icon svg[b-ijya1uggm6] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-ijya1uggm6] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-ijya1uggm6] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-ijya1uggm6] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-ijya1uggm6] {
    align-content: center;
}

.assistant-search-phrase[b-ijya1uggm6] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-ijya1uggm6] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-ijya1uggm6] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-ijya1uggm6] li {
    margin: 0.5rem 0;
}

[b-ijya1uggm6] strong {
    font-weight: 600;
}

[b-ijya1uggm6] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-ijya1uggm6] p + p {
    margin-top: 1rem;
}

[b-ijya1uggm6] table {
    margin: 1rem 0;
}

[b-ijya1uggm6] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-ijya1uggm6] th, [b-ijya1uggm6] td {
    padding: 0.1rem 0.5rem;
}

[b-ijya1uggm6] th, [b-ijya1uggm6] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-ijya1uggm6] pre > code {
    background-color: white;
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}
/* /Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-g70i23ihho] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
}

.message-list[b-g70i23ihho] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-g70i23ihho] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-g70i23ihho] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* /Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-b4pjnct9v4] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
/* /Components/Pages/home/Index.razor.rz.scp.css */
.landing-hero[b-gv5ot85czx] {
    background: linear-gradient(135deg, rgba(63,81,181,0.08) 0%, rgba(0,150,136,0.08) 100%);
}

.fw-700[b-gv5ot85czx] { font-weight: 700; }
