/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-h4p8fcwdwr] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--kendo-body-bg); /* Using Kendo variable for theme consistency */
    overflow: hidden;
}

.main-container[b-h4p8fcwdwr] {
    display: flex;
    flex: 1;
    min-height: 0; /* Allow flex child to shrink so content-container can scroll */
    min-width: 0;
    transition: all 0.3s ease;
    max-width: 100%;
}

.icon-only-container[b-h4p8fcwdwr] {
    /* Ensure the container properly accommodates the collapsed sidebar */
    padding-left: 0;
    width: 100%;
    max-width: 100%;
}

    .icon-only-container .sidebar[b-h4p8fcwdwr] {
        flex: 0 0 60px;
    }

    .icon-only-container .main-content[b-h4p8fcwdwr] {
        /* Give more space to the main content when sidebar is collapsed */
        padding-left: 0;
        padding-right: 0;
        flex: 1;
        width: calc(100% - 60px);
        max-width: none;
    }

.sidebar[b-h4p8fcwdwr] {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
    position: sticky;
    top: 3.5rem;
    /* background is themed via serviceai-{light,dark}.css */
    transition: all 0.3s ease;
}

.icon-only-sidebar[b-h4p8fcwdwr] {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}

.main-content[b-h4p8fcwdwr] {
    flex: 1;
    min-width: 0; /* Allow flex child to shrink so grids can scroll horizontally */
    padding: 10px 10px 0 10px;
    overflow: auto;
    /* background is themed via serviceai-{light,dark}.css (inherits body bg) */
    transition: all 0.3s ease;
}

.content-container[b-h4p8fcwdwr] {
    /* background inherits body bg via serviceai-{light,dark}.css */
    /* Expose padding as CSS variables so page content wrappers can align flush when needed */
    --content-padding-top: 18px;
    --content-padding-right: 24px;
    --content-padding-bottom: 24px;
    --content-padding-left: 24px;

    padding: var(--content-padding-top) var(--content-padding-right) var(--content-padding-bottom) var(--content-padding-left);
    height: 100%;
    overflow: auto;
    min-height: 400px;
    transition: padding 0.3s ease;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Custom scrollbar styling for content-container */
.content-container[b-h4p8fcwdwr]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.content-container[b-h4p8fcwdwr]::-webkit-scrollbar-track {
    background: var(--kendo-body-bg);
}

.content-container[b-h4p8fcwdwr]::-webkit-scrollbar-thumb {
    background: var(--kendo-component-border);
    border-radius: 4px;
    opacity: 0.5;
}

.content-container[b-h4p8fcwdwr]::-webkit-scrollbar-thumb:hover {
    background: var(--kendo-color-border);
    opacity: 0.8;
}

/* Firefox scrollbar styling */
.content-container[b-h4p8fcwdwr] {
    scrollbar-width: thin;
    scrollbar-color: var(--kendo-component-border) var(--kendo-body-bg);
}

.icon-only-container .content-container[b-h4p8fcwdwr] {
    /* Adjust content container padding for optimal space usage */
    padding: 15px 15px 15px 20px;
    margin: 0;
    max-width: none;
    width: 100%;
}


.top-row[b-h4p8fcwdwr] {
    display: flex;
    display: none;
    background-color: var(--kendo-color-base-subtle);
    color: var(--kendo-body-text);
    height: 48px;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.mobile-menu-toggle[b-h4p8fcwdwr] {
    display: none;
    cursor: pointer;
    margin-right: 10px;
    opacity: .5;
}

.top-row-left[b-h4p8fcwdwr], .icon-nav[b-h4p8fcwdwr] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--kendo-body-text);
    text-decoration: none;
}

.site-title[b-h4p8fcwdwr] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-icon[b-h4p8fcwdwr] {
    height: 24px;
    width: 24px;
    margin-right: 8px;
}

.top-row-right[b-h4p8fcwdwr] {
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 0;
}

    .top-row-right[b-h4p8fcwdwr]  a, .top-row-right[b-h4p8fcwdwr]  .btn-link {
        margin: 0;
        padding: 0 5px;
    }

    .top-row-right[b-h4p8fcwdwr]  .icon-nav {
        margin-right: 10px;
    }

.profile-image[b-h4p8fcwdwr] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
}

.top-row[b-h4p8fcwdwr]  a, .top-row[b-h4p8fcwdwr]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
    color: var(--kendo-body-text);
}

    .top-row[b-h4p8fcwdwr]  a:hover, .top-row[b-h4p8fcwdwr]  .btn-link:hover {
        color: var(--kendo-body-text);
    }

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

.mobile-backdrop[b-h4p8fcwdwr] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive media queries */
@media (max-width: 1024px) {
    .company-search[b-h4p8fcwdwr] {
        max-width: 250px;
    }

    .top-row-right[b-h4p8fcwdwr]  .icon-nav {
        margin-right: 5px;
    }
}

