/* _content/JTK.Common.Layout/Components/CopilotPanel.razor.rz.scp.css */
.copilot-panel[b-qnpaxc2c5n] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.copilot-panel__header[b-qnpaxc2c5n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.45rem 0.55rem;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}

.copilot-panel__title[b-qnpaxc2c5n] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
}

.copilot-panel__close[b-qnpaxc2c5n] {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copilot-panel__body[b-qnpaxc2c5n] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.copilot-panel__frame[b-qnpaxc2c5n] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 12rem;
    border: 0;
    background: #fff;
}

.copilot-panel__webchat[b-qnpaxc2c5n] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

[b-qnpaxc2c5n] .copilot-panel__webchat-host {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

[b-qnpaxc2c5n] .copilot-panel__webchat-host > div {
    flex: 1 1 auto;
    height: 100% !important;
    min-height: 0 !important;
}

.copilot-panel__message[b-qnpaxc2c5n] {
    margin: 1rem;
    font-size: 0.875rem;
    color: #495057;
}

@media (max-width: 767.98px) {
    .copilot-panel[b-qnpaxc2c5n] {
        position: fixed;
        top: 3.75rem;
        right: 0;
        bottom: 0;
        z-index: 1040;
        width: min(100vw, 24rem);
        min-width: min(100vw, 24rem);
        max-width: min(100vw, 24rem);
        height: auto;
        margin-top: 0;
        border-radius: 0;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    }
}
/* _content/JTK.Common.Layout/Components/LoadingPanel.razor.rz.scp.css */
.layout-loading-overlay[b-ybs77rc76g] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.layout-loading-overlay--absolute[b-ybs77rc76g] {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.72);
}

.layout-loading-overlay--fixed[b-ybs77rc76g] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(2px);
}

.layout-loading-panel[b-ybs77rc76g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1.75rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.layout-loading-message[b-ybs77rc76g] {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}

.layout-loading-inline[b-ybs77rc76g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.layout-loading-inline--small[b-ybs77rc76g] {
    padding: 0;
}

.layout-loading-inline-message[b-ybs77rc76g] {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
}
/* _content/JTK.Common.Layout/Components/MainCopilotSplitPanel.razor.rz.scp.css */
.main-layout__work-area[b-ti1wey3gfp] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin-top: 0.3rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.main-layout__split-flex[b-ti1wey3gfp] {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
}

.main-layout__splitter-pane--main[b-ti1wey3gfp] {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.main-layout__splitter-pane--copilot[b-ti1wey3gfp] {
    flex: 0 0 auto;
    min-width: 0;
    overflow: hidden;
}

.main-layout__split-handle[b-ti1wey3gfp] {
    flex: 0 0 5px;
    width: 5px;
    min-width: 5px;
    cursor: col-resize;
    background: transparent;
    touch-action: none;
}

.main-layout__split-handle:hover[b-ti1wey3gfp],
.main-layout__split-handle:active[b-ti1wey3gfp] {
    background: #dee2e6;
}
/* _content/JTK.Common.Layout/Shared/MainLayout.razor.rz.scp.css */
.main-layout__copilot-icon[b-6q1ls1hquy] {
    display: block;
    height: 1.25rem;
    width: auto;
}

/* -------------------------------------------------------------------------
   Main shell: flex layout for mobile / tablet / desktop (replaces floats).
   ------------------------------------------------------------------------- */

.main-layout__content.content_wrapper[b-6q1ls1hquy] {
    display: flex;
    width: 100%;
    clear: both;
    box-sizing: border-box;
    align-items: stretch;
    min-height: 0;
}


.main-layout__content.content_wrapper .collapsebar[b-6q1ls1hquy] {
    float: none;
    margin-top: 0.3rem;
    padding: 0.25rem 0.5rem;
    box-sizing: border-box;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, padding 0.28s ease, margin 0.28s ease, height 0.28s ease;
    flex-shrink: 0;
}

.main-layout__content.content_wrapper .collapsebar.collapsebar--docked[b-6q1ls1hquy] {
    width: 0 !important;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    height: 0 !important;
    min-height: 0 !important;
    margin-top: 0 !important;
}

.main-layout__content.content_wrapper .collapsebar.collapsebar--active[b-6q1ls1hquy] {
    opacity: 1;
    pointer-events: auto;
}

.main-layout__content.content_wrapper #menuview[b-6q1ls1hquy] {
    float: none;
    margin-top: 0.3rem;
    background: #e9ecef;
    overflow: hidden;
    box-sizing: border-box;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, border-color 0.24s ease, flex-basis 0.32s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.28s ease;
    flex-shrink: 0;
}

.main-layout__content.content_wrapper #menuview.menuview--expanded[b-6q1ls1hquy] {
    opacity: 1;
    border-right: 1px solid transparent;
}

.main-layout__content.content_wrapper #menuview.menuview--collapsed[b-6q1ls1hquy] {
    width: 0 !important;
    min-width: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border: none;
    flex: 0 0 0 !important;
    flex-basis: 0 !important;
    max-width: 0 !important;
    overflow: hidden;
}

.main-layout__content.content_wrapper .maincontent[b-6q1ls1hquy] {
    float: none !important;
    margin-top: 0rem;
    transition: flex 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 0;
    flex: 1 1 0;
}

.main-layout__work-area-host[b-6q1ls1hquy] {
    flex: 1 1 0%;
    width: 0;
    min-width: 0;
    max-width: none;
    min-height: 0;
    align-self: stretch;
}

.main-layout__work-area[b-6q1ls1hquy] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    margin-top: 0.3rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.main-layout__splitter[b-6q1ls1hquy] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.main-layout__splitter-pane--copilot[b-6q1ls1hquy] {
    overflow: hidden;
    padding: 0;
}


/* ----- Mobile: stack sidebar above main ----- */
@media (max-width: 767.98px) {
    .main-layout__content.content_bar[b-6q1ls1hquy] {
        flex-direction: column;
        align-items: stretch;
        min-height: calc(100dvh - 3.75rem);
    }

    .main-layout__content.content_bar .collapsebar.collapsebar--active[b-6q1ls1hquy] {
        width: 100% !important;
        height: 2.75rem !important;
        min-height: 2.75rem !important;
        margin-top: 0.25rem;
        margin-bottom: 0;
        opacity: 1;
        background: #eee !important;
    }

    .main-layout__content.content_bar #menuview[b-6q1ls1hquy] {
        margin-top: 0.25rem;
    }

    .main-layout__content.content_bar #menuview.menuview--expanded[b-6q1ls1hquy] {
        width: 100% !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        max-width: none !important;
        max-height: min(52vh, 22rem);
        height: auto !important;
        min-height: 0;
    }

    .main-layout__content.content_bar .maincontent[b-6q1ls1hquy] {
        width: 100% !important;
        flex: 1 1 auto;
        min-height: 12rem;
        height: auto !important;
        max-height: none;
    }
}

/* ----- Tablet: horizontal strip + sidebar + main ----- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .main-layout__content.content_bar[b-6q1ls1hquy] {
        --main-layout-content-min-height: calc(100dvh - 3.5rem);
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        min-height: var(--main-layout-content-min-height);
    }

    .main-layout__content.content_bar .collapsebar.collapsebar--active[b-6q1ls1hquy] {
        width: 2.25rem !important;
        min-width: 2.25rem;
        height: auto !important;
        align-self: stretch;
    }

    .main-layout__content.content_bar #menuview.menuview--expanded[b-6q1ls1hquy] {
        flex: 0 0 clamp(12rem, 30vw, 18rem);
        width: clamp(12rem, 30vw, 18rem) !important;
        max-width: none !important;
        height: auto !important;
        align-self: stretch;
    }

    .main-layout__content.content_bar .maincontent.fullwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .maincontent.collapsedwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .main-layout__work-area-host.fullwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .main-layout__work-area-host.collapsedwidth[b-6q1ls1hquy] {
        flex: 1 1 0;
        width: auto !important;
    }

    .main-layout__content.content_bar .main-layout__work-area-host[b-6q1ls1hquy] {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
    }
}

/* ----- Tablet + desktop: launcher chrome vs content card ----- */
@media (min-width: 768px) {
    .main-layout__content.content_bar[b-6q1ls1hquy] {
        gap: 0.1rem;
    }

    .main-layout__content.content_bar .collapsebar.collapsebar--active[b-6q1ls1hquy] {
        background: #eee !important;
        border: 1px solid #b0bccf;
        border-radius: 4px 0 0 4px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .main-layout__content.content_bar #menuview.menuview--expanded[b-6q1ls1hquy] {
        background: #e4e9ef;
        border: 1px solid #adb8c9;
        border-left: none;
        border-radius: 0 6px 6px 0;
        box-shadow: 6px 0 14px rgba(15, 23, 42, 0.07);
    }  
    .main-layout__content.content_bar .maincontent.fullwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .maincontent.collapsedwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .maincontent.collapsedwidth.maincontent--launcher-expanded[b-6q1ls1hquy] {
        border: 1px solid #dee2e6;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        height: auto !important;
        align-self: stretch;
        min-height: 0;
    }

    .main-layout__content.content_bar .main-layout__splitter-pane--main[b-6q1ls1hquy] {
        border: 1px solid #dee2e6;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .main-layout__content.content_bar .main-layout__splitter-pane--main .maincontent[b-6q1ls1hquy] {
        margin-top: 0;
        height: 100%;
        flex: 1 1 auto;
        min-height: 100%;
        width: 100% !important;
        border: none;
        border-radius: 0;
        box-shadow: none;
        align-self: stretch;
        overflow: auto;
    }

    .main-layout__content.content_bar .main-layout__splitter-pane--copilot .copilot-panel[b-6q1ls1hquy] {
        height: 100%;
        width: 100%;
        margin-top: 0;
        border-radius: 6px;
    }

    .main-layout__content.content_bar .main-layout__work-area-host[b-6q1ls1hquy] {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
    }

        .main-layout__content .maincontent.notauthorized[b-6q1ls1hquy],
        .main-layout__content.content_bar .maincontent.notauthorized.fullwidth[b-6q1ls1hquy],
        .main-layout__content.content_bar .maincontent.notauthorized.collapsedwidth[b-6q1ls1hquy],
        .main-layout__content.content_bar .maincontent.notauthorized.collapsedwidth.maincontent--launcher-expanded[b-6q1ls1hquy] {
            background: transparent !important;
            border:  none;
            border-radius: unset;
            box-shadow: unset;
            height: auto !important;
            align-self: stretch;
            min-height: 0;
        }

    .main-layout__content.content_bar .launcher-sidebar-panel[b-6q1ls1hquy],
    .main-layout__content.content_bar .launcher-sidebar-body[b-6q1ls1hquy] {
        /*background-color: transparent;*/
    }

    .main-layout__content.content_bar .launcher-sidebar-header[b-6q1ls1hquy] {
        background-color: #d4dbe4;
        border-bottom-color: #9aa8bc;
    }
}