@media (max-width: 840px) {
    .company-search[b-h4p8fcwdwr] {
        transition: all 0.3s ease;
    }

        .company-search.search-hidden[b-h4p8fcwdwr] {
            max-width: 0;
            width: 0;
            margin: 0;
            opacity: 0;
            visibility: hidden;
            overflow: hidden;
        }

    .site-title[b-h4p8fcwdwr] {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .site-title[b-h4p8fcwdwr] {
        display: none;
    }

    .main-content[b-h4p8fcwdwr] {
        padding: 5px;
    }

    .content-container[b-h4p8fcwdwr] {
        border-top-left-radius: 0px;
    }

    .mobile-menu-toggle[b-h4p8fcwdwr] {
        display: flex;
        align-items: center;
    }

    .sidebar[b-h4p8fcwdwr] {
        position: fixed;
        left: -250px;
        top: 48px;
        transition: left 0.3s ease;
        z-index: 1000;
        width: 230px;
    }

        .sidebar.icon-only-sidebar[b-h4p8fcwdwr] {
            width: 60px;
            left: -60px;
        }

        .sidebar.mobile-open[b-h4p8fcwdwr] {
            left: 0;
            padding-right: 15px;
        }

    .top-row-right[b-h4p8fcwdwr]  a:not(:last-child) {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-row:not(.auth)[b-h4p8fcwdwr] {
        padding: 0 0.5rem;
    }

    .top-row.auth[b-h4p8fcwdwr] {
        justify-content: space-between;
    }

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

    .header-icon[b-h4p8fcwdwr] {
        height: 24px;
        width: 24px;
    }

    .site-title[b-h4p8fcwdwr] {
        display: none; /* Hide the title on small screens */
    }
}

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

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

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

    article[b-h4p8fcwdwr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-h4p8fcwdwr] {
    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-h4p8fcwdwr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.company-search[b-h4p8fcwdwr] {
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.org-item[b-h4p8fcwdwr] {
    padding: 8px;
    cursor: pointer;
}

    .org-item:hover[b-h4p8fcwdwr] {
        background-color: var(--kendo-hover-bg);
    }

.org-footer[b-h4p8fcwdwr] {
    padding: 8px;
    text-align: center;
    font-size: 0.85em;
    color: var(--kendo-hint-text);
    border-top: 1px solid var(--kendo-border-color);
}

.about-window[b-h4p8fcwdwr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--kendo-component-bg);
}

.about-logo-container[b-h4p8fcwdwr] {
    margin-bottom: 15px;
}

.about-logo[b-h4p8fcwdwr] {
    width: 80px;
    height: 80px;
}

.about-version[b-h4p8fcwdwr] {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.about-check-updates[b-h4p8fcwdwr] {
    font-size: 12px;
    margin-bottom: 15px;
}

    .about-check-updates a[b-h4p8fcwdwr] {
        color: var(--kendo-link-text);
        text-decoration: none;
    }

        .about-check-updates a:hover[b-h4p8fcwdwr] {
            text-decoration: underline;
        }

.about-content[b-h4p8fcwdwr] {
    text-align: center;
    width: 100%;
}

.about-links[b-h4p8fcwdwr] {
    margin-bottom: 10px;
}

    .about-links a[b-h4p8fcwdwr] {
        color: var(--kendo-link-text);
        text-decoration: none;
    }

        .about-links a:hover[b-h4p8fcwdwr] {
            text-decoration: underline;
        }

.about-copyright[b-h4p8fcwdwr] {
    font-size: 12px;
    color: var(--kendo-hint-text);
    margin-top: 10px;
}

/* Add pointer cursor to the question mark icon link */
[b-h4p8fcwdwr] .about-link {
    cursor: pointer;
}

.todo-icon-container[b-h4p8fcwdwr] {
    position: relative;
    display: inline-block;
}

.todo-badge[b-h4p8fcwdwr] {
    display: inline-block;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: rgb(255, 62, 67);
    position: absolute;
    right: -10px;
    top: -10px;
    color: white;
    font-size: 11px;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
    opacity: 1;
    letter-spacing: 0;
}

/* Surface backgrounds are themed via serviceai-{light,dark}.css */
/* /Layout/NavMenu.razor.rz.scp.css */
/* Sidebar styles live in wwwroot/css/app.css */
/* /Layout/PersonalSettingsNavMenu.razor.rz.scp.css */
/* Sidebar styles live in wwwroot/css/app.css */
/* /Layout/SettingsNavMenu.razor.rz.scp.css */
/* Sidebar styles live in wwwroot/css/app.css */
/* /Pages/Login.razor.rz.scp.css */
/* =================================================================
   ServiceAI Login — v2 design language
   Light is default; dark applies under :root.theme-dark (set by index.html
   based on localStorage.prefersDarkTheme).
================================================================= */

.login-container[b-kyujepqyv3] {
    /* light defaults */
    --bg: #faf8f5;
    --bg-elev: #ffffff;
    --bg-input: #ffffff;
    --bg-hover: #efeae0;
    --bg-active: #ece4f8;

    --border: #e8e2d6;
    --border-strong: #d4cbb8;
    --border-input: #d4cbb8;

    --fg: #2b2620;
    --fg-muted: #6b6459;
    --fg-dim: #9a9388;
    --fg-label: #8a8376;

    --accent: #8b6bf1;
    --accent-hover: #9d82f5;
    --accent-soft: rgba(139, 107, 241, 0.12);
    --accent-ring: rgba(139, 107, 241, 0.35);

    --danger: #e46962;
    --success: #6ec58a;

    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* right panel canvas (always dark, branded) */
    --rp-bg-1: #0a1224;
    --rp-bg-2: #0d0f1f;

    display: grid;
    grid-template-columns: minmax(440px, 1fr) 1.2fr;
    min-height: 100vh;
    width: 100%;
    background: var(--bg);
    color: var(--fg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root.theme-dark .login-container[b-kyujepqyv3] {
    --bg: #0f1419;
    --bg-elev: #161c24;
    --bg-input: #161c24;
    --bg-hover: #1a2230;
    --bg-active: #231a3d;

    --border: #1e2732;
    --border-strong: #2a3646;
    --border-input: #2a3646;

    --fg: #e6e9ef;
    --fg-muted: #8a95a5;
    --fg-dim: #5a6573;
    --fg-label: #6b7685;

    color-scheme: dark;
}

/* Belt-and-suspenders: force dark surface on the field-input + its child input
   in dark mode regardless of any global Bootstrap/Telerik or browser UA rules. */
:root.theme-dark .login-container .field-input[b-kyujepqyv3] {
    background: #161c24 !important;
    border-color: #2a3646 !important;
}

:root.theme-dark .login-container .field-input[b-kyujepqyv3]  input,
:root.theme-dark .login-container .field-input[b-kyujepqyv3]  input[type="text"],
:root.theme-dark .login-container .field-input[b-kyujepqyv3]  input[type="email"],
:root.theme-dark .login-container .field-input[b-kyujepqyv3]  input[type="password"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #e6e9ef !important;
    color-scheme: dark;
    caret-color: #e6e9ef;
}

:root.theme-dark .login-container .code-cell[b-kyujepqyv3],
:root.theme-dark .login-container .code-digit-input[b-kyujepqyv3] {
    background: #161c24 !important;
    border-color: #1e2732 !important;
    color: #e6e9ef !important;
    color-scheme: dark;
}

/* =================================================================
   Auth side (left)
================================================================= */
.login-left[b-kyujepqyv3] {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 28px 32px;
    background: var(--bg);
    color: var(--fg);
    position: relative;
    overflow: hidden;
}

.login-left[b-kyujepqyv3]::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 30% 0%, rgba(139, 107, 241, 0.05), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(217, 119, 87, 0.04), transparent 55%);
}

:root.theme-dark .login-left[b-kyujepqyv3]::before {
    background-image:
        radial-gradient(circle at 30% 0%, rgba(139, 107, 241, 0.06), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(91, 142, 245, 0.04), transparent 50%);
}

.auth-head[b-kyujepqyv3] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-lockup[b-kyujepqyv3] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.brand-icon[b-kyujepqyv3] {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* The serviceai icon is a dark mark; in light mode keep as-is.
   In dark mode invert luminance so it stays legible against dark surface. */
:root.theme-dark .brand-icon[b-kyujepqyv3] {
    filter: invert(1) hue-rotate(180deg);
}

.brand-text[b-kyujepqyv3] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name[b-kyujepqyv3] {
    font-size: 22px;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: -0.018em;
}

.auth-main[b-kyujepqyv3] {
    position: relative;
    z-index: 1;
    display: block;
    padding: 24px 0;
}

.step-frame[b-kyujepqyv3] {
    width: 350px;
    max-width: 100%;
    margin: 22vh auto 0;
    animation: stepIn-b-kyujepqyv3 360ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes stepIn-b-kyujepqyv3 {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* .step layout lives in wwwroot/css/app.css because it is applied to
   the <form> element rendered by EditForm, which does not receive
   Blazor's scoped-CSS attribute. */

.step-title[b-kyujepqyv3] {
    margin: 0 0 6px;
    padding: 0;
    font-size: 26px;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.step-sub[b-kyujepqyv3] {
    margin: -16px 0 4px;
    padding: 0;
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.5;
}

.step-foot[b-kyujepqyv3] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--fg-muted);
    text-align: center;
}

/* email chip */
.email-chip[b-kyujepqyv3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 6px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--fg);
}

.email-chip svg[b-kyujepqyv3] {
    width: 14px;
    height: 14px;
    color: var(--fg-muted);
}

/* link back */
.link-back[b-kyujepqyv3] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    color: var(--fg-muted);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    margin: -4px 0 -10px;
    white-space: nowrap;
    text-decoration: none;
}

.link-back:hover[b-kyujepqyv3] {
    color: var(--fg);
    text-decoration: none;
}

.link-back svg[b-kyujepqyv3] {
    width: 14px;
    height: 14px;
}

.link-quiet[b-kyujepqyv3] {
    background: transparent;
    border: 0;
    color: var(--fg-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.link-quiet:hover[b-kyujepqyv3] {
    color: var(--accent);
}

/* =================================================================
   Field
================================================================= */
.field[b-kyujepqyv3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-label-row[b-kyujepqyv3] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.field-label[b-kyujepqyv3] {
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-muted);
    letter-spacing: 0.01em;
}

.field-link[b-kyujepqyv3] {
    font-size: 11.5px;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.field-link:hover[b-kyujepqyv3] {
    text-decoration: underline;
}

.field-input[b-kyujepqyv3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    height: 44px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.field-input:hover[b-kyujepqyv3] {
    border-color: var(--border-strong);
}

.field-input:focus-within[b-kyujepqyv3] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
    background: var(--bg-input);
}

.field-input.has-error[b-kyujepqyv3] {
    border-color: var(--danger);
}

.field-icon[b-kyujepqyv3] {
    display: inline-grid;
    place-items: center;
    color: var(--fg-muted);
}

.field-icon svg[b-kyujepqyv3] {
    width: 16px;
    height: 16px;
}

.field-input input[b-kyujepqyv3],
.field-input[b-kyujepqyv3]  input,
.field-input[b-kyujepqyv3]  input[type="text"],
.field-input[b-kyujepqyv3]  input[type="email"],
.field-input[b-kyujepqyv3]  input[type="password"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 42px;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    color: var(--fg) !important;
    font: inherit;
    font-size: 14px;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
}

.field-input input[b-kyujepqyv3]::placeholder,
.field-input[b-kyujepqyv3]  input::placeholder {
    color: var(--fg-dim);
    opacity: 1;
}

.field-input[b-kyujepqyv3]  input:hover,
.field-input[b-kyujepqyv3]  input:focus,
.field-input[b-kyujepqyv3]  input:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
    color: var(--fg) !important;
}

.field-input[b-kyujepqyv3]  input:-webkit-autofill,
.field-input[b-kyujepqyv3]  input:-webkit-autofill:hover,
.field-input[b-kyujepqyv3]  input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--fg) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
    caret-color: var(--fg) !important;
}

.field-toggle[b-kyujepqyv3] {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--fg-muted);
    display: inline-grid;
    place-items: center;
    padding: 4px;
    border-radius: 4px;
}

.field-toggle:hover[b-kyujepqyv3] {
    color: var(--fg);
    background: var(--bg-hover);
}

.field-toggle svg[b-kyujepqyv3] {
    width: 16px;
    height: 16px;
}

.field-msg[b-kyujepqyv3] {
    font-size: 11.5px;
    color: var(--danger);
    margin-top: 2px;
}

.field-msg-success[b-kyujepqyv3] {
    color: var(--success);
}

.field-msg-muted[b-kyujepqyv3] {
    color: var(--fg-muted);
    display: inline-flex;
    align-items: center;
}

/* validation messages from EditForm */
.login-form-container[b-kyujepqyv3]  .validation-message {
    font-size: 11.5px;
    color: var(--danger);
    margin-top: 2px;
    display: block;
}

/* =================================================================
   Buttons
================================================================= */
.btn-primary[b-kyujepqyv3] {
    height: 44px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: white;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background .15s, transform .08s, box-shadow .15s;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 16px -8px rgba(139, 107, 241, 0.6);
}

.btn-primary:hover:not(:disabled)[b-kyujepqyv3] {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 10px 22px -8px rgba(139, 107, 241, 0.7);
}

.btn-primary:active:not(:disabled)[b-kyujepqyv3] {
    transform: translateY(1px);
}

.btn-primary:disabled[b-kyujepqyv3] {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-icon[b-kyujepqyv3] {
    display: inline-flex;
    transition: transform .2s;
}

.btn-primary:hover:not(:disabled) .btn-icon[b-kyujepqyv3] {
    transform: translateX(2px);
}

.btn-icon svg[b-kyujepqyv3] {
    width: 16px;
    height: 16px;
}

/* divider */
.divider[b-kyujepqyv3] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--fg-dim);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 4px 0;
}

.divider[b-kyujepqyv3]::before,
.divider[b-kyujepqyv3]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* SSO grid */
.sso-grid[b-kyujepqyv3] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 4px;
}

.btn-sso[b-kyujepqyv3] {
    height: 44px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--fg);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .08s;
}

.btn-sso:hover:not(:disabled)[b-kyujepqyv3] {
    border-color: var(--border-strong);
    background: var(--bg-hover);
}

.btn-sso:active:not(:disabled)[b-kyujepqyv3] {
    transform: translateY(1px);
}

.btn-sso:disabled[b-kyujepqyv3] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sso-icon[b-kyujepqyv3] {
    display: inline-grid;
    place-items: center;
}

.sso-icon svg[b-kyujepqyv3] {
    width: 16px;
    height: 16px;
}

.btn-link-login[b-kyujepqyv3] {
    width: 100%;
    color: var(--fg);
}

.btn-link-login .sso-icon[b-kyujepqyv3] {
    color: var(--fg-muted);
}

/* =================================================================
   6-digit code input
================================================================= */
.code-row[b-kyujepqyv3] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 8px 0 4px;
}

.code-cell[b-kyujepqyv3],
.code-digit-input[b-kyujepqyv3] {
    height: 56px;
    width: 100%;
    text-align: center;
    font-family: Inter, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.code-cell:focus[b-kyujepqyv3],
.code-digit-input:focus[b-kyujepqyv3] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
    background: var(--bg-input);
}

.code-row.has-error .code-cell[b-kyujepqyv3],
.code-row.has-error .code-digit-input[b-kyujepqyv3] {
    border-color: var(--danger);
}

.code-resend[b-kyujepqyv3] {
    margin-top: 14px;
    align-self: center;
    background: none;
    border: 0;
    color: var(--fg-muted);
    font: inherit;
    cursor: pointer;
    padding: 4px 8px;
}

.code-resend:hover[b-kyujepqyv3] {
    color: var(--fg);
}

/* =================================================================
   Combo (searchable workspace dropdown)
================================================================= */
.combo[b-kyujepqyv3] {
    position: relative;
}

.combo-trigger[b-kyujepqyv3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    min-height: 56px;
    background: var(--bg-input);
    border: 1px solid var(--border-input);
    border-radius: var(--radius);
    cursor: text;
    transition: border-color .15s, box-shadow .15s;
}

.combo-trigger:hover[b-kyujepqyv3] {
    border-color: var(--border-strong);
}

.combo.is-open .combo-trigger[b-kyujepqyv3],
.combo-trigger:focus-within[b-kyujepqyv3] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

.combo-selected[b-kyujepqyv3] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-selected-name[b-kyujepqyv3] {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.combo-input[b-kyujepqyv3] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--fg);
    font: inherit;
    font-size: 14px;
    padding: 0;
}

.combo-input[b-kyujepqyv3]::placeholder {
    color: var(--fg-dim);
}

.combo-caret[b-kyujepqyv3] {
    flex: 0 0 auto;
    color: var(--fg-muted);
    transition: transform .2s;
    display: inline-flex;
}

.combo-caret svg[b-kyujepqyv3] {
    width: 16px;
    height: 16px;
}

.combo.is-open .combo-caret[b-kyujepqyv3] {
    transform: rotate(180deg);
}

.combo-pop[b-kyujepqyv3] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.02);
    z-index: 50;
    overflow: hidden;
    animation: comboIn-b-kyujepqyv3 180ms cubic-bezier(.2, .8, .2, 1);
}

:root.theme-dark .combo-pop[b-kyujepqyv3] {
    box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

@keyframes comboIn-b-kyujepqyv3 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.combo-pop-head[b-kyujepqyv3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.combo-pop-hint[b-kyujepqyv3] {
    color: var(--fg-dim);
    text-transform: none;
    letter-spacing: 0;
}

.combo-pop-body[b-kyujepqyv3] {
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
}

.combo-empty[b-kyujepqyv3] {
    padding: 24px 16px;
    text-align: center;
    color: var(--fg-muted);
    font-size: 13px;
}

.combo-row[b-kyujepqyv3] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    color: var(--fg);
}

.combo-row.is-active[b-kyujepqyv3] {
    background: var(--bg-hover);
}

.combo-row.is-selected[b-kyujepqyv3] {
    background: var(--accent-soft);
}

.combo-row-name[b-kyujepqyv3] {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--fg);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.combo-row-name mark[b-kyujepqyv3] {
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 2px;
    padding: 0 2px;
    font-weight: 600;
}

.combo-row-check[b-kyujepqyv3] {
    width: 18px;
    height: 18px;
    color: var(--accent);
    display: inline-grid;
    place-items: center;
}

.combo-row-check svg[b-kyujepqyv3] {
    width: 14px;
    height: 14px;
}

/* =================================================================
   Alerts (error / info / success)
================================================================= */
.login-form-container[b-kyujepqyv3] {
    width: 100%;
}

.spinner[b-kyujepqyv3] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: spin-b-kyujepqyv3 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin-b-kyujepqyv3 {
    to { transform: rotate(360deg); }
}

/* =================================================================
   Footer + legal copy
================================================================= */
.auth-foot[b-kyujepqyv3] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 11.5px;
    color: var(--fg-dim);
    flex-wrap: wrap;
    gap: 10px;
}

.auth-foot a[b-kyujepqyv3] {
    color: var(--fg-muted);
    text-decoration: none;
}

.auth-foot a:hover[b-kyujepqyv3] {
    color: var(--fg);
}

.legal-copy[b-kyujepqyv3] {
    margin-top: 18px;
    text-align: center;
    font-size: 11.5px;
    color: var(--fg-dim);
    line-height: 1.5;
}

.legal-copy a[b-kyujepqyv3] {
    color: var(--fg-muted);
    text-decoration: none;
}

.legal-copy a:hover[b-kyujepqyv3] {
    color: var(--accent);
}

.version-line[b-kyujepqyv3] {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
    color: var(--fg-dim);
}

.version-line a[b-kyujepqyv3] {
    color: var(--fg-muted);
    text-decoration: none;
}

.version-line a:hover[b-kyujepqyv3] {
    color: var(--accent);
}

/* =================================================================
   Right panel — branded canvas with CloudRadial logo
================================================================= */
.login-right[b-kyujepqyv3] {
    position: relative;
    overflow: hidden;
    color: #1c1715;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background:
        radial-gradient(ellipse 600px 400px at 80% 0%, rgba(139, 107, 241, 0.16), transparent 60%),
        radial-gradient(ellipse 700px 500px at 0% 100%, rgba(217, 119, 87, 0.10), transparent 60%),
        linear-gradient(160deg, #f6f1ea, #efe9e0);
}

:root.theme-dark .login-right[b-kyujepqyv3] {
    color: #e6e9ef;
    background:
        radial-gradient(ellipse 600px 400px at 80% 0%, rgba(139, 107, 241, 0.18), transparent 60%),
        radial-gradient(ellipse 700px 500px at 0% 100%, rgba(91, 142, 245, 0.12), transparent 60%),
        linear-gradient(160deg, var(--rp-bg-1), var(--rp-bg-2));
}

.orb-wrap[b-kyujepqyv3] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb[b-kyujepqyv3] {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.6;
}

.orb-a[b-kyujepqyv3] {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #8b6bf1, transparent 70%);
    top: -80px;
    right: -60px;
    animation: orbFloat-b-kyujepqyv3 18s ease-in-out infinite;
}

.orb-b[b-kyujepqyv3] {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #5b8ef5, transparent 70%);
    bottom: -100px;
    left: 10%;
    animation: orbFloat-b-kyujepqyv3 22s ease-in-out infinite reverse;
}

.orb-c[b-kyujepqyv3] {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #ff7a3d, transparent 70%);
    top: 40%;
    left: -60px;
    opacity: 0.25;
    animation: orbFloat-b-kyujepqyv3 26s ease-in-out infinite;
}

@keyframes orbFloat-b-kyujepqyv3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}