/* ----- Desktop: match original proportions ----- */
@media (min-width: 992px) {
    .main-layout__content.content_bar[b-6q1ls1hquy] {
        --main-layout-content-min-height: calc(100dvh - 4.25rem);
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        min-height: var(--main-layout-content-min-height);
    }

    .main-layout__content.content_bar .collapsebar.collapsebar--active[b-6q1ls1hquy] {
        width: 2.25rem !important;
        min-width: 2.25rem;
        max-width: 2.75rem;
        height: auto !important;
        align-self: stretch;
    }

    .main-layout__content.content_bar #menuview.menuview--expanded[b-6q1ls1hquy] {
        flex: 0 0 15%;
        width: 15% !important;
        height: auto !important;
        align-self: stretch;
    }

    .main-layout__content.content_bar .maincontent.fullwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .maincontent.collapsedwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .maincontent.collapsedwidth.maincontent--launcher-expanded[b-6q1ls1hquy],
    .main-layout__content.content_bar .main-layout__work-area-host.fullwidth[b-6q1ls1hquy],
    .main-layout__content.content_bar .main-layout__work-area-host.collapsedwidth[b-6q1ls1hquy] {
        flex: 1 1 0;
        width: auto !important;
    }

    .main-layout__content.content_bar .main-layout__work-area-host[b-6q1ls1hquy] {
        flex: 1 1 0;
        min-width: 0;
        align-self: stretch;
    }
}

/* Non-sidebar pages */
.main-layout__content:not(.content_bar) .maincontent[b-6q1ls1hquy],
.main-layout__content:not(.content_bar) .main-layout__work-area-host[b-6q1ls1hquy] {
    width: 100% !important;
    flex: 1 1 auto;
}

.launcher-sidebar-panel[b-6q1ls1hquy] {
    background-color: #e9ecef;
    min-height: 100%;
}

.launcher-sidebar-panel--animate[b-6q1ls1hquy] {
    transition: opacity 0.26s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.menuview--collapsed .launcher-sidebar-panel--animate[b-6q1ls1hquy] {
    opacity: 0;
    transform: translateX(-14px);
}

.menuview--expanded .launcher-sidebar-panel--animate[b-6q1ls1hquy] {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.04s;
}

@media (prefers-reduced-motion: reduce) {
    .main-layout__content.content_wrapper .collapsebar[b-6q1ls1hquy],
    .main-layout__content.content_wrapper #menuview[b-6q1ls1hquy],
    .main-layout__content.content_wrapper .maincontent[b-6q1ls1hquy],
    .main-layout__content.content_wrapper .main-layout__work-area[b-6q1ls1hquy],
    .launcher-sidebar-panel--animate[b-6q1ls1hquy] {
        transition: none !important;
    }

    .menuview--collapsed .launcher-sidebar-panel--animate[b-6q1ls1hquy],
    .menuview--expanded .launcher-sidebar-panel--animate[b-6q1ls1hquy] {
        transform: none;
    }
}

.launcher-sidebar-header[b-6q1ls1hquy] {
    flex-shrink: 0;
    background-color: #dee2e6;
    border-bottom: 1px solid #ced4da;
}

.launcher-sidebar-header-slot[b-6q1ls1hquy] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.launcher-sidebar-collapse-btn[b-6q1ls1hquy] {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.launcher-sidebar-body[b-6q1ls1hquy] {
    background-color: #eee;
    min-height: 0;
}

/* ----- Admin-style collapse menu (icon strip, 240px / 56px) ----- */
.main-layout__content.content_bar #menuview.menuview--admin-style.menuview--expanded[b-6q1ls1hquy] {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
}

.main-layout__content.content_bar .launcher-sidebar-panel--admin-style[b-6q1ls1hquy] {
    background: transparent;
    border: none !important;
}

.main-layout__content.content_bar .launcher-sidebar-body--admin[b-6q1ls1hquy] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

@media (min-width: 768px) {
    .main-layout__content.content_bar #menuview.menuview--admin-style.menuview--expanded[b-6q1ls1hquy] {
        height: auto !important;
        align-self: stretch;
    }
}