.orb-grid[b-kyujepqyv3] {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(28, 23, 21, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 23, 21, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
    opacity: 0.6;
}

:root.theme-dark .orb-grid[b-kyujepqyv3] {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    opacity: 0.7;
}

/* Soften orbs in light mode */
.login-right .orb-a[b-kyujepqyv3] { opacity: 0.45; }
.login-right .orb-b[b-kyujepqyv3] { opacity: 0.35; }
.login-right .orb-c[b-kyujepqyv3] { opacity: 0.30; }

:root.theme-dark .login-right .orb-a[b-kyujepqyv3] { opacity: 0.6; }
:root.theme-dark .login-right .orb-b[b-kyujepqyv3] { opacity: 0.6; }
:root.theme-dark .login-right .orb-c[b-kyujepqyv3] { opacity: 0.25; }

.login-brand-logo[b-kyujepqyv3] {
    position: relative;
    z-index: 1;
    width: 70%;
    max-width: 400px;
    animation: rpIn-b-kyujepqyv3 700ms cubic-bezier(.2, .8, .2, 1);
}

.login-brand-logo-dark[b-kyujepqyv3] { display: none; }
:root.theme-dark .login-brand-logo-light[b-kyujepqyv3] { display: none; }
:root.theme-dark .login-brand-logo-dark[b-kyujepqyv3] { display: block; }

@keyframes rpIn-b-kyujepqyv3 {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =================================================================
   Responsive
================================================================= */
@media (max-width: 940px) {
    .login-container[b-kyujepqyv3] {
        grid-template-columns: 1fr;
    }
    .login-right[b-kyujepqyv3] {
        display: none;
    }
}

@media (max-height: 760px) {
    .login-left[b-kyujepqyv3] {
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .step-frame[b-kyujepqyv3] {
        margin-top: 6vh;
    }
}

@media (max-height: 620px) {
    .auth-head[b-kyujepqyv3] {
        display: none;
    }
}

@media (max-width: 520px) {
    .login-left[b-kyujepqyv3] {
        padding-left: 18px;
        padding-right: 18px;
    }
    .step-frame[b-kyujepqyv3] {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .sso-grid[b-kyujepqyv3] {
        grid-template-columns: 1fr;
    }
    .code-cell[b-kyujepqyv3],
    .code-digit-input[b-kyujepqyv3] {
        height: 48px;
        font-size: 20px;
    }
    .code-row[b-kyujepqyv3] {
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .step-frame[b-kyujepqyv3],
    .combo-pop[b-kyujepqyv3],
    .spinner[b-kyujepqyv3],
    .orb-a[b-kyujepqyv3],
    .orb-b[b-kyujepqyv3],
    .orb-c[b-kyujepqyv3],
    .login-brand-logo[b-kyujepqyv3] {
        animation: none !important;
    }

    .btn-primary[b-kyujepqyv3],
    .btn-sso[b-kyujepqyv3],
    .combo-caret[b-kyujepqyv3],
    .field-input[b-kyujepqyv3],
    .combo-trigger[b-kyujepqyv3],
    .code-cell[b-kyujepqyv3],
    .code-digit-input[b-kyujepqyv3] {
        transition: none !important;
    }
}
/* /Pages/RegressionTesting/RegressionTesting.razor.rz.scp.css */
.regression-testing-container[b-4z8mo4njod] {
    overflow: hidden;
}

.ai-chat-section[b-4z8mo4njod] {
    height: calc(100vh - 200px);
    overflow: hidden;
    padding: 0;
}

[b-4z8mo4njod] .ai-chat-component {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 992px) {
    .ai-chat-section[b-4z8mo4njod] {
        height: calc(100vh - 185px);
    }
}
/* /Pages/Settings/Components/TenantOverview.razor.rz.scp.css */
.tenant-overview[b-gcn5xc8x3p] {
    max-width: calc(100% - 12px);
}
.row[b-gcn5xc8x3p] {
    display: flex;
    gap: 1rem;
}

.col-md-6[b-gcn5xc8x3p] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}

.card.mb-4[b-gcn5xc8x3p] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body[b-gcn5xc8x3p] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
/* /Pages/Tickets/TicketDetail.razor.rz.scp.css */
/* Comment styles */
.comment-item[b-jfzumvu8hz] {
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.comment-item.comment-external[b-jfzumvu8hz] {
    background-color: var(--kendo-color-app-surface);
    border: 1px solid var(--kendo-color-border);
}

.comment-item.comment-internal[b-jfzumvu8hz] {
    background-color: var(--kendo-color-primary-subtle);
    border: 1px solid var(--kendo-color-primary-border);
}

/* Internal/private note styling */
.comment-item.comment-private .comment-body.internal-note[b-jfzumvu8hz] {
    background-color: var(--kendo-color-warning-subtle);
    border-left: 3px solid var(--kendo-color-warning);
    color: var(--kendo-color-warning-on-subtle);
    padding-left: 12px;
}

.comment-header[b-jfzumvu8hz] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--kendo-color-border);
    background-color: var(--kendo-color-base-subtle);
}

.comment-body[b-jfzumvu8hz] {
    padding: 1rem;
    color: var(--kendo-body-text);
}

.ai-chat-mode-item[b-jfzumvu8hz] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-mode-icon[b-jfzumvu8hz] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* /Pages/Tickets/TicketsList.razor.rz.scp.css */
/* No additional styling needed - matches other pages */
/* /Shared/Components/AiSideChat.razor.rz.scp.css */
/* AI Chat Container Layout */
.ai-chat-container[b-hnt1b70ypf] {
    position: relative;
    height: 100%;
    width: 100%;
}

.main-content[b-hnt1b70ypf] {
    transition: margin-right 0.3s ease-in-out;
    height: 100%;
}

.ai-chat-container.chat-open .main-content[b-hnt1b70ypf] {
    margin-right: 60%;
}

/* Toggle Button */
.ai-chat-toggle[b-hnt1b70ypf] {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1040;
    background: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 10px 6px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    min-height: 90px;
    width: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ai-chat-toggle.open[b-hnt1b70ypf] {
    right: 60%;
}



.ai-chat-toggle:hover[b-hnt1b70ypf] {
    background: var(--kendo-color-primary-hover);
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.2);
}

.ai-chat-toggle svg[b-hnt1b70ypf] {
    font-size: 16px;
    padding-right: 4px;
    animation: sparkle-b-hnt1b70ypf 2s infinite;
    order: 1;
}

.ai-chat-toggle .toggle-text[b-hnt1b70ypf] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: rotate(90deg);
    white-space: nowrap;
    transform-origin: center center;
    order: 2;
    margin-top: 2px;
}

@keyframes sparkle-b-hnt1b70ypf {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Sliding Chat Blade */
.ai-chat-blade[b-hnt1b70ypf] {
    position: fixed;
    top: 0;
    right: -60%;
    width: 60%;
    height: 100vh;
    background: var(--kendo-body-bg);
    border-left: 1px solid var(--kendo-border);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1030;
    overflow: hidden;
}

.ai-chat-blade.open[b-hnt1b70ypf] {
    right: 0;
}

/* Chat Content */
.ai-chat-content[b-hnt1b70ypf] {
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ai-chat-header[b-hnt1b70ypf] {
    border-bottom: 1px solid var(--kendo-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.ai-chat-header h4[b-hnt1b70ypf] {
    color: var(--kendo-color-primary);
    font-weight: 600;
}

/* Tab Strip Styling - Navigation Only */
.ai-chat-content[b-hnt1b70ypf]  .k-tabstrip {
    border: none;
    flex-shrink: 0;
}

.ai-chat-content[b-hnt1b70ypf]  .k-tabstrip-items {
    border-bottom: 1px solid var(--kendo-border);
    background: transparent;
}

.ai-chat-content[b-hnt1b70ypf]  .k-tabstrip-content {
    display: none; /* Hide default content area since we handle content separately */
}

/* Tab Content Area - Our Custom Content Display */
.tab-content-area[b-hnt1b70ypf] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Ensure SharedChatInterface uses full height in tab content area */
.tab-content-area .shared-chat-interface[b-hnt1b70ypf] {
    height: 100%;
}

/* History Grid Styling */
.ai-history-grid[b-hnt1b70ypf]  .k-grid-content {
    max-height: calc(100% - 40px);
}

.history-content[b-hnt1b70ypf] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.history-content .k-grid[b-hnt1b70ypf] {
    flex-grow: 1;
}

/* Mobile Responsiveness */
.ai-chat-container.mobile .ai-chat-toggle[b-hnt1b70ypf] {
    display: none;
}

.ai-chat-container.mobile .ai-chat-blade[b-hnt1b70ypf] {
    position: static;
    width: 100%;
    right: 0;
    height: auto;
    box-shadow: none;
    border-left: none;
    border-top: 1px solid var(--kendo-border);
}

.ai-chat-container.mobile .main-content[b-hnt1b70ypf] {
    margin-right: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .ai-chat-blade[b-hnt1b70ypf] {
        width: 70%;
        right: -70%;
    }
    
    .ai-chat-toggle.open[b-hnt1b70ypf] {
        right: 70%;
    }
    
    .ai-chat-container.chat-open .main-content[b-hnt1b70ypf] {
        margin-right: 70%;
    }
}

@media (max-width: 768px) {
    .ai-chat-blade[b-hnt1b70ypf] {
        width: 90%;
        right: -90%;
    }
    
    .ai-chat-toggle.open[b-hnt1b70ypf] {
        right: 90%;
    }
    
    .ai-chat-container.chat-open .main-content[b-hnt1b70ypf] {
        margin-right: 90%;
    }
    
    .ai-chat-content[b-hnt1b70ypf] {
        padding: 1rem;
    }
    
    .ai-chat-toggle[b-hnt1b70ypf] {
        width: 32px;
        padding: 10px 6px;
        min-height: 80px;
    }
    
    .ai-chat-toggle .toggle-text[b-hnt1b70ypf] {
        font-size: 9px;
    }
} 
/* /Shared/Components/AiSideChatHistory.razor.rz.scp.css */
/* History blade content layout */
.history-blade-content[b-5yqddbhn1r] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* Grid container fills remaining space */
.history-grid-container[b-5yqddbhn1r] {
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

/* Grid styling */
.history-grid[b-5yqddbhn1r] {
    flex: 1;
}

/* Make rows appear clickable */
[b-5yqddbhn1r] .history-grid .k-grid-content tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

[b-5yqddbhn1r] .history-grid .k-grid-content tr:hover {
    background-color: var(--kendo-color-surface-alt, rgba(0, 0, 0, 0.04));
}

/* Question text styling */
.question-text[b-5yqddbhn1r] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ensure grid header doesn't wrap */
[b-5yqddbhn1r] .history-grid .k-grid-header th {
    white-space: nowrap;
}

/* Compact date display */
[b-5yqddbhn1r] .history-grid .k-grid-content td:first-child {
    font-size: 0.875rem;
    color: var(--kendo-color-subtle, #6c757d);
}

/* Score column styling */
[b-5yqddbhn1r] .history-grid .k-grid-content td:last-child {
    text-align: center;
}
/* /Shared/Components/CompactDropdown.razor.rz.scp.css */
.compact-dropdown[b-olceu1xb1c] {
    position: relative;
    display: inline-block;
    min-width: 120px;
    max-width: 150px;
}

.compact-dropdown-trigger[b-olceu1xb1c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2;
    color: var(--kendo-color-subtle);
    user-select: none;
    transition: background-color 0.15s ease-in-out;
}

.compact-dropdown-trigger:hover[b-olceu1xb1c] {
    background-color: var(--kendo-hover-bg);
}

.compact-dropdown-text[b-olceu1xb1c] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 4px;
}

.compact-dropdown-arrow[b-olceu1xb1c] {
    font-size: 10px;
    color: var(--kendo-color-subtle);
    transition: transform 0.2s ease-in-out;
    flex-shrink: 0;
    width: 12px;
    text-align: center;
}

.compact-dropdown-arrow.open[b-olceu1xb1c] {
    transform: rotate(180deg);
}

.compact-dropdown-popup[b-olceu1xb1c] {
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 1000;
    min-width: 180px;
    max-width: 250px;
    background-color: var(--kendo-component-bg);
    border: 1px solid var(--kendo-component-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
    margin-bottom: 2px;
    animation: dropdownFadeIn-b-olceu1xb1c 0.15s ease-out;
}

.compact-dropdown-header[b-olceu1xb1c] {
    padding: 6px 12px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kendo-color-subtle);
}

.compact-dropdown-item[b-olceu1xb1c] {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--kendo-component-text);
    transition: background-color 0.15s ease-in-out;
    border-radius: 0;
}

.compact-dropdown-item:hover[b-olceu1xb1c] {
    background-color: var(--kendo-hover-bg);
}

.compact-dropdown-item.selected[b-olceu1xb1c] {
    background-color: var(--kendo-color-primary-subtle);
    color: var(--kendo-color-primary);
    font-weight: 600;
}

/* Subtle inline variant (SLI-481 model selector): the closed trigger matches the chat Send button
   — thin faint outline, muted text, same 0.375rem radius and subtle shadow — so it reads as a
   quiet control sitting just before Send. The open popup keeps a softer 12px radius with overflow
   clipping so the header + highlighted option have no hard corners. Scoped to the
   .compact-dropdown-subtle modifier so the plain (mode) selector keeps its flat look. */
.compact-dropdown-subtle .compact-dropdown-trigger[b-olceu1xb1c] {
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--kendo-border);
    border-radius: 0.375rem;
    background-color: var(--kendo-body-bg);
    color: var(--kendo-color-subtle);
    font-size: 0.8125rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.compact-dropdown-subtle .compact-dropdown-trigger:hover[b-olceu1xb1c] {
    background-color: var(--kendo-color-base-hover, rgba(0, 0, 0, 0.04));
    color: var(--kendo-color-on-app-surface);
}

.compact-dropdown-subtle .compact-dropdown-popup[b-olceu1xb1c] {
    border-radius: 12px;
    overflow: hidden;
}

@keyframes dropdownFadeIn-b-olceu1xb1c {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compact-dropdown[b-olceu1xb1c] {
        min-width: 100px;
        max-width: 130px;
    }
    
    .compact-dropdown-popup[b-olceu1xb1c] {
        min-width: 160px;
        max-width: 220px;
    }
    
    .compact-dropdown-trigger[b-olceu1xb1c] {
        font-size: 12px;
        padding: 3px 5px;
    }
    
    .compact-dropdown-item[b-olceu1xb1c] {
        padding: 6px 10px;
        font-size: 12px;
    }
}
/* /Shared/Components/NewChatPopup.razor.rz.scp.css */
.new-chat-popup[b-6o42q6x70u] {
    position: relative;
    display: inline-block;
}

/* Ensure the new chat button uses the global textarea-button styles */
.new-chat-popup .textarea-button[b-6o42q6x70u] {
    /* Let the global textarea-button styles from SharedChatInterface.razor.css apply */
    all: unset;
    /* Then reapply the base textarea-button styles */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--kendo-border);
    background-color: var(--kendo-body-bg);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: var(--kendo-color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-left: 8px;
}

.new-chat-popup .textarea-button:first-child[b-6o42q6x70u] {
    margin-left: 0;
}

.new-chat-popup .textarea-button:hover:not(.disabled)[b-6o42q6x70u] {
    background-color: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
    border-color: var(--kendo-color-primary);
    transform: scale(1.05);
}

.new-chat-popup .new-chat-label-button[b-6o42q6x70u] {
    width: auto;
    gap: 6px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.new-chat-popup .textarea-button.disabled[b-6o42q6x70u] {
    opacity: 0.4;
    cursor: not-allowed;
}

.new-chat-popup .textarea-button.disabled:hover[b-6o42q6x70u] {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
    background-color: var(--kendo-body-bg) !important;
    color: var(--kendo-color-primary) !important;
    border-color: var(--kendo-border) !important;
    transform: none !important;
}

.new-chat-popup-menu[b-6o42q6x70u] {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 1000;
    min-width: 180px;
    background-color: var(--kendo-component-bg);
    border: 1px solid var(--kendo-component-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 4px 0;
    margin-bottom: 2px;
    animation: popupFadeIn-b-6o42q6x70u 0.15s ease-out;
}

.new-chat-popup-item[b-6o42q6x70u] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--kendo-component-text);
    transition: background-color 0.15s ease-in-out;
    border-radius: 0;
    user-select: none;
}

.new-chat-popup-item:hover[b-6o42q6x70u] {
    background-color: var(--kendo-hover-bg);
}

.new-chat-popup-item:first-child[b-6o42q6x70u] {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.new-chat-popup-item:last-child[b-6o42q6x70u] {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.new-chat-popup-item svg[b-6o42q6x70u] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.new-chat-popup-item span[b-6o42q6x70u] {
    font-weight: normal;
    white-space: nowrap;
}

@keyframes popupFadeIn-b-6o42q6x70u {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make sure the popup appears above everything */
.new-chat-popup-menu[b-6o42q6x70u] {
    z-index: 9999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .new-chat-popup-menu[b-6o42q6x70u] {
        min-width: 160px;
    }
    
    .new-chat-popup-item[b-6o42q6x70u] {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .new-chat-popup-item svg[b-6o42q6x70u] {
        width: 14px;
        height: 14px;
    }
}
/* /Shared/Components/OrionChatHistory.razor.rz.scp.css */
.orion-history-sidebar[b-z39akbxe8p] {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--kendo-body-bg, #fff);
    border-radius: 10px;
    border: 2px solid var(--kendo-component-border, #e0e0e0);
    border: none !important;
}

.sidebar-header[b-z39akbxe8p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    flex-shrink: 0;
}

.sidebar-title[b-z39akbxe8p] {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-content[b-z39akbxe8p] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.history-item[b-z39akbxe8p] {
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.1s ease;
}

.history-item:hover[b-z39akbxe8p] {
    background: var(--kendo-color-surface-alt, #f5f5f5);
}

.history-item.active[b-z39akbxe8p] {
    background: var(--kendo-color-primary-subtle, #e8f0fe);
}

.history-item-text[b-z39akbxe8p] {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    color: var(--kendo-color-on-app-surface, #333);
}

.history-item-meta[b-z39akbxe8p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.timestamp[b-z39akbxe8p] {
    font-size: 11px;
    color: var(--kendo-color-subtle, #999);
}

.delete-btn[b-z39akbxe8p] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.15s ease;
    color: var(--kendo-color-subtle, #999);
    display: flex;
    align-items: center;
}

.history-item:hover .delete-btn[b-z39akbxe8p],
.history-item:focus-within .delete-btn[b-z39akbxe8p],
.delete-btn:focus-visible[b-z39akbxe8p] {
    opacity: 0.6;
}

.delete-btn:hover[b-z39akbxe8p],
.delete-btn:focus-visible[b-z39akbxe8p] {
    opacity: 1 !important;
    color: var(--kendo-color-error, #d32f2f);
    background: var(--kendo-color-error-subtle, #fde8e8);
}

.orion-sidebar-collapsed[b-z39akbxe8p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    flex-shrink: 0;
}

.sidebar-toggle-btn[b-z39akbxe8p] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--kendo-component-border, #e0e0e0);
    background: var(--kendo-body-bg, #fff);
    border-radius: 6px;
    cursor: pointer;
    color: var(--kendo-color-subtle, #999);
    transition: all 0.15s ease;
}

.sidebar-toggle-btn:hover[b-z39akbxe8p] {
    background: var(--kendo-color-surface-alt, #f5f5f5);
    color: var(--kendo-body-text);
}

@media (max-width: 1280px) {
    .orion-history-sidebar[b-z39akbxe8p],
    .orion-sidebar-collapsed[b-z39akbxe8p] {
        display: none;
    }
}
/* /Shared/Components/PageHeader.razor.rz.scp.css */
.page-header[b-kpbybvaom5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Balanced spacing: don't add extra space above the title (layout already has top padding).
       Instead, keep equal space above and below the divider line. */
    --page-header-gap: 20px;
    padding-top: 0;
    padding-bottom: var(--page-header-gap);
    margin-bottom: var(--page-header-gap);
    width: 100%;
    min-height: 53px;

    /* Subtle separator between header and page content */
    border-bottom: 1px solid var(--kendo-component-border, rgba(0, 0, 0, 0.14));
    border-bottom: 1px solid color-mix(in srgb, var(--kendo-component-border, rgba(0, 0, 0, 0.14)) 65%, var(--kendo-body-text, #000000) 35%);
}

.page-header-title[b-kpbybvaom5] {
    display: flex;
    flex-direction: column;
}

.page-header-title-row[b-kpbybvaom5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-header-title h2[b-kpbybvaom5] {
    margin: 0;
    font-weight: 600;
    color: var(--kendo-body-text);
    font-size: 1.5rem;
}

.page-header-help[b-kpbybvaom5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--kendo-subtle-text);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

    .page-header-help:hover[b-kpbybvaom5] {
        background-color: var(--kendo-color-base-hover, rgba(0, 0, 0, 0.06));
        color: var(--kendo-color-primary);
    }

    .page-header-help:focus-visible[b-kpbybvaom5] {
        outline: 2px solid var(--kendo-color-primary);
        outline-offset: 2px;
    }

.page-header-subtitle[b-kpbybvaom5] {
    color: var(--kendo-subtle-text);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.page-header-controls[b-kpbybvaom5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .page-header[b-kpbybvaom5] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-header-title[b-kpbybvaom5] {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .page-header-controls[b-kpbybvaom5] {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .page-header-controls[b-kpbybvaom5] {
        flex-wrap: wrap;
    }
}
/* /Shared/Components/RelatedSourcesSidebar.razor.rz.scp.css */
.related-sources-sidebar[b-golft9p6te] {
    width: 340px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Hide the panel when the chat column wouldn't have room to breathe alongside it.
   Below this threshold we surface related items via the in-chat footer / drawer.
   The overlay variant bypasses this hide — it's always rendered inside a host-controlled
   container that decides its own visibility. */
@media (max-width: 1199px) {
    .related-sources-sidebar:not(.related-sources-sidebar-overlay)[b-golft9p6te] {
        display: none;
    }
}

/* In overlay mode the panel sizes to its host card instead of the chat column. */
.related-sources-sidebar-overlay[b-golft9p6te] {
    width: 100%;
    height: 100%;
    padding: 0;
}

.related-sources-card[b-golft9p6te] {
    background: var(--kendo-color-surface, #fff);
    border: 1px solid #eef0f5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 19, 32, .04), 0 1px 1px rgba(15, 19, 32, .03);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.related-sources-header[b-golft9p6te] {
    flex: 0 0 auto;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #eef0f5;
}

.related-sources-title-row[b-golft9p6te] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.related-sources-title-icon[b-golft9p6te] {
    width: 14px;
    height: 14px;
    color: #5b3df5;
}

.related-sources-title[b-golft9p6te] {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--kendo-color-on-app-surface, #0f1320);
}

.related-sources-count[b-golft9p6te] {
    margin-left: auto;
    font-size: 12px;
    color: #828799;
    font-weight: 500;
}

.related-sources-filter-row[b-golft9p6te] {
    display: flex;
    gap: 4px;
}

.related-sources-pill[b-golft9p6te] {
    border: 0;
    background: #f7f8fb;
    color: #5b6072;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    transition: background .15s, color .15s;
}

.related-sources-pill:hover[b-golft9p6te] {
    background: #eef0f5;
}

.related-sources-pill.active[b-golft9p6te] {
    background: #ede9ff;
    color: #5b3df5;
}

.related-sources-pill-count[b-golft9p6te] {
    font-size: 10.5px;
    opacity: .8;
    font-variant-numeric: tabular-nums;
}

.related-sources-list[b-golft9p6te] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

a.related-sources-row[b-golft9p6te],
a.related-sources-row:link[b-golft9p6te],
a.related-sources-row:visited[b-golft9p6te] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eef0f5;
    transition: background .1s;
}

a.related-sources-row:hover[b-golft9p6te] {
    background: #f6f4ff;
    text-decoration: none;
}

a.related-sources-row:last-child[b-golft9p6te] {
    border-bottom: 0;
}

.related-sources-row-icon[b-golft9p6te] {
    padding-top: 4px;
    flex-shrink: 0;
    width: 14px;
    display: flex;
    justify-content: center;
}

.related-sources-status-dot[b-golft9p6te] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.related-sources-status-dot.high[b-golft9p6te] { background: #2e9e6a; }
.related-sources-status-dot.med[b-golft9p6te]  { background: #e8a93a; }
.related-sources-status-dot.low[b-golft9p6te]  { background: #8e94a3; }

.related-sources-doc-icon-wrap[b-golft9p6te]  .k-svg-icon,
.related-sources-doc-icon-wrap[b-golft9p6te]  svg {
    width: 13px;
    height: 13px;
    color: #828799;
}

.related-sources-row-body[b-golft9p6te] {
    flex: 1 1 auto;
    min-width: 0;
}

.related-sources-row-title[b-golft9p6te] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--kendo-color-on-app-surface, #0f1320);
    line-height: 1.4;
    margin-bottom: 2px;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-sources-row-meta[b-golft9p6te] {
    font-size: 11px;
    color: #828799;
    margin-top: 3px;
    text-decoration: none;
}

a.related-sources-source-link[b-golft9p6te],
a.related-sources-source-link:link[b-golft9p6te],
a.related-sources-source-link:visited[b-golft9p6te] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    text-decoration: none;
    font-size: 11px;
}

a.related-sources-source-link:hover[b-golft9p6te] {
    text-decoration: underline;
}

.related-sources-source-link-icon-wrap[b-golft9p6te]  .k-svg-icon,
.related-sources-source-link-icon-wrap[b-golft9p6te]  svg {
    width: 11px;
    height: 11px;
}

.related-sources-row-score[b-golft9p6te] {
    flex: 0 0 auto;
    padding-top: 2px;
    margin-left: auto;
}

.related-sources-score-pill[b-golft9p6te] {
    font-size: 11px;
    font-weight: 600;
    color: #5b6072;
    background: #eef0f5;
    padding: 2px 7px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.related-sources-generate-cta[b-golft9p6te] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px;
    padding: 12px;
    background: #f6f4ff;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: background .15s, border-color .15s;
    font-family: inherit;
    width: calc(100% - 24px);
}

.related-sources-generate-cta:hover[b-golft9p6te] {
    background: #ede9ff;
    border-color: #d9d2ff;
}

.related-sources-generate-icon[b-golft9p6te] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 19, 32, .06);
    color: #5b3df5;
}

.related-sources-generate-icon[b-golft9p6te]  .k-svg-icon,
.related-sources-generate-icon[b-golft9p6te]  svg {
    width: 18px;
    height: 18px;
}

.related-sources-generate-body[b-golft9p6te] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.related-sources-generate-title[b-golft9p6te] {
    font-size: 13px;
    font-weight: 700;
    color: #5b3df5;
    line-height: 1.3;
}

.related-sources-generate-subtitle[b-golft9p6te] {
    font-size: 12px;
    color: #5b6072;
    line-height: 1.35;
}

.related-sources-generate-chevron[b-golft9p6te] {
    flex-shrink: 0;
    color: #5b3df5;
    display: flex;
    align-items: center;
}

.related-sources-generate-chevron[b-golft9p6te]  .k-svg-icon,
.related-sources-generate-chevron[b-golft9p6te]  svg {
    width: 16px;
    height: 16px;
}

/* ─── Dark theme overrides ──────────────────────────────────────────────────
   Tone the card down so it doesn't punch out of the dark page background.
   Uses softer surface + subtle borders + muted text instead of pure white. */

body.theme-dark .related-sources-card[b-golft9p6te] {
    background: var(--kendo-color-surface-alt, #1c1f26);
    border-color: rgba(255, 255, 255, .04);
    box-shadow: none;
    outline: none;
}

body.theme-dark .related-sources-header[b-golft9p6te] {
    border-bottom-color: rgba(255, 255, 255, .04);
}

body.theme-dark .related-sources-title[b-golft9p6te] {
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
}

body.theme-dark .related-sources-title-icon[b-golft9p6te] {
    color: #a899ff;
}

body.theme-dark .related-sources-count[b-golft9p6te] {
    color: rgba(255, 255, 255, .45);
}

body.theme-dark .related-sources-pill[b-golft9p6te] {
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .65);
}

body.theme-dark .related-sources-pill:hover[b-golft9p6te] {
    background: rgba(255, 255, 255, .08);
}

body.theme-dark .related-sources-pill.active[b-golft9p6te] {
    background: rgba(168, 153, 255, .18);
    color: #c2b5ff;
}

body.theme-dark a.related-sources-row[b-golft9p6te],
body.theme-dark a.related-sources-row:link[b-golft9p6te],
body.theme-dark a.related-sources-row:visited[b-golft9p6te] {
    border-bottom-color: rgba(255, 255, 255, .05);
}

body.theme-dark a.related-sources-row:hover[b-golft9p6te] {
    background: rgba(168, 153, 255, .08);
}

body.theme-dark .related-sources-row-title[b-golft9p6te] {
    color: rgba(255, 255, 255, .88);
    font-weight: 500;
}

body.theme-dark .related-sources-row-meta[b-golft9p6te] {
    color: rgba(255, 255, 255, .42);
}

body.theme-dark .related-sources-doc-icon-wrap[b-golft9p6te]  .k-svg-icon,
body.theme-dark .related-sources-doc-icon-wrap[b-golft9p6te]  svg {
    color: rgba(255, 255, 255, .45);
}

body.theme-dark .related-sources-status-dot.high[b-golft9p6te] { background: #4cc38a; }
body.theme-dark .related-sources-status-dot.med[b-golft9p6te]  { background: #f0bf52; }
body.theme-dark .related-sources-status-dot.low[b-golft9p6te]  { background: rgba(255, 255, 255, .35); }

body.theme-dark .related-sources-score-pill[b-golft9p6te] {
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .7);
}

body.theme-dark a.related-sources-source-link[b-golft9p6te],
body.theme-dark a.related-sources-source-link:link[b-golft9p6te],
body.theme-dark a.related-sources-source-link:visited[b-golft9p6te] {
    color: #7faaff;
}

/* Generate Article CTA — matches the card surface, keeps the purple accent. */
body.theme-dark .related-sources-generate-cta[b-golft9p6te] {
    background: rgba(168, 153, 255, .08);
    border-color: transparent;
}

body.theme-dark .related-sources-generate-cta:hover[b-golft9p6te] {
    background: rgba(168, 153, 255, .14);
    border-color: rgba(168, 153, 255, .22);
}

body.theme-dark .related-sources-generate-icon[b-golft9p6te] {
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
    color: #c2b5ff;
}

body.theme-dark .related-sources-generate-title[b-golft9p6te] {
    color: #c2b5ff;
}

body.theme-dark .related-sources-generate-subtitle[b-golft9p6te] {
    color: rgba(255, 255, 255, .55);
}

body.theme-dark .related-sources-generate-chevron[b-golft9p6te] {
    color: #c2b5ff;
}

.related-sources-loading-row[b-golft9p6te] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: var(--kendo-color-subtle, #5b6478);
    font-size: 13px;
}

.related-sources-loading-text[b-golft9p6te] {
    line-height: 1.3;
}
/* /Shared/Components/SharedChatInterface.razor.rz.scp.css */
.shared-chat-interface[b-u09lbqcmal] {
    min-height: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.chat-container-wrapper[b-u09lbqcmal] {
    background-color: var(--kendo-body-bg);
    border-radius: 0.375rem; /* Match Bootstrap's .rounded class (6px) */

    margin-bottom: 0; /* Remove bottom margin in sidebar context */
    overflow: hidden;
    border: none !important;
}

/* Chat message container */
.chat-container[b-u09lbqcmal] {
    background-color: var(--kendo-body-bg);
    border-color: var(--kendo-border) !important;
}

/* Ensure AI messages stack vertically so evaluation prompt sits below bubble */
.shared-chat-interface .ai-message[b-u09lbqcmal] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Make evaluation block take full width under the message */
.shared-chat-interface .evaluation-block[b-u09lbqcmal] {
    width: 100%;
}


/* Ticket submission area */
.ticket-submission-area[b-u09lbqcmal] {
    background-color: transparent;
    color: var(--kendo-component-text) !important;
    margin: 0 0 0.5rem 0; /* reduced bottom margin for tighter spacing */
    border-radius: 0.375rem; /* Match Bootstrap's .rounded class (6px) */
    transition: all 0.2s ease-in-out;
    padding: 8px 12px; /* tighter padding for space saving */
    overflow: hidden;
}

    .ticket-submission-area:hover[b-u09lbqcmal] {
        border-color: var(--kendo-color-primary-subtle);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

/* Ticket header styling - matches rules header */
.ticket-header[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 2px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}

    .ticket-header:hover[b-u09lbqcmal] {
        background-color: transparent;
    }

.ticket-toggle-content[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-chevron[b-u09lbqcmal] {
    color: var(--kendo-color-primary);
    transition: transform 0.2s ease-in-out;
}

.ticket-title[b-u09lbqcmal] {
    font-weight: normal;
    font-size: 14px;
    color: var(--kendo-color-primary);
    user-select: none;
}

.ticket-input-area[b-u09lbqcmal] {
    animation: slideDown-b-u09lbqcmal 0.2s ease-out;
}

.ticket-description[b-u09lbqcmal] {
    font-size: 13px;
    color: var(--kendo-color-subtle);
    margin-bottom: 8px;
    line-height: 1.4;
}

.ticket-input-group .form-control[b-u09lbqcmal] {
    background-color: var(--kendo-input-bg);
    border-color: var(--kendo-input-border);
    color: var(--kendo-input-text);
}

    .ticket-input-group .form-control:focus[b-u09lbqcmal] {
        background-color: var(--kendo-input-bg);
        border-color: var(--kendo-color-primary);
        color: var(--kendo-input-text);
        box-shadow: 0 0 0 0.2rem rgba(var(--kendo-color-primary-rgb), 0.25);
    }

.ticket-input-group .btn[b-u09lbqcmal] {
    background-color: var(--kendo-color-primary);
    border-color: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
}

    .ticket-input-group .btn:disabled[b-u09lbqcmal] {
        opacity: 0.65;
        background-color: var(--kendo-color-primary-disabled);
        border-color: var(--kendo-color-primary-disabled);
    }

    .ticket-input-group .btn:not(:disabled):hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary-hover);
        border-color: var(--kendo-color-primary-hover);
    }

/* Enhanced ticket input styling */
.ticket-input-group[b-u09lbqcmal] {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.input-with-icon[b-u09lbqcmal] {
    flex: 1;
    position: relative;
}

.ticket-number-input[b-u09lbqcmal] {
    width: 100% !important;
    height: 44px;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 500;
}

.analyze-button[b-u09lbqcmal] {
    min-width: 100px;
    height: 44px;
    border-radius: 8px !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease-in-out;
}

    .analyze-button:not(.k-disabled):hover[b-u09lbqcmal] {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(var(--kendo-color-primary-rgb), 0.25);
    }

/* Placeholder text theming */
.message-textarea[b-u09lbqcmal]::placeholder,
.ticket-input-group .form-control[b-u09lbqcmal]::placeholder {
    color: var(--kendo-input-placeholder-text, #6c757d);
    opacity: 1;
}

/* Dark theme overrides */
:deep(.theme-dark) .ticket-submission-area[b-u09lbqcmal] {
    background-color: transparent !important;
}

:deep(.theme-dark) .ticket-input-group .form-control[b-u09lbqcmal],
:deep(.theme-dark) .message-textarea[b-u09lbqcmal] {
    background-color: var(--kendo-color-dark-subtle);
    border-color: var(--kendo-color-dark-border);
    color: var(--kendo-color-on-dark);
}

    :deep(.theme-dark) .ticket-input-group .form-control[b-u09lbqcmal]::placeholder,
    :deep(.theme-dark) .message-textarea[b-u09lbqcmal]::placeholder {
        color: var(--kendo-color-subtle-text, #adb5bd);
        opacity: 0.7;
    }

:deep(.theme-dark) .ticket-submission-area h6[b-u09lbqcmal] {
    color: var(--kendo-color-on-dark) !important;
}

/* Ensure consistent placeholder styling across browsers */
.ticket-input-group .form-control[b-u09lbqcmal]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: var(--kendo-input-placeholder-text, #6c757d);
}

.ticket-input-group .form-control[b-u09lbqcmal]::-moz-placeholder { /* Firefox 19+ */
    color: var(--kendo-input-placeholder-text, #6c757d);
    opacity: 1;
}

.ticket-input-group .form-control:-ms-input-placeholder[b-u09lbqcmal] { /* IE 10+ */
    color: var(--kendo-input-placeholder-text, #6c757d);
}

.ticket-input-group .form-control:-moz-placeholder[b-u09lbqcmal] { /* Firefox 18- */
    color: var(--kendo-input-placeholder-text, #6c757d);
    opacity: 1;
}

/* Rules container styling */
.rules-container[b-u09lbqcmal] {
    margin: 0 0 0.5rem 0; /* reduced bottom margin for tighter spacing */
    padding: 8px 12px; /* tighter padding for space saving */
    background-color: transparent;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

    .rules-container:hover[b-u09lbqcmal] {
        border-color: var(--kendo-color-primary-subtle);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

/* Rules section enhancements */
.rules-header[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 2px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}

    .rules-header:hover[b-u09lbqcmal] {
        background-color: transparent;
    }

.rules-toggle-content[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-chevron[b-u09lbqcmal] {
    color: var(--kendo-color-primary);
    transition: transform 0.2s ease-in-out;
}

.rules-title[b-u09lbqcmal] {
    font-weight: normal;
    font-size: 14px;
    color: var(--kendo-color-primary);
    user-select: none;
}

.rules-indicator[b-u09lbqcmal] {
    background: var(--kendo-color-success);
    color: var(--kendo-color-on-success);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rules-description[b-u09lbqcmal] {
    font-size: 13px;
    color: var(--kendo-color-subtle);
    margin-bottom: 8px;
    line-height: 1.4;
}

.rules-input-area[b-u09lbqcmal] {
    animation: slideDown-b-u09lbqcmal 0.2s ease-out;
}

@keyframes slideDown-b-u09lbqcmal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.rules-textarea-wrapper[b-u09lbqcmal] {
    position: relative;
    border: none;
    border-radius: 8px;
    background-color: var(--kendo-body-bg);
    transition: all 0.2s ease-in-out;
    overflow: visible;
}

    /* Telerik overrides moved to global app.css */

    .rules-textarea-wrapper:focus-within[b-u09lbqcmal] {
        border-color: var(--kendo-color-primary);
        box-shadow: 0 0 0 2px rgba(var(--kendo-color-primary), 0.1);
    }


.rules-add-button[b-u09lbqcmal] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    border: 1px solid var(--kendo-border);
    background-color: var(--kendo-body-bg);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: var(--kendo-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .rules-add-button:hover:not(.disabled)[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary);
        border-color: var(--kendo-color-primary);
        transform: scale(1.05);
    }

    .rules-add-button.disabled[b-u09lbqcmal] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.rules-footer[b-u09lbqcmal] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.character-count[b-u09lbqcmal] {
    font-size: 11px;
    color: var(--kendo-color-subtle);
    font-weight: 500;
}

/* Message input area - no left/right padding to match chat container */
.message-input-container[b-u09lbqcmal] {
    background-color: var(--kendo-body-bg);
    border-top: 1px solid var(--kendo-border-subtle);
    overflow: visible;
}

.message-textarea:focus[b-u09lbqcmal] {
    border-color: var(--kendo-color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--kendo-color-primary), 0.25);
}

/* Textarea container styling */
.textarea-container[b-u09lbqcmal] {
    position: relative;
    margin: 0; /* no margins - let textarea-wrapper handle padding */
}

.textarea-wrapper[b-u09lbqcmal] {
    position: relative;
    border: none !important;
    border-radius: 0.375rem; /* Match Bootstrap's .rounded class (6px) */
    overflow: visible;
    transition: all 0.2s ease-in-out;
    padding: 8px 8px 0 8px; /* reduced left and right padding */
}

/* Telerik overrides moved to global app.css */

.message-textarea[b-u09lbqcmal],
:deep(.message-textarea)[b-u09lbqcmal],
:deep(.message-textarea.k-textarea)[b-u09lbqcmal] {
    width: 100% !important;
    resize: none !important;
    border: none !important;
    border-radius: 0.375rem 0.375rem 0 0 !important; /* Match Bootstrap .rounded */
    background-color: transparent !important;
    min-height: 96px !important;
    max-height: 150px !important; /* Prevent excessive expansion */
    margin: 0 !important;
    padding: 12px 0 1rem 0 !important; /* reduced padding since wrapper now has padding */
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: var(--kendo-font-family) !important;
    overflow-y: auto !important; /* Allow scrolling if content exceeds max-height */
}

    .message-textarea:focus[b-u09lbqcmal] {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

/* Focus state for the wrapper */
.textarea-wrapper:focus-within[b-u09lbqcmal] {
    border-color: var(--kendo-color-primary);
    box-shadow: 0 0 0 3px rgba(var(--kendo-color-primary), 0.12), 0 4px 16px rgba(var(--kendo-color-primary), 0.08);
    transform: translateY(-1px);
}

/* Button container below textarea */
.textarea-buttons-container[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 12px 0; /* no left/right padding since wrapper handles it */
    background: transparent;
    border-top: 1px solid var(--kendo-border-subtle, rgba(0, 0, 0, 0.08));
    min-height: 56px;
    border-radius: 0 0 0.375rem 0.375rem; /* Match Bootstrap .rounded */
}

.button-spacer[b-u09lbqcmal] {
    flex-grow: 1;
}

.persona-segmented[b-u09lbqcmal] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--kendo-border);
    border-radius: 999px;
    background-color: var(--kendo-body-bg);
    padding: 2px;
    gap: 2px;
    height: 32px;
}

.persona-segment[b-u09lbqcmal] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 100%;
    border: none;
    background: transparent;
    border-radius: 999px;
    color: var(--kendo-color-on-app-surface);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    white-space: nowrap;
}

    .persona-segment:hover:not(:disabled):not(.persona-segment-active)[b-u09lbqcmal] {
        background-color: var(--kendo-color-base-hover, rgba(0, 0, 0, 0.04));
    }

    .persona-segment:disabled[b-u09lbqcmal] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.persona-segment-active[b-u09lbqcmal] {
    background-color: color-mix(in srgb, var(--kendo-color-primary) 18%, transparent);
    color: var(--kendo-color-primary);
    font-weight: 500;
}

.persona-segment-icon[b-u09lbqcmal] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.textarea-button[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--kendo-border);
    background-color: var(--kendo-body-bg);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: var(--kendo-color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-left: 8px;
}

    .textarea-button:first-child[b-u09lbqcmal] {
        margin-left: 0;
    }

    .textarea-button:hover:not(.send-button)[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary);
        border-color: var(--kendo-color-primary);
        transform: scale(1.05);
    }

    .textarea-button.disabled[b-u09lbqcmal] {
        opacity: 0.4;
        cursor: not-allowed;
    }

        .textarea-button.disabled:hover[b-u09lbqcmal] {
            cursor: not-allowed !important;
            opacity: 0.4 !important;
            background-color: var(--kendo-body-bg) !important;
            color: var(--kendo-color-primary) !important;
            border-color: var(--kendo-border) !important;
            transform: none !important;
        }

    .textarea-button:not(.disabled):hover:not(.send-button)[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary) !important;
        color: var(--kendo-color-on-primary) !important;
        border-color: var(--kendo-color-primary) !important;
        cursor: pointer !important;
    }

/* Legacy support for old attach-button-inside class (for rules section) */
.attach-button-inside[b-u09lbqcmal] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--kendo-border);
    background-color: var(--kendo-body-bg);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: var(--kendo-color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

    .attach-button-inside:hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary);
        border-color: var(--kendo-color-primary);
        transform: scale(1.05);
    }

    .attach-button-inside.disabled[b-u09lbqcmal] {
        opacity: 0.4;
        cursor: not-allowed;
    }

        .attach-button-inside.disabled:hover[b-u09lbqcmal] {
            cursor: not-allowed !important;
            opacity: 0.4 !important;
            background-color: var(--kendo-body-bg) !important;
            color: var(--kendo-color-primary) !important;
            border-color: var(--kendo-border) !important;
            transform: none !important;
        }

    .attach-button-inside:not(.disabled):hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary) !important;
        color: var(--kendo-color-on-primary) !important;
        border-color: var(--kendo-color-primary) !important;
        cursor: pointer !important;
    }

/* Legacy attach button styling (if needed) */
.attach-button[b-u09lbqcmal] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--kendo-border);
    background-color: var(--kendo-body-bg);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: var(--kendo-color-primary);
}

    .attach-button:hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-base-hover);
        border-color: var(--kendo-color-primary);
    }

/* Fixed position rerun button that doesn't scroll with chat content */
.rerun-button-fixed[b-u09lbqcmal] {
    position: absolute !important;
    background-color: var(--kendo-color-primary) !important;
    border-color: var(--kendo-color-primary) !important;
    color: var(--kendo-color-on-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

    .rerun-button-fixed:hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary-darker, var(--kendo-color-primary)) !important;
        border-color: var(--kendo-color-primary-darker, var(--kendo-color-primary)) !important;
        transform: scale(1.1) !important;
    }

/* Token usage styling */
.token-usage[b-u09lbqcmal] {
    font-size: 12px;
    opacity: 0.7;
}

/* Recommended prompts styling */
.recommended-prompts[b-u09lbqcmal] {
    border-bottom: 1px solid var(--kendo-border);
}

.prompt-suggestions-container[b-u09lbqcmal] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.prompt-suggestion[b-u09lbqcmal] {
    font-size: 12px;
    white-space: normal;
    text-align: left;
}

    .prompt-suggestion:hover[b-u09lbqcmal] {
        background-color: var(--kendo-color-primary);
        color: var(--kendo-color-on-primary);
        border-color: var(--kendo-color-primary);
    }

[b-u09lbqcmal] .action-suggestion {
    font-size: 12px;
    padding: 0.25rem 0.5rem;
}

.evaluation-block[b-u09lbqcmal] {
    margin-left: 15px;
    max-width: 250px;
    border-top: solid 1px var(--kendo-color-primary)
}

/* All Telerik component overrides have been moved to global app.css for proper cascade */

/* Responsive adjustments */
@media (max-width: 768px) {

    .shared-chat-interface[b-u09lbqcmal] {
        min-height: 300px;
    }

    .ticket-submission-area[b-u09lbqcmal] {
        padding: 16px;
        margin-bottom: 16px;
    }

    .ticket-input-group[b-u09lbqcmal] {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .analyze-button[b-u09lbqcmal] {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }

    .message-input-container[b-u09lbqcmal] {
        padding: 0; /* no padding on mobile */
    }

    .textarea-buttons-container[b-u09lbqcmal] {
        padding: 8px 12px;
        min-height: 48px;
    }

    .textarea-container[b-u09lbqcmal] {
        margin: 0; /* no margins on mobile */
    }

    .rules-container[b-u09lbqcmal] {
        margin: 0; /* no margins on mobile */
        padding: 12px; /* consistent padding on mobile */
    }

    .ticket-submission-area[b-u09lbqcmal] {
        margin: 0; /* no margins on mobile */
        padding: 16px 12px; /* slightly reduced padding on mobile */
    }

    .rules-description[b-u09lbqcmal] {
        font-size: 12px;
    }

    .message-textarea[b-u09lbqcmal] {
        min-height: 80px;
        padding: 12px !important;
    }

    .rules-textarea[b-u09lbqcmal] {
        min-height: 60px;
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    .ticket-submission-area h6[b-u09lbqcmal]::before {
        display: none;
    }

    .rules-header[b-u09lbqcmal] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rules-indicator[b-u09lbqcmal] {
        align-self: flex-end;
    }


    .textarea-button[b-u09lbqcmal] {
        width: 28px;
        height: 28px;
        margin-left: 6px;
    }

    .button-spacer[b-u09lbqcmal] {
        min-width: 8px;
    }
}

/* Slash command popup */
.slash-command-popup[b-u09lbqcmal] {
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 280px;
    max-width: 450px;
    background: var(--kendo-body-bg);
    border: 1px solid var(--kendo-component-border);
    border-radius: 6px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 4px;
    z-index: 100;
    overflow: hidden;
}

.slash-command-item[b-u09lbqcmal] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 0.875rem;
    color: var(--kendo-body-text);
    transition: background-color 0.1s;
}

.slash-command-item:hover[b-u09lbqcmal],
.slash-command-item.selected[b-u09lbqcmal] {
    background-color: var(--kendo-hover-bg);
}

.slash-command-name[b-u09lbqcmal] {
    font-weight: 600;
    font-family: var(--kendo-font-family-monospace);
    white-space: nowrap;
    flex-shrink: 0;
}

.slash-command-desc[b-u09lbqcmal] {
    color: var(--kendo-color-subtle);
}

/* Welcome mode: hide messages area, center greeting + input vertically */
.shared-chat-interface.welcome-mode .chat-container-wrapper[b-u09lbqcmal] {
    display: none !important;
}

.shared-chat-interface.welcome-mode[b-u09lbqcmal] {
    justify-content: center;
}

.shared-chat-interface.welcome-mode .message-input-container[b-u09lbqcmal] {
    border-top: none;
}

/* Keep the impersonation banner pinned to the top even when welcome mode
   centers the rest of the layout vertically. */
.shared-chat-interface.welcome-mode .impersonation-banner[b-u09lbqcmal] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.welcome-state-content[b-u09lbqcmal] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-message-footer[b-u09lbqcmal] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 8px;
    font-size: 0.875rem;
    color: var(--kendo-color-subtle);
}

.chat-message-footer-right[b-u09lbqcmal] {
    justify-content: flex-end;
    /* Stretch across the AI bubble's row so the eval block can flush right
       — the parent .ai-message uses align-items: flex-start which would
       otherwise collapse the footer to its content width. */
    align-self: stretch;
    width: 100%;
}

/* Split footer: Show sources on the left (responsive only), eval pinned right.
   margin-left:auto on the eval keeps it right-aligned whether the Show sources
   button is rendered (narrow viewport) or hidden via @media (wide viewport). */
.chat-message-footer-split[b-u09lbqcmal] {
    align-self: stretch;
    width: 100%;
}

.chat-message-footer-split .chat-footer-eval[b-u09lbqcmal] {
    margin-left: auto;
}

/* "Show sources" link — only surfaces when the persistent Sources sidebar
   isn't on screen (narrow widths or no room). Mirrors the sidebar's breakpoint.
   Chain `.chat-footer-link.chat-footer-show-sources` so we beat the generic
   `.chat-footer-link { display: inline-flex }` rule defined later in this file. */
.chat-footer-link.chat-footer-show-sources[b-u09lbqcmal] {
    display: none;
    color: var(--kendo-color-primary, #5b3df5);
    font-weight: 500;
}

.chat-footer-link.chat-footer-show-sources:hover[b-u09lbqcmal] {
    color: var(--kendo-color-primary-emphasis, #5b3df5);
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .chat-footer-link.chat-footer-show-sources[b-u09lbqcmal] {
        display: inline-flex;
    }
}

.chat-footer-link[b-u09lbqcmal] {
    background: none;
    border: none;
    padding: 0;
    color: var(--kendo-color-subtle);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.chat-footer-link:hover[b-u09lbqcmal] {
    color: var(--kendo-color-on-app-surface);
    text-decoration: underline;
}

.chat-footer-link .k-svg-icon[b-u09lbqcmal] {
    width: 14px;
    height: 14px;
}

.chat-footer-count[b-u09lbqcmal] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--kendo-color-surface-alt, #eef0f2);
    color: var(--kendo-color-on-app-surface);
    font-size: 0.75rem;
    font-weight: 500;
}

.chat-footer-eval[b-u09lbqcmal] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-footer-eval-label[b-u09lbqcmal] {
    font-size: 0.875rem;
    color: var(--kendo-color-subtle);
}

.chat-footer-thumb[b-u09lbqcmal] {
    background: none;
    border: none;
    padding: 4px;
    color: var(--kendo-color-on-app-surface);
    opacity: 0.55;
    cursor: pointer;
    border-radius: 4px;
    line-height: 0;
    transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chat-footer-thumb:hover[b-u09lbqcmal] {
    opacity: 1;
    background: var(--kendo-color-surface-alt, #eef0f2);
}

.chat-footer-thumb-up:hover[b-u09lbqcmal],
.chat-footer-thumb-up.chat-footer-thumb-active[b-u09lbqcmal] {
    color: #2e7d32; /* solid green */
    opacity: 1;
}

.chat-footer-thumb-down:hover[b-u09lbqcmal],
.chat-footer-thumb-down.chat-footer-thumb-active[b-u09lbqcmal] {
    color: #c62828; /* solid red */
    opacity: 1;
}

.chat-footer-thumb .k-svg-icon[b-u09lbqcmal] {
    width: 18px;
    height: 18px;
}

.related-drawer-list[b-u09lbqcmal] {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--kendo-color-on-app-surface);
}

.related-drawer-item[b-u09lbqcmal] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--kendo-color-border);
    background: transparent;
}

.related-drawer-item:last-child[b-u09lbqcmal] {
    border-bottom: none;
}

.related-drawer-item a[b-u09lbqcmal],
.related-drawer-item a:link[b-u09lbqcmal],
.related-drawer-item a:visited[b-u09lbqcmal] {
    color: var(--kendo-color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.related-drawer-item a:hover[b-u09lbqcmal],
.related-drawer-item a:focus[b-u09lbqcmal] {
    text-decoration: none;
    color: var(--kendo-color-primary-hover, var(--kendo-color-primary));
}

.related-drawer-item a:hover > span:last-child[b-u09lbqcmal] {
    text-decoration: underline;
}

.related-drawer-bullet[b-u09lbqcmal] {
    flex: 0 0 auto;
    font-size: 0.7rem;
    line-height: 1;
}
/* /Shared/DateRangePicker.Razor.rz.scp.css */
#dashboard-datepicker[b-njxcfv9jzf] {
    padding: 0;
}
/* /Shared/Widgets/Archived/SetupReviewWidget.razor.rz.scp.css */
.gauge-container[b-mbilgmehsy] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Prevent horizontal scrollbar */
.setup-widget-container[b-mbilgmehsy] {
    overflow-x: hidden;
    width: 100%;
}

.setup-widget-row[b-mbilgmehsy] {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.setup-widget-row > [class*="col-"][b-mbilgmehsy] {
    padding-left: 8px;
    padding-right: 8px;
}

.setup-title[b-mbilgmehsy] {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-text[b-mbilgmehsy] {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.more-info-link[b-mbilgmehsy] {
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.more-info-link:hover[b-mbilgmehsy] {
    color: var(--bs-primary);
    opacity: 0.8;
    text-decoration: underline;
}

[b-mbilgmehsy] .k-gauge-arc {
    stroke-width: 8;
}

/* Use Kendo CSS variables for consistent theming */
.setup-title[b-mbilgmehsy] {
    color: var(--kendo-component-text);
}

.progress-text[b-mbilgmehsy] {
    color: var(--kendo-component-text);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .setup-title[b-mbilgmehsy] {
        font-size: 1.1rem;
    }
    
    .progress-text[b-mbilgmehsy] {
        font-size: 1.1rem;
    }
    
    .more-info-link[b-mbilgmehsy] {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .setup-title[b-mbilgmehsy] {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .progress-text[b-mbilgmehsy] {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .more-info-link[b-mbilgmehsy] {
        font-size: 0.85rem;
    }
    
    .gauge-container[b-mbilgmehsy] {
        margin-bottom: 1rem;
    }
}
/* /Shared/Widgets/Grid/CompanyCancelledList.razor.rz.scp.css */
[b-mukkc47fr2] .k-grid tr.k-master-row {
    cursor: pointer;
}
/* /Shared/Widgets/Grid/CompanyDelightedList.razor.rz.scp.css */
[b-dgiebg6fhr] .k-grid tr.k-master-row {
    cursor: pointer;
}
/* /Shared/Widgets/Grid/CompanyFlaggedList.razor.rz.scp.css */
[b-14x1l3g0np] .k-grid tr.k-master-row {
    cursor: pointer;
}
/* /Shared/Widgets/Grid/CompanyLowRpsList.razor.rz.scp.css */
[b-t5ofxmjzby] .k-grid tr.k-master-row {
    cursor: pointer;
}
/* /Shared/Widgets/Grid/TicketDetailsList.razor.rz.scp.css */
/* Styles for the TicketList widget */
.badge[b-qyyk15t0gx] {
    font-size: 0.8rem;
}
